Skip to content

docs(errors): mutation_outcome unknown becomes a MUST in 4.0, not 3.4 - #9191

Merged
bokelley merged 2 commits into
mainfrom
fix/mutation-outcome-must-from-4-0
Nov 23, 2026
Merged

bokelley merged 2 commits into
mainfrom
fix/mutation-outcome-must-from-4-0

Conversation

@bokelley

@bokelley bokelley commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The rule that a seller emits mutation_outcome: "unknown" (or applied with committed evidence) on a fenced idempotency claim is a SHOULD in 3.3 and was scheduled to become a MUST "in 3.4". There is no 3.4: the line was retired on 8 Nov (#8756), 3.3 is the last 3.x minor, and the next release is 4.0. As written, the MUST would never take effect.

This changes the target to 4.0 in:

  • docs/building/by-layer/L3/error-handling.mdx (seller obligations, two places)
  • docs/building/by-layer/L1/security.mdx (idempotency rule 3 and the fenced-claim note)
  • .changeset/pre/error-mutation-outcome.md, so the 3.3.0 GA changelog matches the spec
  • governance/decisions/DR-0027-mutation-outcome-on-error.md: the decision text now says 4.0, with a dated Amendments entry (governance path: human merge)
  • tests/mutation-outcome.test.cjs: the assertion on the error-handling wording

No new root changeset: docs/building pages aren't protocol-scoped, and the archived changeset edit already carries the change into the GA changelog.

The 3.3 obligation (SHOULD) is unchanged. Maintainer decision, made during the 3.3.0 GA changeset audit (#9187).

Not in this PR: whether this hardening should also get a 4.0 compatibility-registry entry. It can be added with the other 4.0 tightenings under #8756.

🤖 Generated with Claude Code

There is no 3.4 release; 3.3 is the last 3.x minor and the next is 4.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Request changes

Request changes — 2 blocking finding(s)

This PR moves the mutation_outcome SHOULD→MUST cadence from "3.4" to "4.0" (3.4 retired per #8756). The four in-scope sites are updated consistently and the patch changeset is appropriate for the unreleased feature, with immutable dist/** records correctly left untouched. However, two high-severity issues block merge.

Blocking findings

  • docs/building/by-layer/L3/error-handling.mdx:731 — Doc edit breaks committed test assertion; tests/mutation-outcome.test.cjs:110 still asserts the old "becomes a MUST in 3.4" string and will fail CI.
  • governance/decisions/DR-0027-mutation-outcome-on-error.md:19 — Docs now contradict DR-0027, which still records "(a MUST from 3.4)"; per repo governance-precedent rule, contradicting a decision record without superseding it is spec drift.

Fixes: update the test assertion to match the new "4.0" string, and update DR-0027:19 to reflect the retired-3.4 → 4.0 cadence.

Blocking findings

  • docs/building/by-layer/L3/error-handling.mdx:731 — Doc edit breaks committed test assertion (3.4 → 4.0); tests/mutation-outcome.test.cjs:110 not updated, CI fails
  • governance/decisions/DR-0027-mutation-outcome-on-error.md:19 — Docs contradict DR-0027 (record still says MUST from 3.4)

… drop the root changeset

docs/building pages are not protocol-scoped, so the root changeset was refused;
the archived changeset edit already carries the change into the 3.3.0 changelog.
DR-0027 records the 4.0 target as a dated amendment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aao-secretariat
aao-secretariat Bot dismissed their stale review November 23, 2026 11:42

Superseded by a later Ladon review that rechecked and resolved its blocking findings.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ladon verdict: Approve

Approve — subsequent pass, both prior high blockers resolved, no current findings.

This is a follow-up to a prior request-changes decision. The two prior high findings are both addressed in the delta:

  • tests/mutation-outcome.test.cjs:110 now asserts MUST in 4.0, matching error-handling.mdx:731 — CI assertion and doc agree again.
  • DR-0027:19 now reads "(a MUST from 4.0; see Amendments)" with a proper Amendments section recording the 3.4 retirement (#8756) and the maintainer decision; the "(3.4)" Implications reference is corrected. No remaining contradiction with the docs.

Changeset handling is correct: the prior standalone patch changeset was deleted and folded into the unreleased pre/error-mutation-outcome.md (minor, pre-mode) for this unreleased feature; no dist/** artifacts touched.

No current findings. high_risk is false, gated_paths is false, no no-auto-approve team match. No decision-table trigger fires (rows 1–8 all pass through), so row 9 applies. Note: review_decision is REVIEW_REQUIRED, but gated_paths is false so row 2 does not apply, and there is no prose-based hard gate in play (no schema/dist/breaking-class change — this is a normative-docs clarification already backed by a governance record and maintainer decision). Clean net improvement over the prior pass.

@bokelley
bokelley merged commit 52b11c1 into main Nov 23, 2026
37 checks passed
@bokelley
bokelley deleted the fix/mutation-outcome-must-from-4-0 branch November 23, 2026 13:48
KonstantinMirin added a commit to KonstantinMirin/adcp that referenced this pull request Nov 23, 2026
…contextprotocol#9189, adcontextprotocol#9190), mutation_outcome docs (adcontextprotocol#9191)

No conflicts. Two files changed on both sides, in separate places.

Resolution ledger:
- semantic: server/src/training-agent/task-handlers.ts -> union: this
  branch's narrow imports and first-read input schemas; main's market
  filters, which leave out uncovered products instead of refusing
  (adcontextprotocol#9189), and the wholesale feed version over the built-in catalogue
  (adcontextprotocol#9190).
- semantic: server/tests/unit/training-agent.test.ts -> union: this
  branch's @adcp/sdk subpath imports; main's feed and pricing version
  assertions.
- auto-merged, main only: creators.ts, product-factory.ts,
  publishers.ts, types.ts, the two new training-agent test files, and
  adcontextprotocol#9191's docs, decision record and test.

Checks:
- npm run typecheck: pass.
- training-agent-product-coverage, training-agent-wholesale-feed-version
  and training-agent tests: 859 pass.
- test:narrow-imports, test:test-spawn-tooling, test:test-builds,
  test:test-git-env, test:test-dynamic-imports, test:module-eval-cycles:
  pass.
- tests/mutation-outcome.test.cjs: 6 pass.
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