You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0a18e76
Browse filesBrowse the repository at this point in the historyBrowse files
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
Copy file name to clipboardExpand all lines: docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ A caller with no package (an environment item, a context-free door, an MCP clien
118
118
- **(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.
119
119
-**(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.
120
120
-**(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.
122
122
123
123
**Exceptions (ruled).**
124
124
@@ -288,12 +288,12 @@ Each slice is a child card, filed under the epic ruling `6723499113`; ⛔ none l
288
288
289
289
**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.
290
290
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, agentand 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:
292
292
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.
294
294
-**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)).
295
295
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, bookand cube. (`rag_pipeline` is retired (#31456) before the ruled table was measured; no child touches it.) Two of them change no bare answer:
297
297
-**Hook** has no first-match read to narrow: it binds by event and object, and `isArtifactShippedHook` is a yes/no predicate (D4).
298
298
-**Job** keeps `jobKeyFor`'s reading (E7): the first holder keeps the bare key, and a second holder already gets its own `APPID:jobName`.
299
299
@@ -345,7 +345,7 @@ Each child PR proves it is releasable with four readings:
345
345
346
346
**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.
347
347
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.
349
349
350
350
**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.
0 commit comments