Repository navigation
docs(chapters): 写第七章《backlog(工单)与船长决策》并更新路线图 - #7
Merged
Merged
Conversation
…ch7 case-study specifics as fact"}
jasontopia
force-pushed
the
fm/learn-fm-ch7
branch
from
September 26, 2026 22:19
2276ba7 to
6fe4c50
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
继续 Learn FirstMate 教程,写第七章。前六章已写完或正在走质检流水线。README 的学习路线图里,第七章的定位是:工单队列怎么记录在办和待办的活,一个等船长拍板的决策为什么本身也是一张工单,以及它怎么被关闭。
What Changed
chapters/07-backlog-and-captain-decisions.md,依据AGENTS.md第 10 节「Backlog contract」讲解 backlog 的三档状态(Queued/In flight/Done)、决策作为「挂起的工单」的记账规则、以及船长回答如何通过bin/fm-captain-hold.sh/tasks-axi关闭或解除挂起。README.md路线图,将第 7 章行的状态从「待写」改为「已写」并加上章节链接。🤖 Generated with Claude Code
Risk Assessment
✅ Low: This fix-round commit only rewrites the case-study paragraph in chapters/07-backlog-and-captain-decisions.md to drop the previously flagged unverifiable specifics (the invented three-option list and "kind: docs" framing); I verified the new text's claims (PR #2 merged before PR #1, and PR #2's body literally states the CI-checklist-was-empty rationale) against gh-axi pr view output, and verified every AGENTS.md/docs/bin-script quote in the chapter against the live FirstMate checkout at ~/firstmate - all match verbatim. The revised case study now clearly labels the private-record parts as private and the merge-order inference as inference, resolving round 2's finding without introducing new fabricated or unsupported claims.
Testing
Baseline
python3 scripts/check-docs.pypassed (8 files, no problems) and was re-run clean. Drove 3 of 4 scenarios live: the check-docs link/format gate re-ran against the real working tree, the case study's publicly-checkable claim (PR #2 merged 2026-09-26T18:00:17Z before PR #1's 19:37:58Z, exact titles) was confirmed against live GitHub data via gh-axi, and every AGENTS.md/docs/bin quote in the chapter was confirmed verbatim against the real, read-only FirstMate checkout at ~/firstmate (not available/found in the prior test round). The one remaining scenario - a reader actually running the end-of-chapter exercise against a live FirstMate/大副 primary session - stays untested: that requires launching a full separate live FirstMate agent session, which is outside this docs-repo test phase's scope and tooling, the same gap flagged in round 1 that the user chose not to require a fix for. chrome-devtools-axi was attempted for a rendered-PR screenshot but the browser bridge was unavailable (target CDP connection gone), so no visual artifact was captured; this is a pure-text docs change with no other visual surface. No new problems found; the round-2 content fix holds up.python3 scripts/check-docs.pyre-run: 'checked 8 markdown file(s): no problems found'; README.md:34 links to chapters/07-backlog-and-captain-decisions.md with status 已写Evidence: check-docs.py re-run
Evidence: gh-axi pr view 1/2 merge order confirmation
Evidence: Authoritative FirstMate checkout quote verification
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ No issues found.
chapters/07-backlog-and-captain-decisions.md:63- The case study section ('案例:第一章交付时卡在 CI 关卡的那次', chapters/07-backlog-and-captain-decisions.md:59-67) presents specific factual details as a verified real event: that the decision was filed as a distinct 'kind: docs' work item, that it was held with exactly three named options (configure real CI / declare no CI needed / skip for now), and that the recorded answer became the basis for a follow-up task. None of these specifics are traceable to any accessible tracked artifact. I checked PR docs: 搭建教程骨架并写出第一章《FirstMate 是什么》 #1 and PR ci: 加一套零依赖的 markdown 链接与格式检查 #2 bodies, comments, and the repo's issue list via gh-axi and found no record of a captain-hold entry, its reason text, or the stated three options; there is also no data/backlog.md or .tasks.toml in this project's git-tracked history to confirm it. The only corroborated facts are the merge order (PR ci: 加一套零依赖的 markdown 链接与格式检查 #2 merged before PR docs: 搭建教程骨架并写出第一章《FirstMate 是什么》 #1, confirmed via gh-axi pr view) and that chapter 1's own diagram marks an 'ask-user' / 'CI 转绿' branch - both consistent with something like this happening, but not with the specific '三个选项' / 'kind: docs' framing asserted as literal history. This repo's own AGENTS.md rule says: 'Do not describe FirstMate behavior from memory or inference - if it has no source there, leave it out.' Presenting unverifiable specifics as a '真实例子' risks stating invented detail as fact. The remedy (soften the claim to only what's evidenced, or drop the specific option list) is an authorial/content decision, not a mechanical fix.🔧 Fix applied.
✅ Re-checked - no issues remain.
🔧 **Test** - 1 issue found ✅
python3 scripts/check-docs.pypython3 scripts/check-docs.py (re-run for confirmation; baseline already passed)✅ No issues found.
python3 scripts/check-docs.pyre-run: 'checked 8 markdown file(s): no problems found'; README.md:34 links to chapters/07-backlog-and-captain-decisions.md with status 已写python3 scripts/check-docs.pypython3 scripts/check-docs.py(re-run; baseline already passed)gh-axi pr view 1/gh-axi pr view 2to check merge order and titles cited in the case studyRead ~/firstmate/AGENTS.md:548-557, docs/configuration.md:117-145, bin/fm-captain-hold.sh:1-90 to trace every quoted claim in chapters/07-backlog-and-captain-decisions.mdRead README.md roadmap row for chapter 7 to confirm link and status text✅ **Document** - passed
✅ No issues found.
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ No issues found.
✅ **Push** - passed
✅ No issues found.
✅ No issues found.