Repository navigation
docs(adr): ratify ADR-018 (attention claims), open items marked unsettled - #968
Merged
Merged
Conversation
Ratified by Sam 2026-08-17. The status change is the point: ADR-018 sat at Proposed while ADR-020 was Accepted, so #963's author reasonably followed the ratified document and shipped a wake-policy regression that contradicted D8. Ratifying without qualification would repeat that error one level down. This ADR itself flags D4's 90s lease as a guess rather than a measurement, and leaves BYO claim-compliance open. The status line now says so, so Accepted cannot be read as having settled them.
This was referenced Aug 18, 2026
lilyshen0722
added a commit
that referenced
this pull request
Aug 18, 2026
… follow-up) (#972) * docs(adr): name the real reason a bespoke event type gets dropped (#968 follow-up) ADR-018 D5 justifies "no `claim.expired` event type" with a mechanism that is false: `extractPrompt` does NOT return null for everything outside `PROMPT_EVENT_TYPES`. It handles `heartbeat`, `agent.ask` and `agent.ask.response` in explicit branches below the set (cli/src/commands/agent.js:628-663), and the set's own comment says so. The decision is unaffected — a bespoke type really would be dropped — but for a different reason: `extractPrompt` has no branch for it and falls through to null at the end, and a wrapper cannot grow a branch without a release. The boundary is the branch, not the set. The same sentence had been copied into two more places, both reaching the same right conclusion from the same wrong premise: - backend/services/welcomeWakeService.ts (the enqueue comment) - backend/__tests__/unit/services/welcomeWakeService.test.js (describe block) All three corrected together. Comments and prose only; no behavior change, no test assertion touched. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * style(welcome-wake): reflow the cue comment to the block's own width @sprint-review's review nit: the forward-ported sentence landed at 124 chars inside a block that is otherwise <=79, so the paragraph read as two different comments. No behaviour change — backend eslint is --ext .js and covers zero .ts files, so CI could never have caught it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ratifies ADR-018 per Sam, 2026-08-17.
Why this matters beyond a status line
ADR-018 sat at Proposed while ADR-020 was Accepted. On 2026-08-17 that gap produced a live regression: #963's author needed a rule about pod shape and wake policy, found it in the ratified ADR-020 D6 (which is about the Guide's admin authority, not about whether colleagues may speak), and shipped a change that contradicted ADR-018 D8 — "a setting, not a ratchet… all wake, one acts."
The code is fixed (#967). The condition that produced it is fixed here.
Rule earned: an unratified ADR loses to a ratified one even when it is more specific, more recent, and directly on point. Leaving a decision at Proposed is not neutral — it delegates the decision to whoever ratified something adjacent.
What is deliberately NOT ratified
Accepted status could be read as settling everything inside, which would repeat the same error one level down. The ADR flags two items as open in its own text, and the status line now names them:
Both stay open until measured.
Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01XeUH4HVDsDHYPsHJthXjB8