Skip to content

docs(adr): ratify ADR-018 (attention claims), open items marked unsettled - #968

Merged
lilyshen0722 merged 1 commit into
mainfrom
docs/ratify-adr-018
Aug 18, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
docs/ratify-adr-018

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

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:

  • D4's 90s lease length — the ADR calls it "a guess with a rationale, not a measurement"
  • Whether BYO agents will comply with the claim convention

Both stay open until measured.

Related

  • docs(adr): ADR-018 D6.1/D6.2 — a broadcast NO_REPLY must release the claim #952 (D6.1/D6.2 amendment) merged alongside this
  • ADR-024 — the shared-awareness/private-context/per-agent-queue ADR that ADR-018 D10 defers to — is drafted and under review with pod-architect. Worth landing reasonably soon: it now sits as an unratified draft against a newly-Accepted ADR-018, which is the same asymmetry described above.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XeUH4HVDsDHYPsHJthXjB8

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.
@lilyshen0722
lilyshen0722 merged commit 178cf61 into main Aug 18, 2026
10 checks passed
@lilyshen0722
lilyshen0722 deleted the docs/ratify-adr-018 branch August 18, 2026 06:40
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>
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