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
mcp stdio bridge: a system principal, and any caller on a host with no protocol service, is still served a disabled package's data (callData refuses both since #36687) #36689
area:packagebugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
① product defect · Source: fleet. Found by the contract review 7100010264 on PR #36687 (note N2), the change for #36393 + #35526. Filed by seat objectstack#1. Related: #35526, #36393.
What happens (read, not measured)
After #36687, callData refuses a disabled package's object to every caller, including a system context, with 404 OBJECT_PACKAGE_DISABLED. It does this both when the object is addressed and when it is a relation target at any hop. That is the maintainer's ruling on #35526 (comment 7077381587, 「系统身份也一律拒绝」).
The ruling's words name callData only. The stdio data bridge (packages/mcp/src/stdio-data-bridge.ts) is a second published door, with its own hosts, and it still differs in two ways:
System principal. For a system context, enforceApiExposure returns before its by-name read. So the bridge asks neither the disabled-package question nor the exposure question at any hop. A system principal on stdio is still served a disabled package's data.
No-protocol host. On a host with no protocol service, the bridge's fallback still serves a disabled package's object when it is addressed directly.
The system-context page content/docs/permissions/system-context.mdx, row 15, says only that the bridge skips the exposure gate. It does not say that it also skips the disabled-package question.
To decide
Should the stdio bridge match callData: a disabled package is off the data plane for every caller, as the protocol already answers? The review expects that to be the answer, by the same reasoning as the ruling, but nobody has ruled on this door. This card is the place for that decision.
To do once decided
Measure both items on main: a system principal over stdio, and a directly addressed object on a no-protocol host.
If the answer is to match: ask the disabled-package question for a system principal at every hop, refuse the addressed object on a no-protocol host, and pin both with real disable-then-re-enable controls.
Correct row 15 of the system-context page either way.
Grade (suggested)
area:package · Bug · p2: a disabled package's data stays readable to a system principal or a no-protocol host over stdio. The population is narrower than #35526's, because it needs host-supplied system contexts or a host without the protocol service. The grade is the maintainer's to confirm.
Triage: lands in area:package · domain:server · priority:p2 · Bug · pm:queue.
Rationale: after #36687, callData refuses a disabled package's objects to every caller (the maintainer's ruling on #35526, 「系统身份也一律拒绝」). The stdio data bridge, a second published door, still serves them in two cases: to a system principal, and to any caller on a host with no protocol service. The reach is narrower than #35526, because it needs a host that supplies system contexts or has no protocol service, and the finding is read from source, not measured. That makes it p2. It belongs with topic #36229 (停用包). The ruling's wording names callData only; extending it to this door follows the ruling's intent, and the seat flags it for the maintainer's confirmation.
Ruling: #36689 · letter A · maintainer 「是,和 callData 一致」 2026-11-27T07:52Z
The maintainer (os-tesla, in the os-tesla fleet project's seat thread for repo:objectstack#3) answered a decision card the seat put to him. Question, as the card read: 「停用的软件包,MCP 本地数据通道也对系统身份一律拒绝吗?(#36689)」. Options: A 「是,和 callData 一致」 (the stdio bridge refuses a disabled package's data to every caller, a system principal and a no-protocol host included); B 「不,保持现状」 (keep the exception, document it, close). He chose A.
What this settles, for the implementing dev and L1/L2: the stdio data bridge (packages/mcp/src/stdio-data-bridge.ts) matches callData after #36687 and the ruling on #35526 (「系统身份也一律拒绝」): a disabled package is off the data plane for every caller, at every hop, on hosts with and without a protocol service. Steps 1–3 of "To do once decided" in the body stand as written; content/docs/permissions/system-context.mdx row 15 is corrected in the same PR. File and line references in the body are the filer's reading, unverified by the seat at this ruling.
Routing: this card stays in seat repo:objectstack#3's zone o3-package (area:package p2). The work is a runtime permission boundary (a human-floor security/permission class, not Clause ②), so its L2 review runs at the contract-review tier.
Claim: PM loop round 1
Session: session_01L9qibyUSf2nKJWW6qBemSU
Thread session: session_01L9qibxx9WD159zmJcNBhRz
Account: os-tesla
Branch: claude/project-thread-kl0ger
Worktree: objectstack-issue-36689
Domain: server
Seat: repo:objectstack#3
File surface: packages/mcp/src/stdio-data-bridge.ts, packages/mcp/src/plugin.ts, its packages/mcp/src/stdio-data-bridge*.test.ts files, content/docs/permissions/system-context.mdx (row 15 and the generated register via check-system-context-census.mjs --write), one changeset (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high
Clause-②: no (narrowing)
Metadata-protocol: none
Responsibility: runtime data door of the MCP stdio bridge: a disabled package is refused to every caller, system included, at the addressed object and every relation hop, and on a no-protocol host (maintainer ruling A, comment 7212906605)
Thread-read: 7212906605
Premise: ruling A 7212906605; the isolated contract-review-tier review (o3-package-w0-fable-review.md item 5) read the defect at stdio-data-bridge.ts:917 and :583-590 on origin/main e69fa46; neither half measured yet, so the dev measures both before and after
Serial constraints cleared: overlap-check.mjs runs on the thread's first push (branch not yet pushed); no in-flight claim on these files named by any seat
Notes carried verbatim from the review: merged-object-reads.test.ts:317-328 flips on purpose; exposure.test.ts:335-357 stays green only if the fix reads SchemaRegistry#isObjectPackageDisabled as callData does; relation-condition-target-exposure.test.ts:240-244 stays; the system-principal half is hardening with no live producer, the no-protocol half is reachable. L2 at the contract-review tier (narrowing + runtime permission boundary).
{
"issue": 36689,
"status": "done",
"branch": "claude/project-thread-kl0ger",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37900",
"session": "session_01L9qibxx9WD159zmJcNBhRz",
"premise_still_valid": true,
"summary": "Head a8b989b7 (R1 of 7c110d9f). enforceApiExposure asks the engine registry's isObjectPackageDisabled (registryObjectPackageDisabled, callData's predicate) of every caller before the isSystem return, at the addressed object on all verbs and at every relation hop (param = position), so a system context and a host with no protocol service are refused 404 OBJECT_PACKAGE_DISABLED; plugin.ts's record-resource gate gets the same predicate. R1: stdioExpandMap withholds a disabled package's expansion target on every host (M1), and the relation walk reads the engine registry's field map first (S1). system-context.mdx row 15 corrected (census unchanged); patch changeset on @objectstack/mcp, Clause-②: no (narrowing), Metadata-protocol: none, adr-0087 not-required (no-migration-prescription). N1 left out, filed by the seat as #37904.",
"tests": "New real-engine file (ObjectQL + in-memory SQLite, real disablePackage/enablePackage): 52 cases. Base 7ad103a6 bridge+plugin restored over the first-head tests: 29 failed / 9 passed (38): system context served on both hosts (an update really wrote: row read back 'renamed'), member served on the no-protocol host, protocol-host member already refused (hops lacked param only). First head 7c110d9f bridge restored over the R1 tests: 10 failed / 42 passed (52), exactly the M1 no-protocol expand cells and the 8 S1 no-copy hop cells. At a8b989b7: 52/52. Review's three pins: merged-object-reads record-resource pin flipped with a re-enable control; exposure.test 'bypasses for a system context' and relation-condition-target 'CONTROL a system context is not asked the exposure question' unchanged and green. @objectstack/mcp test at a8b989b7: 88 files, 1641 passed; typecheck exit 0 (check:test-typecheck OK, 6 files / 53 errors / 8 signatures unchanged). Reverse verification was a source restore of the committed fix files (tests import the bridge from source), not a dist ablation.",
"gates": "At a8b989b7: dispatch-gates --commands 101 derived (same set as 7c110d9f); all 101 run with exit codes, all exit 0; --ran: 101 run, 0 NOT-MEASURED (derived zero), 0 UNRUN. check:type-check-debt first queued out behind dogfood (exit 3), re-run under the lock: exit 0. check-plugin-teardown-shape --self-test needed fixture commit 621a4876 fetched: exit 0. CI check-runs on a8b989b7: in_progress at report time (the seat reads them).",
"dogfood_battery": "a8b989b7 · os-verify-lock: VERDICT command-exit 0 (held 2743s) · Test Files 490 passed | 3 skipped (493) · Tests 4144 passed | 68 skipped (4212) · no failure",
"mcp_calls": "MCP GitHub reads only: issue_read x2, pull_request_read x4 (get, get_check_runs, get, get_comments); no write tool",
"api_writes": "3 relay strokes + 2 post-stamped: git push (not REST) x6; relay pr_create #37900 (assignee os-tesla); relay issue_patch #37900 body (R1); post-stamped comment on PR #37900 (R1 delta); post-stamped comment on #36689 (this report)",
"open_questions": [],
"security_findings": "withheld",
"out_of_scope_findings": ["class: nit (schema, not data) · list_objects / describe_object on a no-protocol host list a disabled package's objects from the metadata service · carrier: #37904 (filed by the seat)", "noted, not filed: callData's no-protocol fallback refuses expand with 501 while this door withholds the target; both keep the disabled package's record out, the shapes differ by door"]
}
Landed · 2026-11-27T11:31Z · PR #37900 merged 2026-11-27T11:22Z (approved by os-zhuang, through the merge queue). pm:dispatched comes off the closed card. N1 follow-up: #37904.
area:packagebugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
area:package·domain:server·priority:p2· Bug ·pm:queue.Rationale: after #36687,
callDatarefuses a disabled package's objects to every caller (the maintainer's ruling on #35526, 「系统身份也一律拒绝」). The stdio data bridge, a second published door, still serves them in two cases: to a system principal, and to any caller on a host with no protocol service. The reach is narrower than #35526, because it needs a host that supplies system contexts or has no protocol service, and the finding is read from source, not measured. That makes it p2. It belongs with topic #36229 (停用包). The ruling's wording namescallDataonly; extending it to this door follows the ruling's intent, and the seat flags it for the maintainer's confirmation.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Ruling: #36689 · letter A · maintainer 「是,和 callData 一致」 2026-11-27T07:52Z
The maintainer (os-tesla, in the os-tesla fleet project's seat thread for repo:objectstack#3) answered a decision card the seat put to him. Question, as the card read: 「停用的软件包,MCP 本地数据通道也对系统身份一律拒绝吗?(#36689)」. Options: A 「是,和 callData 一致」 (the stdio bridge refuses a disabled package's data to every caller, a system principal and a no-protocol host included); B 「不,保持现状」 (keep the exception, document it, close). He chose A.
What this settles, for the implementing dev and L1/L2: the stdio data bridge (
packages/mcp/src/stdio-data-bridge.ts) matchescallDataafter #36687 and the ruling on #35526 (「系统身份也一律拒绝」): a disabled package is off the data plane for every caller, at every hop, on hosts with and without aprotocolservice. Steps 1–3 of "To do once decided" in the body stand as written;content/docs/permissions/system-context.mdxrow 15 is corrected in the same PR. File and line references in the body are the filer's reading, unverified by the seat at this ruling.Routing: this card stays in seat repo:objectstack#3's zone
o3-package(area:package p2). The work is a runtime permission boundary (a human-floor security/permission class, not Clause ②), so its L2 review runs at the contract-review tier.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibxx9WD159zmJcNBhRzAccount:
os-teslaBranch:
claude/project-thread-kl0gerWorktree:
objectstack-issue-36689Domain:
serverSeat:
repo:objectstack#3File surface:
packages/mcp/src/stdio-data-bridge.ts,packages/mcp/src/plugin.ts, itspackages/mcp/src/stdio-data-bridge*.test.tsfiles,content/docs/permissions/system-context.mdx(row 15 and the generated register viacheck-system-context-census.mjs --write), one changeset (stop on breach; explain in the report)Container & model:
M,mode:thread,model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate",effort: highClause-②: no (narrowing)
Metadata-protocol: none
Responsibility: runtime data door of the MCP stdio bridge: a disabled package is refused to every caller, system included, at the addressed object and every relation hop, and on a no-protocol host (maintainer ruling A, comment 7212906605)
Thread-read: 7212906605
Premise: ruling A 7212906605; the isolated contract-review-tier review (o3-package-w0-fable-review.md item 5) read the defect at stdio-data-bridge.ts:917 and :583-590 on origin/main e69fa46; neither half measured yet, so the dev measures both before and after
Serial constraints cleared:
overlap-check.mjs runs on the thread's first push (branch not yet pushed); no in-flight claim on these files named by any seatNotes carried verbatim from the review: merged-object-reads.test.ts:317-328 flips on purpose; exposure.test.ts:335-357 stays green only if the fix reads SchemaRegistry#isObjectPackageDisabled as callData does; relation-condition-target-exposure.test.ts:240-244 stays; the system-principal half is hardening with no live producer, the no-protocol half is reachable. L2 at the contract-review tier (narrowing + runtime permission boundary).
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibxx9WD159zmJcNBhRz
os-dev-report
{ "issue": 36689, "status": "done", "branch": "claude/project-thread-kl0ger", "pr": "https://github.com/objectstack-ai/objectstack/pull/37900", "session": "session_01L9qibxx9WD159zmJcNBhRz", "premise_still_valid": true, "summary": "Head a8b989b7 (R1 of 7c110d9f). enforceApiExposure asks the engine registry's isObjectPackageDisabled (registryObjectPackageDisabled, callData's predicate) of every caller before the isSystem return, at the addressed object on all verbs and at every relation hop (param = position), so a system context and a host with no protocol service are refused 404 OBJECT_PACKAGE_DISABLED; plugin.ts's record-resource gate gets the same predicate. R1: stdioExpandMap withholds a disabled package's expansion target on every host (M1), and the relation walk reads the engine registry's field map first (S1). system-context.mdx row 15 corrected (census unchanged); patch changeset on @objectstack/mcp, Clause-②: no (narrowing), Metadata-protocol: none, adr-0087 not-required (no-migration-prescription). N1 left out, filed by the seat as #37904.", "tests": "New real-engine file (ObjectQL + in-memory SQLite, real disablePackage/enablePackage): 52 cases. Base 7ad103a6 bridge+plugin restored over the first-head tests: 29 failed / 9 passed (38): system context served on both hosts (an update really wrote: row read back 'renamed'), member served on the no-protocol host, protocol-host member already refused (hops lacked param only). First head 7c110d9f bridge restored over the R1 tests: 10 failed / 42 passed (52), exactly the M1 no-protocol expand cells and the 8 S1 no-copy hop cells. At a8b989b7: 52/52. Review's three pins: merged-object-reads record-resource pin flipped with a re-enable control; exposure.test 'bypasses for a system context' and relation-condition-target 'CONTROL a system context is not asked the exposure question' unchanged and green. @objectstack/mcp test at a8b989b7: 88 files, 1641 passed; typecheck exit 0 (check:test-typecheck OK, 6 files / 53 errors / 8 signatures unchanged). Reverse verification was a source restore of the committed fix files (tests import the bridge from source), not a dist ablation.", "gates": "At a8b989b7: dispatch-gates --commands 101 derived (same set as 7c110d9f); all 101 run with exit codes, all exit 0; --ran: 101 run, 0 NOT-MEASURED (derived zero), 0 UNRUN. check:type-check-debt first queued out behind dogfood (exit 3), re-run under the lock: exit 0. check-plugin-teardown-shape --self-test needed fixture commit 621a4876 fetched: exit 0. CI check-runs on a8b989b7: in_progress at report time (the seat reads them).", "dogfood_battery": "a8b989b7 · os-verify-lock: VERDICT command-exit 0 (held 2743s) · Test Files 490 passed | 3 skipped (493) · Tests 4144 passed | 68 skipped (4212) · no failure", "mcp_calls": "MCP GitHub reads only: issue_read x2, pull_request_read x4 (get, get_check_runs, get, get_comments); no write tool", "api_writes": "3 relay strokes + 2 post-stamped: git push (not REST) x6; relay pr_create #37900 (assignee os-tesla); relay issue_patch #37900 body (R1); post-stamped comment on PR #37900 (R1 delta); post-stamped comment on #36689 (this report)", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": ["class: nit (schema, not data) · list_objects / describe_object on a no-protocol host list a disabled package's objects from the metadata service · carrier: #37904 (filed by the seat)", "noted, not filed: callData's no-protocol fallback refuses expand with 501 while this door withholds the target; both keep the disabled package's record out, the shapes differ by door"] }objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Landed · 2026-11-27T11:31Z · PR #37900 merged 2026-11-27T11:22Z (approved by os-zhuang, through the merge queue).
pm:dispatchedcomes off the closed card. N1 follow-up: #37904.