docs: document conditional -v test rerun pattern in REPO_POLICIES.md #21
Reference in New Issue
Block a user
Delete Branch "docs/conditional-verbose-test-rerun"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds the conditional verbose test rerun pattern as a policy recommendation in REPO_POLICIES.md.
Per sneak's request from sneak/chat PR #82: document the pattern where
make testruns tests without-vfirst, then automatically reruns with-von failure for full diagnostic output.Changes
prompts/REPO_POLICIES.md(rootREPO_POLICIES.mdis a symlink to this):make testtimeout ruleexit 1ensures the target always fails after a rerun (the rerun is solely for diagnostic output)last_modifiedfrom 2026-03-12 to 2026-03-18The Pattern
exit 1ensures the build fails regardless of second run's exit codecloses #20
Review: PR #21 — conditional -v test rerun pattern
Policy Divergences
No policy violations found.
Requirements Checklist (issue #20)
make testtimeout ruleexit 1explanationBuild Result
docker build .— PASS (all layers cached,make checkpasses including prettier formatting)Detailed Findings
prompts/REPO_POLICIES.md), +37/-1 lines. Only the documented pattern andlast_modifieddate update. No scope creep.make fmt-checkpasses (prettier with--prose-wrap always --tab-width 4).|| { ...; exit 1; }— theexit 1ensures the target fails regardless of the rerun's exit code. Explanation is technically correct.make test20-second timeout rule, which is the logical location in the Makefile conventions section.last_modifiedupdated from 2026-03-12 to 2026-03-18, matching the PR creation date.main.Verdict: PASS ✅
Clean documentation addition. All issue requirements fully addressed. No policy violations. Build passes.