Repository navigation
docs: make captain-hold-lifecycle easier to read - #5610
Merged
kunchenguid merged 3 commits intoSep 25, 2026
Merged
Conversation
Restructure the captain-hold lifecycle prose into sections, lists, and tables without changing documented behavior. Every original heading, anchor, identifier, number, quoted string, and link target is kept.
Owner
|
Speaking as Kun's firstmate: this is merged. Thank you @tmchow — really appreciate you taking the time on this. |
mituso89
pushed a commit
to mituso89/firstmate
that referenced
this pull request
Sep 26, 2026
* docs: make captain-hold-lifecycle easier to read Restructure the captain-hold lifecycle prose into sections, lists, and tables without changing documented behavior. Every original heading, anchor, identifier, number, quoted string, and link target is kept. * no-mistakes(review): Fix verification record subjects and grouping headings * no-mistakes(review): Clarify task-body read-back cases belong to the suite
mehulbhagwani
pushed a commit
to mehulbhagwani/firstmate
that referenced
this pull request
Sep 26, 2026
* docs: make captain-hold-lifecycle easier to read Restructure the captain-hold lifecycle prose into sections, lists, and tables without changing documented behavior. Every original heading, anchor, identifier, number, quoted string, and link target is kept. * no-mistakes(review): Fix verification record subjects and grouping headings * no-mistakes(review): Clarify task-body read-back cases belong to the suite
mehulbhagwani
pushed a commit
to mehulbhagwani/firstmate
that referenced
this pull request
Sep 26, 2026
* docs: make captain-hold-lifecycle easier to read Restructure the captain-hold lifecycle prose into sections, lists, and tables without changing documented behavior. Every original heading, anchor, identifier, number, quoted string, and link target is kept. * no-mistakes(review): Fix verification record subjects and grouping headings * no-mistakes(review): Clarify task-body read-back cases belong to the suite
ashkonmousavi
added a commit
to ashkonmousavi/firstmate
that referenced
this pull request
Sep 26, 2026
Intent
Improve the kunchenguid/firstmate documentation. Many of the docs are hard to read because they were clearly agent-written. That is not necessarily bad, but some docs are almost impossible for a human to understand.
Give
docs/captain-hold-lifecycle.mda ce-noslop rewrite that still communicates the same information but improves readability, the way PR #5589 did fordocs/configuration.md.That PR turned long prose paragraphs into task navigation, tables, bullet lists, numbered procedures, and shorter
###subsections. It kept every original heading and anchor, left every fenced code block byte-identical, and preserved every documented fact, default, qualifier, safety limit, identifier, quoted string, and link target, with one sentence per line.This is a documentation-only change with no runtime behavior impact.
What Changed
docs/captain-hold-lifecycle.mdfor readability. It now has a "Find a topic" navigation table, a subcommand overview table (hold,answer,complete,verify,open), and shorter###subsections under each existing section. Examples include retained-delivery gaps, reconcile requests, fleet snapshot buckets, Bearings placement, and legacy Beads ids.##heading and anchor is kept, and the documented facts, identifiers, qualifiers, and link targets are unchanged.Risk Assessment
✅ Low: The change only edits docs. Its fenced code blocks match the base byte for byte, every original heading survives, the new
###headings don't collide with existing slugs, the in-page nav anchors resolve, and the fix rounds correctly fixed F1 (wrong subject), F2 (misplaced item and bold pseudo-headings) and review-1 (the unclear "its").Testing
The change is Markdown-only, so there is nothing to drive live and no Herdr lab was needed. I ran scripted structural checks comparing the base and target versions of the doc. They confirmed that every original heading and anchor is kept, the only inbound anchor (from docs/configuration.md) still resolves, no link target or inline-code identifier was dropped, the doc has no code fences to alter, and it uses no em or en dashes. The three review fixes are present. I did not produce a rendered visual artifact: no local Markdown renderer (pandoc or python-markdown) is installed, and I chose not to send the doc to GitHub's render API, an external service.
Evidence: Structural preservation check output
Evidence: Inbound anchor and review-fix check output
Evidence: Structural check script
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 2 issues found → auto-fixed (2) ✅
docs/captain-hold-lifecycle.md:485- When the rewrite split the long verification sentence, it gave some verbs the wrong subject. Line 485 now reads "That cleanup leaves no pending record behind, survives a--forcecleanup, and closes only whenanswerrecords the captain's words." A cleanup cannot survive a--forcecleanup, and the thing that closes only onansweris the captain call, not the cleanup (see lines 175-176 and theanswerpath). The original list attached these verbs to the call. Suggested fix: "That cleanup leaves no pending record behind. The call survives a--forcecleanup and closes only whenanswerrecords the captain's words." This keeps the fact but assigns it to the right subject.docs/captain-hold-lifecycle.md:505- The item "A released call whose decision text islocal main, closed with no artifact, is not published as a local-only landing" is filed under the Record divergence group. It covers Recently Landed note mining (lines 391-395), not divergence, so a reader looking for divergence coverage will be misled. Move it to a landing or merges group, such as "Merges, releases, and unreadable holds". The grouping labels at lines 483, 493, 499, 507, 512 and 520 are also bold pseudo-headings, and they sit directly against their lists. The intent calls for shorter###subsections, and ce-noslop treats bold labels as an AI tell. Consider making them####headings to match the rest of the rewrite.🔧 Fix applied.
3 issues (1 warning, 2 infos) still open:
docs/captain-hold-lifecycle.md:485- When the rewrite split the long verification sentence, it gave some verbs the wrong subject. Line 485 now reads "That cleanup leaves no pending record behind, survives a--forcecleanup, and closes only whenanswerrecords the captain's words." A cleanup cannot survive a--forcecleanup, and the thing that closes only onansweris the captain call, not the cleanup (see lines 175-176 and theanswerpath). The original list attached these verbs to the call. Suggested fix: "That cleanup leaves no pending record behind. The call survives a--forcecleanup and closes only whenanswerrecords the captain's words." This keeps the fact but assigns it to the right subject.docs/captain-hold-lifecycle.md:505- The item "A released call whose decision text islocal main, closed with no artifact, is not published as a local-only landing" is filed under the Record divergence group. It covers Recently Landed note mining (lines 391-395), not divergence, so a reader looking for divergence coverage will be misled. Move it to a landing or merges group, such as "Merges, releases, and unreadable holds". The grouping labels at lines 483, 493, 499, 507, 512 and 520 are also bold pseudo-headings, and they sit directly against their lists. The intent calls for shorter###subsections, and ce-noslop treats bold labels as an AI tell. Consider making them####headings to match the rest of the rewrite.docs/captain-hold-lifecycle.md:533- 'Two of its cases pin how a task body is read back...' is now the first sentence under### Task-body read-back cases. It follows the### Legacy pathslist and five other new###groups, so 'its' no longer has a nearby antecedent. A reader would take it to mean the legacy paths, nottests/fm-captain-hold-lifecycle.test.sh(line 480). In the original, this sentence came straight after the suite paragraph. The original rewrite split the paragraph; the fix round's new###headings made the gap wider. Suggested wording: 'Two of the suite's cases pin how a task body is read back...'. That keeps the fact and fixes the reference. No other sibling sites: line 549 already says 'the same suite's beads fixture'.🔧 Fix applied.
✅ Re-checked - no issues remain.
git diff --stat b42d4fa..ea8fe8b: only docs/captain-hold-lifecycle.md changedpython3 check_doc.py before.md after.md .checked headings, anchors, code fences, link targets, local link and anchor resolution, dashes, and inline-code identifiersgrepfor inboundcaptain-hold-lifecycle.md#...references across the repo, each checked against the new heading slugsgrepchecks for the review fixes: 'The call survives a--forcecleanup', thelocal mainitem under 'Merges, releases, and unreadable holds', 'Two of the suite's cases', and the '### Divergence coverage' headingawk heuristic for lines holding more than one sentence (hits were only numbered-list markers)✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.