Skip to content

docs(chapters): 写第十章《afk 离席模式》并更新路线图 - #11

Merged
jasontopia merged 1 commit into
mainfrom
fm/learn-fm-ch10
Sep 26, 2026
Merged

jasontopia merged 1 commit into
mainfrom
fm/learn-fm-ch10

Conversation

@jasontopia

@jasontopia jasontopia commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Intent

继续 Learn FirstMate 教程,写第十章。前九章已写完或正在走质检流水线。README 的学习路线图里,第十章的定位是:船长离开键盘期间谁接手监督,离席期间它敢自己做什么、必须留着等船长什么,以及船长回来时怎么交接回来。

What Changed

  • Add chapters/10-afk-mode.md, a new tutorial chapter covering AFK mode: who supervises the crew while the captain is away, why /afk itself takes effect immediately without a confirmation gate, what the daemon may act on under standing authority versus what always still waits for the captain (merges, destructive/irreversible actions, security-sensitive choices), and how the return handoff is detected and reported before ordinary messages are processed.
  • Include a read-only, non-executing hands-on exercise that has the reader walk the firstmate through a hypothetical AFK scenario without ever creating state/.afk-contract or state/.afk or running /afk, plus expected answers and a git-diff-based verification method.
  • Update README.md's chapter roadmap: link chapter 10 to the new file and flip its status from "待写" to "已写".

🤖 Generated with Claude Code

Risk Assessment

✅ Low: Documentation-only change (one new chapter file plus a one-line README status/link update) that passes the repo's link-integrity and formatting-hygiene gate, follows established chapter conventions, satisfies all four required intent points, and introduces no code, state, or executable behavior.

Testing

This is a pure documentation repo (per AGENTS.md, no build/test/runtime surface) with a docs-only change: a new chapter file plus a one-line README roadmap update. The repo's only check, python3 scripts/check-docs.py, already passed as baseline and was re-confirmed. No live-exercisable product surface exists for this test phase to drive; all three derived scenarios (rendered-link check, source-quote fidelity against the captain-private FirstMate checkout, and a live FirstMate AFK recap exercise) require tooling not available here. This matches round 1's assessment, which the user already chose to ignore rather than dispute, and the diff introduces no new surface beyond what round 1 covered, so that finding is not re-raised.

  • Live validation: ⚠️ no-surface - 0 of 3 scenarios driven live against the product
Scenario Result Live Evidence
Reader follows the updated README roadmap link to chapter 10 and reads an accurate AFK handoff/autonomy/red-line explainer ⏸️ untested no No live markdown-rendering/browser environment is available in this test phase to click through the rendered README/GitHub page; only the static link-integrity lint and a manual text read are availabl…
Every quoted AGENTS.md / /afk-skill line in chapter 10 (supervision takeover, /afk as immediate go, non-expanding red lines, return/catch-up gate) matches the authoritative FirstMate source verbat… ⏸️ untested no The local FirstMate checkout (AGENTS.md Supervision protocol / Away-mode stub, and the /afk skill) is captain-private and lives outside this worktree at a path this repo deliberately never records; th…
A captain runs chapter 10's read-only recap exercise against a live FirstMate primary session and firstmate answers all four AFK questions without mutating any .afk* state ⏸️ untested no Requires an interactive, live FirstMate primary session (a separate installed product) not available as a tool/binary/credential in this sandbox
  • Outcome: ⚠️ 1 warning across 2 runs (2m19s)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ No issues found.

⚠️ **Test** - 1 warning
  • ⚠️ this change has no live-validatable surface; proceed without live validation? (0 of 3 scenarios were driven live against the product); Reader clicks the new README roadmap link and reads an accurate chapter 10 explaining AFK supervision handoff, autonomy scope, and hard red lines: No live markdown rendering/browser environment was used in this test phase to click through the rendered README/GitHub page; only the static link-integrity lint and a manual text read were available; Every quoted AGENTS.md//afk-skill line in chapter 10 (daemon supervision takeover, /afk as immediate go, red-line non-expansion, return/catch-up gate) matches the authoritative source text verbatim: The local FirstMate checkout (AGENTS.md Supervision protocol / Away-mode stub, and the /afk skill) is captain-private and lives outside this git worktree at a path this repo deliberately never records; this test phase has no path to it and is instructed not to search the filesystem for it, so quote fidelity cannot be verified live here; A captain runs the chapter's read-only recap exercise against a live FirstMate primary session and firstmate correctly answers all four AFK questions without mutating any state/.afk* files: Requires an interactive, live FirstMate primary session (the actual agent under test, which is a separate installed product) which is not available as a tool, binary, or credential in this sandbox and cannot be started here
  • Live validation: ⚠️ no-surface - 0 of 3 scenarios driven live against the product
Scenario Result Live Evidence
Reader clicks the new README roadmap link and reads an accurate chapter 10 explaining AFK supervision handoff, autonomy scope, and hard red lines ⏸️ untested no No live markdown rendering/browser environment was used in this test phase to click through the rendered README/GitHub page; only the static link-integrity lint and a manual text read were available
Every quoted AGENTS.md//afk-skill line in chapter 10 (daemon supervision takeover, /afk as immediate go, red-line non-expansion, return/catch-up gate) matches the authoritative source text verbati… ⏸️ untested no The local FirstMate checkout (AGENTS.md Supervision protocol / Away-mode stub, and the /afk skill) is captain-private and lives outside this git worktree at a path this repo deliberately never recor…
A captain runs the chapter's read-only recap exercise against a live FirstMate primary session and firstmate correctly answers all four AFK questions without mutating any state/.afk* files ⏸️ untested no Requires an interactive, live FirstMate primary session (the actual agent under test, which is a separate installed product) which is not available as a tool, binary, or credential in this sandbox and…
  • python3 scripts/check-docs.py

  • python3 scripts/check-docs.py (baseline, already run successfully on target commit a9706f1)

  • Manual read-through of chapters/10-afk-mode.md against README.md roadmap table for numbering/link/status consistency with prior chapters (1, 2, 4, 6)

  • ⚠️ this change has no live-validatable surface; proceed without live validation? (0 of 3 scenarios were driven live against the product); Reader follows the updated README roadmap link to chapter 10 and reads an accurate AFK handoff/autonomy/red-line explainer: No live markdown-rendering/browser environment is available in this test phase to click through the rendered README/GitHub page; only the static link-integrity lint and a manual text read are available here; Every quoted AGENTS.md / /afk-skill line in chapter 10 (supervision takeover, /afk as immediate go, non-expanding red lines, return/catch-up gate) matches the authoritative FirstMate source verbatim: The local FirstMate checkout (AGENTS.md Supervision protocol / Away-mode stub, and the /afk skill) is captain-private and lives outside this worktree at a path this repo deliberately never records; this test phase has no path to it and is instructed not to search the filesystem for it; A captain runs chapter 10's read-only recap exercise against a live FirstMate primary session and firstmate answers all four AFK questions without mutating any .afk* state: Requires an interactive, live FirstMate primary session (a separate installed product) not available as a tool/binary/credential in this sandbox

  • Live validation: ⚠️ no-surface - 0 of 3 scenarios driven live against the product

Scenario Result Live Evidence
Reader follows the updated README roadmap link to chapter 10 and reads an accurate AFK handoff/autonomy/red-line explainer ⏸️ untested no No live markdown-rendering/browser environment is available in this test phase to click through the rendered README/GitHub page; only the static link-integrity lint and a manual text read are availabl…
Every quoted AGENTS.md / /afk-skill line in chapter 10 (supervision takeover, /afk as immediate go, non-expanding red lines, return/catch-up gate) matches the authoritative FirstMate source verbat… ⏸️ untested no The local FirstMate checkout (AGENTS.md Supervision protocol / Away-mode stub, and the /afk skill) is captain-private and lives outside this worktree at a path this repo deliberately never records; th…
A captain runs chapter 10's read-only recap exercise against a live FirstMate primary session and firstmate answers all four AFK questions without mutating any .afk* state ⏸️ untested no Requires an interactive, live FirstMate primary session (a separate installed product) not available as a tool/binary/credential in this sandbox
  • python3 scripts/check-docs.py
  • python3 scripts/check-docs.py (baseline, already run)
  • git diff --stat e9c56bc..43c1bef to confirm change scope
  • git diff on README.md to confirm the roadmap link/status update
✅ **Document** - passed

✅ No issues found.

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

✅ No issues found.

@jasontopia jasontopia changed the title docs: 写第十章《afk 离席模式》并更新路线图 docs(chapters): 写第十章《afk 离席模式》并更新路线图 Sep 26, 2026
@jasontopia
jasontopia merged commit 7a89ae1 into main Sep 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant