Skip to content

docs: separate current guidance from verification evidence - #994

Merged
kunchenguid merged 2 commits into
mainfrom
fm/fm-documentation-audience-cleanup-r2
Jul 24, 2026
Merged

kunchenguid merged 2 commits into
mainfrom
fm/fm-documentation-audience-cleanup-r2

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

Intent

Deliver the exact reviewed reduced Firstmate documentation-audience cleanup at commit 3a45d9d through the captain-authorized fresh replacement branch and PR identity, replacing but not merging existing PR 944. Keep the captain-authorized audience policy, machine inventory, operator-versus-verification split, focused structural check, no-mistakes Document guidance, backend and supervision cleanup, prompt reductions, stale cmux pointer correction, and current Calm ownership and behavior. Remove the 113-line branch-specific delivery proof and all seven speculative parser-expansion commits, including reStructuredText and raw-HTML fixtures. Keep local-link validation focused on current tracked documentation formats and actual repository links. Quantified reduction and preservation evidence belongs in private task or PR evidence rather than a tracked delivery record. Preserve current behavior, setup, supported limits, safety boundaries, compatibility floors, regression pointers, and the separate public and internal Stow owners. AGENTS.md must remain line-growth-neutral. Review the complete reduced diff against the original request and proportionality report. Do not add unsupported parser formats, unrequested proof machinery, unrelated cleanup, content changes beyond the exact reviewed tree, nested validation, or duplicate validation runs.

What Changed

  • Define documentation audiences with a machine-readable inventory and a focused structural and local-link checker wired into test routing and Document guidance.
  • Separate current backend, supervision, and Calm operator guidance from maintainer verification records, including Herdr 0.7.5 restart-reclaim evidence.
  • Reduce duplicated and stale documentation and agent prompts while correcting README navigation and authoritative-owner pointers.

Risk Assessment

✅ Low: The focused fix restores concise Herdr 0.7.5 restart-reclaim evidence in the correct verification owner, resolves the prior inconsistency, and introduces no new material source or intent-conformance risk.

Testing

Baseline diff and proportionality inspection, the single focused structural test, and manual ownership/preservation checks all passed: 55 maintained surfaces are classified, actual local links resolve, malformed inventories fail closed, AGENTS.md remains line-neutral, forbidden proof/parser fixtures are absent, current Calm/Herdr behavior and separate Stow owners are preserved, and no source changes or transient worktree artifacts remain. No screenshot was captured because this change alters documentation structure and validation rather than a rendered application UI; reviewer-visible Markdown and command-transcript evidence were recorded instead.

Evidence: Focused documentation-audience test transcript
ok - documentation inventory classifies every maintained prose surface exactly once
ok - classification, setup routing, and maintained-prose scope fail safely
ok - required documentation owner pointers cannot silently disappear
ok - local links resolve while dates, versions, commands, and incident prose remain semantically reviewed
ok - no-mistakes uses the supported trusted document.instructions schema
Evidence: Documentation cleanup acceptance evidence
# Documentation audience cleanup acceptance evidence

## Replacement branch

- `c927743` no-mistakes(review): Restore Herdr 0.7.5 restart-reclaim verification evidence
- `73bec71` docs: separate current guides from verification

- Reviewed commit `3a45d9d` is an ancestor of the fresh base: no
- Replacement branch commit count: 2

## Proportionality and forbidden additions

- AGENTS.md lines: base 492, head 492, delta 0
- Branch diff totals:  33 files changed, 2026 insertions(+), 2391 deletions(-)
- Forbidden proof/parser paths in the changed tree: none

## Maintained documentation inventory

- Classified surfaces: 55
- Audience counts: agent-runtime=25, maintainer-architecture=7, maintainer-verification=6, operator-current=13, operator-example=2, public-product=2
- README setup routes: docs/configuration.md, docs/wedge-alarm.md, docs/tmux-backend.md, docs/herdr-backend.md, docs/zellij-backend.md, docs/orca-backend.md, docs/cmux-backend.md
- Required owner pointers: 17
- Calm current-behavior owner: docs/calm.md
- Calm version-scoped verification owner: docs/calm-mode-feasibility.md
- Runtime verification owner: docs/verification/runtime-backends.md
- Supervision verification owner: docs/verification/supervision.md
- Separate Stow owners present: .agents/skills/stow/SKILL.md and skills/stow/SKILL.md

## Focused end-to-end result

- ok - documentation inventory classifies every maintained prose surface exactly once
- ok - classification, setup routing, and maintained-prose scope fail safely
- ok - required documentation owner pointers cannot silently disappear
- ok - local links resolve while dates, versions, commands, and incident prose remain semantically reviewed
- ok - no-mistakes uses the supported trusted document.instructions schema

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

🔧 **Rebase** - 2 issues found → auto-fixed ✅
  • ⚠️ AGENTS.md - merge conflict rebasing onto origin/main
  • ⚠️ docs/herdr-backend.md - merge conflict rebasing onto origin/main

🔧 Fix applied.
✅ Re-checked - no issues remain.

🔧 **Review** - 1 issue found → auto-fixed ✅
  • 🚨 docs/verification/runtime-backends.md:45 - The new verification owner says the latest Herdr verification is 0.7.4 and records only the older projection suite, but the base contained 2026-07-24 Herdr 0.7.5 command/output evidence for same-identity restart reclaim. Meanwhile, docs/herdr-backend.md now claims 0.7.5 and restart reclaim are verified. This contradicts the required “operator-versus-verification split” and “Preserve current behavior... regression pointers.” Migrate the current 0.7.5 restart-reclaim evidence into this verification record without restoring task-specific paths or delivery proof.

🔧 Fix: Restore Herdr 0.7.5 restart-reclaim verification evidence
✅ Re-checked - no issues remain.

✅ **Test** - passed

✅ No issues found.

  • bash tests/fm-documentation-audiences.test.sh
  • git range-diff 3a45d9d^..3a45d9d 10ee7797e..73bec71 to review the fresh-base adaptation against the reviewed cleanup
  • Compared base and HEAD AGENTS.md line counts, confirming 492 lines at both revisions
  • Inspected the complete branch diff, commit list, documentation inventory, owner pointers, Calm ownership, Herdr 0.7.5 evidence, cmux pointers, and separate internal/public Stow owners
  • Searched changed paths and validation fixtures for branch-specific delivery proof, reStructuredText fixtures, and raw-HTML fixtures
  • git status --short before and after testing
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@kunchenguid
kunchenguid merged commit 861b1f8 into main Jul 24, 2026
10 checks passed
@kunchenguid
kunchenguid deleted the fm/fm-documentation-audience-cleanup-r2 branch July 24, 2026 19:09
ItsFlow referenced this pull request in ItsFlow/firstmate Jul 26, 2026