Repository navigation
docs(#287): add spec artifact immutability convention - #288
Conversation
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts |
|
🤖 Review · Commit: |
|
🤖 Finished Review · ✅ Success · Started 1:28 PM UTC · Completed 1:45 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $5.55 |
|
Risk Assessment: low (1/5) DetailsDocs-only 24-line additive change to AGENTS.md by a known bot, implementing a well-scoped issue (#287) with clear validation criteria; AGENTS.md's protected-path status and moderate churn are expected for a governance file and do not elevate risk for a documentation addition. Re-review anchoring: Tier 1 signals unchanged from prior assessment, preserving prior score. Previous runRisk Assessment: low (1/5) DetailsDocs-only 18-line additive change to AGENTS.md by a known bot, implementing a well-scoped issue with exact proposed text; the only elevated signals are AGENTS.md's protected-path status and moderate churn, which are expected for a governance file and do not elevate risk for a documentation addition. |
ReviewFindingsMedium
All prior findings from the previous review have been addressed: the Documentation Validation Gate contradiction was resolved by scoping to in-flight specs, the Previous runReviewFindingsMedium
Low
Next steps:
|
|
🤖 Finished Fix · ✅ Success · Started 1:46 PM UTC · Completed 1:51 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.54 |
- Scope Documentation Validation Gate bullet to in-flight specs, resolving contradiction with immutability rule (medium finding) - Change bare MUST NOT to bold **must not** to match local section convention (low finding) - Add parenthetical clarifying tasks.md checkbox updates are permitted during active implementation (low finding) - Add catch-all phrase for artifact enumeration to cover clarify.md, report.md, and future artifacts (low finding) Addresses #288
🔧 Fix agent — iteration 1 (bot-triggered)Addressed all four actionable review findings in a single coherent edit to the Spec Artifact Immutability section and Documentation Validation Gate. The protected-path finding is procedural (human approval required for merge) and not actionable by the fix agent. Fixed (4):
Disagreed (1):
Tests: passedNext steps:
|
|
🤖 Finished Review · ✅ Success · Started 1:52 PM UTC · Completed 2:04 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.82 |
Add explicit "Spec Artifact Immutability" subsection to the Spec Organization section of AGENTS.md. Completed spec artifacts (spec.md, plan.md, tasks.md, research.md, quickstart.md, data-model.md, checklists/) are point-in-time design records that MUST NOT be retroactively updated when implementation evolves beyond the original spec. Review agents MUST NOT flag them as stale documentation. This codifies the convention that was implicit in the spec-first workflow, preventing false-positive stale-doc findings on archival specs (as observed in PR #277 where 2-3 review iterations were wasted on spec 015 artifacts). Closes #287
- Scope Documentation Validation Gate bullet to in-flight specs, resolving contradiction with immutability rule (medium finding) - Change bare MUST NOT to bold **must not** to match local section convention (low finding) - Add parenthetical clarifying tasks.md checkbox updates are permitted during active implementation (low finding) - Add catch-all phrase for artifact enumeration to cover clarify.md, report.md, and future artifacts (low finding) Addresses #288
7e3b498 to
e3cd338
Compare

Summary
Adds an explicit "Spec Artifact Immutability" subsection to the Spec Organization section of AGENTS.md, codifying the convention that completed spec artifacts are point-in-time design records that must not be retroactively updated.
This prevents review agents from flagging archival spec artifacts as stale documentation when implementation evolves beyond the original spec. The convention was implicit in the spec-first workflow but caused wasted review iterations in PR #277 (2-3 cycles on spec 015 artifacts).
What changed
### Spec Artifact Immutabilitysubsection after the directory listing and branch naming convention, before "Task Completion Bookkeeping"spec.md,plan.md,tasks.md,research.md,quickstart.md,data-model.md,checklists/Testing
Closes #287
Post-script verification
agent/287-spec-artifact-immutability)2b10a41b1659e5df1d74d5f2713242606bdd2e17..HEAD)