Skip to content

docs(runtime): a script action's in-process write into a disabled module is served, per the maintainer's ruling A - #35563

Merged
os-zhuang merged 4 commits into
mainfrom
claude/issue-34900-inprocess-disabled-pkg-docs
Nov 19, 2026
Merged

os-zhuang merged 4 commits into
mainfrom
claude/issue-34900-inprocess-disabled-pkg-docs

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Refs #34900
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:没有行为变化。手册补了一段:模块停用后,同一应用里其他模块的按钮脚本仍能往它的表里写数据,模块重新启用后数据都在。
  • 为什么做:有人报告这算漏洞,但你 10 月 31 日已裁定应用自己的代码照常读写停用模块,这次把裁决写进手册和设计记录,并用测试钉住。
  • 出错会怎样:只改文档和测试,不改运行行为;最坏是文字说得不准,撤回即可。
  • 要你做什么:设计记录改了一句话,按规定要人工合并;席位审核通过后请你合并。

席位核对

What changes

  • Handbook (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 through ctx.api (a script body has no ctx.engine) is served (200), and the row appears on re-enable; the module's own beforeInsert hooks running on it is stated as today's measured answer, not ruled. OBJECT_PACKAGE_DISABLED is an outward-door answer (REST data plane, by-name reads, /actions for the module's own objects, MCP data tools) that in-process code never meets.
  • ADR-0070 D2 amendment (docs/adr/0070-package-first-authoring.md:66): the stale "Not decided here … the question is with the maintainer as decision letter 6538936519" sentence now records the ruling: letter A, ruling record 6545646924 on 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.
  • Pin (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 action prepare_billing whose sandboxed body inserts into qs_order. With the orders module disabled: the data door answers POST and GET /data/qs_order with 404 OBJECT_PACKAGE_DISABLED and no hook runs (control); the action answers 200; the orders module's beforeInsert hook saw the row; after re-enable, the row is there and the refused one is not.
  • No changeset: no published package's files change (a test file, a docs page and an ADR).

Review round

Contract review 7016260113 at b1a24da9: S1 (a script body has ctx.api only; dropped ctx.engine from the handbook and the ADR), N1 (the pin docblock calls the beforeInsert run measured, not ruled; decision letter 6538936519 lists it as an open gap) and N2 (MCP data tools named among the outward doors) fixed in 211562ef, prose and a comment only.

Ruling

This card asked for a refusal. That question was already ruled the other way: maintainer ruling 6545646924 on #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's ctx.api is 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.ts on base 94fb8db2d1 plus this diff: Tests 28 passed (28), 27 before plus the new case.
  • No ablation: the pin holds the absence of a refusal, so there is no guard to remove.
  • Local, exit 0: 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/main b68f9ae347, 0 PR heads.
  • Not measured locally: the rest of the derived gate families; CI runs them.

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

…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
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tests labels Nov 19, 2026
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

Nothing 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): node scripts/docs-audit/affected-docs.mjs --json f981dce3be9b165502fb047954293b0de26ab97c → packageMentionDocs.

@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 19, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4

维护者速读

  • 用户能看到什么变化:没有行为变化。文档和架构决策记录写明:一个模块被停用后,同一套应用里其他模块的脚本动作仍可以往它的表里写数据,模块重新启用后能看到这些数据;外部接口照旧拒绝。
  • 为什么做:你在 10 月 31 日已选定这种处理方式(A 方案),但决策记录里还写着"未决定",文档也没说明,这次补齐并加一个测试锁定行为。
  • 出错会怎样:只是文字和测试,不改运行逻辑;若文字有误,最多误导读文档的开发者。
  • 要你做什么:改了架构决策记录,需要你本人或授权审批人合并(席位合同复审之后)。
  • 席位意见:文字与你的裁定和测试一致,可以进入合同复审;合并前需先同步主线。

席位核对

L1-a: ACCEPT, with one item before queueing · head b3fd178f72274217fded54a153bf89edaba30e0c · Refs #34900 · 2026-11-19T16:38Z · reviewed to pm-dispatch text at origin/main fca72dfa32

Readings, my own.

  • check-governed-merges --pr 35563: GOVERNED, 1 of 3 paths (docs/adr/0070-package-first-authoring.md). The low-risk skills arm does not apply: it is a catalog path naming permission, and the ADR change removes a line. So the PR lands by Tier H, through a human merge.
  • merge-tree against main: clean.
  • CI: 39 success / 20 skipped. The one failure, Check Changeset 135670155843, ran before skip-changeset went on. The latest Check Changeset run on this head, 135672764968, is skipped. No published package changes, so skip-changeset is right.
  • The claim (7011927966, 14:25Z) predates the p1-only rule. All three paths are in its surface. The error-code note was optional, and none was touched.

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 packages-disable-app-module.test.ts: a fifth suite module, depending on the orders module, with a script action whose body does ctx.api.object(ORDER).insert(...).

Doc sentence What the pin asserts
"an insert into a disabled module's object succeeds, the action answers 200" the /actions/qs_project/prepare_billing dispatch is 200
"the module's own beforeInsert hooks run on the row" a beforeInsert registered with packageId: MODULE records the action's row
"the row is kept and appears when the module is enabled again" after enable, the data-plane list contains it
"OBJECT_PACKAGE_DISABLED is an answer of the outward doors only" CONTROL in the same window: data-plane POST and GET answer PACKAGE_DISABLED, and the refused write ran no hook

The handbook names the /actions door "for the module's own objects" as an outward door. OBJECT_PACKAGE_DISABLED is raised in action-dispatch.ts / action-execution.ts / domains/actions.ts on main, consistent with that. The pin dispatches an action on the enabled projects module's object, so it is served. The ADR's added parenthesis ("a hook's ctx.api, a script action body's ctx.api and ctx.engine, services, cascades") states the ruled scope. The script-body leg is pinned here, and the hook leg by the existing addendum describe above it.

Declaration: agreed. Clause-②: no / Metadata-protocol: none. No route, key, export, accept set or behaviour moves: a doc paragraph, an ADR sentence and a test.

Routing. L2 is owed at CONTRACT_REVIEW_TIER, for the governed ADR rule text, by seat 5 on the merged head. Then Tier H: the maintainer's hand or an authorized APPROVED review.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: b1a24da96ffb56ca3a4d589a2a6a2367fac7856d
Local-runs: none
Scope: docs/adr/0070-package-first-authoring.md + packages/runtime/src/domains/packages-disable-app-module.test.ts (the pin that enforces the sentence), content/docs/deployment/marketplace-handbook.mdx (widened: it restates the same sentence)
Security-touching: yes

PR #35563 · Refs #34900 · 3 files, +105 / -7 · net diff read against main bf69cb41cc1f6351b0b0365ad7842a561611190f.

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. b1a24da9 is a two-parent merge of b3fd178f (the branch) and bf69cb41 (main), committed by GitHub. Merge base 94fb8db2. The branch side changes 3 paths and the main side 116; the two sets share no path. At the head each of the 3 blobs equals b3fd178f's and every other path equals bf69cb41's, so no path needed a content merge: it is git's own clean merge.

Check-runs on the head, read 2026-11-19T17:05:37Z: 55 runs, 39 success, 16 skipped, none failed, none pending. Test Core (all ten shards), Build Core, TypeScript Type Check, Lint & Repo Gates, Governed Surface Queue Guard, Dogfood Regression Gate, Test UI and Live E2E UI are success; Lint UI, Type Check UI and Build & E2E UI are skipped by their path filters. Shard 3/10 (job 135719645258) ran src/domains/packages-disable-app-module.test.ts: 28 tests passed, 2.8 s. Check Changeset on this head is run 135717711448, skipped under skip-changeset. The red run 135670155843 belongs to the earlier head b3fd178f and predates the label.

① Derived judgments

  • Accept sets: none moves. The diff holds no schema, route, query parameter, error code, export, config key or env var. Right.
  • Public surface: none moves. The handbook paragraph and the ADR sentence describe behaviour main already has, and the test adds one case to an existing harness file. Right.
  • Runtime behaviour: unchanged. The only path under packages/ is a *.test.ts. Right.
  • Clause-②: no and Metadata-protocol: none on the PR body: right, for the three reasons above.
  • Refs #34900, not a closing keyword: right. The card's "Done when" asks for a refusal, and the PR pins the opposite under the ruling, so a merge must not close the card as completed. The closing stroke is the area's own act, with the ruling cited by id and its home named (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).

② Semver level

No changeset, and none is owed. @objectstack/runtime publishes dist, README.md and CHANGELOG.md (packages/runtime/package.json files on main), so a test file under src/ ships nothing; the other two paths belong to no released package. skip-changeset is the right label, and the head's Check Changeset run is skipped under it. The PR body's Clause-② line reads no, which matches a diff that moves no accept set.

③ Boundary flags

  • Dev report 7012293943, open_questions: empty. Nothing to answer.
  • Dev report, status: blocked (local commits refused at 14:38Z): answered by the tree. b3fd178f exists, carries the model-free trailer pair, and the PR was opened on it. How the commit was made is the seat's record and is not read here.
  • Dev report, out_of_scope_findings (repeated under the PR body's Routing): content/docs/ui/actions.mdx names the action door's 404 and not the in-process answer. Agreed as a note. It is a docs follow-up on a prose face, not a defect on this head.
  • Dev report, security_findings: none. Nothing to add here.
  • SQL push-down: the diff holds no query code. No id materialisation and no in-app join is added.
  • PR author is objectstack-fleet[bot]: no off-relay note is owed.
  • Landing: docs/adr/** is Tier H, and the hunk replaces a sentence, so this record lifts nothing. The landing is the maintainer's hand or an authorized approval.

④ Design judgment

The ADR sentence against ruling record 6545646924 (letter A of decision letter 6538936519).

The ruling binds The amendment at this head Verdict
"disabled" keeps its one meaning: hidden, refused on the data plane and the by-name reads, data kept already in the amendment, unchanged by this diff holds
an app's own in-process access (a hook's ctx.api, services, cascades) stays served "stays served and never meets the data plane's refusal" holds
record-change flows on the module's objects stay withheld already in the amendment, unchanged holds
no engine-side refusal keyed on the caller's origin is added "adds no engine-side refusal keyed on the caller's origin" holds
known cost accepted: such writes surface on re-enable "accepts that such writes surface when the module is enabled again" holds
the ruling's list of in-process access the list gains "a script action body's ctx.api and ctx.engine" more than ruled: see S1

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 ctx.engine, and on main a body has none. Read at main bf69cb41:

  • packages/runtime/src/sandbox/body-runner.ts, buildActionSandboxContext (:1631): the context an action body runs under carries input, user, session, object, recordId, record, api, log, text and crypto. It carries no engine.
  • packages/runtime/src/sandbox/script-runner.ts, ScriptContext (:141), declares no engine member, and quickjs-runner.ts installCtx (:681) installs none. The two doors it adds are email and activity.
  • ctx.engine is the facade buildActionEngineFacade builds (packages/runtime/src/action-execution.ts:4083). The action door puts it on the handler context (packages/runtime/src/action-dispatch.ts:796), so it is what a registered handler receives. content/docs/ui/actions.mdx says the same: "the handler's ctx.engine facade".

So "a script action body's ctx.api and ctx.engine" (ADR :66) and "Its body's ctx.api and ctx.engine" (handbook) name a surface a body cannot call. A body written from either sentence fails at its first ctx.engine call. Neither added item is in the ruling's own list. The ctx.api leg is the seat's application of the ruled class, follows from "no engine-side refusal", and is pinned by this PR, so it stands. The ctx.engine leg is pinned nowhere in the diff.

Fix, either form, in both files:

  1. Drop "and ctx.engine". This keeps the claim as narrow as the pin.
  2. Or write "a script action body's ctx.api, a registered action handler's ctx.engine". The handler leg is true by reading: the facade calls ql.insert under buildActionExecutionContext, and packages/objectql/src/engine.ts holds no package-state refusal (0 matches for isObjectPackageDisabled or OBJECT_PACKAGE_DISABLED). It would be stated unpinned.

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.

  • It drives a real sandboxed body. The action is type: 'script' with a js body and capabilities: ['api.write'], bound by AppPlugin from the composed artifact, and called through the dispatcher's /actions door as an admin with isSystem: false. The door's own system bypass is therefore not what serves it.
  • It is not vacuous. The control, in the same disabled window, has the data plane refuse POST and GET on the same object with 404 OBJECT_PACKAGE_DISABLED, and no hook runs for the refused write. Three independent observations then tie the served write down: the action answers 200, a beforeInsert hook registered under the disabled module's package id sees exactly the action's row, and after re-enable the data plane lists that row and not the refused one.
  • What turns it red: any refusal placed between a body's ctx.api and the engine for a disabled package's object (the action stops answering 200, the hook list stays empty, the row is absent after re-enable), and any regression of the data door (the control lines).
  • No ablation was run and none is owed. The ruled behaviour is the absence of a guard, and the control proves the disabled window is real.
  • Placement is right: a top-level describe in the component's existing harness file, built on its own helpers. The fifth module is opt-in (withProjects), so the other boots keep their four packages.

The handbook paragraph against main. Apart from S1, every sentence holds:

  • "run in system context": buildActionExecutionContext forces isSystem: true, and the body's ctx.api is built over it (buildActionApi, then buildSandboxApi).
  • "the module's own beforeInsert hooks run on the row": the disable door unregisters no hook. unregisterHooksByPackage is called only by the hook binder's rebind and the ObjectQL plugin, and hook dispatch does not read package state.
  • "the /actions door for the module's own objects": packages/runtime/src/domains/actions.ts:622 refuses the routed object before any declaration is read (refuseDispatchToDisabledObject).
  • "code running in-process never meets it": the one constructor of the refusal is the protocol's (packages/metadata-protocol/src/protocol-authoring-refusals.ts), and no service, plugin, trigger or sandbox source calls the protocol's data verbs.

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. main moved packages/objectql/src/engine.ts and engine-scoped-context.ts between the merge base and this head, and the pin passed on the merged tree. None of these breaks the design.

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 beforeInsert hook runs" reads as ruled. Saying that this assertion is the measured answer of today, as the addendum describe above it does, would keep a later reader from taking it for a decision. It sits in a non-prose file: leave it as an accepted deviation, or fold it into the commit that closes S1.

N2 (nit) — the handbook's list of outward doors is REST only. "(the data plane, the by-name reads and the /actions door ...)" follows the word "only", and the MCP faces answer the same code (run_action, per content/docs/ui/actions.mdx, and the data tools). A prose-face wording fix, free to make.

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: claude/issue-34900-inprocess-disabled-pkg-docs
Reviewed-by: isolated-l2-35563

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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 211562efb24205161f9841016e931876e37355f8
Local-runs: none
Scope: docs/adr/0070-package-first-authoring.md + packages/runtime/src/domains/packages-disable-app-module.test.ts (the pin that enforces the sentence), content/docs/deployment/marketplace-handbook.mdx (widened: it restates the same sentence)
Security-touching: yes

This is a DELTA record (d1) on PR #35563, Refs #34900. It reads the change from b1a24da96ffb56ca3a4d589a2a6a2367fac7856d, the head record 7016260113 reviewed, to this head. Everything that record judged and this delta does not touch stands as judged there.

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 main is still those three files.

main was not merged in. The branch's merge base with main is still bf69cb41. main has since moved 7 commits and 66 files ahead. None of them touches the three paths, the sandbox, the action door, the engine's hook dispatch, the protocol's refusal or the MCP package, so nothing read for this review has changed under it and the two sides share no path.

Check-runs on this head. 59 runs: 39 success, 19 skipped, 1 cancelled, none failed, none pending. The cancelled one is the first PR-body guards run (135737401886); a later run of the same name on this head (135737860702) is success. Test Core and its ten shards, Build Core, TypeScript Type Check, Lint & Repo Gates, Governed Surface Queue Guard, Dogfood Regression Gate, Test UI and Live E2E UI are success. Lint UI, Type Check UI and Build & E2E UI are skipped by their path filters, and Check Changeset is skipped under skip-changeset. The shard that carries the pin (job 135738883176) ran src/domains/packages-disable-app-module.test.ts: 28 tests passed.

① Derived judgments

Unchanged 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. Clause-②: no, Metadata-protocol: none and Refs #34900 stay right.

② Semver level

Unchanged. 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 skip-changeset stays right.

③ Boundary flags

④ Design judgment

S1, the fix. The ADR parenthesis now reads "(a hook's ctx.api, a script action body's ctx.api, services, cascades)", and the handbook reads "Its body's ctx.api runs in system context inside the server". The whole ADR change is the removal of "and ctx.engine". No ctx.engine is left in any of the three files. This is the first of the two fixes the record offered, the one that keeps the claim as narrow as the pin: the script-body leg the sentence names is the leg the pin drives. The rest of the sentence is word for word what the first record held against the ruling, so that judgment carries over. On this tree buildActionSandboxContext still hands a body api and no engine, so the corrected sentences agree with the code.

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 beforeInsert hooks also run on that row (measured, not ruled)".

N2, as changed. Right as far as it goes. The list now reads "(the REST data plane, the by-name reads, the /actions door for the module's own objects, and the MCP data tools)". Each item answers the code on this tree: the MCP data tools reach the same refusal through the data door and through the stdio bridge (packages/mcp/src/stdio-data-bridge.ts).

N3 (nit) — the handbook's list still follows "only" and still leaves out the MCP run_action tool. run_action is not a data tool, and it answers the same code for an object whose package is disabled (packages/runtime/src/action-execution.ts:5067; content/docs/ui/actions.mdx:865). Naming it, or dropping "only", makes the list true as written. A prose-face wording fix, free to make.

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: claude/issue-34900-inprocess-disabled-pkg-docs
Reviewed-by: isolated-l2-35563

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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

维护者速读

席位核对 — ACCEPT · repo:objectstack#5 · head 18029cc4b14f72810291566f370cc5578446502e · 2026-11-19T18:06Z

  • Shape: 3 files, +107/−7: one line of docs/adr/0070-package-first-authoring.md (cites ruling 6545646924 on 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, drops "Not decided here"), a paragraph of content/docs/deployment/marketplace-handbook.mdx, and a new pin in packages-disable-app-module.test.ts. Refs #34900, Clause-②: no, skip-changeset (no published package changes). L1-a ACCEPT 7015531634 (pkg).
  • Contract review: PASS 7016260113, then delta d1 PASS 7017012506 on 211562ef (S1: closed., no must-fix, no should-fix). The head 18029cc4 adds one handbook-only commit on top of 211562ef (+7/−6), taking d1's nits N3 (MCP run_action named beside /actions) and N4 (review vocabulary out of the customer page). That is the prose face d1 left under its record.
  • Gates: every check-run on this head finished: 39 success, 16 skipped, 0 failed.
  • For the maintainer at approval: the module's own beforeInsert running on such a row is today's measured behaviour, pinned but not ruled (letter 6538936519 lists it as an open gap); the handbook tells readers not to rely on it.
  • Accepted deviations: none open.
  • Landing clause: Tier H (docs/adr/**). K = 7 first-parent commits on main since merge base (< 15); merge-tree clean on the reviewed paths. This stroke: ready for review, reviewers os-zhuang, hotlong; pm:awaiting-merge. A human merge is the review record. pkg-2 closes Script action bodies write into a disabled package's objects: ctx.api insert succeeds where REST refuses 404 OBJECT_PACKAGE_DISABLED #34900 after the merge, citing 6545646924.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 19, 2026 18:07
@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 19, 2026
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit d980103 Nov 19, 2026
61 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-34900-inprocess-disabled-pkg-docs branch November 19, 2026 22:28
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 19, 2026
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 skip-changeset PR has no user-facing published change; bypasses the changeset gate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Script action bodies write into a disabled package's objects: ctx.api insert succeeds where REST refuses 404 OBJECT_PACKAGE_DISABLED

3 participants