Skip to content

Commit 0a18e76

Browse files
committed
docs(adr): fix ADR-0150's phase-1 type count and N1 citation per the contract review
ADR-0150 now counts tool among phase 1's covered types (14 with permission sets; 11 uncovered; 14 B children), cites N1 by meaning instead of a letter, and scopes the sealed-clash count to E5's measurement. ADR-0130's note says the install judge read the allowance only until E6. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jUkMujHycV1pMLHL8h
1 parent ca23ce3 commit 0a18e76

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎docs/adr/0130-release-artifact-as-co-ownership-boundary.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ needs to assert it.
176176

177177
> **Note (2026-11-09, [#31685](https://github.com/objectstack-ai/objectstack/issues/31685)) — what
178178
> co-ownership does not decide: how a reference between two packages of one artifact resolves.**
179-
> The CLI's picklist-reference check and the post-seal install judge read the paragraph above as
179+
> The CLI's picklist-reference check and the post-seal install judge read the paragraph above (the
180+
> install judge until E6, #31731) as
180181
> letting a package resolve a list a sibling package of the same artifact owns, with no declared
181182
> dependency (`packages/cli/src/utils/picklist-references.ts`). That allowance narrows to declared
182183
> dependencies: a bare reference resolves from the referring package's own items, then the unique

‎docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ A caller with no package (an environment item, a context-free door, an MCP clien
118118
- **(a) A package caller never resolves to an environment-authored item by bare name.** A package cannot declare a dependency on the environment, so an environment item is in no package's closure. A name that only an environment item holds is refused for a package caller (`outside-closure`), and the refusal names the environment as the holder. **This is a declared narrowing**, added by this record within the letter of the ruled rule. Today `getItem` serves the bare slot first to every caller (D4's overlay row), so a package flow's `template: welcome` filled by an environment-authored template is served today and refused once its reader is wired. It is carried by the E rows that wire a package caller (E1–E6, E8) and by U only through G1's door: Studio's held id travels as `?package=` (`client.meta.getItem`), so at the door it is the exact qualifier (D5), never a caller. G1 declares what that refuses. It cannot be measured on a package tree (HotCRM holds no environment), so the D10 upgrade report names each such reference as the migration finds it.
119119
- **(b) An overridable platform baseline ranks below a package holder.** These are the items of phase 1's `OVERRIDABLE_BASELINE_PACKAGES`; today that is the email service's built-in templates (ADR-0131 D6/D10). They rank below a package holder in step 2 and in the context-free environment step. A baseline item answers only when no package holds the name among that step's candidates, as the template loader serves it today. In step 2 the candidates are P's closure, so a baseline outside it is refused in step 3, never answered by an environment-wide fallback.
120120
- **(c) A package caller never resolves to a package outside its declared closure by bare name.** Where the only holder of a name is a package Q that P's closure does not reach, today `getItem`'s first-composite fallback serves Q's item. Once the reader is wired through R, step 3 refuses it as `outside-closure`, naming Q. This is step 3 of the ruled rule (record `6723462584`), and the epic seat recorded it as such (record [`6728487836`](https://github.com/objectstack-ai/objectstack/issues/31527#issuecomment-6728487836) on #31527): each E and G child declares it in its `Narrowing:` line beside (a), with its measured first-party count.
121-
- **A sibling package of the same release artifact is no exception** (N1, ruled A 2026-11-09, record [`6729820123`](https://github.com/objectstack-ai/objectstack/issues/31678#issuecomment-6729820123) on #31678). It is in P's closure only when P's manifest declares it: the artifact is ADR-0130's co-ownership boundary, not a resolution scope. The CLI's picklist-reference check and the post-seal install judge narrow their sibling allowance to declared dependencies (ADR-0130's dated note under D1), and the author's fix is one `dependencies` entry. Severity follows that record: the `kernel:ready` picklist audit warns and names every candidate, the read serves the field no options and the validator refuses a value, and the post-seal install judge refuses. The D10 upgrade report lists each such reference.
121+
- **A sibling package of the same release artifact is no exception** (N1, ruled 2026-11-09: declared closure only, record [`6729820123`](https://github.com/objectstack-ai/objectstack/issues/31678#issuecomment-6729820123) on #31678). It is in P's closure only when P's manifest declares it: the artifact is ADR-0130's co-ownership boundary, not a resolution scope. The CLI's picklist-reference check and the post-seal install judge narrow their sibling allowance to declared dependencies (ADR-0130's dated note under D1), and the author's fix is one `dependencies` entry. Severity follows that record: the `kernel:ready` picklist audit warns and names every candidate, the read serves the field no options and the validator refuses a value, and the post-seal install judge refuses. The D10 upgrade report lists each such reference.
122122

123123
**Exceptions (ruled).**
124124

@@ -288,12 +288,12 @@ Each slice is a child card, filed under the epic ruling `6723499113`; ⛔ none l
288288

289289
**Every child is independently releasable** (red line 3). It is additive: nullable package columns are backfilled before any reader uses them, an index gains the package without dropping the bare path, a URL gains an optional segment, and a bare name keeps resolving to its unique holder, except a package caller's reference whose only holder is the environment (D3 (a)) or a package outside its declared closure (D3 (c)), each declared on the rows that carry it.
290290

291-
**Covered and uncovered types.** For the 13 types phase 1 covers (`BARE_NAME_ONE_HOLDER_TYPES`' 12 plus permission sets), adding the coordinate changes no observable answer for a name phase 1 keeps to one holder. (`BARE_NAME_ONE_HOLDER_TYPES` is picklist, mapping, dataset, api, the object-less action (ADR-0048 P1.7), function, flow, webhook, connector, email_template, agent and skill, so E6's whole surface is covered.) Two cases have two package holders even so, and each is a narrowing that the rows meeting it declare:
291+
**Covered and uncovered types.** For the 14 types phase 1 covers (`BARE_NAME_ONE_HOLDER_TYPES`' 13 plus permission sets), adding the coordinate changes no observable answer for a name phase 1 keeps to one holder. (`BARE_NAME_ONE_HOLDER_TYPES` is picklist, mapping, dataset, api, the object-less action (ADR-0048 P1.7), function, flow, webhook, connector, email_template, agent, skill and tool (ADR-0048 P1.10, #31414), so E6's whole surface is covered.) Two cases have two package holders even so, and each is a narrowing that the rows meeting it declare:
292292

293-
- **A clash sealed before phase 1.** The cold-boot seal only warns, so a deployment that held a covered name twice before phase 1 keeps both holders, and today the first registered answers. Through R, a caller with no package is refused, naming both packages (`409` at a door), and a package-qualified address reaches the intended one. There is no sealed-set exception in R (#31677 Q1, ruled A 2026-11-09, record [`6729831159`](https://github.com/objectstack-ai/objectstack/issues/31677#issuecomment-6729831159)). Each E child that meets it declares it in `Narrowing:` (first-party 0, HotCRM `6961ab1`), and S4's upgrade report names each sealed clash with both packages.
293+
- **A clash sealed before phase 1.** The cold-boot seal only warns, so a deployment that held a covered name twice before phase 1 keeps both holders, and today the first registered answers. Through R, a caller with no package is refused, naming both packages (`409` at a door), and a package-qualified address reaches the intended one. There is no sealed-set exception in R (#31677 Q1, ruled A 2026-11-09, record [`6729831159`](https://github.com/objectstack-ai/objectstack/issues/31677#issuecomment-6729831159)). Each E child that meets it declares it in `Narrowing:` (E5 measured 0 on HotCRM `6961ab1`), and S4's upgrade report names each sealed clash with both packages.
294294
- **An action bound to an object.** Phase 1 covers only the object-less action, so two packages may each bind an action of one name to one object. Today the last registered handler runs, with a boot warning only (ruling `6262054499` on #24472). A call that names no package is refused with `409` `RESOURCE_CONFLICT`, naming both packages, and a package-qualified address reaches the intended one. The refusal lands in the action family's B card #31697, after E2, G1, G2 and S4; E2 keeps today's visible behaviour (#31697, ruled A 2026-11-09, record [`6729825528`](https://github.com/objectstack-ai/objectstack/issues/31697#issuecomment-6729825528)).
295295

296-
**Uncovered types.** The other 12 bucket 2/3 types have no backstop: sharing rule, queue, assignment rule, hook, job, app, page, dashboard, report, book, cube and tool. (`rag_pipeline` is retired (#31456) before the ruled table was measured; no child touches it.) Two of them change no bare answer:
296+
**Uncovered types.** The other 11 bucket 2/3 types have no backstop: sharing rule, queue, assignment rule, hook, job, app, page, dashboard, report, book and cube. (`rag_pipeline` is retired (#31456) before the ruled table was measured; no child touches it.) Two of them change no bare answer:
297297
- **Hook** has no first-match read to narrow: it binds by event and object, and `isArtifactShippedHook` is a yes/no predicate (D4).
298298
- **Job** keeps `jobKeyFor`'s reading (E7): the first holder keeps the bare key, and a second holder already gets its own `APPID:jobName`.
299299

@@ -345,7 +345,7 @@ Each child PR proves it is releasable with four readings:
345345

346346
**Count:** D, R, N, K, P, A, U and C (8), 8 E, 3 G and 4 S make 23 build children, N and K included. That is one above the evaluation thread's estimate of 18–22, because of K, which carries the Q3 ruling.
347347

348-
The B children are one per covered type, 13 in all (phase 1's 12 types plus permission sets), and small. Several types of one family can ride one PR where their E, G and S children have all landed. The trailing B children are new, and come from red line 3.
348+
The B children are one per covered type, 14 in all (phase 1's 13 types plus permission sets; `tool` joined phase 1 in #31414, ADR-0048 P1.10), and small. Several types of one family can ride one PR where their E, G and S children have all landed. The trailing B children are new, and come from red line 3.
349349

350350
**Hand-off outside this epic** (no child, so the count is unchanged): the scenario scorer's `bare-name` Build check and build prompt narrowed to bucket 1 types and positions (D9), filed by the cloud#3600 epic seat ([`6726694021`](https://github.com/objectstack-ai/objectstack/issues/31527#issuecomment-6726694021)) to the lane that owns the scorer, with or before P.
351351

0 commit comments

Comments
 (0)