Skip to content

fix(runtime): an action body that runs out of time answers a sentence naming the action and its limit - #35093

Merged
objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/issue-35027-action-timeout-sentence
Nov 18, 2026
Merged

objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/issue-35027-action-timeout-sentence

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

Fixes #35027

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:动作脚本超时(CPU 时限,或等待平台调用超过墙钟上限)时,REST /actions 与 MCP run_action 仍回答 500 INTERNAL_ERROR,但消息从光秃秃的 "Internal server error" 变成点名动作和时限的一句话,例如 Action 'X' timed out: it exceeded its 50 ms time limit and was stopped.
  • 为什么改:按裁决 C(「35027 C」,记录 6965765884)。调用方(尤其 MCP 里的 AI)以前分不清"这个动作慢"和"平台坏了"。状态码与错误码不变,只换句子;句子只含动作名和毫秒数,不含任何数据。
  • 风险与回滚:只动 budgetError 的动作分支;钩子、定时任务的超时完全不变(无 innerMessage、无 status),崩溃仍是消毒后的 500。句子声明为 500,所以 /data 门不会把它当业务原文转出。第 3 轮修了合同审查的 F1:声明了 refusals 的动作以前会把这句话(以及编译失败那句)当成"没带 code 的抛出"改写成裸 500,日志也记错原因;现在运行器按身份标记自己的故障,拒绝目录直接放行。动作自己抛的无 code 错误(哪怕带 500、哪怕抄了超时原文)仍按未声明拒绝。回滚即 revert。
  • 先看:packages/runtime/src/sandbox/hook-refusal-catalogue.ts(resolveSandboxedRefusal 第一行的 isRunnerOwnFault 放行);packages/runtime/src/sandbox/quickjs-runner.ts(budgetError 的两个 action 分支、actionTimeoutSentence 与 runnerOwnFaults);packages/runtime/src/sandbox/action-refusal-catalogue.test.ts(末尾新 describe 的四个钉子)。
  • 两分钟验证:pnpm --filter @objectstack/runtime exec vitest run src/sandbox/sandboxed-action-crash-is-a-fault.test.ts src/sandbox/action-refusal-catalogue.test.ts,预期 31 条全过,其中声明了 refusals 的动作超时,在 HTTP 门与 MCP 读取器上同样给出那句话,日志保留 CPU 时限那一行。
  • 需要你做的:无,席位落地。

What changes

  • @objectstack/runtime, quickjs-runner.ts. budgetError gains an action arm on each of its two limits. For an action, the SandboxError keeps its operator line in .message (action 'NAME' exceeded CPU budget of Nms (after P pump iterations), unchanged), and now carries innerMessage = actionTimeoutSentence(...) and a declared status: 500, with no code. This is the shape of the compile-failure precedent (actionBodyCompileFailure, merged in 743308b). The two sentences:
    • CPU budget: Action 'NAME' timed out: it exceeded its N ms time limit and was stopped.
    • Wall-clock ceiling: Action 'NAME' timed out: it exceeded its N ms time limit while waiting on platform calls, and was stopped.
  • What answers it. actionsDoorAnswerOf (@objectstack/types, not edited) reads the sentence through sandboxBusinessMessage. Arm 2 (crash) does not take it, because the sentence is not native-error-named. Arm 3 serves the declared status, with the status's own INTERNAL_ERROR and the sentence (looksLikeInternalErrorLeak reads false). The HTTP door (HttpDispatcher.handleActions) and MCP run_action / resume_run (errorResultFromThrown) both render that one reader, so they give the same sentence.
  • Ruling conditions, as measured:
    1. Only a timeout gains a sentence. Status and code stay 500 / INTERNAL_ERROR. A crash keeps Internal server error: the crash path is untouched, and a pin holds it on both doors.
    2. Actions only. Hook and job timeouts keep the 1-argument SandboxError with no innerMessage and no status. On /data, mapDataError relays a sandbox innerMessage only below the server band, so the declared 500 keeps the action sentence off that door too. A pin measures this. sandbox-business-message.ts needed no edit.
    3. Both doors give the same sentence, and content/docs/api/error-catalog.mdx gains a "Sandboxed body timed out" row under Action Errors. "sandbox timeout" moves out of the crash row.
  • Core sandbox-fault census (packages/core/src/utils/import-runner-sandbox-fault-row.test.ts, not edited). Each new construction keeps a literal template as its message, using interpolations the census already samples (args.origin.name, cpuBudget, wallCeiling, pumps). The census picks the new sites up (quickjs-runner.ts:250 and :262 in its §2) with no new sample, and still finds the hook/job fault sites its CPU budget / wall-clock ceiling floors need. 48/48 green.
  • Tests. Two existing pins asserted the old action-timeout shape, so they now assert the sentence. unreadable-rejection-recorded.test.ts: the never-settles control expected innerMessage undefined. sandbox-unreadable-rejection-door.test.ts: a real-stack /actions door case now also asserts the message. That file also gains the module-top import '@objectstack/metadata' that check:test-source-alias asks of an edited door test.
  • Docs made consistent (round 2, L1 S1 / N1). content/docs/ui/actions.mdx: the 500 bullet now reads "it crashed (a TypeError in your handler, a driver error) or timed out; a timeout's message names the action and its limit, while a crash answers only Internal server error", matching the catalog row. The header comment of packages/runtime/src/domains/actions.ts no longer lists a sandbox timeout under crash.
  • Fix round 3 (contract review 6972256765, F1). An action that declares refusals lost the timeout sentence: boundActionHandler hands every throw to resolveActionRefusal, and the catalogue read the sentence as the body's code-less throw, replaced it with the undeclared-refusal fault, answered the bare 500 on both doors and logged "threw no code" instead of the budget line. Measured before the fix on this branch's head ddee9584b9, through the real bound handler: both doors answered Internal server error. The compile-failure fault (actionBodyCompileFailure) had the same route, and the same mark covers it with no extra path.
    • quickjs-runner.ts: a module-level runnerOwnFaults WeakSet beside hostRelayedErrors. The runner marks the faults it makes itself that carry a caller sentence: the action arms of budgetError (CPU budget, wall-clock ceiling) and actionBodyCompileFailure. isRunnerOwnFault reads the mark. Identity, not a field: a body can throw innerMessage + status: 500 + no code itself, so no field tells the two apart. The runner's other faults carry no innerMessage and pass as before.
    • hook-refusal-catalogue.ts: resolveSandboxedRefusal passes a runner-own fault through before it reads any field. There is no pass-through on a declared server-band status: a body's own code-less throw with status: 500, even one spelled with the timeout's exact words, is still refused as undeclared. The module header says so.
    • action-refusal-catalogue.test.ts (the action-catalogue harness): a new top-level describe, through the real actionBodyRunnerFactory and read on the /actions door and actionsDoorAnswerOf (the reader MCP run_action renders). A CPU timeout and a wall-clock timeout each answer 500 INTERNAL_ERROR with the sentence on both doors, and the error logged at error still carries the runner's operator line, read at log time. A compile failure answers its sentence on both doors, and the log names the compiler. A control holds three code-less body throws (plain, status: 500, and status: 500 with the timeout's own sentence) to the undeclared refusal and the bare 500 on both doors.
  • Changeset: @objectstack/runtime patch. Round 3 adds one paragraph: the same holds for an action that declares refusals.

Tests

Round 3 (head 48170d2): F1 red then green, ablation, package suite
  • Red before the fix. The new describe, run against the unfixed runner and catalogue (ddee9584b9 plus the test only): Tests 3 failed | 17 passed (20). CPU timeout, received on both doors "message": "Internal server error" where the sentence was expected. Wall-clock timeout, the same. Compile failure: expected 'Internal server error' to contain 'Action 'submit_signoff' cannot run:…'. The control (code-less body throws stay refused) was green.
  • Green after the fix (331f618): action-refusal-catalogue, sandboxed-action-crash-is-a-fault, hook-refusal-catalogue, unreadable-rejection-recorded, sandbox-unreadable-rejection-door, quickjs-runner: Test Files 6 passed (6), Tests 145 passed (145).
  • Ablation through scripts/ablation-replace.mjs: in hook-refusal-catalogue.ts, replaced the line if (isRunnerOwnFault(err)) return err; with a comment. ok mutation landed: anchor 1 -> 0, blob 1d140e65a29e -> 7bd11f4783b5. The suite imports the catalogue from src/ by relative path, so no dist rebuild was needed. Result: Tests 3 failed | 17 passed (20); red: the CPU-timeout, wall-clock-timeout and compile-failure pins; the control stayed green. Restore: ok restored: blob == HEAD (1d140e65a29e) and git diff HEAD is empty.
  • pnpm --filter @objectstack/runtime test (--project local): Test Files 619 passed (619), Tests 11500 passed | 23 skipped (11523), exit 0. The run was on the fix's code. The commit after it changes only the changeset.
  • pnpm --filter @objectstack/runtime typecheck: exit 0, check:test-typecheck: OK.
  • Core census import-runner-sandbox-fault-row.test.ts (repo project, run locally because it parses the edited runner): Tests 48 passed (48).
Targeted files, package suites, typecheck (head d50f969 for the re-runs after the last edit)
  • pnpm exec vitest run (runtime) on sandboxed-action-crash-is-a-fault, unreadable-rejection-recorded, sandbox-unreadable-rejection-door and quickjs-runner: Test Files 4 passed (4), Tests 87 passed (87).
  • Re-run after the import fix (d50f969), sandbox-unreadable-rejection-door and sandboxed-action-crash-is-a-fault: Test Files 2 passed (2), Tests 16 passed (16).
  • pnpm --filter @objectstack/runtime test (--project local): Test Files 618 passed (618), Tests 11470 passed | 23 skipped (11493), exit 0. This ran on 1a88607. The only change since then is a module-top side-effect import in one test file, and that file was re-run above.
  • pnpm --filter @objectstack/mcp test: Test Files 71 passed (71), Tests 1260 passed (1260), exit 0.
  • mcp-coded-refusal.test.ts: 180/180. import-runner-sandbox-fault-row.test.ts (core census, repo project, run locally because it parses the edited runner): 48/48.
  • pnpm --filter @objectstack/runtime typecheck: exit 0 (check:test-typecheck: OK). The first run was red on two untouched files, TS2307 Cannot find module '@objectstack/driver-turso', because that dist had not been built. It went green once the dist was built. @objectstack/mcp typecheck: tsc --noEmit and check:test-typecheck: OK.
Ablations: three pins, each mutated once through scripts/ablation-replace.mjs, restored to blob == HEAD

The mutations are all in quickjs-runner.ts, which the suite imports from src/ by relative path, so no dist rebuild was needed. ablation-replace reported each mutation as landed (anchor 1 -> 0). After each leg, the restore showed git hash-object = HEAD blob bd7078824818 and git diff HEAD empty.

  • (a) The timeout sentence, the same on both doors. Replaced actionTimeoutSentence(args.origin.name, cpuBudget, false), with undefined,. Result: Tests 2 failed | 9 passed (11). Red: "the runner keeps its operator line, and declares 500 with the sentence and no code" and "the /actions door and the MCP run_action reader answer 500 INTERNAL_ERROR with the same sentence".
  • (b) A crash still sanitised. Prefixed the crash relay's innerMessage with 'Action failed internally: ', so it no longer reads as a native error. Result: Tests 5 failed | 6 passed (11). Red: the new "control: a crash beside it keeps the sanitised 500 on both doors", plus the existing crash, runtime-SyntaxError and negative-control pins.
  • (c) A hook timeout unchanged on /data. Widened the CPU arm's args.origin.kind === 'action' to !== 'job', which pulls hooks into the action arm. Result: Tests 1 failed | 10 passed (11). Red: "control: a hook timeout is unchanged, and the /data door answers it the sanitised fault".

Acceptance notes

  • Clause-②: no and Metadata-protocol: none hold after round 3: the fix restores the ruled answer on a path the round-1 pins did not reach, and refuses nothing it accepted before.

  • Round 2 fixed content/docs/ui/actions.mdx (the 500 bullet) and the domains/actions.ts header comment, after the claim amendment added both to the surface.

  • The MCP pin (mcp-coded-refusal.test.ts) drives run_action / resume_run with the runner's measured timeout shape. @objectstack/mcp does not depend on @objectstack/runtime, so the real-run half lives in the runtime file. That file feeds the same real error to the HTTP door and to actionsDoorAnswerOf, the reader the MCP tools render.

Verification

Gates, round 3 (head 48170d2)
  • dispatch-gates --commands derived 100 commands. All 100 were run, and each exited 0 (exit codes captured per command before any pipe). On the first pass check:skill-examples and check:dual-build-cjs-loads exited 3 (PREREQUISITE NOT MET, dists missing). After a whole-workspace build (turbo run build, 120/120 tasks) both exited 0. The changeset gates and the text gates that read .changeset/ were re-run on 48170d2, the changeset commit.
  • --ran reconciliation: 100 derived, 100 run, 0 NOT-MEASURED, 0 UNRUN.
  • The derivation warned that the tree is behind origin/main, and that one gate file changed on main across that range: scripts/check-skill-identifier-liveness.mjs. Its family ran from this branch's copy and exited 0. Main was not merged: the branch has no conflict and main does not make it red.
  • overlap-check before each push: VERDICT clean exit 0 against origin/main f7960893cd and 99a0e4fbfc, with no open PR head overlapping.
Gates, round 2 (head 8010091)
  • dispatch-gates --commands on 8010091 derived 98 commands (round 1's 96, plus check:adr-symbol-anchors and check:route-envelope). I ran 97 of them on 8010091, and each exited 0.
  • NOT MEASURED: pnpm check:dual-build-cjs-loads. It exited 3 with PREREQUISITE NOT MET, because it reads built output and this fresh worktree has no dist for @objectstack/account, @objectstack/setup, @objectstack/studio, @objectstack/cloud-connection and 30-odd more. A whole-tree build was not started, because the maintainer's hand-off order said to start no new long steps. CI's Lint lane runs it. On d50f969 it passed (124 entries / 72 packages).
  • --ran reconciliation over the 97 measured commands: 98 derived, 97 run, 0 NOT-MEASURED, 1 UNRUN. The UNRUN entry is check:dual-build-cjs-loads, above.
  • Re-run on 8010091 (diff since d50f969: docs bullet + one code comment): runtime pins sandboxed-action-crash-is-a-fault, unreadable-rejection-recorded, sandbox-unreadable-rejection-door and quickjs-runner: 4/4 files, 87/87 tests. mcp-coded-refusal: 180/180. Core census: 48/48. The package suites and typecheck were not re-run; the round-1 readings on d50f969 stand for unchanged code.
  • overlap-check before the push: VERDICT clean exit 0 against origin/main 154cb72, and against feat(spec, runtime, lint): an action writes the sentences it declares in the organization's language (ctx.text) #35085, which shares content/docs/ui/actions.mdx and quickjs-runner.ts and merges cleanly.
Gates, round 1 (head d50f969)
  • node scripts/pm/dispatch-gates.mjs --commands: 96 derived commands. All 96 were run on d50f969 and every one exited 0 (exit codes captured per command before any pipe). --ran reconciliation: 96 derived famil(ies) accounted for — 96 run, 0 NOT-MEASURED.
  • On the earlier pass, three gates refused or failed: check:skill-examples (exit 3, client-react dist missing), check:dual-build-cjs-loads (exit 3, dists missing) and check:test-source-alias (exit 1, the door test's missing module-top import, now fixed). All three exit 0 on the final pass.
  • node scripts/pm/overlap-check.mjs before each push: VERDICT clean exit 0 (origin/main 301b7c1; feat(spec, runtime, lint): an action writes the sentences it declares in the organization's language (ctx.text) #35085 shares quickjs-runner.ts and merges cleanly).
  • NOT MEASURED, CI-owned: the families dispatch-gates lists as CI-measured-only or workflow-valued, the type-check lanes, and the path-scheduled CI jobs. The full dogfood is not owed (no !, no (narrowing) arm).

Generated by Claude Code

… naming the action and its limit

The action arm of the sandbox budget error now carries a caller sentence
(the action's name and the limit it hit, in ms) at a declared 500 with no
code, so the /actions door and MCP run_action answer 500 INTERNAL_ERROR
with that sentence instead of the bare "Internal server error". A crash
stays sanitised; a hook's or a job's timeout is unchanged; the declared
500 keeps the sentence off the /data door.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 18, 2026
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

7 anchor(s) derived from 1 changed package(s); no hand-written page names any of them. ⚠️ 1 changed file(s) yielded no anchor (packages/runtime/src/domains/actions.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

What this run could not see
  • 1 changed file(s) yielded no anchor (packages/runtime/src/domains/actions.ts) — pages documenting those are invisible to this run
  • 1 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 30 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 99a0e4fbfc11884c7845237a39ad7b6a1bf6c826 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 2dda26240d7a6aa9f97402ab038d9b2560c99c62 — the merge of head 48170d26e646f73c394777b16cc1751a4d40227f into base 99a0e4fbfc11884c7845237a39ad7b6a1bf6c826, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 2dda26240d7a6aa9f97402ab038d9b2560c99c62 && git checkout 2dda26240d7a6aa9f97402ab038d9b2560c99c62
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 99a0e4fbfc11884c7845237a39ad7b6a1bf6c826 48170d26e646f73c394777b16cc1751a4d40227f && git checkout -B drift-repro 99a0e4fbfc11884c7845237a39ad7b6a1bf6c826 && git merge --no-ff 48170d26e646f73c394777b16cc1751a4d40227f

node scripts/docs-audit/affected-docs.mjs --json 99a0e4fbfc11884c7845237a39ad7b6a1bf6c826

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 review (#35027) · 2026-11-18T02:53Z

L1: ACCEPT
Head-sha: d50f969

I ran check-governed-merges --branch at this head. It reads NOT governed: 7 files, +199/−5. I read the full diff against the merge-base, the claim (6966174736), the recorded ruling (6965765884) and the os-dev report (6967512322).

Ruling C, condition by condition

  1. Only a timeout gains a sentence. In budgetError, the origin.kind === 'action' arm alone passes actionTimeoutSentence(...) as innerMessage, with a declared status: 500 and no code. The CPU arm and the wall-clock arm each name the action and their own limit. Arm 3 of actionsDoorAnswerOf serves that sentence at 500 INTERNAL_ERROR. The crash relay is untouched and stays sanitised, and the new crash control in sandboxed-action-crash-is-a-fault.test.ts pins this on both doors.
  2. Actions only. Hook and job origins keep the bare one-argument SandboxError. The declared 500 keeps /data from relaying the text, because /data relays a sandbox innerMessage only below the server band. The hook-timeout-on-/data control pins this, and ablation (c) turns it red.
  3. Both doors give the same sentence through the one reader. mcp-coded-refusal.test.ts pins run_action, and the error-catalog row is split.

Shape and scope. Fixes #35027 is present. Every touched path is inside the claim's file surface. The changeset names @objectstack/runtime (patch), the only published package whose src moved. Its Clause-②: no and Metadata-protocol: none match the claim. The test commands in the report are real: targeted 87/87, runtime 618 files / 11470 tests, mcp 1260/1260, and the census 48/48. There are three ablations, and each one names its red pins. There are no UI strings.

CI at this head. Check Changeset, PR-body guards, Governed Surface Queue Guard, Spec property liveness, Check PR Size, Doc links, Lint · PM dispatch-gates and Lint · scoped · tooling self-tests are green. Build Core, Test Core (10 shards), Build Docs, Type Check and the other Lint lanes are still in progress. Landing waits on them.

Must-fix

None.

Should-fix

  • S1. content/docs/ui/actions.mdx:656-657 is now false. It reads: "500 — it crashed: a TypeError in your handler, a driver error, a sandbox timeout." This PR takes "sandbox timeout" out of the catalog's crash row and gives it its own row. The PR's own SandboxError.innerMessage docblock also says a timeout is not a crash. The status is still true, but the classification and the message are not: a timeout no longer answers like a crash, because it now names the action and its limit. The report marks this out of scope because the file is outside the claim's surface. Under the review standard, though, docs that the PR makes false are fixed in the same PR, and a one-bullet fix does not need a new card. Suggested text: "500 — it crashed (a TypeError in your handler, a driver error) or timed out; a timeout's message names the action and its limit." Then amend the claim's file surface to name the file.

Notes

…ion and its limit, not a crash

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

Hand-off · PR #35093 (#35027, maintainer ruling C) · area o3-C (seat 3) is going off duty

The maintainer ordered a hand-off at 03:19Z. This PR is unfinished and is handed to the next PM. Card #35027 goes back to pm:queue in the same stroke, with pm:dispatched, lease:o3-C and the assignee removed. Everything needed to continue is on GitHub.

State at head 80100913434277dc013263414203d51fae22c493

  • Draft, NOT governed. check-governed-merges reads 0 of the PR's paths on the register, so this is an ordinary queue landing.
  • The ruling it implements: 6965765884, 「35027 C」. It has three conditions:
    • Only an action timeout gains a sentence naming the action and its limit, at 500 / INTERNAL_ERROR. A crash stays sanitised.
    • Hook and job timeouts are unchanged, and /data does not relay the sentence.
    • The HTTP door and MCP run_action give the same sentence, and the error catalog is updated.
  • Round 1, head d50f969537. L1-a ACCEPT 6967592390, which confirms each condition against the code. It raised one should-fix, S1: content/docs/ui/actions.mdx's 500 bullet filed a sandbox timeout under "crashed".
  • Round 2, head 80100913. One commit fixes S1, and fixes N1 (the header comment in packages/runtime/src/domains/actions.ts). Both files were added to the claim surface by amendment on [Decision] An action-body sandbox fault (timeout or crash) reaches the caller as a bare 500 naming neither the action nor the cause — keep it, or add a sentence? #35027. The dev's report delta is 6968103095, and the PR body was updated to round 2.
  • Owed before landing:
    1. An L1 delta on 80100913.
    2. The seat's at-tier L2 (contract review). The seat asked for it because this PR changes a served answer under a maintainer ruling. No seat L2 record exists yet.
  • CI on 80100913 when this was written: 15 success, 17 skipped, 24 in progress, none failed. On round 1's head everything was green.
  • Pins. Three, each ablated red and restored in round 1:
    • the timeout sentence, the same on both doors;
    • a crash still sanitised;
    • a hook timeout unchanged on /data.
      Round 2 changed only a docs bullet and a code comment, and the pins pass on 80100913: 87/87, mcp-coded-refusal 180/180, core census 48/48.
  • NOT MEASURED locally in round 2: check:dual-build-cjs-loads, because the worktree had no dists. CI's Lint lane runs it, and it was green on round 1's head.

Open findings

Next step for the next PM

  1. Re-claim [Decision] An action-body sandbox fault (timeout or crash) reaches the caller as a bare 500 naming neither the action nor the cause — keep it, or add a sentence? #35027.
  2. Get the L1 delta on 80100913.
  3. Get the seat's contract-review L2, checked against ruling C's three conditions.
  4. On ACCEPT plus PASS with green CI: check K (if K ≥ 15, run pr_update_branch first), land with label-write --land, then close out [Decision] An action-body sandbox fault (timeout or crash) reaches the caller as a bare 500 naming neither the action nor the cause — keep it, or add a sentence? #35027.

No blocker. No ruling is pending.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXKtHccbeakAgquNs9

L1 review, delta (#35027) · 2026-11-18T03:47Z

L1: ACCEPT
Head-sha: 8010091

Delta read: d50f969537..80100913 only. It is one commit, and d50f969537 is its parent, so nothing else moved. The commit touches 2 files, +6/−4: content/docs/ui/actions.mdx and packages/runtime/src/domains/actions.ts. The round-1 ACCEPT 6967592390, written by seat 3's L1 thread at d50f969537, stands for everything else.

S1, closed. I checked the new 500 bullet in content/docs/ui/actions.mdx (:656-659) against the code, one sentence at a time:

  • "it crashed (a TypeError in your handler, a driver error) or timed out". This matches the catalog's crash row (error-catalog.mdx:711, TypeError, driver error) and its new timeout row (:712).
  • "a timeout's message names the action and its limit". This matches actionTimeoutSentence(args.origin.name, cpuBudget|wallCeiling, …) at quickjs-runner.ts:252 and :264.
  • "while a crash answers only Internal server error". This matches the crash arm of actionsDoorAnswerOf, which answers INTERNAL_ERROR_MESSAGE. That constant is 'Internal server error' (packages/types/src/error-leak.ts:38).
  • "A deliberate throw new Error('…') is a 400 rejection" is unchanged.

N1, closed. The domains/actions.ts header comment no longer lists a sandbox timeout under crash. It says a timeout is still a 500 and that its message names the action and its limit. This is a comment only, so no code moved.

Scope. Both files are in the claim's file surface through amendment 6967610144, which names the bullet and the N1 comment. The re-claim 6968383051 carries the same 9-path surface. Neither file ships in a published package's src, so the existing @objectstack/runtime patch changeset still covers the change. Fixes #35027 is on the PR's first card line. There is no content/docs/releases/ change.

Tests. The report on the card (6968103095) gives the pins re-run at this head: runtime 87/87, mcp-coded-refusal 180/180, census 48/48. The delta cannot reach any pin, because it is prose and a comment.

CI at this head, read from check-runs:

  • Green: Lint & Repo Gates, TypeScript Type Check, Build Core (which hosts check:dual-build-cjs-loads, ci.yml:3446, the one gate the dev left UNRUN), Build Docs, all 10 Test Core shards, every Lint · and Type Check · lane, Check Changeset, both PR-body guards, Governed Surface Queue Guard, Doc links and Spec property liveness. The UI lanes are skipped by path filter.
  • Still running at this read: only the Test Core aggregate job, started 2026-11-18T03:46:36Z. Landing waits on it, so the PR needs the full check set green, not only the required pair.

Must-fix

None.

Should-fix

None.

Notes

  • N2 stands, and its order is set. feat(spec, runtime, lint): an action writes the sentences it declares in the organization's language (ctx.text) #35085 shares quickjs-runner.ts and content/docs/ui/actions.mdx, and it lands first. After that, this PR merges main forward and re-runs the four runtime pins: sandboxed-action-crash-is-a-fault, unreadable-rejection-recorded, sandbox-unreadable-rejection-door and quickjs-runner. A merge with the same patch-id keeps this ACCEPT. If the merge needs a conflict edit in either shared file, send me that delta.
  • This ACCEPT is L1 only. Seat 3's hand-off owes the seat's contract-review L2 against ruling C (6965765884) before landing, and that record is not L1's.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

Contract-review-claim: session_01JQwxbXGvw43spR79ztEvWt · head ddee9584b966f6b410b37dbb87a749fa695f50e2 · 2026-11-18T07:27Z

Declaration-face contract review (TIER_DEFAULT, Clause-②: yes). The head is a relay merge of main (after #35085 landed) into 80100913. The patch-id is unchanged (9a0361fd19ec), so L1-a delta ACCEPT 6968431373 carries to this head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

Contract review

Served-tier: TIER_DEFAULT
Head-sha: ddee9584b966f6b410b37dbb87a749fa695f50e2
Local-runs: none

Inputs read: card #35027 (its body, the seat review 6965177482, ruling C 6965765884, claim 6966174736 and its amendment 6967610144, both os-dev reports 6967512322 and 6968103095, hand-off 6968145365, claim 6968383051); the PR #35093 body and its 9-file list; the net diff aef42cba4e..ddee9584b9; and the check-runs on this head. The head is a merge of main aef42cba4e into 80100913. Its net diff against main has the same 9 files and the same +205/−9 as the PR's own patch. Nothing outside the diff is reviewed. The cited code is read on this head only to judge the diff against it.

① Derived judgments

Accept-set. No change. No input that was accepted is now refused, and no input that was refused is now accepted. No spec key, no schema, no closed error code and no route is added or removed. Right.

Public surface. Each change the diff implies:

  1. The /actions door and MCP run_action / resume_run give a new answer to an action timeout. The answer was 500 INTERNAL_ERROR "Internal server error". It is now 500 INTERNAL_ERROR with Action 'NAME' timed out: it exceeded its N ms time limit and was stopped., and the wall-ceiling variant adds while waiting on platform calls,. Right, and this is ruling C: the status and code are unchanged, and the sentence carries only the action's name and a number of milliseconds. The path is: budgetError's action arms (quickjs-runner.ts:249-255, :261-267) set innerMessage and a declared status: 500 with no code. actionsDoorAnswerOf reads the sentence through sandboxBusinessMessage. Arm 2 does not take it, because the sentence does not start with a native error name. Arm 3 serves the declared 500 through thrownAnswerOf. This is the same shape as the compile-failure precedent actionBodyCompileFailure, which is on main. The pins: a real CPU timeout and a real wall-clock timeout through the HTTP dispatcher and through actionsDoorAnswerOf, and the MCP tool on the measured shape (mcp-coded-refusal.test.ts).

  2. A crash keeps its sanitised answer. Right. The crash relay is not touched, and a new control pins the crash on both doors. Ruling C allows "at most 'action X failed internally'", so keeping Internal server error is within the ruling.

  3. Hook and job timeouts keep the one-argument SandboxError. They have no innerMessage and no status. Right. A control pins this for both origins.

  4. On /data, an action-timeout SandboxError no longer reads as the sandbox's own fault. It used to be isSandboxOwnFault (no innerMessage). It is now isSandboxOrigin, so classifyDataError takes the innerMessage branch, sees a declared status of 500 or more, and withholds the sentence. The pin feeds a real action timeout to mapDataError and expects 500 "Internal server error" with no action name. Right: ruling C condition 2 holds on /data.

  5. SandboxError (exported from @objectstack/runtime) keeps its type. Only the field values on action-timeout instances change. actionTimeoutSentence is module-private and not exported. Right: the exported surface does not change.

  6. Docs. error-catalog.mdx gets a separate row for "Sandboxed body timed out", and the crash row no longer lists "sandbox timeout". ui/actions.mdx updates its 500 bullet, and the domains/actions.ts header comment changes to match. Each sentence agrees with the code, except for one case named in F1: the row's unconditional claim is false for an action that declares refusals.

  7. F1 must-fix. The diff breaks the timeout answer, and the operator's log, for a sandboxed action that declares refusals. boundActionHandler sends every throw through resolveActionRefusal before it logs and rethrows it (body-runner.ts:719-720). On main, a budget fault had no innerMessage, so resolveSandboxedRefusal passed it through unchanged at its first guard (hook-refusal-catalogue.ts:458). The module header says so as its own contract (:34-39): "the sandbox's own faults (budget, capability) all pass through as before: they are the platform speaking". This diff gives an action timeout an innerMessage that is not a native-error name. On a catalogued action, that timeout therefore gets past every guard (:458, :459, :461). It has no code, so it is replaced by new SandboxError(undeclaredActionRefusalAtRun(name, undefined, declared)) (:466). As a result:

    • (a) The caller of both doors gets 500 "Internal server error" again, through arm 5, not the sentence. The changeset, the catalog row and the PR body all claim the sentence unconditionally.
    • (b) logBodyThrow logs the replacement at error with the text "action 'X' threw no code, and its refusals declares no such code … refuses by code only: throw an error whose code is one of the declared codes". The operator line exceeded CPU budget of Nms is gone. On main that line was what this case logged. So the diff turns a correct operator diagnosis into a wrong one, which sends the author looking for a throw that never happened.

    The pins do not reach this path: each new pin calls the runner directly, and the real-stack door test declares no refusals. Fix: make the runner's own faults pass through the catalogue by identity, not by field. For example, a module-level WeakSet beside hostRelayedErrors, read by resolveSandboxedRefusal next to isHostRelayedSandboxError. Then add a pin in which an action with refusals times out and answers the sentence on both doors, and the log keeps the budget line. Ablate it. ⛔ Do not pass through on a declared server-band status: a body may throw a declared 500 itself, and the catalogue must keep refusing that.

    Out of scope, noted and not filed: the compile-failure precedent actionBodyCompileFailure (same shape, on main since fix(lint, runtime)!: an action body that cannot compile in its (input, ctx) wrapper is refused at validate, build and publish, and at run time answers naming itself #34980) has the same latent misroute on a catalogued action. The fix above covers both.

Gate verdicts (the check-runs on this head; their conclusions are the gate verdicts): this is the snapshot at 2026-11-18T07:37Z. There are 54 runs: 32 success, 15 skipped (opt-in and queue rows), 0 failure, and 7 still pending. The pending runs are Test Core (1/10), Test Core (2/10), Test Core (3/10), Test Core (4/10), Test Core (6/10), Test Core (7/10) and Test Core (8/10). every Lint lane that ran (Lint UI is skipped), Type Check (workspace, source, consumer and debt ledger), Build Core, Build Docs, Check Changeset and Test Core 5, 9 and 10 have each concluded success. F1 is a path the head's own pins do not exercise, so a green gate set would not clear it.

② Semver level

  • The changeset is '@objectstack/runtime': patch. Right. The only published code that changes is @objectstack/runtime (quickjs-runner.ts, plus a comment in domains/actions.ts). The @objectstack/mcp change is a test file, and content/docs/** is not an npm package. The fix changes a served sentence, with no protocol kind, so AGENTS.md's Post-Task Checklist step 3 gives patch.
  • Clause-②: no. Right. It appears at the start of a line in the claim, the PR body and the changeset. The diff widens no accept-set and enlarges no published contract surface. The error-code face (ERROR_CODE_LEDGER / StandardErrorCode) is unchanged: INTERNAL_ERROR stays. No path under packages/spec/src/** is touched. The 500 message text is not a ledgered value.
  • Metadata-protocol: none. Right. No authorable key, value or metadata type moves.
  • There is no ! in the title, no BREAKING note, and no ADR-0087 disposition owed. Right.

③ Boundary flags

  • Dev flags. Both os-dev reports have open_questions: [] and security_findings: none. Round 1's one out-of-scope finding, ui/actions.mdx:657, was brought into the surface by amendment 6967610144 and fixed in round 2 (80100913). Answered.
  • Ruling C, condition by condition.
    • (1) Holds on its face: status and code stay 500 / INTERNAL_ERROR, and a crash stays withheld.
    • (2) Holds: hooks and jobs are unchanged, and /data withholds the sentence.
    • (3) Holds for an action with no refusals.
    • F1 is the exception to (1) and (3) for a catalogued action: the sentence the ruling grants is lost on both doors, and the operator log is wrong.
  • Hand-off. Seat 3 handed off (6968145365). The resumed claim 6968383051 names this branch and the same 9 paths. The file list matches the claim and its amendment. Nothing in the diff is outside the surface.
  • PR author is objectstack-fleet[bot], so no separate login note is owed.
  • SQL push-down. The diff adds no query, no id materialisation and no in-app join. No finding.
  • Findings:
    • F1 must-fix: a catalogued action's timeout is rewritten into the undeclared-refusal fault. This loses the ruled sentence on both doors and replaces the true budget line in the operator log with a false one (① item 7).
    • No should-fix. No nit.

Implemented-by: claude/issue-35027-action-timeout-sentence
Reviewed-by: session_01JQwxbXGvw43spR79ztEvWt

VERDICT: FAIL

…entenced faults through

An action that declares `refusals` handed its timeout to resolveActionRefusal,
which read the new caller sentence as the body's code-less throw and replaced
it with the undeclared-refusal fault: both doors answered the bare 500 and the
log named a throw that never happened. The compile-failure fault had the same
route.

The runner now marks the faults it makes itself that carry a caller sentence
(an action timeout, an action body that does not compile) by identity, and the
catalogue passes them through before reading any field. A body's own code-less
throw, a declared 500 with the timeout's own words included, is still refused
as undeclared.

Claude-Session: https://claude.ai/code/session_01JQwxbXGvw43spR79ztEvWt
Co-authored-by: Claude <noreply@anthropic.com>
…nd compile-failure sentences

Claude-Session: https://claude.ai/code/session_01JQwxbXGvw43spR79ztEvWt
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

Contract-review-claim: session_01JQwxbXGvw43spR79ztEvWt · head 48170d26e646f73c394777b16cc1751a4d40227f · 2026-11-18T08:57Z

Delta declaration-face contract review (TIER_DEFAULT) ddee9584..48170d26, closing F1 of 6972256765.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXKtHccbeakAgquNs9

L1 review, delta for contract-review F1 (#35027) · 2026-11-18T08:58Z

L1: REWORK (one must-fix, a record only; the code is accepted)
Head-sha: 48170d2
Delta read: ddee958 → 48170d2 (331f618 fix, 48170d2 changeset), 4 files, +150 / −13.

F1 of contract review 6972256765, closed in code.

  • quickjs-runner.ts keeps a module-level runnerOwnFaults WeakSet beside hostRelayedErrors. It marks exactly three constructions: the two action arms of budgetError (CPU budget and wall-clock ceiling) and actionBodyCompileFailure. A hook's or a job's timeout is unmarked, which is right, because it carries no innerMessage and already passes at the first guard.
  • isRunnerOwnFault is a module export only. sandbox/index.ts re-exports QuickJSScriptRunner and SandboxError alone, so nothing joins the package entry, and Clause-②: no stands.
  • resolveSandboxedRefusal returns a marked error first, before it reads any field. That is the identity route F1 prescribed. The ⛔ in F1 also holds: no status is passed through. The CONTROL pin throws three code-less bodies, one a declared 500 spelled with the timeout's own sentence, and each is still refused as undeclared, with no innerMessage and the bare 500.
  • The new describe in action-refusal-catalogue.test.ts runs a catalogued action through the real actionBodyRunnerFactory and reads both doors (/actions and actionsDoorAnswerOf). It shows the CPU sentence, the wall-clock sentence and the compile sentence. Each keeps exactly one error log line, which is the runner's own line (exceeded CPU budget of 50ms, exceeded wall-clock ceiling of 300ms, does not compile: SyntaxError). That is the operator-log half of F1.
  • Report 6973777094 records the red-first run on ddee958 (3 failed | 17 passed). It also records the ablation of the pass-through line, where only the CPU, wall and compile pins went red and the control stayed green, and the restore (blob == HEAD, empty diff).

Changeset. The added paragraph matches the code. It says a catalogued action keeps the timeout sentence and the runner's log line, and that the compile failure, which on main was misread as a code-less throw, now passes through too. It also says a body's own code-less throw is still refused. The "Before" sentence is claimed for the compile failure only, which is exact: on main a timeout had no sentence to lose. The level stays patch.

CI at this head, from check-runs: 42 success, 17 skipped, none failed or in progress.

Must-fix

Should-fix

None.

Notes

  • Owed after L1, not mine. The delta of the declaration-face contract review (running in parallel). The seat's L2 against ruling C (6965765884), as in my earlier ACCEPT.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXKtHccbeakAgquNs9

L1 review, M1 re-read (#35027) · 2026-11-18T08:59Z

L1: ACCEPT
Head-sha: 48170d2

The head has not changed since my REWORK 6973824640, so I re-read only the record that M1 named.

M1 is closed. Claim amendment 6973840626 on #35027 is pinned to this head.

  • It widens the file surface from 9 paths to 11 by adding packages/runtime/src/sandbox/hook-refusal-catalogue.ts and packages/runtime/src/sandbox/action-refusal-catalogue.test.ts. Those are exactly the two paths the PR adds.
  • It gives F1 of 6972256765 as the reason.
  • It leaves Clause-②: no and Metadata-protocol: none unchanged, which matches what I read in the code.

Everything in 6973824640 stands for this head: F1 closed in code, the identity mark, the CONTROL, both doors with their log lines, the ablation and restore, the changeset paragraph, and CI (42 success, 17 skipped, none failed).

Must-fix

None.

Should-fix

None.

Notes

  • Owed after L1, not mine:
    • the declaration-face contract review's delta;
    • the seat's L2 against ruling C (6965765884).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 48170d26e646f73c394777b16cc1751a4d40227f
Local-runs: none

Delta round: ddee9584b9..48170d26e6, two commits. 331f618981 is the fix and 48170d26e6 changes only the changeset. Together they touch 4 files, +150/−13: quickjs-runner.ts, hook-refusal-catalogue.ts, action-refusal-catalogue.test.ts and the changeset. The net diff against main (merge-base aef42cba4e) is now 11 files, +350/−17, the same list as the PR's 11-file list. The delta closes F1 of record 6972256765. That record's other judgments stand unless this record changes them below.

Inputs read: card #35027 (its body and every comment, including ruling C 6965765884, claim 6968383051 and the round-3 os-dev report 6973777094); the PR #35093 body, its file list and every comment (record 6972256765, L1-a ACCEPT 6968431373; there is no L1 newer than that); the delta diff and the net diff above; and the check-runs on this head. Code outside the diff is read only to judge the diff against it, never reviewed.

① Derived judgments

F1: closed. The runner now marks its own faults that carry a caller sentence. It keeps a module-level runnerOwnFaults WeakSet (quickjs-runner.ts:2608), filled at exactly three construction sites: the CPU-budget action arm of budgetError (:252), its wall-ceiling action arm (:264) and actionBodyCompileFailure (:2430). resolveSandboxedRefusal checks isRunnerOwnFault(err) first, before any field is read (hook-refusal-catalogue.ts:465), and passes a marked fault through unchanged. So boundActionHandler now logs the runner's own line and rethrows the sentence on a catalogued action, exactly as it does on an uncatalogued one. The fix follows both halves of the suggestion. It passes through by identity. It does not pass through on a declared server-band status: the guard after it is unchanged, so a body's own code-less throw still reaches undeclaredAtRun.

The pins drive the real actionBodyRunnerFactory with refusals declared and read both doors: the /actions dispatcher and actionsDoorAnswerOf, the reader that MCP run_action renders (action-refusal-catalogue.test.ts:296-372).

  • The CPU timeout and the wall-clock timeout each answer 500 INTERNAL_ERROR with the ruled sentence, and the error logged at error still carries the budget line or the ceiling line, read at log time.
  • A compile failure answers its sentence, and the log names the compiler.
  • A CONTROL holds three code-less body throws to the undeclared refusal and the bare 500 on both doors: a plain throw, a throw with status: 500, and a throw with status: 500 spelled in the timeout's own words.

The os-dev report gives the ablation: with the pass-through line removed, the three positive pins went red and the control stayed green. Test Core 1-10 are green on this head.

Can a body forge the mark? No. The mark goes on host-side objects only, at the three sites above, and none of them crosses into the VM.

  • Whatever a body throws comes back to the host as a fresh SandboxError built at :569, or as the bare fault at :543. Neither is ever marked.
  • That includes a runner fault the body caught and rethrew. Take a nested action's timeout raised into the body by a host call: it crosses into the VM as a copy, and if the body rethrows it, it leaves as a new thrown. That object is marked only hostRelayedErrors (:578), and it passes the catalogue on that guard, as it did on main. Editing its fields inside the VM cannot reach a host object.
  • relayedEngineRefusal hands back a host object by identity, but it holds only engine duplicate-record envelopes and unlanded-write refusals (holdEngineRefusal, :1943). A runner fault is never among them.
  • A host-relayed error is the copy described above, never the original marked object.

So nothing a body does can become a marked object, and the CONTROL pins the field-spoofing case.

Accept-set, against ddee9584 and against main. No change. On both bases, the same input still gets the same status and code: 500 INTERNAL_ERROR. Only the served sentence moves, for a catalogued action whose body timed out or does not compile. No spec key, schema, closed error code or route is added or removed.

Public surface, against ddee9584.

  1. On a catalogued action, a timeout and a compile failure now answer their sentences on both doors. Before, they answered Internal server error, and the log said "threw no code". Right: this is what ruling C (1) and (3) and the catalog rows error-catalog.mdx:712-713 already claim unconditionally, and both rows are now true.
  2. isRunnerOwnFault is module-only. quickjs-runner.ts exports it for hook-refusal-catalogue.ts alone. Neither sandbox/index.ts:15-16 nor src/index.ts:402 re-exports it. The package's only entries are . and ./compiled-plugin-manifest-file (package.json exports), and tsup builds with splitting: false. So it is not a published name. The WeakSet sits in the same bundle as hostRelayedErrors, so it has no dual-instance hazard that its sibling lacks.
  3. Hooks and jobs are unchanged. Their timeouts are not marked, carry no innerMessage, and pass at the second guard as before. A hook's catalogue reaches the new first guard only with a marked object, and no hook-origin construction makes one.

Public surface, against main. The net diff adds this round's catalogued-action pass-through to items 1 to 6 of record 6972256765, and nothing else. Item 7 (F1) is closed above.

Gate verdicts. The conclusions of the check-runs on this head are the gate verdicts. There are 59 runs: 42 success, 17 skipped (opt-in, queue and UI rows), 0 failure, 0 pending.

  • Success: Lint & Repo Gates and every Lint lane that ran (Lint UI is skipped); TypeScript Type Check and its four lanes; Build Core; Build Docs; Test Core and all ten shards; Test UI; Live E2E UI; Dogfood Regression Gate; Governed Surface Queue Guard; Spec property liveness; Check Changeset; and both PR-body guards.
  • The core sandbox-fault census lives in a Test Core shard and passed. It reads the new markRunnerOwnFault(new SandboxError(…)) wrapping, whose message is still a literal template.

② Semver level

  • '@objectstack/runtime': patch is still right. The only published code that changes in this delta is @objectstack/runtime (quickjs-runner.ts, hook-refusal-catalogue.ts). It changes a served sentence and no protocol kind.
  • Clause-②: no is still right, including for the compile-failure arm. That arm is not a new door or a new answer. actionBodyCompileFailure and its sentence have been on main since fix(lint, runtime)!: an action body that cannot compile in its (input, ctx) wrapper is refused at validate, build and publish, and at run time answers naming itself #34980 (743308b90c), and error-catalog.mdx:713 publishes "names the action and the compile error" with no carve-out. On main, a catalogued action broke that published claim. The delta makes the published claim true there, and it widens no accept-set: the same input is refused at the same 500 and INTERNAL_ERROR, and it adds no field, code or exported name. The new changeset paragraph names the change for the catalogued case and says that a body's own code-less throw is still refused, which the CONTROL pins. Each sentence of the paragraph checks against the code.
  • Metadata-protocol: none is still right. No authorable key, value or metadata type moves.
  • There is no ! and no BREAKING note, and none is owed.

③ Boundary flags

Implemented-by: claude/issue-35027-action-timeout-sentence
Reviewed-by: session_01JQwxbXGvw43spR79ztEvWt

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 48170d26e646f73c394777b16cc1751a4d40227f
Local-runs: none

This is a closing delta read of S1 only, from record 6973910753. The head has not moved: the PR head is still 48170d26e6, and the PR still has the same 11 files. So the code diff is empty, and every judgment in 6973910753 stands, F1: closed included.

Inputs read for this round:

① Derived judgments

Nothing new. With no code delta, the accept-set, the public surface and the gate verdicts are unchanged from 6973910753. The check-runs on this head: 59 runs, 42 success, 17 skipped, 0 failure, 0 pending.

② Semver level

Unchanged: '@objectstack/runtime': patch, Clause-②: no, Metadata-protocol: none. Amendment 6973840626 restates both lines unchanged, and its reasons match 6973910753 ②: isRunnerOwnFault is module-only, and the compile-failure arm restores the published answer without refusing anything that was accepted before.

③ Boundary flags

S1: closed.

  • Amendment 6973840626 widens the claim's file surface from the 9 paths at 80100913 to 11. It adds packages/runtime/src/sandbox/hook-refusal-catalogue.ts and packages/runtime/src/sandbox/action-refusal-catalogue.test.ts. That is exactly the PR's 11-path file list on this head.
  • It names F1 of 6972256765 as the reason, which supplies the explanation the claim template's "stop on breach; explain in the report" asks for.
  • Amendment 6973920686 corrects the container line of claim 6968383051 to M, mode:subagent, effort: high, and says when the fix round was dispatched (07:38Z) and what it produced (331f6189, 48170d26, report 6973777094). The stale "no dev dispatched" is no longer the claim of record.

Correction to 6973910753. That record said "no amendment is on #35027". Amendment 6973840626 was posted at 08:59:06Z, while that read was still running, and the read's comment listing did not include it. On the substance, S1 is closed by the two amendments together, whatever the order.

Landing prerequisite met. L1-a ACCEPT 6973855618 is on 48170d26e6. It has no must-fix and no should-fix.

SQL push-down: no code delta, so no finding.

Findings. F1: closed (6973910753). S1: closed. No must-fix, no should-fix.

Implemented-by: claude/issue-35027-action-timeout-sentence
Reviewed-by: session_01JQwxbXGvw43spR79ztEvWt

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbXGvw43spR79ztEvWt

Landing · 2026-11-18T09:04Z · head 48170d26e646f73c394777b16cc1751a4d40227f

Probe Reading
L1 L1-a ACCEPT 6973855618 on this head. The surface is closed by amendment 6973840626 (11 paths), and the container line by 6973920686.
Contract review Declaration face (TIER_DEFAULT). PASS 6973910753 closes F1 of 6972256765 in code. PASS 6973943513 closes S1 on the card. No must-fix or should-fix is open.
CI check-expected-skips --pr 35093 exit 0 (roster re-pinned to main's tip): 59 check-runs, 42 success, 17 expected skips, 0 other.
Governed check-governed-merges --pr 35093: 0 of 11 paths governed. 367 changed lines, under the 3,000-line threshold.
Base drift K = 11 first-parent commits from base aef42cba to main, under 15.
Declarations Clause-②: no, Metadata-protocol: none, patch changeset for @objectstack/runtime.

This card started before Warren's 08:54Z intake rule, so it finishes.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 18, 2026 09:05
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 961f474 Nov 18, 2026
60 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-35027-action-timeout-sentence branch November 18, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants