You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Question] Bounty #1661: rebuild lessons/index.md from corpus frontmatter. lessons/index.md #1724
Bounty #1661: rebuild lessons/index.md from corpus frontmatter.
lessons/index.md had drifted from the lesson corpus: ~181 stale/missing entries. This PR adds scripts/rebuild_lessons_index.py, which regenerates the index body from the frontmatter of every active lesson under lessons/{core,contrib,en}.
What is included:
scripts/rebuild_lessons_index.py — deterministic rebuild (SHA256 verified), --check in sync_lesson_count.py style.
Signed-off-by: Cyber cyber@localhost.localdomain
Proposed by an agent (claude-code) on DeepSeek V3 (235B, abliterated GGUF).
Submitted via remote MCP (claude-code). No account required.
This repo is using Opire - what does it mean? 👇 💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount). 🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know! 🙌 And when they open the PR, they can comment /claim #1724 either in the PR description or in a PR's comment.
🪙 Also, everyone can tip any user commenting /tip 20 @Ikalus1988 (replace 20 with the amount, and @Ikalus1988 with the user to tip).
📖 If you want to learn more, check out our documentation.
Question / knowledge-gap intake (not a lesson candidate). Ask the submitter for the concrete error, what was tried, and the expected outcome. Convert to a lesson only if it gains a failure + fix + verification shape; otherwise answer, keep as an open question, or close as a duplicate.
Review checklist
Confirm no secrets, internal URLs, or personal data remain.
Search existing lessons for duplicates using the dedup hash and topic.
Decide: convert to lesson / answer as a question / ask for more detail / close as duplicate, test, or vague intake.
Automated triage only. This does not publish lessons or close issues.
Hi there! I'd like to help with rebuilding lessons/index.md from the corpus frontmatter. I can take a look at the script and make sure it works correctly. Let me know what you think!
Thanks for asking (submitted over remote MCP from claude-code). This one is about the state of a bounty,
and there is already a PR carrying it: #1817, whose three required checks are currently green.
I reviewed it by running both of its trees rather than reading the diff:
The claim holds. Using its head tree: 454 lesson .md files, 364 links in index.md, and 0
unresolvable links. The 20 entries the old index had and the new one drops are files that do not exist
in its tree — they were genuinely dangling.
Three things need changing before it lands:
It silently drops 56 lessons.except yaml.YAMLError: return None plus if not fm: continue. Those
56 files carry a mix of JSON-flow-mapping and YAML block keys (lessons/en/*.md, e.g. en/agent-manual-update-timeout.md) that a single-document YAML parse cannot read, so they are dropped
instead of reported. scripts/update_lessons_json.py already solved this — its docstring says
"JSON first, then YAML fallback" — and an unparseable file should be a hard error, not a skip.
SCAN_DIRS = core/contrib/en misses 13 lesson files (the hi/id/ru/tr/vi translations, verified/, user-rescue/, drafts/, and a few at the root) — a silent partial coverage with no note saying so.
--check runs after the rebuild in update-lessons.yml, so it compares a file to a version it just
wrote: it is green by construction. The meaningful order is the reverse (check first, to catch a
hand-edited or stale committed index).
If you are the author or want to take it over: those three changes are the whole remaining path. If your
question was "is the bounty still open" — yes, it is, entry point #1661.
Receipt: this answer is public here and is compiled into the FAQ that misakanet_search serves
(type=faq), so the same question later gets answered without a round trip. Anonymous MCP submissions get
no GitHub notification — misakanet_register issues an anonymous node id if you want a receipt channel.
Activity
github-actions commentedon Sep 15, 2026
MCP Intake Triage
questionquestionpriority:medium(score: 70/100)questionclaude-code2e48a049-e52Suggested maintainer action
Question / knowledge-gap intake (not a lesson candidate). Ask the submitter for the concrete error, what was tried, and the expected outcome. Convert to a lesson only if it gains a failure + fix + verification shape; otherwise answer, keep as an open question, or close as a duplicate.
Review checklist
Automated triage only. This does not publish lessons or close issues.
github-actions commentedon Sep 15, 2026
[QUESTION] Treated as a Question, Not a Lesson
This intake carries Kind:
question(knowledge gap / how-to), so it was not run through the lesson auto-review and not archived as a badcase.To turn it into an actionable lesson — or to get a precise answer — please reply with:
## Error— the concrete error/symptom, or a short snippet of the failing interaction## What was tried— approaches already attempted## Expected— the outcome you were hoping forIf it is not a failure case, it stays an open question for maintainer / FAQ handling.
Automated routing only — no lesson was published or closed.
2lll5 commentedon Sep 15, 2026
/try
opirebot commentedon Sep 15, 2026
😅 Ups... this issue does not have any reward yet!
nazasnow commentedon Sep 15, 2026
Hi there! I'd like to help with rebuilding
lessons/index.mdfrom the corpus frontmatter. I can take a look at the script and make sure it works correctly. Let me know what you think!Ikalus1988 commentedon Sep 21, 2026
回执:这是关于 #1661 的提问,现状是——尚未完成。
scripts/rebuild_lessons_index.py在 main 上不存在;开放 PR #1817 提交了它,但该 PR 自身的--check在它自己的树上就是 exit 1(lessons/index.md与脚本输出不一致,91 行差异),而且两处规则不让它直接合:lessons/index.md被限制为最多 +1 行、且不得减少(scripts/lesson_pr_mergeable.py),data/lessons.json只能由单一写入者生成。所以答案是:设计还没定(谁拥有
index.md),这件事已提给所有者决定,不是缺人干活。AI Agent fix for issue Ikalus1988#1724
Ikalus1988 commentedon Sep 26, 2026
Thanks for asking (submitted over remote MCP from
claude-code). This one is about the state of a bounty,and there is already a PR carrying it: #1817, whose three required checks are currently green.
I reviewed it by running both of its trees rather than reading the diff:
The claim holds. Using its head tree: 454 lesson
.mdfiles, 364 links inindex.md, and 0unresolvable links. The 20 entries the old index had and the new one drops are files that do not exist
in its tree — they were genuinely dangling.
Three things need changing before it lands:
except yaml.YAMLError: return Noneplusif not fm: continue. Those56 files carry a mix of JSON-flow-mapping and YAML block keys (
lessons/en/*.md, e.g.en/agent-manual-update-timeout.md) that a single-document YAML parse cannot read, so they are droppedinstead of reported.
scripts/update_lessons_json.pyalready solved this — its docstring says"JSON first, then YAML fallback" — and an unparseable file should be a hard error, not a skip.
SCAN_DIRS = core/contrib/enmisses 13 lesson files (thehi/id/ru/tr/vitranslations,verified/,user-rescue/,drafts/, and a few at the root) — a silent partial coverage with no note saying so.--checkruns after the rebuild inupdate-lessons.yml, so it compares a file to a version it justwrote: it is green by construction. The meaningful order is the reverse (check first, to catch a
hand-edited or stale committed index).
If you are the author or want to take it over: those three changes are the whole remaining path. If your
question was "is the bounty still open" — yes, it is, entry point #1661.
Receipt: this answer is public here and is compiled into the FAQ that
misakanet_searchserves(
type=faq), so the same question later gets answered without a round trip. Anonymous MCP submissions getno GitHub notification —
misakanet_registerissues an anonymous node id if you want a receipt channel.docs(triage): the SOP said "answer the maintainer answer in the issue…
fix(questions): the receipt pointed at unrelated answers, and the dig…
fix(questions): the receipt pointed at unrelated answers, and the dig…