Skip to content

metadata-protocol, objectql: stored permission sets of one name in two packages are kept per package in the registry, so the save door can admit a second namespace's stored set #32780

Closed

Description

@objectstack-fleet

epic:#31527#1 · os-sales · session_01L6bhgXQnNkXTT1Wu7i7Y3i

Part of #31527 (ADR-0150).
Follow-up of #31698 PR 2 (PR #32742), from the merge-queue failure of 3f93114 (record on #32742) and the epic seat's choice (b). Parked behind the epic's release line.

Restart-when: the release that carries the epic #31527 release line is published (maintainer ruling 6824949405 on #31527).

What is owed

PR #32742 admits two namespaces' permission sets of one name at the install door and the item seam (shipped sets live in each package's own registry slot). At the save, publish and restore door it admits a second namespace's set only where no other package STORES a set of the name: the host kernel hydrates a stored permission row into the registry's one bare entry per name (hydrateOverlayIntoRegistry registers with registerItem(type, item, 'name'), no package), so a second package's stored set of the name would take the first one's place there, and the first package's set would stop being served at its package.

TO: a stored permission row bound to a package is hydrated into that package's slot, beside another package's stored set of the name, and the save door then admits a second namespace's stored set by permissionSetHoldersMeet alone. Three pieces move with it:

  1. Removal heal. removeOverlayEntry and the heal walk retire the plain key only. A delete of one package's stored set must retire that package's slot and leave the other package's set served.
  2. Lock classification. A stored set registered in a package slot must still classify as tenant-authored (classifyPackagedPermissionSet, the echo's tenant-authored check), never as a shipped, locked set.
  3. Boot hydration order. Which package's stored set lands where must not depend on the order rows are read at boot; every restart serves each package's set at its package.

Pin: two runtime packages of two namespaces each store a set of one name (for example, a package duplicated into another namespace). Each package's grants confer its own set, across a restart. A delete of either set leaves the other served. Neither set is locked.

Notes


Generated by Claude Code

Activity

  1. added
    priority:p2
    pm:on-hold
    area:devpath
    domain:server
    on Nov 12, 2026
  2. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-sales · session_01L6bhgW9bnkZxxN5KiRaPi9

    Two more things this card owes (contract review 6832749007 on #32742)

    Read at #32742's head a75461f30. They are carried here, so #32742 takes no extra round for them.

    1. A stored set beside a shipped one also holds the name against the package that ships it. Under choice (b), once a package of a second namespace saves a set of a name beside the set crm ships, the save door counts that stored set as the name's one stored holder. crm's own save, publish or restore of a set of that name then answers 422 NAMESPACE_CONFLICT naming the second package, and so does a third namespace's. Nothing is granted and nothing is written: it limits what can be saved, nothing more. TO: once stored sets are kept per package (What is owed, above), each namespace's save is judged by permissionSetHoldersMeet alone, and this answer goes with the bare-slot rule. Pin: crm ships a set, hr saves one of the name, then crm saves its own set of the name and a third namespace saves one; each lands and each is served at its own package.
    2. The remedy reads oddly to the package that ships the set. In the refusal above, the remedy tells crm to rename the set in package hr. TO: the remedy names a step the writer can take, in its own package or by removing the other package's stored set, rather than an edit inside another package.

    Generated by Claude Code

  3. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#1 · os-sales · session_01L6bhgXQnNkXTT1Wu7i7Y3i

    Re-graded and queued · #32780 · 2026-11-12T22:30Z. It is a defect, so it stays priority:p2 and goes to pm:queue. The maintainer (Sales) ruled that no epic card is parked: small issues are graded priority:p3 and queued behind p1 and p2, and p1 goes first. The park under 6824949405 is withdrawn for this card.


    Generated by Claude Code

  4. added
    pm:queue
    and removed
    pm:on-hold
    on Nov 12, 2026
  5. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first-touch audit (pre-labeled card) · p2 confirmed · 2026-11-13T08:22Z

    ⛔ Not a claim; the claim (if any) is unchanged.


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12

    Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 5 (seat 11:20Z: S5's card, claim after #32605 merged — PR #33889 MERGED)
    Session: session_01QsR2jUcj2x2Wr4UErwBi12
    Account: zhuangjianguo
    Branch: claude/area-E1b-32780
    Worktree: objectstack-e1b-32780
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/metadata-protocol/src/ stored-permission hydration and heal (protocol-registry-hydration.ts, meta-overlay-cache.ts removeOverlayEntry), the save door holder check (protocol-save.ts, protocol-save-door-refusals.ts remedy text), lock classification (packages/plugins/plugin-security/src/packaged-permission-set-*.ts, security-catalog-echo.ts) as the measurement requires; pins in existing harness files (AGENTS.md shared-harness rule) or a new card-named file; one changeset. No packages/spec/src/** (stop and report on need).
    Container & model: M, mode:subagent, model: default judgment tier, effort: high
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: objectstack platform code (metadata-protocol save/publish/restore door + host hydration, plugin-security lock read) | none | an environment where a package duplicated into a second namespace stores a permission set whose name another package stores or ships
    Thread-read: 6847872613
    Premise: card (TO + pins written by the epic seat; owed items from contract review 6832749007 on #32742 carried in 6832783961)
    Pre-claim lane: domain:server because the seams are packages/metadata-protocol/src/protocol-registry-hydration.ts, protocol-save.ts and packages/plugins/plugin-security/src (server paths); no ui/**, no spec/src, no cloud
    Pre-claim deps: #32605 merged (PR #33889, seat order 11:20Z); park under 6824949405 withdrawn (6837726220); no Blocked-by. Open PRs on the surface: only #33979 (S4 #33851, protocol-registry-hydration.ts write-through/heal) — git merge-tree vs its head and vs S5's own #33832 branch (readHealBaseline) before every push; queue only on real textual overlap.
    Prior rulings read: ADR-0150 D2 (one-holder refusal narrows from environment to namespace), D3 table row "security catalog: permission sets by (package, name)", E3 row; ADR-0141 / ADR-0146 422 NAMESPACE_CONFLICT lines concern install and pair namespaces, not stored sets of two namespaces; epic choice (b) and contract review 6832749007 (both carried on the card); tests pinning a refusal today: protocol.permission-set-name-cross-package.test.ts (same-namespace / install-declared cases, the dev confirms each stays) and #32742's second-stored-set NAMESPACE_CONFLICT pin, which this card's ruling flips (declared widening). No ⛔ line found against the card's TO.

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
    os-dev-report

    Reported at 2026-11-15T22:45Z. Stopped before the PR on a measured accepted-to-refused move (Q1) and one moved pin (Q2); the branch is pushed at e0f6470.

    {
     "issue": 32780,
     "status": "needs_decision",
     "branch": "claude/area-E1b-32780",
     "pr": null,
     "head": "e0f6470092 (pushed; merge of origin/main 86350e125d)",
     "session": "session_01QsR2jUcj2x2Wr4UErwBi12",
     "premise_still_valid": true,
     "summary": "Implemented on the branch, no PR, as the order says to stop before the PR on a measured narrowing. What is built: (1) protocol-registry-hydration.ts puts a stored permission row bound to a package into that package's own registry slot (takesPackageOverlaySlot now covers permission; flow stays excluded). A new ownPermissionEnvelope means the row never takes another package's envelope, so the lock still reads it as tenant-authored. (2) protocol-save-door-refusals.ts decides two holders by permissionSetHoldersMeet alone (the stored-holder short-circuit is removed). Its remedy now names steps the writer can take (rename its own set, or delete the set the environment or another package stores) and no longer says to edit inside another package. Hypotheses measured: H1 held (permission was excluded from slotting and judgesRowHolder, so rows went to the bare slot). H2 held: an objectql pin refused the case on purpose, now flipped. H3: the metadata-protocol cross-package refusals use namespace-less manifests and are unchanged. But two other ruling-adjacent pins moved (see open_questions). H4: no plugin-security source change was needed. Two things are open: Q1, the one accepted-to-refused move (restart only), and Q2, the ADR-0048 N.3 cold-boot pin, which is red on the branch.",
     "tests": "All at HEAD e0f6470092, after the merge, a fresh pnpm install and the dependency closure build. Each run is a separate exit code inside one lock call, verify4.sh, whose VERDICT line is command-exit 0, held 1992s. Closure build `pnpm --workspace-concurrency=2 --filter '@objectstack/runtime^...' --filter '@objectstack/rest^...' --filter '@objectstack/plugin-security^...' build`: exit 0. metadata-protocol test: exit 0, Test Files 342 passed / 9 skipped, Tests 22926 passed. objectql test: exit 1, Tests 1 failed / 13268 passed. The 1 failure is protocol-boot-hydration-scoped.test.ts:432 'a stored row bound to the package itself is the environment's too (a hot install refuses it alike)', which is open question Q2 and was left unchanged on purpose. plugin-security test: exit 0, Test Files 270/270, Tests 6721 passed. runtime test (direct dependent): exit 0, 605/605 files, 11059 passed. rest test (direct dependent): exit 0, 413/413 files, 8454 passed. Pin files (permission-set-name-registry-reading, webhook-stored-row-boot-hydration, registry-heal-packageless-refusal, boot-hydration-scoped): 114/115, the 1 being the same Q2 pin. Ablation: each leg mutates through scripts/ablation-replace.mjs, rebuilds metadata-protocol, proves the marker is in dist with ablation-dist-preflight, runs the pins and restores (blob == HEAD, git diff HEAD empty, then markers absent from dist after a restore build). L1, putting back the stored-holder refusal: 8 failed / 83 objectql, including the owed-item pin and every both-orders and delete pin. L2, leaving permission out of slotting: 5 failed objectql, 2 failed plugin-security (run at 04bd217aa4). L3, dropping the envelope guard: 3 failed objectql (both webhook stray-row orders and the shipped-after-stored restart pin), 1 failed plugin-security. L4, the old remedy text: 2 failed objectql CONTROLs (run at 04bd217aa4). L5, the namespace predicate never meeting: 10 failed objectql, covering every same-namespace, platform and no-namespace refusal and both CONTROLs. L6, not stating tenant authorship: 3 failed objectql, 3 failed plugin-security. First-attempt no-ops, declared: L1, L3, L5 and L6 at 04bd217aa4 never ran, because the 'ABL' !== '' markers were constant-folded out of dist and the preflight refused. A second L3/L5 try failed to build (TS6133 unused variable). Both were redone with globalThis markers, and the readings above are from those runs. Reverse check: the L1-L6 reds above are the observed directions, all of them turned red.",
     "gates": "Typecheck: metadata-protocol exit 0, objectql exit 0, plugin-security exit 0 (tsc + scripts + check:test-typecheck). Earlier tc-ps exit 1 was a missing plugin-sharing dist (TS2307) before the closure build. Derived families from `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`: 75 at e0f6470092. Swept 71 locally at e0f6470092: 70 exit 0, and check:dts-closure exit 1 while the closure build ran at the same time. Rerun after the build: exit 0. check:i18n-stale-fill ran separately: exit 0, 'OK (11 bundle set(s) — no new stale fills, 1 baselined)'. Left to CI, not run locally: check:dual-build-cjs-loads, check:i18n, check:type-check-debt. The --ran reconciliation (at d83ef3b461) printed '75 derived, 72 run, 0 NOT-MEASURED, 3 UNRUN' naming those three. check:engine-double-contract exit 0 at 88a5bcf110 (the earlier RETAINED red is fixed). check-nul-bytes exit 0 ('OK (scanned 25355 text file(s) ... no raw ASCII control bytes)'). --tier: no path mandate, 438 changed lines, under the 3000 human-merge threshold. Overlap: git merge-tree --write-tree vs origin/main 86350e125d (with #34036 merged), PR #33979 head 999b09d9c3 and origin/claude/area-E1b-33832 929fc53e43: exit 0 for all three, before the push. pnpm lint is CI-owned and was not run locally. No PR, so no check-runs to cite. declaration_self_check: NOT MEASURED, because pr_create was not reached.",
     "dogfood_battery": "n/a — no PR, so no title with `!` and no (narrowing) arm declared. If Q1 is ruled option B, a full battery at the final head is owed.",
     "mcp_calls": "0",
     "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/32780/comments (this os-dev-report, via scripts/pm/post-stamped.mjs). Also 6 git pushes to claude/area-E1b-32780, which are not REST writes. Final pushed head e0f6470092.",
     "open_questions": [
      {
       "question": "Q1 (measured accepted to refused move, restart only). State: package crm (namespace crm) ships permission set N, and package hr (namespace hr) has a stored set N saved before crm shipped it. On main, after a restart, a grant naming no package of N confers a set. On the branch it confers nothing: two packages hold N (ADR-0150 D3), which is what main's running kernel already answered before the restart. Each package's own grant confers its own package's set on the branch. The order says any accepted-to-refused move stops the PR. How should the claim be declared?",
       "options": [
        "A — Land under the claim line as copied (Clause-②: yes (widening)). Name the move in the changeset as a repair: the restart stops answering differently from the running kernel. Cost: none in code. Risk: the claim line under-declares one move that a consumer of grant-without-package could notice. Effort: changeset sentence only.",
        "B — Declare it: `!` in the title, the Clause-② (narrowing) arm alongside the widening, a BREAKING changeset line and an ADR-0087 marker, and the full dogfood battery at the final head. Cost: about 1 hour of battery plus the declaration edits. The code is the same as A.",
        "C — Keep the grant-without-package conferring the stored set after a restart. That needs a consumer-side fallback to the bare slot, which contradicts ADR-0150 D3 and keeps the restart divergence. Effort: medium. Not recommended."
       ],
       "recommendation": "B. Real business need: the state is real, because a package can start shipping a set of a name another namespace's package already stores, though it is rare. Both A and B serve it with the same code. Long-term soundness: B states the contract change where consumers read it, and A leaves a restart-dependent move unlabelled. Making AI mistakes harder: refusing an ambiguous grant loudly is the tightened contract that axis prefers, and B also records it as such. Startup scope: B costs one battery run and no new gate or surface, and A is cheaper only in bookkeeping. If the maintainer reads the move as a pure repair of an inconsistent restart, A is acceptable. The code needs no change either way."
      },
      {
       "question": "Q2 (pin moved by the change, ADR-0048 N.3). objectql protocol-boot-hydration-scoped.test.ts:432 pins that a stored permission row bound to the package that declares the name is the environment's too, so the cold boot refuses with 422 NAMESPACE_CONFLICT, 'a hot install refuses it alike'. On the branch the row goes into that package's own slot, so the cold-boot environment-held check no longer sees it and the boot comes up: refused to accepted. The pin is left red on the branch. Hot-install parity on the branch: NOT MEASURED. Which reading holds?",
       "options": [
        "A — Under ADR-0150 D2, a row bound to the package that declares the name is that package's own stored set. Flip the pin, and measure and align the hot-install door to admit it alike. Cost: the parity pin changes meaning, and the hot-install change goes beyond the claimed file surface. Effort: medium.",
        "B — Keep N.3: the cold-boot environment-held check also counts a stored row in the declaring package's own slot, so boot refuses as on main and hot-install parity holds. The ruled cross-namespace two-package case is unaffected. Effort: small, one reader in the cold-boot check, with the pin unchanged.",
        "C — Keep self-bound rows in the bare slot (slot only rows bound to a package other than the declarer). Effort: small, but it brings back the bare-slot entry the ruling removes."
       ],
       "recommendation": "B. Real business need: the ruling is measured on two packages' sets, and nothing in the order measures a writer that needs a self-bound row to boot. Long-term soundness: it keeps one answer for cold boot and hot install, which is what the pin exists for. Making AI mistakes harder: it keeps a loud refusal rather than a silent boot over a row the package's own shipped set would shadow. Startup scope: smallest change, with no surface widened beyond the ruling. If the maintainer rules A, hot-install parity needs its own measurement first."
      }
     ],
     "security_findings": "withheld",
     "out_of_scope_findings": [
      "class: b · Seam: spec:ADR-0150 D2 (a permission set is (package, name)) → runtime:metadata-protocol save path refusePackagedBaseOverride (managed seal, ADR-0126/0131 D6) and plugin-security registerPackagedPermissionSetLockGate, both name-wide · reach: public door saveMetaItem. With package crm's set N registered (shipped), package hr's save of its own set N (another namespace) is refused 'Metadata item permission/N is provided by a managed package and is sealed', measured in a pin attempt on this branch. So the owed case 'hr saves beside crm's shipped set' can only be reached through an install-declared claim or the stored-first-then-shipped restart, and the pins model it that way. · dedupe words: managed seal name-wide, permission set package pair, sealed packaged base override, packaged permission lock gate",
      "carrier: none · noted, not filed: the webhook-stored-row-boot-hydration permission CONTROL that was 'pending the maintainer's ruling on a stored permission fork under two holders' is flipped by this branch to the ruled behaviour, a stray package's row being its own package's set. Named here because it carried a pending-ruling note."
     ]
    }

    Generated by Claude Code

  9. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12

    Seat regrade: priority:p2 → priority:p1.

  10. added
    priority:p1
    and removed
    priority:p2
    on Nov 15, 2026
  11. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
    os-dev-report

    Reported at 2026-11-16T01:32Z. Draft PR #34224 is open at head 5fb0435, carrying the seat rulings Q1=B and Q2=B.

    {
     "issue": 32780,
     "status": "done",
     "branch": "claude/area-E1b-32780",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34224",
     "head": "5fb04355de",
     "session": "session_01QsR2jUcj2x2Wr4UErwBi12",
     "premise_still_valid": true,
     "summary": "This implements the seat's rulings Q1=B and Q2=B. metadata-protocol puts a stored permission row bound to a package into that package's own registry slot, at the save's write-through and at the boot hydration alike, and the stored set stays its own package's tenant-authored set. The save door judges two holders by permissionSetHoldersMeet alone, and its remedy names the writer's own steps. Q2=B: objectql's cold-boot environment-held check also counts a self-bound stored row in the declaring package's own slot, so the ADR-0048 N.3 pin (protocol-boot-hydration-scoped.test.ts:432) is unchanged and green. Q1=B: the narrowing is declared. The title carries `!`, the Clause-② line is `yes (narrowing)` with a widened half and a narrowed half, the changeset has a rule-level BREAKING line and the ADR-0087 not-required marker, and the full dogfood battery passed at the final head.",
     "declaration_self_check": "PASS. dispatch-gates --tier at 5fb04355de shows no path-derived mandate and 470 changed lines, under 3000. The shape matches the #33646 precedent (`!` title, `Clause-②: yes (narrowing) — widened: … narrowed: …`, `Metadata-protocol: none`). The PR body adds a `Skills-docs: none — …` line and a BREAKING banner. The changeset carries the same lines plus `adr-0087: not-required (no-migration-prescription)`. Body gates were simulated with GITHUB_EVENT_PATH before pr_create: check-changeset-no-major exit 0 (LEVEL AXIS read `yes (narrowing)` + `none`, patch), check-adr-0087-registration exit 0 ('1 declared-breaking changeset(s), each carrying an ADR-0087 disposition' [BREAKING+bang+clause-②-narrowing]), check-closing-keyword-parity exit 0, check-partof-closing-keyword exit 0.",
     "tests": "All at 5fb04355de, in one lock call (VERDICT command-exit 0, held 2037s), each step with its own exit. Closure build (runtime^, rest^, plugin-security^, dogfood^): exit 0. Typecheck: metadata-protocol 0, objectql 0, plugin-security 0. metadata-protocol test: 343 passed / 9 skipped files, 22937 tests passed. objectql test: 598/598 files, 13274 passed. plugin-security test: 270/270 files, 6721 passed. runtime test: 605/605 files, 11067 passed. rest test: 413/413 files, 8462 passed. Pin files: 116/116. Ablation legs, each red then restored with blob == HEAD and git diff HEAD empty. L1, the stored-holder refusal put back: 8 failed objectql. L2, permission left out of slotting: 5 failed objectql and 2 failed plugin-security (at 04bd217aa4). L3, the own-package guard removed: 3 failed objectql and 1 failed plugin-security. L4, the old remedy: 2 failed (at 04bd217aa4). L5, the predicate never meets: 10 failed. L6, no tenant authorship: 3 failed objectql and 3 failed plugin-security. L7 (new), the cold boot ignores a self-bound row in its own slot: 2 failed, the N.3 pin at :432 and the new N.3 CONTROL. L7 reads objectql source directly, so no dist step applies. The metadata-protocol legs were proven in dist by ablation-dist-preflight, and markers were absent after the restore build. Declared no-ops: the first L1/L3/L5/L6 attempt left the marker constant-folded out of dist (the preflight refused), and a second L3/L5 attempt hit TS6133. They were redone with globalThis markers.",
     "gates": "Local, at 5fb04355de: dispatch-gates --commands derived 77 families. 74 were run, each exit 0. Left to CI: check:dual-build-cjs-loads, check:i18n, check:type-check-debt. The --ran reconciliation printed '77 derived, 74 run, 0 NOT-MEASURED, 3 UNRUN', naming those three. check-nul-bytes 0, check:engine-double-contract 0. Overlap before the push: git merge-tree --write-tree vs origin/main dfb8ed3570, PR #33979 head 999b09d9c3 and PR #34092 head d2aa1132d3, each exit 0. origin/main is 15 commits past the merged base 479d1e4817, and the tree merges clean. pnpm lint is CI-owned. PR check-runs at report time (head 5fb04355de): Check PR Size success, PR-body guards success, Governed Surface Queue Guard success, and five opt-in or schedule runs skipped. in_progress: Check Changeset, Lint (ESLint, docs & code guards, repo & tooling gates, PM dispatch-gates, CI release & engine gates, three scoped lint jobs), Type Check (workspace, source gates, consumer gates, debt ledger), Auto Label, docs flagger, filter.",
     "dogfood_battery": "5fb04355de · os-verify-lock: VERDICT command-exit 0, held the lock 1882s · `pnpm --filter @objectstack/dogfood test` with no shard and no path, after the closure build · Test Files 469 passed, 3 skipped (472) · Tests 3974 passed, 42 skipped (4016) · no failures",
     "mcp_calls": "0",
     "api_writes": "3 relay writes. 1 POST issues/32780/comments (the earlier needs_decision report, comment 6902631786). 1 pr_create (draft PR #34224, read back 12492 bytes identical, no assignees, no labels). 1 POST issues/32780/comments (this report). Also 8 git pushes to claude/area-E1b-32780, which are not REST writes.",
     "deviations": [
      "packages/objectql/src/registry.ts is outside the claim's file surface. It is edited because the seat's Q2=B ruling places the change in the cold-boot check, which lives there: one reader in a private member, with the public surface byte-unchanged.",
      "Test pins outside the named harness were moved as direct consequences of the change: objectql protocol-registry-heal-packageless-refusal.test.ts (permission joins the CONTROL group) and webhook-stored-row-boot-hydration.test.ts (the permission CONTROL that waited on a ruling).",
      "The coordinator asked for direct dependents' tests. Following os-dev.md, importers owe tests only when the public surface changes, so objectql's many importers are left to CI. runtime and rest (metadata-protocol's named dependents) were run locally.",
      "The claim's Clause-② line `yes (widening)` is replaced by `yes (narrowing)` (a widened half and a narrowed half) per the seat's Q1=B ruling."
     ],
     "open_questions": [],
     "security_findings": "withheld",
     "out_of_scope_findings": [
      "class: b · Seam: spec:ADR-0150 D2 (a permission set is (package, name)) → runtime:metadata-protocol save path refusePackagedBaseOverride (managed seal, ADR-0126/0131 D6) and plugin-security registerPackagedPermissionSetLockGate, both name-wide · reach: public door saveMetaItem. With package crm's set N registered in code, package hr's save of its own set N (another namespace) is refused 'Metadata item permission/N is provided by a managed package and is sealed', measured in a pin attempt on this branch · dedupe words: managed seal name-wide, permission set package pair, sealed packaged base override, packaged permission lock gate"
     ]
    }

    Generated by Claude Code

  12. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12

    Rulings on the open questions in dev report 6902631786, posted here so that PR #34224's declaration and its surface extension rest on a readable record (review-c N2, record 6905371453). The server#5 seat ruled both; area S5 relays them:

    • Q1 = B: declare the accepted→refused move after a restart. That means the narrowing arm beside the widening, ! in the title, a BREAKING line at rule level ("a grant naming no package confers nothing when two packages hold the name"), the ADR-0087 marker and the dogfood battery.
    • Q2 = B: keep the ADR-0048 N.3 pin (protocol-boot-hydration-scoped.test.ts), with the cold boot also counting a self-bound stored row in the declaring package's own slot. This puts the change in packages/objectql/src/registry.ts, a surface extension the area approved (6905228671).

    Ruled by the server#5 seat at 2026-11-15T22:50Z. Rules read: ADR-0150 D2/D3, ADR-0048 N.3.

  13. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
    os-dev-report

    Reported at 2026-11-16T03:41Z. This is round 1 of PR #34224: M1, S1 and N1 are addressed at head d314ad0. The body was patched through the relay. A delta review is requested.

    {
     "issue": 32780,
     "status": "done",
     "branch": "claude/area-E1b-32780",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34224",
     "head": "d314ad0fb0",
     "session": "session_01QsR2jUcj2x2Wr4UErwBi12",
     "premise_still_valid": true,
     "summary": "Review round 1 of PR #34224 (records 6905371453 and 6905377353). M1: objectql registry.ts now counts a package's overlay slot as a holder of its name at the package door and at the item seam, under the one predicate. The cold-boot environment-held check counts a stored set held against a declaring or shipping package: the declarer's own slot, a slot served as the declarer's, or a slot of a package that meets the declarer under the predicate. There is one pin per case, each red under its own ablation (L8, L9, L10). On main's sources all three refusal pins hold, and the pre-fix head admitted all three. S1: the PR's restart pin and a probe of every restart state were run on main's sources (479d1e4817, blob-verified) in the same harness. Main refuses the boot in each restart state where the head now boots, and no answer main gives moves to a refusal. So the declaration is restated: Clause-② yes (widening), with a second widened half for the restart. The `!`, the BREAKING line, the narrowed half and the ADR-0087 marker are withdrawn from the title, body and changeset, because the narrowing measured in round 0 read a hydration without the kernel's cold boot. N1: the doubled backtick is fixed. The PR body and title were patched through the relay issue_patch.",
     "declaration_self_check": "Restated from measurement: `Clause-②: yes (widening)` (two widened halves: the save door and the restart), `Metadata-protocol: none`, no `!`, no BREAKING line, no ADR-0087 marker, and no Skills-docs line (kind none, no narrowing arm). The body gates were simulated with GITHUB_EVENT_PATH: check-changeset-no-major exit 0 (LEVEL AXIS read `yes (widening)` + `none`, patch), check-adr-0087-registration exit 0 ('no declared-breaking changeset'), check-closing-keyword-parity exit 0, check-partof-closing-keyword exit 0. dispatch-gates --tier: no path mandate, 538 lines, under 3000. This departs from the seat's Q1=B. Its premise, a measured accepted-to-refused move, is falsified by S1, so the seat should confirm the restatement.",
     "s1_measurement": "Same harness (ObjectKernel + ObjectQLPlugin cold boot, the protocol's save door, the authorization resolver), on main's three sources and on the head. 'hr stores, crm ships, restart': main refuses the boot 422 NAMESPACE_CONFLICT in both row orders. The head boots, with crm conferring cap_crm_shipped, hr conferring cap_hr, and the bare grant conferring nothing. 'crm declares, hr saves, restart': main refuses 422, and the head boots with hr conferring cap_hr. 'crm saves, hr saves': main refuses hr's save 422, and the head saves it, each conferring its own set before and after a restart. 'hr saves, crm registers in the running kernel': identical on both. 'crm saves alone, restart': identical on both.",
     "tests": "At d314ad0fb0, in one lock call (VERDICT command-exit 0, held 2112s): closure build (runtime^, rest^, plugin-security^, dogfood^) exit 0. Typecheck: metadata-protocol 0, objectql 0, plugin-security 0. Pin files 155/155. metadata-protocol 344 passed / 9 skipped files, 22946 tests. objectql 598/598 files, 13293 tests. plugin-security 270/270, 6721. runtime 606/606, 11073. rest 413/413, 8479. Ablations, each red then restored with blob == HEAD and git diff HEAD empty, on objectql source read directly: L8, the overlay holder at the package door and item seam removed, failed exactly the stored-set-as-holding pin. L9, the predicate leg of the cold boot removed, failed exactly the same-namespace cold-boot pin. L10, the served-as-declarer leg removed, failed exactly the shipped-name cold-boot pin. L1 to L7 are as in round 0.",
     "gates": "Local at d314ad0fb0: 77 derived families, 74 run, each exit 0. Left to CI: check:dual-build-cjs-loads, check:i18n, check:type-check-debt. The --ran reconciliation reads '77 derived, 74 run, 0 NOT-MEASURED, 3 UNRUN'. check-nul-bytes 0, check:engine-double-contract 0. Merge-tree before the push vs origin/main 43dd5656e4, PR #34181 07fd6c86de and PR #34147 624b7ff393: exit 0 for all three. PR check-runs at d314ad0fb0 when this was written: 8 success, 18 skipped, 18 in_progress, none failed.",
     "dogfood_battery": "d314ad0fb0 · os-verify-lock: VERDICT command-exit 0, held 1940s · `pnpm --filter @objectstack/dogfood test`, no shard · Test Files 469 passed, 3 skipped (472) · Tests 3974 passed, 42 skipped (4016) · no failures",
     "mcp_calls": "0",
     "api_writes": "This round: 1 issue_patch on PR #34224 (body and title, 13108 bytes, read back identical) and 1 POST issues/32780/comments (this report). Earlier rounds: 2 comments and 1 pr_create. Also 1 git push this round (d314ad0fb0), which is not a REST write.",
     "deviations": [
      "The declaration departs from Q1=B, because S1 measured no narrowing. The `!`, BREAKING line and ADR-0087 marker are withdrawn, and the seat should confirm.",
      "Commits carry the order's trailer `Co-Authored-By: Claude`, not the harness's model-named one."
     ],
     "open_questions": [],
     "security_findings": "withheld",
     "out_of_scope_findings": []
    }

    Generated by Claude Code

  14. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

    Seat ruling 6905396672 Q1 amended · 2026-11-16T04:12Z

    Q1=B's premise is falsified. Area S5 measured main's real cold boot (ObjectKernel + ObjectQLPlugin) in the same harness, and main refuses every restart state the PR now boots, so no answer moves from accepted to refused. Q1 now reads A: Clause-②: yes (widening). There is no !, no BREAKING line and no ADR-0087 marker, which matches PR #34224's restated declaration (L2 delta PASS at d314ad0f). Q2=B stands.

  15. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12

    The server#5 seat amends the Q1 ruling posted in 6905396672, and area S5 relays it here (review-c N3, record 6907092747):

    • Q1 restated: Clause-②: yes (widening), with no !, no BREAKING line and no ADR-0087 marker. Q1=B's premise was a measured accepted→refused move after a restart. The S1 measurement on main's sources, in the cold-boot harness (dev report 6906643344), falsifies it: main's cold boot refuses every restart state this PR boots. The restart half is therefore a widening (refused boot → each package's set served at its package) and is worded at rule level in the changeset.
    • Q2 = B stands unchanged.

    Seat confirmation relayed to the area at 2026-11-16T03:45Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathdomain:serverpm:dispatchedpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions