Skip to content

Keep agents from writing or editing ADRs - #310

Merged
thrawn01 merged 10 commits into
mainfrom
thrawn01/eng-887-keep-agents-from-writing-or-editing-adrs
Nov 21, 2026
Merged

thrawn01 merged 10 commits into
mainfrom
thrawn01/eng-887-keep-agents-from-writing-or-editing-adrs

Conversation

@thrawn01

@thrawn01 thrawn01 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Intent

Build workers keep writing and editing ADRs nobody asked for. In the last 30 days 42 of 323 build sessions changed one. The skills invited it. They called core principles "ADR candidates", said a departure "needs a new or superseding ADR", routed design decisions to ADRs, let the manager decide ADR questions, and never said an ADR isn't a design file to keep in sync. This PR removes that prose and adds one short rule to build.

Fixes ENG-887

Surfaces

Skill rule dispatch:build, new:

Leave existing ADRs alone. An ADR records a decision the user made. Add one only from your blueprint's approved ADR: section, and edit an existing one only when the user asks, apart from pointing a superseded ADR's Status line at its replacement. Put a problem you find in an ADR under Concerns and risks for the user.

ADR test dispatch:blueprint adds the user's rule: "If a test can prove the behavior and the reason is clear, it is not an ADR."

Behavior changes

Removed or narrowed:

  • build: "A design file in the repo, not an ADR, is yours to edit." The renumbering note and the Departs from ADR 0007 example are gone.
  • manage: no longer decides ADR questions or offers. "ADR questions and offers go to the user."
  • decision-comment: Departs from no longer names an ADR.
  • design: dropped "A departure is itself a decision that needs a new or superseding ADR" and "are ADR candidates".
  • principle-encode-lessons-in-structure: dropped "A design decision becomes an ADR."
  • refactor-domains: "Docs and ADRs describe the current state" now says docs only.

Concerns and risks

  • Following your direction on the PR, this is removals plus one rule. These ticket deliverables are left to that rule:
    • dispatch:ticket gets no new sentence. It already says ADR questions are the user's.
    • The "record every divergence" rule gets no ADR sentence.
    • pr-respond and autobots are unchanged.
  • The build rule allows one edit to an existing ADR. A worker may point a superseded ADR's Status line at its replacement, per "ADRs immutable apart from the Status pointer" in ENG-875.
  • Dispatch's auto-merge never reads the PR body, so an ADR problem named there doesn't hold a merge. That merge still needs a reviewer's approving review, and no dispatch skill submits one.
  • No run checked the work. Evals are paused, so nothing shows workers behave differently.
  • No file under docs/adr/ changed.

Build states one rule: a worker creates an ADR only from a user-approved
ADR: section in its blueprint and never edits or deletes an existing one;
ADR problems go in the PR body for the user. The manager no longer answers
ADR questions or offers, and the design, ticket and principle skills stop
routing decisions into ADRs.

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deep Code Review Agent🐛

Review completed with 1 suggestion.

Reviewed commit: 2fc426d

Comment thread skills/autobots/SKILL.md Resolved
@thrawn01
thrawn01 merged commit 40d3529 into main Nov 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant