Repository navigation
docs(runtime): a script action's in-process write into a disabled module is served, per the maintainer's ruling A - #35563
Conversation
…ule is served, per ruling A on #28117 The handbook names script actions (ctx.api and ctx.engine) beside hooks as in-process access a disabled module does not refuse. ADR-0070's D2 amendment records the maintainer's ruling A (6545646924) in place of the stale 'Not decided here' line. A pin in packages-disable-app-module.test.ts drives the card's probe: the outward data door answers 404 OBJECT_PACKAGE_DISABLED, the enabled module's script action writes the row (200), the disabled module's beforeInsert hook runs, and the row is there after re-enable. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbP6iSEGkWb5fn8yqd
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对L1-a: ACCEPT, with one item before queueing · head Readings, my own.
R1 (before queueing): K=15. Merge main and get a green re-run. A merge-only push needs no fresh L1. Ruling read, not recalled. 6545646924 on #28117 (2026-10-31, the maintainer's 「同意」 to batch #433 item 4) is letter A: "disabled" keeps its one meaning, and in-process access stays served. The ADR sentence now cites it and drops the stale "Not decided here". Sentences checked against the pin. The pin is a new describe in
The handbook names the Declaration: agreed. Routing. L2 is owed at |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewServed-tier: PR #35563 · Inputs: card #34900 (body and its three comments: triage 6953222005, claim 7011927966, dev report 7012293943); the PR body, file list and net diff; the head's check-runs. Ruling record 6545646924 and decision letter 6538936519 were read by id, because the ADR sentence cites them. Both sit on #28117; card #34900 carries no ruling comment of its own. Head. Check-runs on the head, read 2026-11-19T17:05:37Z: 55 runs, 39 success, 16 skipped, none failed, none pending. ① Derived judgments
② Semver levelNo changeset, and none is owed. ③ Boundary flags
④ Design judgmentThe ADR sentence against ruling record 6545646924 (letter A of decision letter 6538936519).
The two ids and the card they sit on are cited correctly. Nothing the ruling binds is missing. The sentence says more than the ruling in one place only, the added list item. S1 (should-fix) — the ADR sentence and the handbook paragraph give a script action body a
So "a script action body's Fix, either form, in both files:
The ADR half moves a governed file, so the fix owes a delta review. The pin against the ruled behaviour. It holds, and it can fail.
The handbook paragraph against
Attempts to break it. The action door asks only the routed object's package, never the objects a body goes on to touch, so nothing refuses the pinned call. The disable of a module that an enabled module depends on answers 200, which the pin asserts. N1 (nit) — the pin's docblock presents the hook observation as following from the ruling. Decision letter 6538936519 lists "a disabled module's own hook still runs on an in-process write" as a confidence gap outside the question it put. The ruling does not decide it. The ADR sentence rightly leaves it out, and the handbook states it as today's fact, which is true. The docblock's "So ... the disabled module's own N2 (nit) — the handbook's list of outward doors is REST only. "(the data plane, the by-name reads and the Round summary: no must-fix; S1 is open on this head, so this record does not clear the head for landing. The delta record on the fixing head closes S1 by id. Implemented-by: VERDICT: PASS |
…ng is measured, not ruled Contract review 7016260113 S1: a script action body gets ctx.api, not ctx.engine (buildActionSandboxContext passes no engine), so the handbook paragraph and the ADR-0070 D2 sentence drop it. N1: the pin's docblock states the disabled module's beforeInsert run as today's measured answer, an open gap in decision letter 6538936519, not part of the ruling. N2: the handbook's outward-door list names the MCP data tools beside REST. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbP6iSEGkWb5fn8yqd
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewServed-tier: This is a DELTA record (d1) on PR #35563, S1: closed. No must-fix, no should-fix. What moved. One commit sits on top of the reviewed head, which is its only parent. It changes the same three files and no other: the handbook (7 lines replaced), the ADR (1 line replaced) and the test file (5 lines for 4, all inside one docblock). The net diff against
Check-runs on this head. 59 runs: 39 success, 19 skipped, 1 cancelled, none failed, none pending. The cancelled one is the first ① Derived judgmentsUnchanged by the delta. No accept set and no public surface moves: the commit edits prose in a docs page, one clause of an ADR sentence and a comment in a test file. ② Semver levelUnchanged. The delta publishes nothing: no path under a released package's shipped files moves, and the test file's executable lines are byte-identical to the reviewed head's. No changeset is owed, and ③ Boundary flags
④ Design judgmentS1, the fix. The ADR parenthesis now reads "(a hook's N1, as changed. Right. The docblock now derives only the 200 and the kept row from the ruling, and says of the hook: "today's measured answer, pinned here; it is not ruled (decision letter 6538936519 on #28117 lists it as an open gap)". That is what the letter says: it names the disabled module's own hook running on an in-process write as a confidence gap outside the question it put. The assertion itself is untouched, so the pin still fails if the hook stops running, which is what a characterization pin should do. The handbook follows the same line: "Today the module's own N2, as changed. Right as far as it goes. The list now reads "(the REST data plane, the by-name reads, the N3 (nit) — the handbook's list still follows "only" and still leaves out the MCP N4 (nit) — "(measured, not ruled)" in the handbook is the seat's vocabulary, on a page customers read. The sentence is true. A customer cannot tell what "ruled" refers to. Plain words such as "this is current behaviour and may change" say the same thing to that reader. A prose-face wording fix, free to make. Neither nit touches correctness or the contract. A later head that changes only the handbook stays under this record. Implemented-by: VERDICT: PASS |
…lary from the handbook Delta review 7017012506 N3: the outward-door list names the MCP run_action tool, which answers OBJECT_PACKAGE_DISABLED for a disabled module's own actions like the /actions door. N4: the beforeInsert sentence says it in customer terms instead of "measured, not ruled". Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbP6iSEGkWb5fn8yqd
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ 维护者速读
席位核对 — ACCEPT · repo:objectstack#5 · head
|
Refs #34900
Clause-②: no
Metadata-protocol: none
维护者速读
席位核对
What changes
content/docs/deployment/marketplace-handbook.mdx): one paragraph after the hooks paragraph. A script action of an enabled package writing into a disabled module's object throughctx.api(a script body has noctx.engine) is served (200), and the row appears on re-enable; the module's ownbeforeInserthooks running on it is stated as today's measured answer, not ruled.OBJECT_PACKAGE_DISABLEDis an outward-door answer (REST data plane, by-name reads,/actionsfor the module's own objects, MCP data tools) that in-process code never meets.docs/adr/0070-package-first-authoring.md:66): the stale "Not decided here … the question is with the maintainer as decision letter6538936519" sentence now records the ruling: letter A, ruling record6545646924on packages: an admin cannot disable a type:module sub-package of an installed app (422 WRITABLE_PACKAGE_REQUIRED), and a disabled package's nav contributions stay in the app #28117. App-authored in-process access (hooks, script action bodies, services, cascades) stays served; no engine-side refusal keyed on caller origin.packages/runtime/src/domains/packages-disable-app-module.test.ts): a new describe block drives the card's probe. A fifth module (com.qa.suite.projects, depending on the app and the orders module) carries a script actionprepare_billingwhose sandboxed body inserts intoqs_order. With the orders module disabled: the data door answers POST and GET/data/qs_orderwith 404OBJECT_PACKAGE_DISABLEDand no hook runs (control); the action answers 200; the orders module'sbeforeInserthook saw the row; after re-enable, the row is there and the refused one is not.Review round
Contract review 7016260113 at
b1a24da9: S1 (a script body hasctx.apionly; droppedctx.enginefrom the handbook and the ADR), N1 (the pin docblock calls thebeforeInsertrun measured, not ruled; decision letter 6538936519 lists it as an open gap) and N2 (MCP data tools named among the outward doors) fixed in211562ef, prose and a comment only.Ruling
This card asked for a refusal. That question was already ruled the other way: maintainer ruling
6545646924on #28117 (letter A) keeps app-authored in-process access served; options B (refuse app-authored in-process access) and C (refuse every caller) were not taken, and #7557 (A) pins the served-resolver control. A script action'sctx.apiis that same in-process path (system context). So this PR executes A in docs and a pin; the area closes #34900 citing the ruling.Tests and gates
pnpm --filter @objectstack/runtime exec vitest run src/domains/packages-disable-app-module.test.tson base94fb8db2d1plus this diff: Tests 28 passed (28), 27 before plus the new case.check-adr-links,check:nul-bytes,check:doc-authoring,check:issue-citations,check:pm-prior-rulings,check:cross-package-test-inputs,check:test-source-alias,check:adr-anchors,check:doc-anchors,check-affected-docs,check:closed-ceremony-text, runtime typecheck (test layer included).overlap-check --branch=HEAD: VERDICT clean against origin/mainb68f9ae347, 0 PR heads.Routing
Tier H:
docs/adr/**is human-merged. Seat L2, then the maintainer merges. Noted, not changed (outside the claim's surface):content/docs/ui/actions.mdx~:865 names the action door's 404 but not the in-process answer.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CbP6iSEGkWb5fn8yqd