Skip to content

Commit d378b60

Browse files
committed
docs(qa): correct two dogfood headers that still state ADR-0094's retired 2026-07-14 overlay direction (#7351)
Both suites already pin the post-#6483 refusal correctly in their test bodies, which carry the #6483 annotations. Only the file headers still described the 2026-07-14 direction — "a data-plane edit is TRANSLATED into an env-scope ADR-0005 overlay" and "delete RESETS to the declared body" — as current. That direction was retired on 2026-08-09 by ADR-0094 D5-R (#6858 / PR #6962), after #6483 / PR #6608 rolled `permission` back to `allowOrgOverride: false`. Prose only: the diff touches comment lines exclusively, no assertion and no behaviour changes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016pY4Xb2iDecfDtT3CWoiTW
1 parent ecb39ea commit d378b60

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

packages/qa/dogfood/test/showcase-permission-projection.dogfood.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@
1818
// type; ADR-0086 two-doors applies meanwhile (edit the package,
1919
// re-publish).
2020
// 3. Deleting a runtime-only set retires its record; deleting an
21-
// artifact-backed set RESETS it to the declared body (the definition
22-
// ships with the app and cannot be removed from the environment).
21+
// artifact-backed set never removes it — the definition ships with the
22+
// app and cannot be removed from the environment. Since #6483 there is
23+
// no overlay left to lift, so that "reset" is a no-op success, not the
24+
// revert-to-the-declared-body step ADR-0094's 2026-07-14 direction
25+
// described (retired by D5-R).
2326
// 4. [#6483 inverted this pin too] An environment-door metadata save that
2427
// targets a package-owned, artifact-backed set is refused the same way —
2528
// record, provenance and effective body all stay exactly as shipped.

packages/qa/dogfood/test/two-doors-permission.dogfood.test.ts

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@
99
// `package_id` (publish-time, not just at boot). A draft alone
1010
// materializes nothing — only publish makes it live.
1111
//
12-
// 块2 — the ADMIN door (evolved by ADR-0094, direction 2026-07-14): a
13-
// data-plane edit of a package-managed row is TRANSLATED into an
14-
// env-scope metadata OVERLAY (the standard ADR-0005 customization) —
15-
// the record projects the effective body while the package keeps
16-
// owning the row, and "delete" resets to the shipped declaration.
12+
// 块2 — the ADMIN door (evolved by ADR-0094; its 2026-07-14 "translate the
13+
// edit into an env-scope ADR-0005 overlay" direction was RETIRED on
14+
// 2026-08-09 — see ADR-0094 D5-R): a data-plane edit of a
15+
// package-managed, ARTIFACT-BACKED row is REFUSED with 403
16+
// `not_overridable` and no overlay is minted — #6483 rolled
17+
// `permission` back to `allowOrgOverride: false`, and ADR-0086 names
18+
// the supported channel instead: edit the package and re-publish.
19+
// A "delete" through this door still degrades to a RESET — a packaged
20+
// definition can never be removed from the environment — though with
21+
// no overlay left to lift there is nothing for it to revert. A set
22+
// authored through the data door rides the still-open
23+
// `allowRuntimeCreate` tier and stays editable.
1724
// Forging package provenance through the admin door stays refused.
1825

1926
import { describe, it, expect, beforeAll } from 'vitest';

0 commit comments

Comments
 (0)