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
docs: make sessionstart-nudge easier to read - #5609
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/sessionstart-nudge.md a ce-noslop rewrite that still communicates the same information but improves readability, the way PR #5589 did for docs/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
Rewrote docs/sessionstart-nudge.md for readability: long prose paragraphs are now a "Find a topic" navigation table, tier and per-harness tables, bullet lists, numbered procedures, and shorter ###/#### subsections (for example Tier by harness, Lock and completion interlock, Digest timeout, Exit codes, Pi message delivery), with one sentence per line.
Kept the original headings and anchors, fenced code blocks, and the documented facts, defaults, limits, identifiers, and link targets.
Documentation only. No runtime behavior changes.
Risk Assessment
✅ Low: This change only touches documentation. It restructures one doc, keeps every original H2 heading and the anchors that other docs link to (#harness-transports and #shared-wrapper-and-safety from docs/verification/supervision.md), keeps the documented facts, and makes both round-1 fixes exactly as the user instructed.
Testing
I checked the diff and every reference to the doc: this is a Markdown-only change with no runtime surface, so the verdict is no-surface and there are no live scenarios. I compared the old and new doc with a script. All 6 original headings and their anchors are still present, and so are both anchors other docs link to. No link targets or inline-code identifiers were dropped. The file has no fenced code blocks before or after. The docs-audience and local-link contract test passes. The 'Taking the helm means…' glossary bullet is gone, and the Exit codes lead-in now reads 'These conditions therefore surface as follows:'.
Live validation: ⚠️ no-surface - 0 of 3 scenarios driven live against the product
Scenario
Result
Live
Evidence
A reader following an existing link to sessionstart-nudge.md#harness-transports or #shared-wrapper-and-safety still lands on that section
⏸️ untested
no
Documentation-only change: no runtime product surface reads this Markdown file, so there is nothing no-mistakes can drive live. The anchors were verified statically.
The rewritten doc keeps every original heading, anchor, link target, and inline-code identifier
⏸️ untested
no
Documentation-only change with no live-validatable surface. The static comparison found nothing missing.
SessionStart nudge/digest hook behavior is unchanged
⏸️ untested
no
No code, hook, or plugin changed, so there is no changed runtime behavior to drive.
Evidence: Doc fidelity check (headings, anchors, fences, links, identifiers old vs new)
original headings missing from new: none
original anchors missing: none
inbound anchor harness-transports present: True
inbound anchor shared-wrapper-and-safety present: True
original link targets dropped: none
original inline-code identifiers dropped: none
old headings: 6 new headings: 38
original headings missing from new: none
original anchors missing: none
inbound anchor harness-transports present: True
inbound anchor shared-wrapper-and-safety present: True
old fenced blocks: 0 new: 0
every original fenced block byte-identical in new: True
original link targets dropped: none
original inline-code identifiers dropped: none
⚠️docs/sessionstart-nudge.md:10 - The new glossary line "Taking the helm means running the full digest, which acquires the session lock." adds a claim the original doc never made, and the rewritten doc contradicts it. Line 104 says a lock another live session holds "still produces the ordinary read-only digest", so a full-digest run does not always acquire the lock. The Ahoy skill (.agents/skills/ahoy/SKILL.md:13) defines taking the helm by whether a SESSION START digest for this home is visible in the session history, not by lock acquisition. This conflicts with the intent's requirement to preserve every documented fact without adding inaccurate ones. Suggested fix: reword to match the Ahoy definition, for example "Taking the helm means running the digest so its SESSION START report is in this session's context; the full digest acquires the session lock unless another live session holds it." Line 67's re-emit definition ("a process that already has the helm") should stay consistent with the corrected wording.
ℹ️ docs/sessionstart-nudge.md:214 - The Exit codes subsection says the same thing twice. Line 214 introduces the list with "These conditions therefore surface without refusing to open the session:", and line 220 repeats it: "None of these becomes a refusal to open the session." Suggested fix: drop one of the two sentences, for example change line 214 to "These conditions therefore surface as follows:" and keep line 220, or delete line 220.
🔧 Fix applied.
✅ Re-checked - no issues remain.
⚠️ **Test** - 1 warning
⚠️ this change has no live-validatable surface; proceed without live validation? (0 of 3 scenarios were driven live against the product); A reader following an existing link to sessionstart-nudge.md#harness-transports or #shared-wrapper-and-safety still lands on that section: Documentation-only change: no runtime product surface reads this Markdown file, so there is nothing no-mistakes can drive live. The anchors were verified statically.; The rewritten doc keeps every original heading, anchor, link target, and inline-code identifier: Documentation-only change with no live-validatable surface. The static comparison found nothing missing.; SessionStart nudge/digest hook behavior is unchanged: No code, hook, or plugin changed, so there is no changed runtime behavior to drive.
Live validation: ⚠️ no-surface - 0 of 3 scenarios driven live against the product
Scenario
Result
Live
Evidence
A reader following an existing link to sessionstart-nudge.md#harness-transports or #shared-wrapper-and-safety still lands on that section
⏸️ untested
no
Documentation-only change: no runtime product surface reads this Markdown file, so there is nothing no-mistakes can drive live. The anchors were verified statically.
The rewritten doc keeps every original heading, anchor, link target, and inline-code identifier
⏸️ untested
no
Documentation-only change with no live-validatable surface. The static comparison found nothing missing.
SessionStart nudge/digest hook behavior is unchanged
⏸️ untested
no
No code, hook, or plugin changed, so there is no changed runtime behavior to drive.
git diff --stat b42d4fa 188f330 (confirmed only docs/sessionstart-nudge.md changed)
grep -rln docs/sessionstart-nudge.md across the repo (confirmed no runtime code reads the doc)
Python fidelity check comparing old vs new doc: headings, anchors, fenced blocks, link targets, and inline-code identifiers (saved to evidence/doc-fidelity-check.txt)
bash tests/fm-documentation-audiences.test.sh
grep for the review-1 and review-2 fixes in docs/sessionstart-nudge.md
Restructure the prose into sections, lists, and tables without changing documented behavior. Every original heading, inline-code span, link target, number, and fact is preserved, and a harness-to-tier table now sits near the top.
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/sessionstart-nudge.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/sessionstart-nudge.mdfor readability: long prose paragraphs are now a "Find a topic" navigation table, tier and per-harness tables, bullet lists, numbered procedures, and shorter###/####subsections (for example Tier by harness, Lock and completion interlock, Digest timeout, Exit codes, Pi message delivery), with one sentence per line.Risk Assessment
✅ Low: This change only touches documentation. It restructures one doc, keeps every original H2 heading and the anchors that other docs link to (#harness-transports and #shared-wrapper-and-safety from docs/verification/supervision.md), keeps the documented facts, and makes both round-1 fixes exactly as the user instructed.
Testing
I checked the diff and every reference to the doc: this is a Markdown-only change with no runtime surface, so the verdict is no-surface and there are no live scenarios. I compared the old and new doc with a script. All 6 original headings and their anchors are still present, and so are both anchors other docs link to. No link targets or inline-code identifiers were dropped. The file has no fenced code blocks before or after. The docs-audience and local-link contract test passes. The 'Taking the helm means…' glossary bullet is gone, and the Exit codes lead-in now reads 'These conditions therefore surface as follows:'.
Evidence: Doc fidelity check (headings, anchors, fences, links, identifiers old vs new)
Source: Doc fidelity check (headings, anchors, fences, links, identifiers old vs new)
original headings missing from new: none original anchors missing: none inbound anchor harness-transports present: True inbound anchor shared-wrapper-and-safety present: True original link targets dropped: none original inline-code identifiers dropped: nonePipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 2 issues found → auto-fixed ✅
docs/sessionstart-nudge.md:10- The new glossary line "Taking the helm means running the full digest, which acquires the session lock." adds a claim the original doc never made, and the rewritten doc contradicts it. Line 104 says a lock another live session holds "still produces the ordinary read-only digest", so a full-digest run does not always acquire the lock. The Ahoy skill (.agents/skills/ahoy/SKILL.md:13) defines taking the helm by whether aSESSION STARTdigest for this home is visible in the session history, not by lock acquisition. This conflicts with the intent's requirement to preserve every documented fact without adding inaccurate ones. Suggested fix: reword to match the Ahoy definition, for example "Taking the helm means running the digest so itsSESSION STARTreport is in this session's context; the full digest acquires the session lock unless another live session holds it." Line 67's re-emit definition ("a process that already has the helm") should stay consistent with the corrected wording.docs/sessionstart-nudge.md:214- The Exit codes subsection says the same thing twice. Line 214 introduces the list with "These conditions therefore surface without refusing to open the session:", and line 220 repeats it: "None of these becomes a refusal to open the session." Suggested fix: drop one of the two sentences, for example change line 214 to "These conditions therefore surface as follows:" and keep line 220, or delete line 220.🔧 Fix applied.
✅ Re-checked - no issues remain.
git diff --stat b42d4fa 188f330(confirmed only docs/sessionstart-nudge.md changed)grep -rln docs/sessionstart-nudge.mdacross the repo (confirmed no runtime code reads the doc)Python fidelity check comparing old vs new doc: headings, anchors, fenced blocks, link targets, and inline-code identifiers (saved to evidence/doc-fidelity-check.txt)bash tests/fm-documentation-audiences.test.shgrepfor the review-1 and review-2 fixes in docs/sessionstart-nudge.md✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.