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).
{
"issue": 35526,
"status": "done",
"branch": "claude/issue-35526-aggregate-disabled-package",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36337",
"session": "session_01FEkQ5miLqNucRZevceHwNh",
"premise_still_valid": true,
"summary": "Handover state at final pushed head f26f20f54e (draft PR #36337, Part of #35526): the user-identity half is done. For a non-system caller, refuseUnservedRelationTargets (callData's aggregate arm and its no-protocol query fallback) asks the engine registry's isObjectPackageDisabled via @objectstack/core registryObjectPackageDisabled per relation-condition site and throws the protocol's own objectPackageDisabledError (404 OBJECT_PACKAGE_DISABLED, object = target, param = where.FIELD); @objectstack/metadata-protocol newly exports objectPackageDisabledError (additive, recordNotFoundError precedent) so no copy of the constructor exists. Premise re-measured on origin/main a5a5312ff4: member with B disabled got the 1/0 count on the aggregate arm (with and without protocol) and on the no-protocol query fallback; the query arm through the protocol answered 404; B re-enabled answered 1/0. System-caller half untouched and pinned as today's answer (1/0). Stdio twin measured (temporary probe, not committed): non-system + protocol already refuses 404 on aggregate and query for both values, so nothing changed or pinned there. Unverified: the full dogfood battery (NOT MEASURED, lock never acquired; stopped at the handover order); CI check-runs not read (in_progress at report time).",
"tests": "Head f26f20f54e. New pin file packages/runtime/src/action-execution-calldata-relation-disabled-package-35526.test.ts (real ObjectQL + SqlDriver in-memory SQLite + real ObjectStackProtocolImplementation): Test Files 1 passed, Tests 12 passed (lock VERDICT command-exit 0). Before the fix, the same pins: 3 failed (the member pins: 'served where the data route refuses') / 9 passed. Ablation via scripts/ablation-replace.mjs (anchor 'if (isObjectPackageDisabled(site.target)) {' -> 'if (false && ...)'): mutation landed (anchor 1->0, blob 0ea829f2eb44->2866cbecc099), Tests 3 failed | 9 passed; restored blob 0ea829f2eb44 == HEAD blob, git diff HEAD empty, byte-identical. Typecheck metadata-protocol + runtime exit 0; metadata-protocol test exit 0; runtime local suite Test Files 636 passed of 637 (the one red was this PR's pin file caught mid-edit during the driver switch; re-run alone 12/12 at final head).",
"gates": "dispatch-gates --repo objectstack-ai/objectstack --commands: 69 commands, all run at f26f20f54e; --ran reconciliation: 69 derived, 69 run, 0 unrun, exit 0. 68 exit 0; check:type-check-debt exit 3 in the batch (nested lock queue-timeout, nothing measured) and exit 0 in its own locked run at the same head ('0 ledger entries re-measured ... none above its recorded number'). Earlier batch at an older head caught check:driver-memory-census (frozen driver-memory import) and check:test-source-alias (module-top import of @objectstack/metadata owed): both fixed, both exit 0 at final head. check:dual-build-cjs-loads exit 0 at final head (exit 3 PREREQUISITE NOT MET at the earlier head). overlap-check vs origin/main and draft #36132 clean before every push. CI check-runs: NOT read, in_progress at report time (handover).",
"dogfood_battery": "NOT MEASURED at f26f20f54e, reason: shared verify lock never acquired; 11 timed acquisitions on kept slot issue-35526-dog over ~100 min each exit 99 (holders: another worktree's full dogfood battery held 55+ min, then another session's full-suite script); stopped at the PM handover order. CI's Dogfood Regression Gate runs it in the merge queue.",
"mcp_calls": "0",
"api_writes": "3 via fleet-write relay / post-stamped: POST /repos/objectstack-ai/objectstack/pulls (draft #36337), POST /repos/objectstack-ai/objectstack/issues/36337/assignees (os-project-manager, the claim's Account), POST /repos/objectstack-ai/objectstack/issues/35526/comments (this report). git push not counted.",
"open_questions": [
{
"question": "Should a SYSTEM-identity callData call (aggregate arm / no-protocol query fallback) also be refused 404 OBJECT_PACKAGE_DISABLED for a relation condition into a disabled package's object? Readings (B disabled, where {b_ref:{secret_note:VALUE}}): callData aggregate arm, system, with and without protocol: served count 1 for the stored value, 0 otherwise (pinned). callData query arm through the protocol, system: 404 (protocol refuses every caller, #35427 pins MEMBER and SYSTEM). callData no-protocol query fallback, system: served (refuseUnservedRelationTargets is skipped for isSystem; existing #22823 pin 'a system context is not asked'). MCP stdio bridge, system, either host: served 1/0 (measured, temporary probe). In-process reach (read only): a hook's or script action's ctx.api goes to the engine directly, not through callData, and in-process access is ruled served (6545646924); callData sees a system context only when the request's executionContext resolves isSystem (which doors produce that was not measured).",
"options": [
"A: keep system served (status quo; consistent with ruling 6545646924 and the exposure gate's system bypass); close #35526 on this PR's merge with that ruling recorded",
"B: refuse system too, as the protocol's data route already does (#35427 refuses system); move the package check out of the exposureGated branch in callData, add a system pin flip; small diff, but it splits callData's system answer from the engine/ctx.api answer",
"C: refuse system only where the caller arrived over a public door (MCP/HTTP) and keep in-process served; needs a door marker on the context, larger design"
],
"recommendation": "B, because the data route through the protocol already refuses system callers for the same condition, so callData answering 1/0 for system on the aggregate arm is two answers for one question on one door; ctx.api in-process access does not pass through callData, so ruling 6545646924's served surface is untouched. Seat should confirm with the maintainer."
},
{
"question": "This PR adds a published export (objectPackageDisabledError from @objectstack/metadata-protocol's root). os-dev lists published-export changes as needs_decision; I shipped it because the alternative is a second copy of the refusal constructor, which action-execution.ts forbids, and recordNotFoundError is the exact precedent for the same callData fallback.",
"options": [
"A: accept the additive export as shipped",
"B: move the constructor to a lower package (core) shared with sibling #35525 analytics, separate PR"
],
"recommendation": "A, because it is additive, enabling-only, follows the in-file precedent, and B can follow later without breaking anyone."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed (read only, no public-door reach measured): on a host that registers no protocol service, callData serves a disabled package's object when ADDRESSED directly (the package refusal lives only in the protocol's by-name read), so after this PR such a host refuses a relation condition into it but still serves it addressed; the MCP stdio bridge on a no-protocol host serves both (measured with a temporary probe); and the MCP multi-env query fallback can hand callData a raw driver with no registry, where the predicate disables nothing. In PR #36337 Acceptance notes. Dedupe words: no-protocol host, disabled package, callData fallback, OBJECT_PACKAGE_DISABLED"
]
}
Handover to repo:objectstack#7 · 2026-11-22T06:41Z
Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
Resume-from: claude/issue-35526-aggregate-disabled-package@f26f20f54edbe76ba0063f7d6afeb8cd4b737b6b
Claim: PM loop round 3 (handover from repo:objectstack#4)
Session: session_01QsR2jTeURPvEm465RcoYEC
Account: zhuangjianguo
Branch: claude/issue-35526-aggregate-disabled-package
Worktree: objectstack-issue-35526
Domain: domain:server
Seat: repo:objectstack#7
Area: f7-seat (seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)
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
Thread-read: 7075483239
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36337, which this claim continues.
Pre-claim lane: repo:objectstack seat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.
Pre-claim deps: none open (read on the card at the release).
Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35526 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
Resume-from: claude/issue-35526-aggregate-disabled-package@f26f20f54edbe76ba0063f7d6afeb8cd4b737b6b
{
"issue": 35526,
"status": "done",
"branch": "claude/issue-35526-aggregate-disabled-package",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36337",
"head_sha": "f26f20f54edbe76ba0063f7d6afeb8cd4b737b6b",
"session": "session_01QsR2jTeURPvEm465RcoYEC",
"premise_still_valid": true,
"summary": "Resumed seat 4's draft PR #36337 (Part of #35526, the member-caller half) at f26f20f54e; the remote head had not moved, and no commit was added this round, so f26f20f54e is the declared final head. Owed items run: the full dogfood battery at that head (478/487 files and 4101/4175 tests passed, 6 failed, every one a 5000ms timeout on a shared box in a file that does not reach the changed path) and the 69 derived gates (67 exit 0, 2 NOT MEASURED with exit 3). CI is fully green at the same head. The PR body was patched through the relay: the two dispatch-ordered opening lines, the battery and gate readings, the #36132 overlap note, and seat 7's footer and signed trailer. The system-caller half was not built and is the open question below.",
"tests": "No code change this round, so no new test or ablation. Seat 4's pin file (packages/runtime/src/action-execution-calldata-relation-disabled-package-35526.test.ts, 12/12 at f26f20f54e, ablation 3 red / 9 green, then restored byte-identical) stands at the same head, and CI Test Core (10/10 shards) is success at f26f20f54e. Battery at f26f20f54e, under the verify lock: pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test. Result: VERDICT command-exit 1; Test Files 6 failed | 478 passed | 3 skipped (487); Tests 6 failed | 4101 passed | 68 skipped (4175); Duration 4977s, lock held 1h42m on a shared box. Every failure reads 'Test timed out in 5000ms'. A grep of the six files for aggregate, OBJECT_PACKAGE_DISABLED or a disabled package found nothing; the one 'disabled' hit is a disabled-flow refusal. A locked re-run of the six files plus the pin was queued twice and is NOT MEASURED: both tries hit queue-timeout (exit 99) behind another session's full battery.",
"gates": "Local, at f26f20f54e. node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 69 commands; its stderr warns that the tree is 39 commits behind origin/main and that 6 scripts/pm gate files moved there. 67 exit 0. node scripts/check-plugin-teardown-shape.mjs --self-test first exited 3 because the shallow clone could not reach its pinned fixture 621a4876, then exited 0 after that one commit was fetched. pnpm check:dts-closure first exited 1 because no dist existed yet, then exited 0 after the build. Two are NOT MEASURED with exit 3. pnpm check:dual-build-cjs-loads: six packages outside the dogfood closure have no dist (studio, client-react, embedder-openai, knowledge-memory, knowledge-ragflow, scenarios), and their locked build got exit 99. pnpm check:type-check-debt: its nested locked closure build timed out in the queue. --ran reconciliation, with exit codes recorded: 69 derived, 67 run, 2 NOT-MEASURED (derived from the recorded exit 3), 0 unrun, exit 0. overlap-check --branch=claude/issue-35526-aggregate-disabled-package: VERDICT clean exit 0, merges cleanly against origin/main ed33f8ae. check-closing-keyword-parity --body on the new PR body: exit 0, no closing declaration binds. CI check-runs at f26f20f54e, read and not re-run: Lint & Repo Gates success, TypeScript Type Check success, Type Check · debt ledger success, Test Core success (10/10), Build Core success, Governed Surface Queue Guard success, Test UI success, Live E2E UI success, Dogfood Regression Gate success (PR run; its shards run in the queue), Check Changeset success, PR-body guards success. Lint UI, Type Check UI and Build & E2E UI were skipped (no ui path).",
"dogfood_battery": "f26f20f54e · VERDICT command-exit 1 · Test Files 478/487 passed (6 failed, 3 skipped) · Tests 4101/4175 passed (6 failed, 68 skipped). Failures, all 'Test timed out in 5000ms': flow-name-per-namespace.dogfood.test.ts (alpha's screen flow ... MCP resume_run); object-hook-lifecycle-showcase.dogfood.test.ts (acceptance[4], acceptance[5] spent-only PATCH); packaged-flow-write-door-parity.dogfood.test.ts (a flow no package ships ...); permission-unknown-grant-object-refusal.dogfood.test.ts (control: an object and a set granting on it ...); rest-route-generation-tombstones.test.ts (include-objects.ts fails tsc on the key's own line); wall-package-doors-refusal.dogfood.test.ts (ADR-0131 D12 items 7-8 catalog-free package). None reaches the changed path; the isolated re-run is NOT MEASURED (exit 99 twice).",
"files_changed": "none this round (no commit). The PR diff vs merge base a5a5312f is unchanged at 4 files: .changeset/35526-calldata-relation-disabled-package.md, packages/metadata-protocol/src/index.ts, packages/runtime/src/action-execution.ts, packages/runtime/src/action-execution-calldata-relation-disabled-package-35526.test.ts",
"line_budget": "n/a — no skills/** path in the diff",
"mcp_calls": "0",
"api_writes": "2 through the relay. PATCH /repos/objectstack-ai/objectstack/issues/36337 (issue_patch, PR body; read-back reports 12222 bytes sent and 12222 stored, identical). POST /repos/objectstack-ai/objectstack/issues/35526/comments (this report, post-stamped). git push: none this round.",
"writes": "2 relay writes (see api_writes); no label and no assignee write; no push",
"deviations": [
"Head kept at f26f20f54e with no merge of origin/main, although #36132 (c448c615) merged into packages/runtime/src/action-execution.ts after the PR head. Its hunks are disjoint (about L204, L3442-3794, L4676 against this PR's L340 and its call sites), overlap-check merges cleanly, there is no GitHub conflict and no main-caused red, so AGENTS.md multi-agent discipline 10 does not call for a merge, and a new head would void the battery. The dispatch's 'merge only when a file you edit moved' was read as not triggered, because this round edits no file. The seat may rule otherwise, which would put a new head in front of L1.",
"dispatch-gates derived at the PR head, which it flags as 39 commits behind origin/main, with 6 scripts/pm gate files moved there.",
"git fetch --depth=1 origin 621a4876 wrote one commit and a shallow boundary into the shared object store so that check-plugin-teardown-shape --self-test could reach its pinned fixture.",
"Four temporary reads (card, comments, PR body, install log) were first written to the seat's /tmp/claude-0/s7 directory instead of the per-issue scratchpad. They were deleted.",
"The per-option axes analysis that os-dev.md asks for needs the seat framework's axes, and the dispatch did not carry them. The options below give cost and recommendation only, and the seat owes the axes when it presents the question."
],
"open_questions": [
{
"question": "Should a SYSTEM-identity callData call also be refused 404 OBJECT_PACKAGE_DISABLED for a relation condition into a disabled package's object? This covers the aggregate arm and the no-protocol query fallback, and is the card's Open point; triage 7012522848 split it off for the maintainer. Evidence with B disabled and where {b_ref:{secret_note:VALUE}}: the callData aggregate arm with a system caller, with and without a protocol, serves count 1 for the stored value and 0 for any other (pinned in this PR as today's answer). The callData query arm through the protocol, system caller: 404, because the protocol refuses every caller (#35427). The no-protocol query fallback, system caller: served, because refuseUnservedRelationTargets is skipped when exposureGated = !isSystem (action-execution.ts about L656). The MCP stdio bridge, system caller, either host: served 1/0 (seat 4's temporary probe). New read-only reading at f26f20f54e: refuseUnexposedDataAction returns at its first line for isSystem (about L599), so for a system caller the #25120 'refuse' package check on the ADDRESSED object is skipped on the aggregate arm too. Option B therefore has to decide the addressed check as well as the relation-target check, or callData would refuse the condition but serve the object itself. This was not measured. In-process ctx.api reaches the engine directly, not through callData, and ruling 6545646924 keeps it served.",
"options": [
"A: keep system served (status quo). Consistent with ruling 6545646924 and with the exposure gate's system bypass. Cost: none; the card closes on this PR plus a ruling note. callData keeps answering system and member differently from the protocol's data route.",
"B: refuse system too, on both checks (the addressed-object package refusal and the relation-target package refusal), lifted out of the isSystem bypass in callData. Cost: a small runtime diff, flipping the SYSTEM pin, a new BREAKING (narrowing) changeset, and a battery run. Every system-context caller of callData (the doors that resolve isSystem; which ones do was not measured) loses access to disabled packages' objects.",
"C: refuse system only when the caller arrived over a public door (MCP/HTTP) and keep other system contexts served. Needs a door marker on the execution context: a larger design and a contract change."
],
"recommendation": "B, because the protocol's data route already refuses system callers for the same condition and the same object, so the callData aggregate arm answering 1/0 to a system context gives two answers to one question. ctx.api does not pass through callData, so the surface that ruling 6545646924 keeps served is untouched. It needs a measurement of which doors hand callData an isSystem context before it ships. The seat presents this with its axes."
},
{
"question": "Carried from seat 4: this PR adds a published export, objectPackageDisabledError from the root of @objectstack/metadata-protocol. It is additive, and recordNotFoundError is the precedent. os-dev.md lists published-export changes as needs_decision.",
"options": [
"A: accept the additive export as shipped",
"B: move the constructor to a lower shared package (core) in a separate PR, shared with sibling #35525"
],
"recommendation": "A, because it enables without breaking anything, follows the in-file precedent, and B can follow later without breaking anyone. The seat's contract review (L2, narrowing) decides."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed (read only, no measurement at a public door): on the aggregate arm, refuseUnexposedDataAction skips its #25120 addressed-object package refusal for a system context (it returns at its first line when isSystem is set), so a system-context aggregate addressed straight at a disabled package's object may be served. This is the same open point as the system half above, and it is recorded there, not as a separate card. Dedupe words: system context, disabled package, callData aggregate, OBJECT_PACKAGE_DISABLED",
"carrier: none · seat 4's no-protocol-host and raw-driver notes stand unchanged in the PR's Acceptance notes"
],
"review_owed": "L1 (seat) at f26f20f54e; L2 contract review owed for the narrowing (Clause-②: no (narrowing)) and the new published export. Not requested by this dev."
}
Claim: PM loop round 3 (handover from repo:objectstack#4) (amended: Clause-② value per L2 S2; follow-up #36393)
Session: session_01QsR2jTeURPvEm465RcoYEC
Account: zhuangjianguo
Branch: claude/issue-35526-aggregate-disabled-package
Worktree: objectstack-issue-35526
Domain: domain:server
Seat: repo:objectstack#7
Area: f7-seat (seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)
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-②: yes (narrowing) — adds the root export objectPackageDisabledError to @objectstack/metadata-protocol (L2 7077187908 S2); 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
Thread-read: 7075483239
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36337, which this claim continues.
Pre-claim lane: repo:objectstack seat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.
Pre-claim deps: none open (read on the card at the release).
Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35526 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
Resume-from: claude/issue-35526-aggregate-disabled-package@f26f20f54edbe76ba0063f7d6afeb8cd4b737b6b
What the ruling binds (the system-caller half of this card):
A system context through callData is refused like a member on a disabled package's data, on BOTH checks: the addressed object, and the relation target of a condition (the exposureGated = !isSystem short-circuit no longer skips the disabled-package question; the exposure question for system callers is not changed by this ruling).
Options 「保持现状,系统身份放行」 and 「只拒外部来的系统调用」 are not taken.
Execution: the system half rides #36393 (already the follow-up of this card, blocked by #36337), in the same change as its multi-hop descent, so that every hop and both callers are pinned together. Its PR declares Clause-②: yes (narrowing) and gets a narrowing-face L2 at the contract-review tier. This card stays open until #36337 and #36393 both merge.
Release: seat 7 clocks out 2026-11-23T04:00Z on the maintainer's word (Steedos 2026-11-23T03:54Z, 「你可以走下班流程了」). The member-caller half landed as PR #36337. The system-caller half, ruled 「系统身份也一律拒绝」 (2026-11-22T09:47Z, comment 7077381587), rides follow-up #36393 together with its multi-hop descent; nothing is to be built on this card itself. Next: whoever claims #36393 builds both halves there, under Clause-②: yes (narrowing) with a narrowing-face L2 at the contract-review tier, and closes this card when #36393 merges. The branch claude/issue-35526-aggregate-disabled-package is merged history only.
Resume-from: none
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 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5miLqNucRZevceHwNh
os-dev-report
{ "issue": 35526, "status": "done", "branch": "claude/issue-35526-aggregate-disabled-package", "pr": "https://github.com/objectstack-ai/objectstack/pull/36337", "session": "session_01FEkQ5miLqNucRZevceHwNh", "premise_still_valid": true, "summary": "Handover state at final pushed head f26f20f54e (draft PR #36337, Part of #35526): the user-identity half is done. For a non-system caller, refuseUnservedRelationTargets (callData's aggregate arm and its no-protocol query fallback) asks the engine registry's isObjectPackageDisabled via @objectstack/core registryObjectPackageDisabled per relation-condition site and throws the protocol's own objectPackageDisabledError (404 OBJECT_PACKAGE_DISABLED, object = target, param = where.FIELD); @objectstack/metadata-protocol newly exports objectPackageDisabledError (additive, recordNotFoundError precedent) so no copy of the constructor exists. Premise re-measured on origin/main a5a5312ff4: member with B disabled got the 1/0 count on the aggregate arm (with and without protocol) and on the no-protocol query fallback; the query arm through the protocol answered 404; B re-enabled answered 1/0. System-caller half untouched and pinned as today's answer (1/0). Stdio twin measured (temporary probe, not committed): non-system + protocol already refuses 404 on aggregate and query for both values, so nothing changed or pinned there. Unverified: the full dogfood battery (NOT MEASURED, lock never acquired; stopped at the handover order); CI check-runs not read (in_progress at report time).", "tests": "Head f26f20f54e. New pin file packages/runtime/src/action-execution-calldata-relation-disabled-package-35526.test.ts (real ObjectQL + SqlDriver in-memory SQLite + real ObjectStackProtocolImplementation): Test Files 1 passed, Tests 12 passed (lock VERDICT command-exit 0). Before the fix, the same pins: 3 failed (the member pins: 'served where the data route refuses') / 9 passed. Ablation via scripts/ablation-replace.mjs (anchor 'if (isObjectPackageDisabled(site.target)) {' -> 'if (false && ...)'): mutation landed (anchor 1->0, blob 0ea829f2eb44->2866cbecc099), Tests 3 failed | 9 passed; restored blob 0ea829f2eb44 == HEAD blob, git diff HEAD empty, byte-identical. Typecheck metadata-protocol + runtime exit 0; metadata-protocol test exit 0; runtime local suite Test Files 636 passed of 637 (the one red was this PR's pin file caught mid-edit during the driver switch; re-run alone 12/12 at final head).", "gates": "dispatch-gates --repo objectstack-ai/objectstack --commands: 69 commands, all run at f26f20f54e; --ran reconciliation: 69 derived, 69 run, 0 unrun, exit 0. 68 exit 0; check:type-check-debt exit 3 in the batch (nested lock queue-timeout, nothing measured) and exit 0 in its own locked run at the same head ('0 ledger entries re-measured ... none above its recorded number'). Earlier batch at an older head caught check:driver-memory-census (frozen driver-memory import) and check:test-source-alias (module-top import of @objectstack/metadata owed): both fixed, both exit 0 at final head. check:dual-build-cjs-loads exit 0 at final head (exit 3 PREREQUISITE NOT MET at the earlier head). overlap-check vs origin/main and draft #36132 clean before every push. CI check-runs: NOT read, in_progress at report time (handover).", "dogfood_battery": "NOT MEASURED at f26f20f54e, reason: shared verify lock never acquired; 11 timed acquisitions on kept slot issue-35526-dog over ~100 min each exit 99 (holders: another worktree's full dogfood battery held 55+ min, then another session's full-suite script); stopped at the PM handover order. CI's Dogfood Regression Gate runs it in the merge queue.", "mcp_calls": "0", "api_writes": "3 via fleet-write relay / post-stamped: POST /repos/objectstack-ai/objectstack/pulls (draft #36337), POST /repos/objectstack-ai/objectstack/issues/36337/assignees (os-project-manager, the claim's Account), POST /repos/objectstack-ai/objectstack/issues/35526/comments (this report). git push not counted.", "open_questions": [ { "question": "Should a SYSTEM-identity callData call (aggregate arm / no-protocol query fallback) also be refused 404 OBJECT_PACKAGE_DISABLED for a relation condition into a disabled package's object? Readings (B disabled, where {b_ref:{secret_note:VALUE}}): callData aggregate arm, system, with and without protocol: served count 1 for the stored value, 0 otherwise (pinned). callData query arm through the protocol, system: 404 (protocol refuses every caller, #35427 pins MEMBER and SYSTEM). callData no-protocol query fallback, system: served (refuseUnservedRelationTargets is skipped for isSystem; existing #22823 pin 'a system context is not asked'). MCP stdio bridge, system, either host: served 1/0 (measured, temporary probe). In-process reach (read only): a hook's or script action's ctx.api goes to the engine directly, not through callData, and in-process access is ruled served (6545646924); callData sees a system context only when the request's executionContext resolves isSystem (which doors produce that was not measured).", "options": [ "A: keep system served (status quo; consistent with ruling 6545646924 and the exposure gate's system bypass); close #35526 on this PR's merge with that ruling recorded", "B: refuse system too, as the protocol's data route already does (#35427 refuses system); move the package check out of the exposureGated branch in callData, add a system pin flip; small diff, but it splits callData's system answer from the engine/ctx.api answer", "C: refuse system only where the caller arrived over a public door (MCP/HTTP) and keep in-process served; needs a door marker on the context, larger design" ], "recommendation": "B, because the data route through the protocol already refuses system callers for the same condition, so callData answering 1/0 for system on the aggregate arm is two answers for one question on one door; ctx.api in-process access does not pass through callData, so ruling 6545646924's served surface is untouched. Seat should confirm with the maintainer." }, { "question": "This PR adds a published export (objectPackageDisabledError from @objectstack/metadata-protocol's root). os-dev lists published-export changes as needs_decision; I shipped it because the alternative is a second copy of the refusal constructor, which action-execution.ts forbids, and recordNotFoundError is the exact precedent for the same callData fallback.", "options": [ "A: accept the additive export as shipped", "B: move the constructor to a lower package (core) shared with sibling #35525 analytics, separate PR" ], "recommendation": "A, because it is additive, enabling-only, follows the in-file precedent, and B can follow later without breaking anyone." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed (read only, no public-door reach measured): on a host that registers no protocol service, callData serves a disabled package's object when ADDRESSED directly (the package refusal lives only in the protocol's by-name read), so after this PR such a host refuses a relation condition into it but still serves it addressed; the MCP stdio bridge on a no-protocol host serves both (measured with a temporary probe); and the MCP multi-env query fallback can hand callData a raw driver with no registry, where the predicate disables nothing. In PR #36337 Acceptance notes. Dedupe words: no-protocol host, disabled package, callData fallback, OBJECT_PACKAGE_DISABLED" ] }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv
Handover to repo:objectstack#7 · 2026-11-22T06:41Z
Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
Resume-from: claude/issue-35526-aggregate-disabled-package@f26f20f54edbe76ba0063f7d6afeb8cd4b737b6b
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Claim: PM loop round 3 (handover from repo:objectstack#4)
Session:
session_01QsR2jTeURPvEm465RcoYECAccount:
zhuangjianguoBranch:
claude/issue-35526-aggregate-disabled-packageWorktree:
objectstack-issue-35526Domain:
domain:serverSeat:
repo:objectstack#7Area:
f7-seat(seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)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 88ea36cThread-read: 7075483239
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36337, which this claim continues.
Pre-claim lane:
repo:objectstackseat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.Pre-claim deps: none open (read on the card at the release).
Prior rulings read:
node scripts/pm/check-prior-rulings.mjs --card 35526exit 0 at1cd47628; no ruling comment on the card; seat 4's claim readings stand.Resume-from:
claude/issue-35526-aggregate-disabled-package@f26f20f54edbe76ba0063f7d6afeb8cd4b737b6bobjectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
os-dev-report
{ "issue": 35526, "status": "done", "branch": "claude/issue-35526-aggregate-disabled-package", "pr": "https://github.com/objectstack-ai/objectstack/pull/36337", "head_sha": "f26f20f54edbe76ba0063f7d6afeb8cd4b737b6b", "session": "session_01QsR2jTeURPvEm465RcoYEC", "premise_still_valid": true, "summary": "Resumed seat 4's draft PR #36337 (Part of #35526, the member-caller half) at f26f20f54e; the remote head had not moved, and no commit was added this round, so f26f20f54e is the declared final head. Owed items run: the full dogfood battery at that head (478/487 files and 4101/4175 tests passed, 6 failed, every one a 5000ms timeout on a shared box in a file that does not reach the changed path) and the 69 derived gates (67 exit 0, 2 NOT MEASURED with exit 3). CI is fully green at the same head. The PR body was patched through the relay: the two dispatch-ordered opening lines, the battery and gate readings, the #36132 overlap note, and seat 7's footer and signed trailer. The system-caller half was not built and is the open question below.", "tests": "No code change this round, so no new test or ablation. Seat 4's pin file (packages/runtime/src/action-execution-calldata-relation-disabled-package-35526.test.ts, 12/12 at f26f20f54e, ablation 3 red / 9 green, then restored byte-identical) stands at the same head, and CI Test Core (10/10 shards) is success at f26f20f54e. Battery at f26f20f54e, under the verify lock: pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test. Result: VERDICT command-exit 1; Test Files 6 failed | 478 passed | 3 skipped (487); Tests 6 failed | 4101 passed | 68 skipped (4175); Duration 4977s, lock held 1h42m on a shared box. Every failure reads 'Test timed out in 5000ms'. A grep of the six files for aggregate, OBJECT_PACKAGE_DISABLED or a disabled package found nothing; the one 'disabled' hit is a disabled-flow refusal. A locked re-run of the six files plus the pin was queued twice and is NOT MEASURED: both tries hit queue-timeout (exit 99) behind another session's full battery.", "gates": "Local, at f26f20f54e. node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 69 commands; its stderr warns that the tree is 39 commits behind origin/main and that 6 scripts/pm gate files moved there. 67 exit 0. node scripts/check-plugin-teardown-shape.mjs --self-test first exited 3 because the shallow clone could not reach its pinned fixture 621a4876, then exited 0 after that one commit was fetched. pnpm check:dts-closure first exited 1 because no dist existed yet, then exited 0 after the build. Two are NOT MEASURED with exit 3. pnpm check:dual-build-cjs-loads: six packages outside the dogfood closure have no dist (studio, client-react, embedder-openai, knowledge-memory, knowledge-ragflow, scenarios), and their locked build got exit 99. pnpm check:type-check-debt: its nested locked closure build timed out in the queue. --ran reconciliation, with exit codes recorded: 69 derived, 67 run, 2 NOT-MEASURED (derived from the recorded exit 3), 0 unrun, exit 0. overlap-check --branch=claude/issue-35526-aggregate-disabled-package: VERDICT clean exit 0, merges cleanly against origin/main ed33f8ae. check-closing-keyword-parity --body on the new PR body: exit 0, no closing declaration binds. CI check-runs at f26f20f54e, read and not re-run: Lint & Repo Gates success, TypeScript Type Check success, Type Check · debt ledger success, Test Core success (10/10), Build Core success, Governed Surface Queue Guard success, Test UI success, Live E2E UI success, Dogfood Regression Gate success (PR run; its shards run in the queue), Check Changeset success, PR-body guards success. Lint UI, Type Check UI and Build & E2E UI were skipped (no ui path).", "dogfood_battery": "f26f20f54e · VERDICT command-exit 1 · Test Files 478/487 passed (6 failed, 3 skipped) · Tests 4101/4175 passed (6 failed, 68 skipped). Failures, all 'Test timed out in 5000ms': flow-name-per-namespace.dogfood.test.ts (alpha's screen flow ... MCP resume_run); object-hook-lifecycle-showcase.dogfood.test.ts (acceptance[4], acceptance[5] spent-only PATCH); packaged-flow-write-door-parity.dogfood.test.ts (a flow no package ships ...); permission-unknown-grant-object-refusal.dogfood.test.ts (control: an object and a set granting on it ...); rest-route-generation-tombstones.test.ts (include-objects.ts fails tsc on the key's own line); wall-package-doors-refusal.dogfood.test.ts (ADR-0131 D12 items 7-8 catalog-free package). None reaches the changed path; the isolated re-run is NOT MEASURED (exit 99 twice).", "files_changed": "none this round (no commit). The PR diff vs merge base a5a5312f is unchanged at 4 files: .changeset/35526-calldata-relation-disabled-package.md, packages/metadata-protocol/src/index.ts, packages/runtime/src/action-execution.ts, packages/runtime/src/action-execution-calldata-relation-disabled-package-35526.test.ts", "line_budget": "n/a — no skills/** path in the diff", "mcp_calls": "0", "api_writes": "2 through the relay. PATCH /repos/objectstack-ai/objectstack/issues/36337 (issue_patch, PR body; read-back reports 12222 bytes sent and 12222 stored, identical). POST /repos/objectstack-ai/objectstack/issues/35526/comments (this report, post-stamped). git push: none this round.", "writes": "2 relay writes (see api_writes); no label and no assignee write; no push", "deviations": [ "Head kept at f26f20f54e with no merge of origin/main, although #36132 (c448c615) merged into packages/runtime/src/action-execution.ts after the PR head. Its hunks are disjoint (about L204, L3442-3794, L4676 against this PR's L340 and its call sites), overlap-check merges cleanly, there is no GitHub conflict and no main-caused red, so AGENTS.md multi-agent discipline 10 does not call for a merge, and a new head would void the battery. The dispatch's 'merge only when a file you edit moved' was read as not triggered, because this round edits no file. The seat may rule otherwise, which would put a new head in front of L1.", "dispatch-gates derived at the PR head, which it flags as 39 commits behind origin/main, with 6 scripts/pm gate files moved there.", "git fetch --depth=1 origin 621a4876 wrote one commit and a shallow boundary into the shared object store so that check-plugin-teardown-shape --self-test could reach its pinned fixture.", "Four temporary reads (card, comments, PR body, install log) were first written to the seat's /tmp/claude-0/s7 directory instead of the per-issue scratchpad. They were deleted.", "The per-option axes analysis that os-dev.md asks for needs the seat framework's axes, and the dispatch did not carry them. The options below give cost and recommendation only, and the seat owes the axes when it presents the question." ], "open_questions": [ { "question": "Should a SYSTEM-identity callData call also be refused 404 OBJECT_PACKAGE_DISABLED for a relation condition into a disabled package's object? This covers the aggregate arm and the no-protocol query fallback, and is the card's Open point; triage 7012522848 split it off for the maintainer. Evidence with B disabled and where {b_ref:{secret_note:VALUE}}: the callData aggregate arm with a system caller, with and without a protocol, serves count 1 for the stored value and 0 for any other (pinned in this PR as today's answer). The callData query arm through the protocol, system caller: 404, because the protocol refuses every caller (#35427). The no-protocol query fallback, system caller: served, because refuseUnservedRelationTargets is skipped when exposureGated = !isSystem (action-execution.ts about L656). The MCP stdio bridge, system caller, either host: served 1/0 (seat 4's temporary probe). New read-only reading at f26f20f54e: refuseUnexposedDataAction returns at its first line for isSystem (about L599), so for a system caller the #25120 'refuse' package check on the ADDRESSED object is skipped on the aggregate arm too. Option B therefore has to decide the addressed check as well as the relation-target check, or callData would refuse the condition but serve the object itself. This was not measured. In-process ctx.api reaches the engine directly, not through callData, and ruling 6545646924 keeps it served.", "options": [ "A: keep system served (status quo). Consistent with ruling 6545646924 and with the exposure gate's system bypass. Cost: none; the card closes on this PR plus a ruling note. callData keeps answering system and member differently from the protocol's data route.", "B: refuse system too, on both checks (the addressed-object package refusal and the relation-target package refusal), lifted out of the isSystem bypass in callData. Cost: a small runtime diff, flipping the SYSTEM pin, a new BREAKING (narrowing) changeset, and a battery run. Every system-context caller of callData (the doors that resolve isSystem; which ones do was not measured) loses access to disabled packages' objects.", "C: refuse system only when the caller arrived over a public door (MCP/HTTP) and keep other system contexts served. Needs a door marker on the execution context: a larger design and a contract change." ], "recommendation": "B, because the protocol's data route already refuses system callers for the same condition and the same object, so the callData aggregate arm answering 1/0 to a system context gives two answers to one question. ctx.api does not pass through callData, so the surface that ruling 6545646924 keeps served is untouched. It needs a measurement of which doors hand callData an isSystem context before it ships. The seat presents this with its axes." }, { "question": "Carried from seat 4: this PR adds a published export, objectPackageDisabledError from the root of @objectstack/metadata-protocol. It is additive, and recordNotFoundError is the precedent. os-dev.md lists published-export changes as needs_decision.", "options": [ "A: accept the additive export as shipped", "B: move the constructor to a lower shared package (core) in a separate PR, shared with sibling #35525" ], "recommendation": "A, because it enables without breaking anything, follows the in-file precedent, and B can follow later without breaking anyone. The seat's contract review (L2, narrowing) decides." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed (read only, no measurement at a public door): on the aggregate arm, refuseUnexposedDataAction skips its #25120 addressed-object package refusal for a system context (it returns at its first line when isSystem is set), so a system-context aggregate addressed straight at a disabled package's object may be served. This is the same open point as the system half above, and it is recorded there, not as a separate card. Dedupe words: system context, disabled package, callData aggregate, OBJECT_PACKAGE_DISABLED", "carrier: none · seat 4's no-protocol-host and raw-driver notes stand unchanged in the PR's Acceptance notes" ], "review_owed": "L1 (seat) at f26f20f54e; L2 contract review owed for the narrowing (Clause-②: no (narrowing)) and the new published export. Not requested by this dev." }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Claim: PM loop round 3 (handover from repo:objectstack#4) (amended: Clause-② value per L2 S2; follow-up #36393)
Session:
session_01QsR2jTeURPvEm465RcoYECAccount:
zhuangjianguoBranch:
claude/issue-35526-aggregate-disabled-packageWorktree:
objectstack-issue-35526Domain:
domain:serverSeat:
repo:objectstack#7Area:
f7-seat(seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)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-②: yes (narrowing) — adds the root export
objectPackageDisabledErrorto@objectstack/metadata-protocol(L2 7077187908 S2);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 88ea36cThread-read: 7075483239
Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
Serial constraints cleared: none beyond the card's own draft PR #36337, which this claim continues.
Pre-claim lane:
repo:objectstackseat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.Pre-claim deps: none open (read on the card at the release).
Prior rulings read:
node scripts/pm/check-prior-rulings.mjs --card 35526exit 0 at1cd47628; no ruling comment on the card; seat 4's claim readings stand.Resume-from:
claude/issue-35526-aggregate-disabled-package@f26f20f54edbe76ba0063f7d6afeb8cd4b737b6bobjectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Ruling: option 0 · the maintainer (Steedos) chose on a decision card in the seat thread, after an isolated Fable analysis
2026-11-22T09:47Z card 「决定系统身份做统计时,是否也拒绝已停用应用包的数据(#35526)」 → 「系统身份也一律拒绝」.
What the ruling binds (the system-caller half of this card):
callDatais refused like a member on a disabled package's data, on BOTH checks: the addressed object, and the relation target of a condition (theexposureGated = !isSystemshort-circuit no longer skips the disabled-package question; the exposure question for system callers is not changed by this ruling).protocol-query-validation.ts, pinned by the metadata-protocol: $expand and a relation condition serve a disabled package's records through an enabled object's lookup, while the data route answers 404 OBJECT_PACKAGE_DISABLED #35427 test) and what fix(service-analytics)!: refuse an object of a disabled package with the data route's 404 OBJECT_PACKAGE_DISABLED #36319 does for analytics. Measured by the analysis: no in-repo production door handscallDataa system context (HTTP/dataand/mcpresolve a request scope;ctx.apinever passescallData), so the in-repo cost set is empty. Host-supplied contexts (HttpDispatcher.handleMcp/buildMcpBridge,dispatchAction) are the population that changes.Execution: the system half rides #36393 (already the follow-up of this card, blocked by #36337), in the same change as its multi-hop descent, so that every hop and both callers are pinned together. Its PR declares
Clause-②: yes (narrowing)and gets a narrowing-face L2 at the contract-review tier. This card stays open until #36337 and #36393 both merge.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Release: seat 7 clocks out 2026-11-23T04:00Z on the maintainer's word (Steedos 2026-11-23T03:54Z, 「你可以走下班流程了」). The member-caller half landed as PR #36337. The system-caller half, ruled 「系统身份也一律拒绝」 (2026-11-22T09:47Z, comment 7077381587), rides follow-up #36393 together with its multi-hop descent; nothing is to be built on this card itself. Next: whoever claims #36393 builds both halves there, under
Clause-②: yes (narrowing)with a narrowing-face L2 at the contract-review tier, and closes this card when #36393 merges. The branchclaude/issue-35526-aggregate-disabled-packageis merged history only.Resume-from: none
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.