Skip to content

Document spec artifact immutability convention in AGENTS.md #287

Closed

Description

@fullsend-ai-retro

What happened

During PR #277, the review agent flagged files under specs/015-native-macos-signing/ (quickstart.md, research.md, plan.md, checklists/) as stale documentation that needed updating to reflect the expanded 6-secret gate. The agent escalated these findings to HIGH severity in review runs 3-4 (Sep 24-25). The PR author responded that spec artifacts are point-in-time design records that document decisions as they existed when the spec was written, and should not be retroactively updated. The agent eventually stopped raising these findings but only after 2-3 wasted review iterations.

What could go better

The AGENTS.md Spec Organization section lists all spec directories and describes the numbering convention, but never explicitly states that completed spec artifacts are immutable historical records. The review agent has access to AGENTS.md and follows its conventions, but without an explicit immutability statement, it reasonably interprets references to '5 GitHub secrets' in a spec quickstart as stale documentation rather than an accurate historical snapshot. This is a high-confidence finding — the human author was unambiguous about the convention, and the project's spec-first workflow inherently treats specs as point-in-time artifacts that precede implementation.

Proposed change

Add an explicit immutability statement to the AGENTS.md 'Spec Organization' section, after the directory listing. Something like:

### Spec Artifact Immutability

Completed spec artifacts (`spec.md`, `plan.md`, `tasks.md`,
`research.md`, `quickstart.md`, `data-model.md`, `checklists/`)
are **point-in-time design records**. They document the decisions
and context as they existed when the spec was written. They MUST
NOT be retroactively updated when implementation evolves beyond
the original spec — the git history and subsequent specs/PRs
serve as the record of that evolution. Review agents MUST NOT
flag completed spec artifacts as stale documentation.

This gives the review agent (and all agents reading AGENTS.md) an explicit rule to follow, preventing false-positive stale-doc findings on archival specs.

Validation criteria

The next PR that touches functionality covered by a historical spec (e.g., modifying release.yml which is covered by specs 014 and 015) should not trigger stale-doc findings on the completed spec artifacts. Verify over the next 3 PRs that modify behavior covered by existing specs.


Generated by retro agent from #277

Activity

  1. added
    ready-for-triage
    on Sep 29, 2026
  2. fullsend-ai-triage commented on Sep 29, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 1:16 PM UTC · Completed 1:20 PM UTC

    Commit: 2b10a41 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.19

  3. added
    documentation
    ready-to-code
    on Sep 29, 2026
  4. fullsend-ai-triage commented on Sep 29, 2026

    @fullsend-ai-triage

    This is a well-defined documentation gap with a clear fix. The proposed text is ready to add as a subsection under "Spec Organization" in AGENTS.md.

    Per the project's own rules, this is a documentation-only change exempt from the spec-first workflow, so it can proceed directly to implementation.

    Related issue: #262 ("Document embed.FS sync invariants as explicit review rules in AGENTS.md") is a similar pattern — codifying an implicit convention into AGENTS.md to prevent agent misinterpretation.

    Validation: As the issue suggests, confirm over the next 3 PRs that touch spec-covered functionality that review agents no longer flag archival specs as stale.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  5. fullsend-ai-coder commented on Sep 29, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 1:22 PM UTC · Completed 1:25 PM UTC

    Commit: 2b10a41 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.92

  6. added a commit that references this issue on Oct 8, 2026
  7. added a commit that references this issue on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationready-for-triageready-to-code

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions