Repository navigation
Description
epic:#31527#1 · os-steve · session_01ADHkmP7o3uDTti21wLTfPf
Filing gate: ④ coordination node: child B of the epic #31527 (parent and per-layer children), as ADR-0150 (docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md, merged in #31586 at 5d1382a)'s execution plan lists it. Filed by the epic seat after its take-over (6727547008; the previous holder's hand-over 6727376945 left this row unfiled). ⛔ Not a claim.
Ruling-ref: per-type table A (6723462584); epic A 「立专题」 (6723499113); division of labour A 「留核心,其余交车道」 (6723571682); Q1/Q2 (6724050556); Q3 (6724530715); D2 (6724570466); ADR-0150 accepted by merge (#31586).
Business reason: inherited from the parent #31527. Behavioural metadata is addressed by (package, name), so two installed packages can each ship an item of the same name and every reader answers the right one, or refuses with the candidates, instead of silently taking the first match.
Reader: the next domain:server seat picks it from the queue once every Blocked-by: below is closed; the epic seat reviews its PR against the red lines below (ruling 6723571682).
Dedupe (open AND closed): one-holder refusal narrow namespace (52; top hits #31670(open) #31669(open) #31681(open), none on point: they are this epic's own children N, P and K).
class: d · type: Feature
Grade: p1, inherited from the parent (self-graded under 「定级你可以自己决定」).
Blocked-by: #31674
Blocked-by: #31693
Blocked-by: #31971
Blocked-by: #32160
Blocked-by: #32162
Blocked-by: #32164
维护者速读
收尾卡:permission set 这几类的「全环境只能一个持有者」拒绝收窄为「同一命名空间内唯一」。只在这些类型的索引、入口和存储引用都带上软件包之后做。
What to build
Phase 1's one-holder refusal for permission set narrows from one package holder per environment to one holder per namespace (D2, D9), only after this family's E, G and S children have landed. Two packages of different namespaces may then each ship the name; co-owners of one namespace still may not (N's rule).
Surface
- Expected file surface: objectql
bare-name-one-holder.ts, coresecurity/security-catalog-namespace.ts. - Clause-②: no.
- Narrowing: yes, for co-owners of one namespace (measured first-party: 0); a widening for everyone else, declared here.
Acceptance — the epic's three red lines (every child shares them)
- Resolution never loosens. No first-registered fallback, no environment-wide guess for a caller with a package, no silent pick.
- Ambiguity is reported, never guessed. Every refusal and every migration report names every candidate.
- Independently releasable (red line 3). The PR proves it with ADR-0150's four readings: (a) the phase-1 one-holder tests stay green; (b) bare-name behaviour (URLs, MCP, SDK) is unchanged for every name with one holder, except this card's declared narrowing; (c) any migration is re-runnable and never guesses; (d) its
Clause-②:declaration and, where it changes the protocol, its ADR-0087 migration entry. - The epic seat accepts the PR against these lines; a narrowing beyond the declared one goes to the maintainer (
needs-user-decision) before landing.
Parent: #31527.
Activity
objectstack-fleet commentedon Nov 9, 2026
epic:#31527#1 · os-steve · session_01ADHkmP7o3uDTti21wLTfPf
Epic seat: the missing children are filed, as seat 3's step 0 asked (claim amendment 6747867088). ⛔ Not a claim.
domain:spec, p1,pm:queue):ExecutionContextgains an optional, additive(package, name)sibling ofpermissions. The field name is the spec seat's call.domain:server, p1, Blocked-by spec: ExecutionContext carries each granted permission set as (package, name) beside permissions (ADR-0150, prerequisite of #31698) #31970): the authz pipeline carries a permission set as(package, name)from grant to per-request evaluation. That covers the evaluator, the authz context, the activation ledger, acceptedeveryonesuggestions and the name-derived identities.The split seat 3 ruled for #31698 stands:
Part of #31698) moves the R1/R3 readers onto the columns and adds the write seams. It narrows nothing.Fixes #31698) narrows, once authz pipeline: a permission set travels as (package, name) from grant to per-request evaluation (ADR-0150, prerequisite of #31698) #31971 has closed.#31698 is now Blocked-by #31971 for its narrowing half. The B-card stances recorded on #31701 apply here too, plus seat 3's extra stance: a platform-held
sysname, such asadmin_full_access, stays one-holder, whatever namespace the second package declares.objectstack-fleet commentedon Nov 9, 2026
domain:server#3 · os-steve · session_01ADHkmSpyd3seFMPrXHW7Af
os-dev-report
{ "issue": 31698, "status": "done", "branch": "claude/project-thread-pdgvtq", "pr": "https://github.com/objectstack-ai/objectstack/pull/31974", "session": "session_01ADHkmSpyd3seFMPrXHW7Af", "premise_still_valid": true, "summary": "PR-1 of the seat's Q1=A split (Part of #31698, no narrowing). R1 grants and R3 suggestions now read permission_set_package: a set column is the exact (package, name) through E3's catalog (new exact arm in resolvePermissionScoped); a null column keeps D3, so two or more holders are refused naming every candidate and the `os migrate stored-references bind` command, confer nothing, and nothing is picked. One beforeInsert/beforeUpdate seam per table stamps the column by the S2 backfill's rule (R1 no caller, R3 from package_id). The install gate is unchanged; PR-2 narrows after the epic seat's execution-pipeline card closes.", "tests": "core src/security 69/69 files, 1317/1317; plugin-security 255/255 files, 6124 passed 45 skipped; plugin-auth src/last-admin* 7/7, 204/204; tsc clean core/plugin-security/plugin-auth; seam suites re-run 81/81 on head bf86d963. Seven ablations via ablation-replace.mjs, each red then restored with git diff HEAD empty: exact arm off (5 core pins red); refusal falls back to first holder, core dist rebuilt with marker proven present by ablation-dist-preflight, then rebuilt and proven absent (6 core + 2 plugin-security red); insert stamp removed (3 red); update re-stamp removed (1 red); R3 reader scope dropped (3 red); R1 reader scope dropped (2 red); permission_set_package dropped from GRANT_STANDING_KEYS (plugin-auth equality red).", "gates": "dispatch-gates --commands: 75 families, each run with exit code recorded; --ran: 75 accounted, 73 exit 0, 0 UNRUN, 2 NOT-MEASURED exit 3 (check-plugin-teardown-shape --self-test needs an unshallowed clone; check:dual-build-cjs-loads needs a full pnpm build). check:system-context-census went red on 7849a031 for the seam's isSystem read; fixed by dropping it (bf86d963), re-run green, list re-derived identical. eslint --no-inline-config clean on every touched file. CI families: read from the PR's check-runs, not re-run.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "4 — mcp__github__issue_read x3, mcp__github__pull_request_read x1 (reads only)", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches → PR #31974), this os-dev-report comment via post-stamped (relay); git push is not a REST write", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: the execution-pipeline card the epic seat files · still name-keyed after PR-1: permission-evaluator resolvePermissionSets, ExecutionContext.permissions (spec string[]), readDisabledCatalogNames, everyone-anchor accepted bindings, cleanup-package-permissions, plugin-auth last-admin-guard enumeration / role-change-granted-set / catalog-set-in-effect · noted in PR Acceptance notes, not filed" ], "files_changed": 18, "line_budget": "PR-1 estimate 700–1000; actual +627/−37 over 18 files", "deviations": [ "Two gate-forced edits outside the R1/R3 file surface: core admin-standing-surface.ts (column declared) and plugin-auth last-admin-guard.ts (GRANT_STANDING_KEYS), required by the #8734 equality tests.", "The seam replaces a writer-sent column on insert, system writers included: an isSystem exception would need a system-context census row, and no writer sends the column today.", "The relay pr_create carries no assignees (os-dev forbids them on PRs)." ] }Stamped 2026-11-09T18:59Z.
objectstack-fleet commentedon Nov 9, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage: the epic seat's #31971 edge restated as a directive · 2026-11-09T19:03Z
Blocked-by: #31971
⛔ Not a claim, and no label or claim on this card moves.
epic:#31527#1wrote this edge at 18:31Z as "objectql: narrow the phase-1 one-holder refusal from environment to namespace for permission set (ADR-0150 child B, permission set family) #31698 is now Blocked-by authz pipeline: a permission set travels as (package, name) from grant to per-request evaluation (ADR-0150, prerequisite of #31698) #31971" (the narrowing half, PR-2). That form has no colon and does not start the line, so the half-state sweep cannot index it.pm:blockingas having no waiter. This line only makes the seat's own edge machine-readable.Generated by Claude Code
objectstack-fleet commentedon Nov 9, 2026
domain:server#3 · os-steve · session_01ADHkmQXLfvyB5R53VDm3Ka
Progress · #31698 · PR-1 landed · 2026-11-09T20:55Z
Part of #31698), merged 2026-11-09T20:55Z through the queue, merge commit450bfb68, from headd5c26da7(seat ACCEPT 6750644962; epic PASS at4d46f6ad)pm:dispatched: PR-2 (the narrowing,Fixes #31698) waits onBlocked-by: #31971, which waits on #31970permission_set_package. A bound column is the exact(package, name). A null or stale column goes through D3: one holder grants, and two or more are refused, naming every candidate and thebindfix. Each table has one write seam that stamps the column. The column is not user-writable.objectstack-fleet commentedon Nov 10, 2026
domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena
Takeover · #31698 · 2026-11-10T10:01Z (four pieces in one comment,
execution-duties.md〈认领〉)① Release (cross-account): the claim 6747656149 by
os-steve· seat sessionsession_01ADHkmQXLfvyB5R53VDm3Ka(dev card threadsession_01ADHkmSpyd3seFMPrXHW7Af) is released. Whose order: the maintainer (Yibo Wang). Verbatim: 「接手 server 车道,前任没token了,这是留言,你应该接手他们的所有工作。」 Where: this account's project chat, 2026-11-10T09:46Z. The holder's account is out of tokens; no sign-off brief. Seat record: #26761 comment 6764334386.② Assignee:
os-steve→os-support-ai, in the same stroke as this comment.③ Claim:
Claim: PM loop round 1 · #31698 (ADR-0150 child B, permission set) · takeover
Session:
session_01WGufzeeBmtefMTT21doena(seat)Account:
os-support-aiBranch:
claude/project-thread-pdgvtq(PR-1, merged and deleted; PR-2 branch restated on dispatch)Worktree: a new card thread's checkout of
objectstack-ai/objectstack, continuing from the branch aboveDomain:
domain:serverSeat:
domain:server#3File surface: 316980
Container & model:
M,mode:thread,model: default tier,effort: highClause-②: yes (widening) — PR-2 lets packages of two different namespaces each hold one permission-set name (Q2 = A), the same widening the sibling B cards declare; PR-1 declared no
Metadata-protocol: added
Responsibility: n/a — not a defect card
Thread-read: 316982
Premise: holds — carried from the released claim and its amendments; the epic seat's red-line reads stand (see ④)
Serial constraints cleared: 316981
④ Hand-over record: last pushed sha on
claude/project-thread-pdgvtqwasd5c26da7(branch deleted after merge). PR-1 #31974 merged at 2026-11-09T20:55Z from this sha. PR-2 (the narrowing,Fixes #31698, Q2 = A of amendment 6747867088) has not started. EveryBlocked-by:is now closed (#31674, #31693, #31971). PR-2 goes to a new card thread fromorigin/main; its branch is restated on dispatch.objectstack-fleet commentedon Nov 10, 2026
domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena
Claim amendment · #31698 · 2026-11-10T10:06Z · amends the takeover Claim 6764470378
Branch:
claude/project-thread-ccudjqSession:
session_01WGufzeeBmtefMTT21doena(seat); dev = card threadsession_01WGufzjCSMvibUYuSqWCeu6Container & model:
L,mode:thread,model: TIER_DEFAULT,effort: xhighPR-2 only (
Fixes #31698), fromorigin/main45f0f81f. Step 0 (every by-name reader and writer of permission sets after #31971, including the removal paths, and the co-owner census) comes to the seat before the build; a reader that still takes the first match or removes by bare name stops the build as a premise fork.objectstack-fleet commentedon Nov 10, 2026
domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena
Claim amendment · #31698 · 2026-11-10T10:13Z · corrects the takeover Claim 6764470378
The takeover claim's
File surface:,Serial constraints cleared:andThread-read:lines were rendered wrong (a shell-quoting slip printed a card number with a trailing digit). They read:File surface: PR-2 only: objectql
bare-name-one-holder.ts(permission set joins the namespace-scoped set) and its refusal call sites, plugin-security readers that still assume one holder, tests, dogfood pins, changeset; re-derived in step 0.Serial constraints cleared: every
Blocked-by:closed (#31674, #31693, #31971). The B cards sharebare-name-one-holder.ts: #31696 / #31697 / #31699 (seat 1), #31985 (PR #32081). Second to land mergesorigin/main.Thread-read: 6751253011
Every other line of that claim stands.
objectstack-fleet commentedon Nov 10, 2026
domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena
Claim amendment · #31698 · 2026-11-10T10:22Z · step-0 ruling on PR-2 (main
45f0f81f)Step 0 (dev card thread
session_01WGufzjCSMvibUYuSqWCeu6; readings in the project's order folder, summarised here) measured a premise fork: with a throwaway Q2 = A probe (reverted), four permission-set readers or removers still take the first match or remove by bare name, and three doors read the D3 refusal as "no such set".cleanupPackagePermissionsrevokes grants by bare name: uninstalling one holder removed a grant bound to the other holder's same-named set.GET /meta/permission/NAMEwith no package answers 200 with one holder (permissionis not inPACKAGE_SCOPED_READ_TYPES).?package=Xanswers 200 with X's_packageIdbut the other holder's body (the metadata service keepspermissionin its bare-name store;PACKAGE_SLOTTED_STORE_TYPESis['api']).MetadataManager.unregisterPackageremoves the store entry by(type, name)(loader-row half NOT MEASURED).reference_not_found), clone (404) and activation (404) read the refusal as a miss and take no package; the PR-1 stamp seam writesnullon insert, so no door can grant either holder; the grant unique index(user_id, permission_set, organization_id)holds one of the two per user and organisation.bind, catalog list/resolve, the/metalist.Ruling: A. PR-2 does not start. The forks go to carrier cards (the epic seat files them, as it did for #31700's readers) and this card gains
Blocked-by:on each; PR-2 lands after them, as the Premise requires. B (widening PR-2 across metadata, metadata-protocol, runtime and plugin-security) is ruled out: it is far beyond the claimed surface. The card moves topm:blockedwhen the carriers are in its body; the claim and the assignee stay withdomain:server#3.Declaration for PR-2 when it builds: census measured 0 co-owner and 0 cross-namespace pairs first-party; co-owners stay refused with today's message, so by #31973's precedent (6747754224) the line is
Narrowing: no, withClause-②: yes (widening)andMetadata-protocol: added.objectstack-fleet commentedon Nov 10, 2026
domain:server#3 · os-support-ai · session_01WGufzjCSMvibUYuSqWCeu6
os-dev-report
{ "issue": 31698, "status": "premise_fork", "branch": "claude/project-thread-ccudjq", "pr": null, "session": "session_01WGufzjCSMvibUYuSqWCeu6", "premise_still_valid": false, "summary": "PR-2 step 0 only; no build, nothing committed or pushed (seat ruling A, amendment 6764881683). On a booted showcase at main 45f0f81f, a throwaway Q2 = A probe of the holder predicate let two namespaces each hold one permission-set name. The probe was proven live in objectql dist, then reverted (git checkout HEAD, rebuild, ablation-dist-preflight --absent: 0 of 14 files; git status clean). Four readers or removers still take the first match or remove by bare name. F1: plugin-security cleanup-package-permissions.ts cleanupPackagePermissions revokes every grant of the name; uninstalling gamma removed 2 grants, including the one bound to delta's same-named set. F2: GET /meta/permission/NAME with no package (the SDK meta.getItem face) answers 200 with one holder's set, because permission is not in PACKAGE_SCOPED_READ_TYPES. F3: ?package=alpha answers 200 with alpha's package id but beta's body, because the metadata service stores permission by bare name (PACKAGE_SLOTTED_STORE_TYPES holds only api) and the second registerInMemory overwrites the first. F4: MetadataManager.unregisterPackage removes by (type, name). Three doors read the D3 refusal as no such set: the grant write (400 reference_not_found), clone (404) and activation (404); and no door can name the package on a grant. Readings: the project order folder, server-orders/seat3/31698-step0.md.", "tests": "Probe only, never committed: one throwaway dogfood file (bootShowcase plus two AppPlugin packages, namespaces alpha and beta, plus two install-local packages, gamma and delta), run twice under os-verify-lock, 1/1 each (VERDICT command-exit 0). It read the registry holders, the bare and qualified meta reads, the meta list, the metadata service get and list, the catalog list and resolve, the grant write through the data door, the stamp seam, the evaluator per holder (alpha_item 200 and beta_item 403 after the bind), the clone door, the activation door, and an install-local uninstall's grant revocation. Census, first-party (showcase, crm, todo, multi-package): co-owner pairs 0, cross-namespace same-name pairs 0; guest_portal is held by com.example.crm only.", "gates": "NOT MEASURED: no change set (nothing committed). Full turbo build --filter='./packages/**' 81/81 (VERDICT command-exit 0, 485 s) as the probe's base.", "dogfood_battery": "n/a: no PR", "mcp_calls": "2: mcp__github__issue_read x2 (get, get_comments); reads only", "api_writes": "1: this os-dev-report comment via scripts/pm/post-stamped.mjs (relay). No push, no pr_create.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: epic seat (ruling A, amendment 6764881683) · F1 cleanupPackagePermissions by bare name; F2, F3, F4 permission not package-slotted in the metadata service and not a package-scoped read type; grant, clone and activation doors read the D3 refusal as a miss and take no package · noted, not filed", "carrier: epic seat · the sys_user_permission_set unique index (user_id, permission_set, organization_id) carries no package, so one user cannot hold both holders' sets in one organization (code read) · noted, not filed" ], "files_changed": 0, "line_budget": "n/a: nothing built", "deviations": [ "The status value premise_fork is the seat's word for this run; it is not in os-dev.md's status list (the nearest is blocked with premise_still_valid false).", "The session prompt's assign-and-review step was not run: no PR was opened (os-dev.md rule 2)." ] }Stamp: 2026-11-10T10:24Z
objectstack-fleet commentedon Nov 10, 2026
epic:#31527#1 · os-support-ai · session_01WGufzj7TEH65FDimZdn1H3
Epic read of seat 3's PR-2 step-0 ruling A (premise fork): agreed. ⛔ Not a claim. PR-2 stops, and the forks go to three carrier cards. This seat drafted them, and seat 3 files them.
permissionjoinsPACKAGE_SLOTTED_STORE_TYPESandPACKAGE_SCOPED_READ_TYPES. The bare read with two holders answers 409, the exact qualifier serves its own body, and removal goes by slot.Blocked-by: #32151.(user_id, permission_set, permission_set_package, organization_id). Two null-package grants of one name for one user and organization stay refused on every driver (SQL null semantics, the driver-mongodb: an upgraded database keeps the old (metadata_type, name) activation-ledger unique beside the widened key, so the first second-package row is refused (#31682 follow-up) #31732 precedent for Mongo).PR-2's declaration:
Narrowing: noper #31973's precedent (6747754224), because the census is 0 co-owner pairs and 0 cross-namespace pairs. Agreed.Generated by Claude Code
objectstack-fleet commentedon Nov 10, 2026
domain:server#3 · os-support-ai · session_01WGufzeeBmtefMTT21doena
Blocked · 2026-11-10T10:41Z · per the step-0 ruling A (amendment 6764910126 context; epic agreement 6764938596). The carriers are filed (maintainer-approved on seat 3's decision card): #32160 (uninstall revokes by package), #32162 (permission stored, read and removed by package; itself
Blocked-by: #32151), #32164 (grant, clone and activation doors take a package; the grant unique key gains the package). The body carriesBlocked-by:for all three.pm:dispatched→pm:blocked. The claim and the assignee stay withdomain:server#3; PR-2 builds after the three land, declaringNarrowing: no.feat(security): permission-set grants and suggestions read and stamp …
fix(security): carry each permission set's package from the grant to …
fix(security): read every administrator identity and grant gate by th…
fix(plugin-security): uninstall revokes only the grants bound to the …
objectstack-fleet commentedon Nov 10, 2026
epic:#31527#1 · os-support-ai · session_01WGufzj7TEH65FDimZdn1H3
Epic precondition for this card (from the red-line read of #32329 / #32162)
#32162 makes the security-catalog echo (
plugin-security/src/security-catalog-echo.ts) fill each package's ownpermissionslot. Two parts of it are correct only while at most one stored permission-set row exists per name:getMetaItemLayered({ type, name })), and the event names no package.Once this card narrows the one-holder rule and admits two packages' sets of one name, a save of package B's set would drop package A's live echo, and A's set would be served from no slot. This card, or whichever child first admits a second stored row of a name, owes three things:
It also owes a pin: saving B's set leaves A's echo and A's
?package=read untouched.Generated by Claude Code
objectstack-fleet commentedon Nov 10, 2026
domain:server#4 · os-support-ai · session_01WGufzi1tLRTEYwYGtbNCyk
Carried precondition note · #31698 · 2026-11-10T19:20Z
Contract review 6776942748 on PR #32329 (#32162,
permissionheld per package) found four reads that are safe under today's one-holder rule and must be closed before PR-2 lets two packages hold one permission-set name:security-catalog.tsfromMetadata(500-520, reached from 633-639) is a bareget. With two package slots and no registry holder it throws the catalog's unreadable error. The comment at 633-636 goes stale.packaged-permission-set-lock-gate.ts:83: the package-less layered read still takesgetItem's first composite.security-catalog-echo.ts: the echo is keyed by name, its event carries no package, andreadServedPackageBindingis package-less (233-242, 305). With two stored rows, the stale-slot drop would remove the other live holder's echo. The echo needs the package on its event. (Epic note 6776737317 records the one-row-per-name precondition.)protocol-meta-item-reads.ts543-570) and the layered read's code layer (protocol-meta-layered-reads.ts155-190) read the store's D3 refusal as a miss, againstpackage-scoped-read.ts40-44.Line numbers are of #32329's head
cc15088f.objectstack-fleet commentedon Nov 10, 2026
domain:server#4 · os-support-ai · session_01WGufzi1tLRTEYwYGtbNCyk
Carry from the #32162 delta review (PR #32329 comment 6781855002, PASS at
5d0ac141). Three rows join those of 6776956342. All three are owed before PR-2 lifts the one-holder rule forpermission:_packageId. The store files it in the one holder's slot (package-slotted-store.ts 247-249), so the next pass sees a bare slot (security-catalog-echo.ts 172-173). If that pass re-binds to another package, two slots remain. Every package-less read of the name is then 409, andSecurityCatalog.fromMetadatathrows (security-catalog.ts 500-515) until the next echo or a restart. Fix: on an unread binding, re-echo with the stamp the existing slot carries, and pin the throw-then-re-bind sequence on the realMetadataManager.deleteddrops every package's slot of the name on a peer. An announced removal (unregister,unregisterPackage) sends a watcher event with no package (metadata-manager.ts 1681-1700). The peer'sinvalidateForForeignWritecallsdeleteRegistryEntries(type, name)with no keys (3447-3449, 990-994). With two holders, an in-memory-only item of the other package is lost until restart. This is metadata: unregisterPackage and unregisterAt remove a slotted type's item by (package, name), match an artifact-door item's _packageId, and name the package on the deleted event (ADR-0150 D4) #32198's rule.DatabaseLoader.deletewith a package deletes that package's row (database-loader.ts 1571-1591). With two stored rows of one name, the echo's stale-slot drop would delete the other holder's row, not only its echo.objectstack-fleet commentedon Nov 12, 2026
epic:#31527#1 · os-bill · session_01Utp6CYGYEUhpi29FpjLmxT
Condition carried from the #32183 red-line read (PR #32497, 6815986954)
PR #32497 moves one
holdsPlatformPermissionSetverdict (packages/core/src/security/security-catalog.ts, row 9): platform holder enabled and other holder disabled, false → true. No deployment reaches it today, because the security catalog item seam refuses a second holder of one permission-set name (SecurityCatalogNameConflictError), even while the first holder is disabled.The PR of this card that opens the two-holder state owes:
needs_decisionto the epic seat, before it lands, on one question: may a security answer follow a reversible disable? The seat analyses it and routes it to the maintainer. It is a security boundary, so it is not seat discretion.objectstack-fleet commentedon Nov 12, 2026
epic:#31527#2 · os-bill · session_01Utp6Ca5UHVBDE3DqQXgJsW
Takeover · #31698 · 2026-11-12T11:07Z (four pieces in one comment,
execution-duties.md〈认领〉)① Release (cross-account): the takeover claim 6764470378 held by
os-support-ai(seatdomain:server#3, sessionsession_01WGufzeeBmtefMTT21doena) is released. Whose order: the maintainer (Bill). Verbatim: 「接手 31698」. Where: this project's chat, 2026-11-12T11:05Z. That seat is no longer active in this project, and its last record is the Blocked comment 6765256849. EveryBlocked-by:in the body is now closed, the last being #32164 (merged with PR #32306).② Assignee:
os-support-ai→os-bill, andpm:blocked→pm:dispatched, in the same stroke as this comment.③ Claim:
Claim: epic seat 2 · #31698 (ADR-0150 child B, permission set) · takeover, PR-2
Session:
session_01Utp6Ca5UHVBDE3DqQXgJsW(seat; the dev card thread's session and branch follow in a claim amendment on dispatch)Account:
os-billBranch: restated on dispatch (PR-1 branch
claude/project-thread-pdgvtqis merged and deleted)Worktree: a new card thread's checkout from
origin/mainDomain:
domain:serverSeat:
epic:#31527#2File surface: objectql
bare-name-one-holder.ts, coresecurity/security-catalog-namespace.ts, plus the owed preconditions below (coresecurity-catalog.ts, plugin-securitysecurity-catalog-echo.tsandpackaged-permission-set-lock-gate.ts, metadata-protocol read catches), tests, changeset. Step 0 re-measures every owed row onmainbefore building, and reports to the seat. If the surface goes over 3000 lines, it splits.Container & model:
M,mode:thread,model: default tier,effort: xhighClause-②: yes (widening) — carried from ruling 6764881683: packages of two namespaces may each hold one permission-set name. Co-owners of one namespace stay refused, so
Narrowing: noif step 0 still measures 0 co-owner pairsMetadata-protocol: added
Responsibility: n/a — not a defect card
Thread-read: 6816011109
Premise: re-checked by step 0 on
mainafter #32164; carried from claim 6764470378 and its amendmentsSerial constraints cleared: #32538 (delegated-admin gate, both holders) must land before PR-2. This seat claims it alongside. Seat 1's chain (#32497 and later) shares
security-catalog.ts; PR-2 mergesmainbefore landing.④ Owed before PR-2 lands (carried, each re-measured at step 0):
?package=read untouched.deleted, and the stale-slot drop removing storage.holdsPlatformPermissionSetrow-9 verdict and the column-less grant through PR-2's own doors. Before landing, send aneeds_decisionto the epic seat on whether a security answer may follow a reversible disable.Generated by Claude Code
objectstack-fleet commentedon Nov 12, 2026
epic:#31527#2 · os-bill · session_01Utp6Ca5UHVBDE3DqQXgJsW
Claim amendment · #31698 · 2026-11-12T11:09Z · amends the takeover Claim 6821910041
Session:
session_01Utp6CawaYjvvL4WiQcQHTy(dev card thread)Branch:
claude/project-thread-xsgo56Worktree:
objectstack-issue-31698, fromorigin/main6bbdf301Everything else stands as in 6821910041. Step 0 reports to the seat before building.
objectstack-fleet commentedon Nov 12, 2026
epic:#31527#1 · os-sales · session_01L6bhgXQnNkXTT1Wu7i7Y3i
Ruling · PR 2 question 1 (row 9, 6816011109) · 2026-11-12T13:17Z
Ruled: A — the maintainer (Sales) tapped 「A 不改(维持现状)」 on the epic seat's decision card at 2026-11-12T13:17:35Z, answering 「停用一个包后,没写包或包已失效的授予,要不要改给另一个同名包的权限集?」.
What it means:
holdsPlatformPermissionSet); a name two packages hold still needs a bind.includeDisabledPackages: trueat those two reads); objectql: narrow the phase-1 one-holder refusal from environment to namespace for permission set (ADR-0150 child B, permission set family) #31698 PR 2's row-9 pin keeps this answer.Generated by Claude Code
objectstack-fleet commentedon Nov 12, 2026
epic:#31527#1 · os-sales · session_01L6bhgXQnNkXTT1Wu7i7Y3i
Take-over · PR 2 · 2026-11-12T13:24Z
Release: the PR 2 claim of
epic:#31527#2 · os-bill · session_01Utp6Ca5UHVBDE3DqQXgJsW(take-over claim 6821910041 and its amendment: branchclaude/project-thread-xsgo56, dev sessionsession_01Utp6CawaYjvvL4WiQcQHTy) is released to the epic seat. Provenance: the maintainer (Sales), project chat, 2026-11-12T12:24:11Z: 「开座位接手 objectstack-ai/objectstack 的专题 #31527(ADR-0150)……#31698 PR-2 在分支 xsgo56,有两个安全取舍等裁定」; the outgoing seat's handover 6823302333.Assignee:
os-bill→os-salesin this stroke.Claim: PR 2 continuation (epic seat take-over 6823632137)
Session:
session_01L6bhgXQnNkXTT1Wu7i7Y3iAccount:
os-salesSeat:
epic:#31527#1Branch:
claude/project-thread-26yakz(draft PR #32742), withclaude/project-thread-xsgo56fast-forwarded to the same head on the maintainer's word 「准推 phk4r9、3giljf、xsgo56」 (2026-11-12T13:23:04Z). Both move together by fast-forward only.Ruling in force: question 1 (row 9) ruled A, 6824698376.
Handover record: the previous holder's last pushed head was
fddb44aa9on xsgo56; xsgo56 and 26yakz are now at5b49c57c8(maincac0f1aabmerged, #32718 included).Generated by Claude Code
fix(core, plugin-security): a stored permission-set package column re…
objectstack-fleet commentedon Nov 12, 2026
epic:#31527#1 · os-sales · session_01L6bhgW9bnkZxxN5KiRaPi9
os-dev-report
{ "issue": 31698, "status": "done", "branch": "claude/project-thread-26yakz (claude/project-thread-xsgo56 fast-forwarded to the same head)", "pr": "https://github.com/objectstack-ai/objectstack/pull/32742", "session": "session_01L6bhgW9bnkZxxN5KiRaPi9", "premise_still_valid": true, "summary": "PR-2 at head 37f7bcf6a: a permission-set name is held once per namespace, judged by permissionSetHoldersMeet at the install gate, the item seam and the save door, with every owed row closed (6776956342 rows 1-4, 6781866663, 6776737317, 6816011109 row 9 kept at ruling A 6824698376). Since pr_create: main cac0f1aab merged (#32718 included); the real-engine organization-administrator door pin (gate + seam + reader, both administrator variants); and a hardening of the stored-column read: a stored reference whose package column names a package that no longer serves the set is read by the resolution rule inside that package's namespace only, a holder outside it (another namespace's package, a package with no namespace, the environment's own set) is refused not-held-by-qualifier naming that holder and confers nothing, the activation ledger keeps switching that holder off, and the catalog reference boot report lists each such grant on a line of its own with the holder and the fix.", "tests": "Final head 37f7bcf6a, under os-verify-lock: core 145/145 files, 3353/3353; plugin-security 264/264 files, 6524 passed 45 skipped; plugin-auth 264/264 files, 4879 passed 10 skipped; runtime 585/585 files, 10082 passed 19 skipped; objectql protocol-permission-set-name-registry-reading 17/17; typecheck core and plugin-security exit 0; eslint --no-inline-config on every file touched since 084ddd403 exit 0; control-byte scan clean. New pins: plugin-security org-admin-grant-two-holders.real-registry 8/8 and stale-grant-package-namespace.real-registry 3/3 (real ObjectQL + SqlDriver + SchemaRegistry, grants stored through the write path); core security-catalog and resolve-authz-context.grant-set-by-name; plugin-security catalog-reference-report, permission-set-address, suggested-audience-bindings. Ablations via ablation-replace.mjs: (1) organization-administrator pin, the predicate's last line: 8 red, restored 8 green. (2) the namespace check of the stored-column arm forced true, core src: 2 red (the two TO pins), 65 green including every same-namespace CONTROL, restored blob == HEAD. (3) the same ablation held, core dist rebuilt, ablation-dist-preflight --absent on the original spelling: absent from all 14 built files; plugin-security pin files: 5 red (each outside-namespace TO pin), 101 green; restored, rebuilt, pristine preflight present in 2 built files, tree clean against HEAD.", "gates": "dispatch-gates --commands at 37f7bcf6a: 87 families, each run with its exit code recorded before any pipe: 87 exit 0. --ran: 87 derived, 87 run, 0 NOT-MEASURED, 0 UNRUN. CI families: read from the PR's check-runs, not re-run locally.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "about 5, reads only: mcp__github__issue_read (get_comments), mcp__github__pull_request_read, mcp__github__list_pull_requests, mcp__github__get_file_contents. Also gh api GET reads of issue 31698, comments 6823302333 and 6824698376, PRs 32497 and 32718. No MCP write.", "api_writes": "2 — relay pr_create (PR 32742) and this os-dev-report comment via post-stamped (relay). git push to the two branches is not a REST write.", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: epic seat (a follow-up card under #31698) · the catalog reference boot report lists a column-less grant of a name two packages hold under the line for grants naming a set the catalog does not resolve, with no candidates and the fix to declare the set again; os doctor says nothing (the position half of the same report names the refusal and both candidates) · noted, not filed", "carrier: epic seat · a suggestion refused for a stale non-null package column appends the os migrate stored-references bind hint, which binds only null columns (suggested-audience-bindings resolveSuggestedSet; bind.ts refuses a non-null column) · noted, not filed" ], "files_changed": 35, "line_budget": "+2433 / -311 over 35 files against main (under 3000)", "deviations": [ "PR body is written once at pr_create; the seat applies these deltas: the quick-read gains the stored-column hardening line and #32718 is merged; What changes gains the stored-column rule row; Tests gains the two real-registry files and the FROM to TO note for the stale-column pins (each now names a package of the holder's namespace for the re-read, with a TO pin beside it for another namespace or none); Acceptance notes: #32718 is on main and merged.", "Moved pins, read FROM to TO: core security-catalog and resolve-authz-context.grant-set-by-name, plugin-security catalog-reference-report, permission-set-address and suggested-audience-bindings read a stale column of a package with no namespace (or not installed) onto the one holder; that reading now holds for a package of the holder's namespace, and the other cases are refusals.", "The stored-column warning no longer points at os migrate stored-references (which binds null columns only); it says to write the reference again naming the package that holds the set." ] }Stamped 2026-11-12T14:38Z.
Merge origin/main into claude/project-thread-26yakz (#31698)
chore(changeset): #31698 levels and the save door's sentence row
objectstack-fleet commentedon Nov 12, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Serial note for the claiming seat (
epic:#31527#1) · 2026-11-12T16:15Z⛔ Not a claim; no state change.
epic:#31527#1has no open mailbox PR, so the doorbell goes here.permission-refpicker still lists and writes permission sets by name only. It is the fifth caller of ui: the permission-set pages send the holder's package to the grant, clone and activation doors #32537, left out of PR fix(app-shell): the permission-set pages send the holder's package to the grant, clone and activation doors #32769. Once PR-2 lets two packages hold a name, a grant written through that picker names no package.Blocked-by: #32770on this card (or on the PR-2 claim), as it did for ui: the permission-set pages send the holder's package to the grant, clone and activation doors #32537's four callers.Generated by Claude Code
Merge origin/main into claude/project-thread-26yakz (#31698)
fix(core, metadata-protocol): a stale column with no known namespace …
chore(changeset): #31698 the save door's stored-holder row and the un…
fix(core): the catalog asks a resolved permission-set holder's disabl…
Merge origin/main into claude/project-thread-26yakz (#31698)
Merge origin/main into claude/project-thread-26yakz (#31698)
listkeeps every holder of a permission set name, and a named grant is judged by (package, name) #32867fix(core): the security catalog's metadata-only list keeps every hold…
fix(metadata-protocol, rest)!: the layered read of a name two package…