Repository navigation
docs: reconcile test evidence storage documentation - #2548
Merged
Merged
Conversation
.no-mistakes.yaml has set test.evidence.store_in_repo: true since #2355, but CONTRIBUTING.md, docs/configuration.md, and docs/architecture.md still described the old policy of keeping evidence out of the repo in a temp directory. The current no-mistakes behavior for store_in_repo: true is to publish each run's test evidence to the orphan no-mistakes/evidence branch and link it from the PR body. That branch shares no history with code branches, so evidence never enters a pushed feature branch or the default branch, and CI's tracked personal fleet paths rule stays accurate. Docs only. No change to .no-mistakes.yaml or any workflow.
Intent
Reconcile firstmate's test-evidence documentation with the current .no-mistakes.yaml setting. .no-mistakes.yaml has set test.evidence.store_in_repo: true since PR #2355 (a deliberate captain change), but three doc statements still described the OLD 'evidence stays outside the repo' policy: CONTRIBUTING.md (~line 70) 'Local .no-mistakes/ state and test evidence stay out of this repo; .no-mistakes.yaml keeps evidence in a temp directory ...'; CONTRIBUTING.md (~line 72) 'That is firstmate-specific; do not commit .no-mistakes/evidence/ here even when another no-mistakes-managed target project keeps committed PR evidence.'; and docs/configuration.md (~lines 132-133) 'The tracked .no-mistakes.yaml keeps test evidence outside the repo ...' plus '... firstmate keeps .no-mistakes/ local and CI rejects tracked entries under that path.'
The captain required determining the ACTUAL behavior first rather than flipping 'outside' to 'inside'. Established from the installed no-mistakes v1.53.0's own generated global-config documentation and from repository evidence: with store_in_repo: true, test evidence is published to an ORPHAN evidence branch (no-mistakes/evidence) in the same repository and linked from the PR body; that branch shares no history with code branches, so evidence never enters a pushed feature branch or the default branch. Confirmed empirically: origin/no-mistakes/evidence is an orphan branch whose root commit 6ec704f is the #2355 run itself; PR #2355's body links evidence at blob/6ec704f/.no-mistakes/evidence/...; origin/main tracks no .no-mistakes/ path; and .github/workflows/ci.yml runs only on pushes to main and PRs targeting main. There is therefore NO conflict with ci.yml's 'Personal fleet paths must not be tracked' step, and that CI rule remains accurate, so it was deliberately KEPT in the reworded docs.
Scope the captain set: DOCS ONLY. Do not change .no-mistakes.yaml or store_in_repo (that is the captain's #2355 decision). Do not change .github/workflows/ci.yml or any config/CI. Fix only the now-inaccurate evidence-location framing; do not rewrite unrelated prose. Keep docs internally consistent and consistent with .no-mistakes.yaml.
Beyond the three statements named at intake, docs/architecture.md carried the identical stale framing ('For target project repos ... expected to stay in the crew branch ...' and 'The firstmate repo itself is the exception ...'), which PR #2355's own Document step had flagged alongside the other two files. It was corrected in the same pass because leaving it would contradict the corrected owner section and violate the captain's 'keep the docs internally consistent' requirement. docs/configuration.md's 'Gate defaults (.no-mistakes.yaml)' section remains the one owner of the setting; CONTRIBUTING.md and docs/architecture.md state it briefly, and architecture.md cross-references configuration.md rather than restating the contract, per the one-owner rule in the firstmate-coding-guidelines skill.
AGENTS.md line 130 ('.no-mistakes/ local validation state and evidence; gitignored') was deliberately left unchanged: it is a gitignore inventory entry about the local path, not an evidence-location policy claim, and it remains true.
No behavioral test is expected for a prose-accuracy fix, and no test may assert doc bytes. bin/fm-doc-audience-check.sh and bin/fm-lint.sh both pass locally. Repo style rules apply: one full sentence per physical line in tracked Markdown, plain dash never an em dash, and no agent co-author on commits.
Delivery: mode=no-mistakes, yolo OFF - the captain owns the merge. Any ask-user finding is escalated to firstmate rather than self-answered.
What Changed
test.evidence.store_in_repo: truepublishes PR-linked artifacts to the orphanno-mistakes/evidencebranch..no-mistakes/paths remain gitignored and rejected by CI.Risk Assessment
✅ Low: The docs-only change is narrowly scoped, matches the configured evidence behavior and authoritative intent, and introduces no material source risk.
Testing
Validated the documentation-only scope, semantically confirmed the configured value is true, checked documentation ownership and links, reviewed policy consistency, and produced a reviewer-visible HTML artifact; no UI screenshot was applicable for this Markdown-only change, and lint was not rerun because this test phase forbids linters.
Evidence: Rendered documentation reconciliation report and patch
Source: Rendered documentation reconciliation report and patch
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bin/fm-doc-audience-check.shRuby YAML semantic parse confirmingtest.evidence.store_in_repo=truegit diff --name-only ac55d39a5bb355308f608b9ff2d033592232826c..HEADandgit ls-tree -r --name-only HEAD -- .no-mistakesManual review of the complete documentation diff and related evidence-policy referencesgit diff --check ac55d39a5bb355308f608b9ff2d033592232826c..f8572051e3f0ced675c2787a87ab0c6ace669848.no-mistakes.yaml:40- The comment still says evidence is committed alongside the change, contradicting the documented orphan-branch behavior; it remains unresolved because this task explicitly forbids changing .no-mistakes.yaml.✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.