Skip to content

platformSystemApi on the api ObjectRepository.execute hands a dispatched action sheds the 'action' mark #35434

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6Ca1jJvsA1dHsPwMiQb

Area: data-1 · follow-up of #35174 (PR #35383, contract review 7003367719 S2)

维护者速读

  • 问题: 动作处理器再去调用另一个动作时,被调用的那个动作拿到的接口不带「动作」标记;它若经「平台自用系统接口」写成员、岗位、权限集分配或邀请,不会像权限文档说的那样被拒。
  • 要做: 让这条调用路径交出的接口也保留标记,或把那个函数改成只对平台钩子的接口去掉标记。
  • 不做会怎样: 权限文档已注明这条路径「不覆盖」;宿主代码本来就持有引擎,所以不是新的越权,只是文档承诺的拒绝少了一条路。
  • 你要做的: 无。

What

ObjectRepository.execute (packages/objectql/src/engine-object-repository.ts, ObjectRepositoryFacet.execute) dispatches the named action with api: new ScopedContext(executionContext, this.engine), over a context it marks 'action'. That api is not app-authored, and runtime's buildActionApi does not build it, so it carries neither the engine's app-authored flag nor the action door's origin flag (the runtime provenance layer from PR #35383). In the dispatched handler, platformSystemApi(ctx.api) therefore returns a system api with neither the mark nor flowRunId, and its writes to sys_member, sys_user_position, sys_user_permission_set and sys_invitation pass as platform writes.

Reach: from an action door's handler, ctx.api.object(o).execute(other) dispatches another host handler with that api. Row 1b of content/docs/permissions/system-context.mdx and the platform-system-api.ts header name this api as not covered (PR #35383). There is no reach gain, since the handler already holds the engine.

Seam: objectql engine-object-repository.ts execute builds the api. Consumers: platformSystemApi (objectql) and the identity-assignment refusal (plugin-security).

Routes to decide

  • A. execute hands the dispatched action a derivation of the calling api instead of a fresh ScopedContext. The repository holds only a context, so the api has to be threaded into ObjectRepository.
  • B. An engine-side origin flag on ScopedContext, copied by derive and set by execute. engine.ts is at 6852 lines against a facade ceiling of 6854 (check:facade-delegation-only, ruling 6897467376), so the field and its accessors would have to live in a facet module (e.g. a WeakSet keyed by instance). Otherwise the ceiling needs a maintainer ruling.
  • C. Narrow platformSystemApi itself so it sheds the mark only on an api the engine marks as the platform hook api (buildHookApi), inverting the flag's polarity. This also covers any future bare createContext api handed to app automation.

Done when

platformSystemApi(ctx.api) inside an action dispatched by execute keeps the 'action' mark, pinned by an integration test with an ablation. Row 1b and the header drop their "not covered" clause.

Dedupe words: platformSystemApi, ObjectRepository.execute, action mark, execute api, actionDoorOrigin

Grade: area:data · Bug · reach: host action handler chaining another action (no repo caller today) · evidence: read (L2 7003367719 S2) → p2.

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:server
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:data · Bug · Impeded (a nested action call loses the action mark, so the documented refusal misses one path) · developers only, not a new escalation (host code already holds the engine) → p2 as set.

  3. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim: PM loop round 1
    Session: session_01L9qibwJEh7hMPPvagWM1g7
    Account: os-tesla
    Branch: claude/issue-35434-execute-keeps-action-mark
    Worktree: objectstack-issue-35434
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: d7-B
    File surface: packages/objectql/src/engine-object-repository.ts, packages/objectql/src/platform-system-api.ts (header clause), packages/objectql/src/engine-scoped-context.ts only if route A needs it, a facet module only under route B, content/docs/permissions/system-context.mdx row 1b, a new integration test named for 35434, one changeset under .changeset/ (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack platform: packages/objectql/src/engine-object-repository.ts execute hands the dispatched action a fresh ScopedContext with no action mark | none (row 1b of system-context.mdx documents the gap) | host action handlers that chain another action through ctx.api.object(o).execute (no repo caller today)
    Thread-read: 7005684330
    Premise: holds (origin/main cf6bb70: engine-object-repository.ts:147 api: new ScopedContext(executionContext, this.engine); the dev re-measures before code)
    Serial constraints cleared: #35541 (seat 5, card #35149) is open and touches packages/objectql/src/engine-scoped-context.ts; this card touches that file only if route A needs it, and then overlap-check before each push queues behind #35541 on a real textual conflict; no other open PR touches the named files (scan 2026-11-19T15:41Z)
    Pre-claim lane: repo:objectstack seat 7 area d7-B (path root packages/objectql write path + action dispatch); files are domain:server
    Pre-claim deps: no Blocked-by:; predecessor #35174 closed, its PR #35383 merged (467b13b)
    Prior rulings read: check-prior-rulings --card 35434 → 4 surface hit lines (engine-object-repository.ts:28 ruling 6591753301 on the import shape; platform-system-api.ts ⛔ lines 17/35/68: sudo() never sheds the mark, platform rows only, symbol not re-exported), none answers the route; ADR keyword hits (ADR-0081 §2, ADR-0121 D5, ADR-0151 D3, ADR-0154 D5, ADR-0005 §3, ADR-0006 §2, ADR-0018 §1 §2) do not answer this card's question; facade ceiling ruling 6897467376 (check:facade-delegation-only) binds route B

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
      "issue": 35434,
      "status": "done",
      "branch": "claude/issue-35434-execute-keeps-action-mark",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35733",
      "head": "532c6f3de",
      "session": "session_01L9qibwJEh7hMPPvagWM1g7",
      "premise_still_valid": true,
      "summary": "Route B. ObjectRepositoryFacet.execute flags the api it hands the dispatched action with a module-local WeakSet in engine-object-repository.ts (markDispatchedActionApi / isDispatchedActionApi, not re-exported). ScopedContextFacet.derive copies the flag, and the platformSystemApi facet body answers a flagged api with its own sudo(), so the 'action' mark and flowRunId stay. engine.ts is untouched, so the facade ceiling holds. Route A was measured as infeasible: ObjectRepository's constructor is exported from both entries, so it would change a published signature (Clause-2 flip). It would also miss the reach path: runtime's action-door layer passes repositories through unchanged, so objectql only sees the inner ScopedContext, which carries neither flag. The platform-system-api.ts header and docs row 1b each drop only the not-covered clause. Premise measured red first: at a7af7193, 9 of 11 failed with 'insert ... through direct was not refused' and owner_id null.",
      "tests": "New packages/runtime/src/execute-dispatched-action-platform-system-api-35434.integration.test.ts (real ObjectQL + SqlDriver + SecurityPlugin; four identity-assignment objects x two dispatch origins (action door api, bare engine api) x routes direct/sudo()/transaction, assertions code PERMISSION_DENIED + status 403 + message first clause; owner stamp; CONTROL audit-writer hook api still sheds; CONTROL permanent delete still runs). Pre-fix a7af7193: Tests 9 failed | 2 passed (11). Post-fix at 532c6f3de (merged main): this file + action-door-platform-system-api.integration.test.ts: Test Files 2 passed (2), Tests 21 passed (21); pnpm --filter @objectstack/objectql test: Test Files 616 passed (616), Tests 13907 passed (13907) (lock VERDICT command-exit 0); objectql + runtime typecheck exit 0, check:test-typecheck OK on both. Ablation 1 (execute stops flagging): ablation-replace anchor 1->0, objectql rebuilt, dist-preflight marker present in 4 built files, Tests 9 failed | 2 passed (11); restore blob == HEAD cdce79d71f4c, git diff HEAD empty, rebuilt, --absent clean, Tests 11 passed (11). Ablation 2 (derive stops copying): landed, present in 4 built files, Tests 8 failed | 3 passed (11) (sudo/transaction routes red); restore blob == HEAD e68fc14850fa, --absent clean, Tests 11 passed (11). test:repo not run locally (declared to CI).",
      "gates": "Local: dispatch-gates --commands at 532c6f3de derived 95 families; all 95 run, exit captured before any pipe; --ran reconciliation: '95 derived, 94 run, 1 NOT-MEASURED, 0 UNRUN' (exit codes recorded). NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test, exit 3, reason: shallow clone cannot reach its pinned positive-control commit (needs --unshallow); CI runs it. All other 94 exit 0, including check:system-context-census, check:doc-anchors, check:nul-bytes, check:engine-double-contract, check:dual-build-cjs-loads, check:durability-log-level. overlap-check before each push and before pr_create: VERDICT clean exit 0 (origin/main a3a74f2702, #34817 merges cleanly; #35541 merged as 5cd2b540 and was merged into this branch). CI at 532c6f3de when reported: Check Changeset, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI release & engine, scoped x3), Type Check (workspace, source, consumer, debt ledger), Spec property liveness, PR-body guards = in_progress; opt-in/queue jobs skipped. Not waited on.",
      "dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no without a (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes (POST /repos/objectstack-ai/objectstack/dispatches x2), executed as: POST /repos/objectstack-ai/objectstack/pulls (draft #35733) + POST /repos/objectstack-ai/objectstack/issues/35733/assignees (os-tesla); POST /repos/objectstack-ai/objectstack/issues/35434/comments (os-dev-report). Plus git push (not REST).",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched; diff 6 files, +283/-14 at 532c6f3de vs merge base",
      "files_changed": [
        ".changeset/35434-execute-dispatched-action-keeps-mark.md",
        "content/docs/permissions/system-context.mdx",
        "packages/objectql/src/engine-object-repository.ts",
        "packages/objectql/src/engine-scoped-context.ts",
        "packages/objectql/src/platform-system-api.ts",
        "packages/runtime/src/execute-dispatched-action-platform-system-api-35434.integration.test.ts"
      ],
      "deviations": [
        "engine-scoped-context.ts is touched under route B, though the claim lists it as 'only if route A needs it'. derive and the platformSystemApi facet body both live there, so the route the dispatch suggests cannot avoid it. #35541 has merged and overlap-check is clean.",
        "PR body order: attribution lines first, then Fixes / Clause-② / Metadata-protocol, then 维护者速读. This follows os-dev.md, which puts the declaration lines before the 速读. The dispatch listed 速读 before the declarations.",
        "The first local gate sweep overlapped a second one. Readings are the last entry per command, taken from the run started at 532c6f3de."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat (PM) · The pending unreleased changeset .changeset/35174-action-api-platform-system-api-mark.md still says the execute path is not covered. It is outside this card's file surface, so it is noted and not edited. Correcting it is a DELIBERATE CORRECTION to an existing changeset, which is the seat's call. Dedupe words: platformSystemApi, not covered, ObjectRepository.execute, changeset 35174",
        "carrier: none · noted, not filed · The header ('two of the apis') and row 1b enumerations still name only two apis. The fence allowed dropping only the not-covered clause, and the third api is documented at the flag."
      ]
    }
  6. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Progress · 2026-11-20T04:06Z

    The dev was cut off by a usage limit at ~2026-11-19T17:08Z after its fix commit (local head 532c6f3 on claude/issue-35434-execute-keeps-action-mark), before the PR. Resumed 04:02Z on the same claim and branch; next: overlap-check, then a draft PR.

  7. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
      "issue": 35434,
      "status": "done",
      "branch": "claude/issue-35434-execute-keeps-action-mark",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35733",
      "head": "186bbc489c",
      "session": "session_01L9qibwJEh7hMPPvagWM1g7",
      "premise_still_valid": true,
      "summary": "Route B. ObjectRepositoryFacet.execute flags the api it hands the dispatched action with a module-local WeakSet in engine-object-repository.ts (markDispatchedActionApi / isDispatchedActionApi, not re-exported). ScopedContextFacet.derive copies the flag, and the platformSystemApi facet body answers a flagged api with its own sudo(), so the 'action' mark and flowRunId stay. engine.ts is untouched, so the facade ceiling holds. Route A was measured as infeasible: ObjectRepository's constructor is exported from both entries, so it would change a published signature (Clause-2 flip). It would also miss the reach path: runtime's action-door layer passes repositories through unchanged, so objectql only sees the inner ScopedContext, which carries neither flag. The platform-system-api.ts header and docs row 1b each drop only the not-covered clause. Premise measured red first: at a7af7193, 9 of 11 failed with 'insert ... through direct was not refused' and owner_id null. Fix round (seat amendment): the pending changeset .changeset/35174-action-api-platform-system-api-mark.md loses only its 'Not covered: ... execute ...' bullet, in one commit 186bbc489c; nothing else in that note changed.",
      "tests": "New packages/runtime/src/execute-dispatched-action-platform-system-api-35434.integration.test.ts (real ObjectQL + SqlDriver + SecurityPlugin; four identity-assignment objects x two dispatch origins (action door api, bare engine api) x routes direct/sudo()/transaction, assertions code PERMISSION_DENIED + status 403 + message first clause; owner stamp; CONTROL audit-writer hook api still sheds; CONTROL permanent delete still runs). Pre-fix a7af7193: Tests 9 failed | 2 passed (11). Post-fix at 532c6f3de (merged main): this file + action-door-platform-system-api.integration.test.ts: Test Files 2 passed (2), Tests 21 passed (21); pnpm --filter @objectstack/objectql test: Test Files 616 passed (616), Tests 13907 passed (13907) (lock VERDICT command-exit 0); objectql + runtime typecheck exit 0, check:test-typecheck OK on both. Ablation 1 (execute stops flagging): ablation-replace anchor 1->0, objectql rebuilt, dist-preflight marker present in 4 built files, Tests 9 failed | 2 passed (11); restore blob == HEAD cdce79d71f4c, git diff HEAD empty, rebuilt, --absent clean, Tests 11 passed (11). Ablation 2 (derive stops copying): landed, present in 4 built files, Tests 8 failed | 3 passed (11) (sudo/transaction routes red); restore blob == HEAD e68fc14850fa, --absent clean, Tests 11 passed (11). test:repo not run locally (declared to CI).",
      "gates": "Local: dispatch-gates --commands at 532c6f3de derived 95 families; all 95 run, exit captured before any pipe; --ran reconciliation: '95 derived, 94 run, 1 NOT-MEASURED, 0 UNRUN' (exit codes recorded). NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test, exit 3, reason: shallow clone cannot reach its pinned positive-control commit (needs --unshallow); CI runs it. All other 94 exit 0, including check:system-context-census, check:doc-anchors, check:nul-bytes, check:engine-double-contract, check:dual-build-cjs-loads, check:durability-log-level. overlap-check before each push and before pr_create: VERDICT clean exit 0 (origin/main a3a74f2702, #34817 merges cleanly; #35541 merged as 5cd2b540 and was merged into this branch). CI at 532c6f3de when reported: Check Changeset, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI release & engine, scoped x3), Type Check (workspace, source, consumer, debt ledger), Spec property liveness, PR-body guards = in_progress; opt-in/queue jobs skipped. Not waited on. Fix round at 186bbc489c: derived list unchanged (95 families, same set as 532c6f3de; the earlier sweep stands for the unchanged files). Changeset families re-run: check-empty-changeset --base origin/main :: exit 1 (expected, the DELIBERATE CORRECTION refusal on the M row for the 35174 note; it stays red by design and is confirmed by the seat's record, not by a maintainer); check-changeset-no-major :: exit 0; check-adr-0087-registration :: exit 0; check:nul-bytes :: exit 0. CI Check Changeset will be red for the same reason; it is not a required context. overlap-check before the push: VERDICT overlap exit 1. Its only conflict is #35129 'chore: version packages' (github-actions[bot], changeset-release/main), which removes all 197 pending changesets, this note included. Any edit to a pending note conflicts with that standing PR. It is regenerated from main by release.yml, so nothing queues behind it. origin/main and #34817 merge cleanly. Pushed after reporting this here.",
      "dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no without a (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 relay strokes (POST /repos/objectstack-ai/objectstack/dispatches x3), executed as: POST /repos/objectstack-ai/objectstack/pulls (draft #35733) + POST /repos/objectstack-ai/objectstack/issues/35733/assignees (os-tesla); POST /repos/objectstack-ai/objectstack/issues/35434/comments x2 (os-dev-report 7030088033, and this fix-round report). Plus git push x2 (not REST).",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched; diff 7 files at 186bbc489c vs merge base (+283/-15)",
      "files_changed": [
        ".changeset/35434-execute-dispatched-action-keeps-mark.md",
        ".changeset/35174-action-api-platform-system-api-mark.md",
        "content/docs/permissions/system-context.mdx",
        "packages/objectql/src/engine-object-repository.ts",
        "packages/objectql/src/engine-scoped-context.ts",
        "packages/objectql/src/platform-system-api.ts",
        "packages/runtime/src/execute-dispatched-action-platform-system-api-35434.integration.test.ts"
      ],
      "deviations": [
        "engine-scoped-context.ts is touched under route B, though the claim lists it as 'only if route A needs it'. derive and the platformSystemApi facet body both live there, so the route the dispatch suggests cannot avoid it. #35541 has merged and overlap-check is clean.",
        "PR body order: attribution lines first, then Fixes / Clause-② / Metadata-protocol, then 维护者速读. This follows os-dev.md, which puts the declaration lines before the 速读. The dispatch listed 速读 before the declarations.",
        "The first local gate sweep overlapped a second one. Readings are the last entry per command, taken from the run started at 532c6f3de.",
        "File surface amended by the seat: coordinator message 'Seat decision on your out-of-scope note: correct it in this PR' added .changeset/35174-action-api-platform-system-api-mark.md. Only the 'Not covered' bullet was dropped.",
        "The PR body is not edited by this dev; the PR body is written by pr_create only, and later body edits are the seat's. The seat still has to add the DELIBERATE CORRECTION declaration that Check Changeset asks for, as proposed text: 'DELIBERATE CORRECTION: .changeset/35174-action-api-platform-system-api-mark.md (pending, @objectstack/runtime patch) drops the bullet \"Not covered: the api `ctx.api.object(o).execute(name)` hands the action it dispatches is built by the engine, not the action door, so `platformSystemApi` still takes the mark off there.\" This PR closes that path; no other sentence of the note changed.'"
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed · The header ('two of the apis') and row 1b enumerations still name only two apis. The fence allowed dropping only the not-covered clause, and the third api is documented at the flag."
      ]
    }
  8. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
      "issue": 35434,
      "status": "done",
      "branch": "claude/issue-35434-execute-keeps-action-mark",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35733",
      "head": "0a28c28109",
      "session": "session_01L9qibwJEh7hMPPvagWM1g7",
      "premise_still_valid": true,
      "summary": "Route B. ObjectRepositoryFacet.execute flags the api it hands the dispatched action with a module-local WeakSet in engine-object-repository.ts (markDispatchedActionApi / isDispatchedActionApi, not re-exported). ScopedContextFacet.derive copies the flag, and the platformSystemApi facet body answers a flagged api with its own sudo(), so the 'action' mark and flowRunId stay. engine.ts is untouched, so the facade ceiling holds. Route A was measured as infeasible: ObjectRepository's constructor is exported from both entries, so it would change a published signature (Clause-2 flip). It would also miss the reach path: runtime's action-door layer passes repositories through unchanged, so objectql only sees the inner ScopedContext, which carries neither flag. The platform-system-api.ts header and docs row 1b each drop only the not-covered clause. Premise measured red first: at a7af7193, 9 of 11 failed with 'insert ... through direct was not refused' and owner_id null. Fix round (seat amendment): the pending changeset .changeset/35174-action-api-platform-system-api-mark.md loses only its 'Not covered: ... execute ...' bullet, in one commit 186bbc489c; nothing else in that note changed. Fix round 2 (contract review 7030697220, PASS with S1/S2), one prose-only commit 0a28c28109. S1: the last bullet of the 35434 changeset now stands alone: 'This is the path the action-door fix in this release did not reach.' S2: the platform-system-api.ts header ('three of the apis ... derived from any of them', plus a third bullet for the api ObjectRepository.execute hands a dispatched action and what derive copies from it) and docs row 1b now name the dispatched action's api. No code change.",
      "tests": "New packages/runtime/src/execute-dispatched-action-platform-system-api-35434.integration.test.ts (real ObjectQL + SqlDriver + SecurityPlugin; four identity-assignment objects x two dispatch origins (action door api, bare engine api) x routes direct/sudo()/transaction, assertions code PERMISSION_DENIED + status 403 + message first clause; owner stamp; CONTROL audit-writer hook api still sheds; CONTROL permanent delete still runs). Pre-fix a7af7193: Tests 9 failed | 2 passed (11). Post-fix at 532c6f3de (merged main): this file + action-door-platform-system-api.integration.test.ts: Test Files 2 passed (2), Tests 21 passed (21); pnpm --filter @objectstack/objectql test: Test Files 616 passed (616), Tests 13907 passed (13907) (lock VERDICT command-exit 0); objectql + runtime typecheck exit 0, check:test-typecheck OK on both. Ablation 1 (execute stops flagging): ablation-replace anchor 1->0, objectql rebuilt, dist-preflight marker present in 4 built files, Tests 9 failed | 2 passed (11); restore blob == HEAD cdce79d71f4c, git diff HEAD empty, rebuilt, --absent clean, Tests 11 passed (11). Ablation 2 (derive stops copying): landed, present in 4 built files, Tests 8 failed | 3 passed (11) (sudo/transaction routes red); restore blob == HEAD e68fc14850fa, --absent clean, Tests 11 passed (11). test:repo not run locally (declared to CI).",
      "gates": "Local: dispatch-gates --commands at 532c6f3de derived 95 families; all 95 run, exit captured before any pipe; --ran reconciliation: '95 derived, 94 run, 1 NOT-MEASURED, 0 UNRUN' (exit codes recorded). NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test, exit 3, reason: shallow clone cannot reach its pinned positive-control commit (needs --unshallow); CI runs it. All other 94 exit 0, including check:system-context-census, check:doc-anchors, check:nul-bytes, check:engine-double-contract, check:dual-build-cjs-loads, check:durability-log-level. overlap-check before each push and before pr_create: VERDICT clean exit 0 (origin/main a3a74f2702, #34817 merges cleanly; #35541 merged as 5cd2b540 and was merged into this branch). CI at 532c6f3de when reported: Check Changeset, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI release & engine, scoped x3), Type Check (workspace, source, consumer, debt ledger), Spec property liveness, PR-body guards = in_progress; opt-in/queue jobs skipped. Not waited on. Fix round at 186bbc489c: derived list unchanged (95 families, same set as 532c6f3de; the earlier sweep stands for the unchanged files). Changeset families re-run: check-empty-changeset --base origin/main :: exit 1 (expected, the DELIBERATE CORRECTION refusal on the M row for the 35174 note; it stays red by design and is confirmed by the seat's record, not by a maintainer); check-changeset-no-major :: exit 0; check-adr-0087-registration :: exit 0; check:nul-bytes :: exit 0. CI Check Changeset will be red for the same reason; it is not a required context. overlap-check before the push: VERDICT overlap exit 1. Its only conflict is #35129 'chore: version packages' (github-actions[bot], changeset-release/main), which removes all 197 pending changesets, this note included. Any edit to a pending note conflicts with that standing PR. It is regenerated from main by release.yml, so nothing queues behind it. origin/main and #34817 merge cleanly. Pushed after reporting this here. Fix round 2 at 0a28c28109 (prose only): pnpm check:doc-anchors :: exit 0 (1083 fragment links resolve); pnpm check:system-context-census :: exit 0 (OK, 184 of 184 required symbols cited); pnpm check:nul-bytes :: exit 0. overlap-check before the push: VERDICT overlap exit 1. As in fix round 1, the only conflict is #35129 'chore: version packages' on the 35174 note, which that standing bot PR removes. origin/main 03bce5c22a and #34817 merge cleanly.",
      "dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no without a (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "4 relay strokes (POST /repos/objectstack-ai/objectstack/dispatches x4), executed as: POST /repos/objectstack-ai/objectstack/pulls (draft #35733) + POST /repos/objectstack-ai/objectstack/issues/35733/assignees (os-tesla); POST /repos/objectstack-ai/objectstack/issues/35434/comments x3 (os-dev-report 7030088033, fix-round reports 7030145141 and this one). Plus git push x3 (not REST).",
      "line_budget": "n/a — no skills/** or ratcheted ledger touched; diff 7 files at 0a28c28109 vs merge base",
      "files_changed": [
        ".changeset/35434-execute-dispatched-action-keeps-mark.md",
        ".changeset/35174-action-api-platform-system-api-mark.md",
        "content/docs/permissions/system-context.mdx",
        "packages/objectql/src/engine-object-repository.ts",
        "packages/objectql/src/engine-scoped-context.ts",
        "packages/objectql/src/platform-system-api.ts",
        "packages/runtime/src/execute-dispatched-action-platform-system-api-35434.integration.test.ts"
      ],
      "deviations": [
        "engine-scoped-context.ts is touched under route B, though the claim lists it as 'only if route A needs it'. derive and the platformSystemApi facet body both live there, so the route the dispatch suggests cannot avoid it. #35541 has merged and overlap-check is clean.",
        "PR body order: attribution lines first, then Fixes / Clause-② / Metadata-protocol, then 维护者速读. This follows os-dev.md, which puts the declaration lines before the 速读. The dispatch listed 速读 before the declarations.",
        "The first local gate sweep overlapped a second one. Readings are the last entry per command, taken from the run started at 532c6f3de.",
        "File surface amended by the seat: coordinator message 'Seat decision on your out-of-scope note: correct it in this PR' added .changeset/35174-action-api-platform-system-api-mark.md. Only the 'Not covered' bullet was dropped.",
        "The PR body is not edited by this dev; the PR body is written by pr_create only, and later body edits are the seat's. The seat still has to add the DELIBERATE CORRECTION declaration that Check Changeset asks for, as proposed text: 'DELIBERATE CORRECTION: .changeset/35174-action-api-platform-system-api-mark.md (pending, @objectstack/runtime patch) drops the bullet \"Not covered: the api `ctx.api.object(o).execute(name)` hands the action it dispatches is built by the engine, not the action door, so `platformSystemApi` still takes the mark off there.\" This PR closes that path; no other sentence of the note changed.'",
        "Fix round 2 per coordinator message 'Fix round 2 for PR #35733: the at-tier contract review (PR comment 7030697220, head 186bbc489c) is PASS with two should-fixes': S1 and S2 applied as prose only, in one commit; nothing else in that prose changed. N1 (nit: withRunAs, seed and nested-execute derivations not pinned by a case) was not acted on, since it was outside the two named fixes."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  9. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Delivered · 2026-11-20T05:56Z

    PR #35733 merged as 4890cd0 (route B). An action api that the dispatcher hands to an action body keeps its platformSystemApi mark through execute and derived scoped contexts, so the facet answers it with sudo() and a nested execute no longer silently drops to the caller's rights. The pending note .changeset/35174-… was deliberately corrected, which L2 confirmed at the same head. Closed by Fixes; pm:dispatched removed.

  10. removed
    pm:dispatched
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:databugdomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions