Skip to content

Commit 7b56222

Browse files
committed
chore(adr-anchors): anchor meta-collection-routes.ts to its ADRs
The 13a move took seven ADR decision-letter citations out of the anchored rest-server.ts into the unanchored meta-collection-routes.ts, so check-adr-anchors read 1783 -> 1776 with the gate green: the letters of those citations stopped being checked. This anchor, the shape slices 4, 6, 7 and 11 used, restores the reading to 1783. Its invariant adds no letter citation of its own. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QyoWKK9RwUNxBxmevy9Neb
1 parent d00b152 commit 7b56222

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"file": "packages/rest/src/meta-collection-routes.ts",
3+
"adrs": [
4+
"ADR-0131",
5+
"ADR-0106"
6+
],
7+
"invariant": "The `/meta` collection doors, moved here whole from `rest-server.ts` (#23050 slice 13a): the type list (`GET {metaPath}` and `GET {metaPath}/types`), the whole-store maintenance family (`GET {metaPath}/diagnostics`, `GET {metaPath}/_drafts` and `POST {metaPath}/_migrate-stored`) and the per-type list (`GET {metaPath}/:type`), mounted inside the umbrella's guarded registration. ADR-0131 — no door here reads or writes an organization's partition: the diagnostics sweep, the drafts list and the per-type list read environment → code, the partition every `/meta` write lands in, and the install-wide stored-metadata rewrite asks the walled refusal after its capability gate and before the protocol is resolved or a row is read. ADR-0106 — the pending-drafts list is an authoring surface gated per caller, because a pending object draft carries its full field map, and the per-type list serves an undetermined field visibility private and no-store. A collection door that reads an organization's partition, a rewrite that runs past the walled refusal, or a drafts list served to a caller who may not author is the drift these records forbid; the bodies' own comments carry each citation."
8+
}

0 commit comments

Comments
 (0)