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
runtime: callData's aggregate arm answers a relation condition on a disabled package's object (a 1/0 oracle) while the data route and callData's query arm answer 404 OBJECT_PACKAGE_DISABLED #35526
Filing gate ①: escalated by contract review 7007338672 on PR #35444 (③, "the seat measures it and files a card under #35195 if it serves"). Measured by area pkg-2 at 88ea36c3.
维护者速读
用户能看到什么变化:某个应用包停用后,通过动作或 AI 助手做统计时,仍能用它的记录字段做条件,从结果是 1 还是 0 推出字段内容。修好后会和直接读取一样被拒绝。
Real kernel (MetadataPlugin + ObjectQLPlugin + SqlDriver, in-memory SQLite, protocol service present). Probe: callData(dispatcher.actionExecutionDeps, …), the data mouth the /mcp HTTP bridge's aggregate_records tool calls (domains/mcp.ts:1309). Package B owns beta_obj; alpha_obj.b_ref → beta_obj. B disabled:
aggregate alpha_obj where {b_ref:{secret_note:'BETA_SECRET'}} gives count 1; the same with 'NOPE' gives 0. This holds for both member and system callers: a yes/no oracle on the disabled object's field.
CONTROL: with B re-enabled, the aggregate gives 1/0 and the query returns 1 record.
Seam
packages/runtime/src/action-execution.ts: refuseUnservedRelationTargets (:340) reads the target with registry.getObject and asks only checkApiExposure(target, RELATION_CONDITION_TARGET_ACTION). It is used by the aggregate arm (:976) and by the query fallback on a host with no protocol (~:937). It runs only when exposureGated (= !isSystem, ~:629). refuseUnexposedDataAction covers only the addressed object. Read only and not measured live: the stdio twin (packages/mcp/src/stdio-data-bridge.tsenforceRelationTargetExposure, ~:919) reads through the protocol's by-name read, so it refuses a disabled target for a non-system caller. Route: ask registry.isObjectPackageDisabled(site.target) (the predicate behind isObjectOfDisabledPackage) per relation-condition site and refuse with OBJECT_PACKAGE_DISABLED.
Open point
The data route's assertObjectRegistered asks the package predicate of every caller, including system, and #35427 refuses system callers too. Here, the exposure decision skips system contexts by design. Whether the package check also skips them needs a ruling. Ruling 6545646924 keeps in-process access served: a hook's ctx.api is a system context.
Permissions: same class as #35195 and #35427, a disable not honoured. Caller-level permissions were not measured.
Related: #35195 (parent), #35427 (data route, PR #35444), #34900, the analytics card under #35427.
Suggested-grade: p2 (same class).
Triage: lands in domain:server · pm:queue; rationale: area:package · Bug · Severe·data wrong (the callData aggregate arm answers a relation condition on a disabled package's object, a 1/0 oracle) · rare → p2 as set. The card's open point (whether a system-identity call is refused too) is the maintainer's: the claimant splits that half onto its own decision card and ships the user-identity refusal without waiting.
Ruling-ref: maintainer 2026-11-21T22:3xZ, verbatim: 「按建议升」, on triage's third non-topic pass (about 10% of non-topic p2, the maintainer's ask: 「按照10% 的比例重新分析」) under the standard ruled 「同意」 today: this week, or someone loses.
2026-11-21T22:35Z · p2 → p1 on the maintainer's word: access possibly widened: after a package is disabled, an action or AI aggregate can still infer its records' field values from 1/0 answers. security#2 is asked to confirm the grade. Lane and state unchanged.
Claim: PM loop · area a4-C, routed by the seat (area-a4-C.md "New p1 batch" section) · 2026-11-22T02:28Z
Session: session_01FEkQ5miLqNucRZevceHwNh
Account: os-project-manager
Branch: claude/issue-35526-aggregate-disabled-package
Worktree: objectstack-issue-35526
Domain: domain:server
Seat: repo:objectstack#4
Area: a4-C
File surface: packages/runtime/src/action-execution.ts (refuseUnservedRelationTargets and its aggregate / query-fallback call sites), its tests, one changeset; packages/mcp/src/stdio-data-bridge.ts read only, unless the twin is measured to serve
Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)
Clause-②: no (narrowing) — callData's aggregate arm (and the no-protocol query fallback) newly refuses 404 OBJECT_PACKAGE_DISABLED for a relation condition whose target belongs to a disabled package, for a non-system caller; today it answers the 1/0 count
Metadata-protocol: none
Responsibility: the runtime's refuseUnservedRelationTargets (objectstack) asks the target's API exposure only | the data route and callData's query arm through the protocol refuse (#35427, PR #35444) | members (and AI tools over /mcpaggregate_records) in an environment with a disabled package; measured 1/0 at 88ea36c
Scope split (triage 7012522848): this claim ships the USER-identity refusal. Whether a SYSTEM-identity call is refused too is the maintainer's open point; it goes onto its own decision card through the seat, and this PR does not wait for it
Pre-claim lane: domain:server, by path (packages/runtime/src/action-execution.ts); no ui/** or packages/spec/** path
Pre-claim deps: none named; #35444 merged; sibling #35525 claimed separately in a4-C (not folded: different package); open-PR scan: draft PR #36132 (security-seat dispatch, claude/action-selection-read-scope) edits the same file in other hunks (~L204, L3442-3794, L4676; this card's seam is ~L340 / L937 / L976) — the dev runs overlap-check before each push and queues behind #36132 on a textual conflict
Prior rulings read: check-prior-rulings --card 35526 over action-execution.ts (67 hit lines, owed line by line to the dev); ruling 6545646924 (in-process access served; a hook's ctx.api is a system context) bounds the split above; card refs at state: #35444 merged, #35195 / #35427 / #34900 closed
Thread-read: 7070293986
Premise: holds — on main 48c732crefuseUnservedRelationTargets (L340) reads the target with registry.getObject and asks checkApiExposure only
Serial constraints cleared: #36132 (same file, other hunks; overlap-check decides)
Route (2026-11-23T11:08Z): hand to repo:objectstack#1.
Provenance: the maintainer, in this project's chat, 2026-11-23T11:06Z: 「推荐把 #36393 连同 #35526(同一个 p1 问题)#35955、#35612、#33670 都交给 交 1 号席」, relayed to seat 2 by the coordinator.
Goes with #36393 (same p1 problem; the remaining work lives there). No assignee, and seat 2 makes no claim; the card stays on pm:queue. Seat repo:objectstack#1 claims it under its own rules. Its mailbox #36555 has been notified.
Claim: PM loop round 6 · 2026-11-23T11:12Z
Session: session_01JQwxbZeHNsF3RWcWpj7rGj
Thread session: session_01JQwxbYSL1X4Mj36e8WtU7H
Account: os-warren
Branch: the card thread's own branch, named at its first push; the seat amends this claim then
Worktree: objectstack-issue-36393
Domain: domain:server
Seat: repo:objectstack#1
Area: card thread #36393 + #35526 (w6-B), one change
Dispatch: p1, in this seat's scope (p1 only outside ux and cloud). Released by seat 7 (7091200191) and routed to this seat by seat 2 (7099104803, 7099124001). The two cards are one change: #35526's system-caller half was ruled by the maintainer on 2026-11-22T09:47Z 「系统身份也一律拒绝」 (7077381587) and joins #36393's scope (7077386932). Nothing is built on #35526 itself; it closes when this change merges.
File surface: callData's disabled-package and exposure refusal of relation conditions (descend every hop the engine serves, RELATION_CONDITION_MAX_HOPS), the system-caller short-circuit on the disabled-package question only (the exposure question for system callers is unchanged), the stdio bridge's enforceRelationTargetExposure, the no-protocol query fallback for a directly addressed object if measured open; their tests; .changeset/35526-calldata-relation-disabled-package.md per #36393 item 3 if not yet consumed by a release (else the CHANGELOG entry, said in the PR body); this PR's own changeset
Container & model: S, mode:thread, model: opus — dispatch-gates --tier: default tier for the build; the L2 runs at CONTRACT_REVIEW_TIER on the narrowing face (published door), effort: high
Clause-②: yes (narrowing)
Metadata-protocol: none
Responsibility: callData refuses a relation condition on a disabled package's object only one hop deep, and lets a system context through | the published data door (callData, the stdio bridge) | every member, and every host-supplied system context, that can phrase a two- or three-hop condition to read a disabled package's field values as 1 / 0 answers
Thread-read: 7091200191
Premise: read, not measured. The thread measures first (a two-hop member pin per door; a directly addressed object on a no-protocol host) on its base and states the result before fixing
Acceptance: #36393's To do 1–3 plus the ruling's binding points 1–2 on #35526: every hop and both callers pinned, refusal order (disabled before unexposed), conditions under $or / $not, a real disable-then-re-enable control; dogfood battery run on the head before land (narrowing)
Serial constraints cleared: #36337 merged; no open PR names #36393 or #35526
Claim amendment · 2026-11-23T11:36Z: completes claim 7099231906.
PR: #36687 (draft, head d6f70d69, branch claude/project-thread-rhdqay), Fixes #36393 and Fixes #35526, one change.
Surface as claimed: packages/runtime/src/action-execution.ts (every relation hop, every caller including a system context on the disabled-package question; the addressed object refused on a no-protocol host), packages/mcp/src/stdio-data-bridge.ts (every hop), their pin tests, this PR's changeset, and the deliberate correction of .changeset/35526-calldata-relation-disabled-package.md (#36393 item 3; not yet consumed by a release).
The thread declares Clause-②: no (narrowing) because nothing is exported. The claim said yes (narrowing). The contract review at CONTRACT_REVIEW_TIER rules on the line before landing; it runs on the narrowing face either way.
Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server·pm:queue; rationale: area:package · Bug · Severe·data wrong (thecallDataaggregate arm answers a relation condition on a disabled package's object, a 1/0 oracle) · rare → p2 as set. The card's open point (whether a system-identity call is refused too) is the maintainer's: the claimant splits that half onto its own decision card and ships the user-identity refusal without waiting.objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruling-ref: maintainer 2026-11-21T22:3xZ, verbatim: 「按建议升」, on triage's third non-topic pass (about 10% of non-topic p2, the maintainer's ask: 「按照10% 的比例重新分析」) under the standard ruled 「同意」 today: this week, or someone loses.
2026-11-21T22:35Z · p2 → p1 on the maintainer's word: access possibly widened: after a package is disabled, an action or AI aggregate can still infer its records' field values from 1/0 answers. security#2 is asked to confirm the grade. Lane and state unchanged.
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5miLqNucRZevceHwNh
Claim: PM loop · area a4-C, routed by the seat (area-a4-C.md "New p1 batch" section) · 2026-11-22T02:28Z
Session:
session_01FEkQ5miLqNucRZevceHwNhAccount:
os-project-managerBranch:
claude/issue-35526-aggregate-disabled-packageWorktree:
objectstack-issue-35526Domain:
domain:serverSeat:
repo:objectstack#4Area: a4-C
File surface:
packages/runtime/src/action-execution.ts(refuseUnservedRelationTargetsand its aggregate / query-fallback call sites), its tests, one changeset;packages/mcp/src/stdio-data-bridge.tsread only, unless the twin is measured to serveContainer & model: S,
mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; the narrowing's contract-review-tier review is the seat's), effort: high (seat order)Clause-②: no (narrowing) —
callData's aggregate arm (and the no-protocol query fallback) newly refuses 404OBJECT_PACKAGE_DISABLEDfor a relation condition whose target belongs to a disabled package, for a non-system caller; today it answers the 1/0 countMetadata-protocol: none
Responsibility: the runtime's
refuseUnservedRelationTargets(objectstack) asks the target's API exposure only | the data route andcallData's query arm through the protocol refuse (#35427, PR #35444) | members (and AI tools over/mcpaggregate_records) in an environment with a disabled package; measured 1/0 at 88ea36cScope split (triage 7012522848): this claim ships the USER-identity refusal. Whether a SYSTEM-identity call is refused too is the maintainer's open point; it goes onto its own decision card through the seat, and this PR does not wait for it
Pre-claim lane:
domain:server, by path (packages/runtime/src/action-execution.ts); noui/**orpackages/spec/**pathPre-claim deps: none named; #35444 merged; sibling #35525 claimed separately in a4-C (not folded: different package); open-PR scan: draft PR #36132 (security-seat dispatch,
claude/action-selection-read-scope) edits the same file in other hunks (~L204, L3442-3794, L4676; this card's seam is ~L340 / L937 / L976) — the dev runsoverlap-checkbefore each push and queues behind #36132 on a textual conflictPrior rulings read:
check-prior-rulings --card 35526overaction-execution.ts(67 hit lines, owed line by line to the dev); ruling 6545646924 (in-process access served; a hook'sctx.apiis a system context) bounds the split above; card refs at state: #35444 merged, #35195 / #35427 / #34900 closedThread-read: 7070293986
Premise: holds — on main 48c732c
refuseUnservedRelationTargets(L340) reads the target withregistry.getObjectand askscheckApiExposureonlySerial constraints cleared: #36132 (same file, other hunks; overlap-check decides)
14 remaining items
fix(service-analytics)!: refuse an object of a disabled package with …
fix(runtime)!: callData's aggregate arm refuses a relation condition …
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
Route (2026-11-23T11:08Z): hand to
repo:objectstack#1.Provenance: the maintainer, in this project's chat, 2026-11-23T11:06Z: 「推荐把 #36393 连同 #35526(同一个 p1 问题)#35955、#35612、#33670 都交给 交 1 号席」, relayed to seat 2 by the coordinator.
Goes with #36393 (same p1 problem; the remaining work lives there). No assignee, and seat 2 makes no claim; the card stays on
pm:queue. Seatrepo:objectstack#1claims it under its own rules. Its mailbox #36555 has been notified.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: PM loop round 6 · 2026-11-23T11:12Z
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session:
session_01JQwxbYSL1X4Mj36e8WtU7HAccount:
os-warrenBranch: the card thread's own branch, named at its first push; the seat amends this claim then
Worktree:
objectstack-issue-36393Domain:
domain:serverSeat:
repo:objectstack#1Area: card thread
#36393+#35526(w6-B), one changeDispatch: p1, in this seat's scope (p1 only outside ux and cloud). Released by seat 7 (7091200191) and routed to this seat by seat 2 (7099104803, 7099124001). The two cards are one change: #35526's system-caller half was ruled by the maintainer on 2026-11-22T09:47Z 「系统身份也一律拒绝」 (7077381587) and joins #36393's scope (7077386932). Nothing is built on #35526 itself; it closes when this change merges.
File surface:
callData's disabled-package and exposure refusal of relation conditions (descend every hop the engine serves,RELATION_CONDITION_MAX_HOPS), the system-caller short-circuit on the disabled-package question only (the exposure question for system callers is unchanged), the stdio bridge'senforceRelationTargetExposure, the no-protocolqueryfallback for a directly addressed object if measured open; their tests;.changeset/35526-calldata-relation-disabled-package.mdper #36393 item 3 if not yet consumed by a release (else the CHANGELOG entry, said in the PR body); this PR's own changesetContainer & model:
S,mode:thread,model: opus — dispatch-gates --tier: default tier for the build; the L2 runs at CONTRACT_REVIEW_TIER on the narrowing face (published door),effort: highClause-②: yes (narrowing)
Metadata-protocol: none
Responsibility: callData refuses a relation condition on a disabled package's object only one hop deep, and lets a system context through | the published data door (
callData, the stdio bridge) | every member, and every host-supplied system context, that can phrase a two- or three-hop condition to read a disabled package's field values as 1 / 0 answersThread-read: 7091200191
Premise: read, not measured. The thread measures first (a two-hop member pin per door; a directly addressed object on a no-protocol host) on its base and states the result before fixing
Acceptance: #36393's To do 1–3 plus the ruling's binding points 1–2 on #35526: every hop and both callers pinned, refusal order (disabled before unexposed), conditions under
$or/$not, a real disable-then-re-enable control; dogfood battery run on the head before land (narrowing)Serial constraints cleared: #36337 merged; no open PR names #36393 or #35526
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim amendment · 2026-11-23T11:36Z: completes claim 7099231906.
PR: #36687 (draft, head
d6f70d69, branchclaude/project-thread-rhdqay),Fixes #36393andFixes #35526, one change.Surface as claimed:
packages/runtime/src/action-execution.ts(every relation hop, every caller including a system context on the disabled-package question; the addressed object refused on a no-protocol host),packages/mcp/src/stdio-data-bridge.ts(every hop), their pin tests, this PR's changeset, and the deliberate correction of.changeset/35526-calldata-relation-disabled-package.md(#36393 item 3; not yet consumed by a release).The thread declares
Clause-②: no (narrowing)because nothing is exported. The claim said yes (narrowing). The contract review at CONTRACT_REVIEW_TIER rules on the line before landing; it runs on the narrowing face either way.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Cleared · 2026-11-23T13:36Z: closed by the merge of #36687. The seat takes
pm:dispatchedand its assignee off.