You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
runtime: the action activation door drops the declaration's ambiguity refusal, so two packages' same-named global action answers 404 'has no declaration' instead of 409 naming the holders (ADR-0150) #32689
Filing category: ① product defect with a named location (out-of-scope finding, class a, of #32517's os-dev report 6820789989, measured on main and on PR #32687's head cf96064ea). Part of #31527 (ADR-0150) · Refs #32517
维护者速读
改什么:两个包各声明一个同名、不挂对象的 action 时,激活门 POST /actions/_activation/global/:action 应像执行门一样答 409 并点名两个持有者,而不是 404「has no declaration」。
验证:两包各带一个 object-less action a1,在组合栈上 POST /actions/_activation/global/a1 应答 409 点名两包;单持有者照旧。
需要你做的:无,归专题席派发。
What happens
On the composed stack (main too), two packages' object-less action of one name: the bare execution door answers 409 naming the holders, but the activation door answers 404 "has no declaration — there is nothing to switch". resolveRouteActionDeclaration carries a refusal for the ambiguous name; the activation handler never reads it and falls into the !declaration.action branch.
Do
When the declaration reading carries a refusal, the activation door answers it (status and holders as the execution door does) before the "no declaration" branch. Both enabled: true and false.
Pins: two holders → 409 naming both (red on main: 404); CONTROL one holder → unchanged (200 / ledger row); CONTROL truly undeclared name → 404 unchanged. Ablate once.
Reader who acts: the server seat the epic seat routes it to. Epic red-line read before landing. Overlap: PR #32687 (#32517) changes the same door for hosts without a merged list; land after it and merge main.
Blocked-by: #32517
Grade: p2 (first-party reach 0).
Claim: area-lease pilot #33059, area E2b · 2026-11-14T17:05Z
Branch: claude/area-E2b-32689
Account: os-elon-musk
Clause-②: yes (narrowing) — POST /api/v1/actions/_activation/:object/:action for a name two packages hold on the route's key: FROM 404 RESOURCE_NOT_FOUND "has no declaration — there is nothing to switch" TO 409 RESOURCE_CONFLICT naming every holder (error.details.candidates), in both directions, nothing written — the execution door's answer for the same name. One holder and an undeclared name answer as before.
Metadata-protocol: none
Skills-docs: none — no skill under skills/** and no page under content/docs/** teaches the activation door's answer to a two-holder name.
Surface: packages/runtime/src/domains/actions.ts (activation door step 3) and packages/runtime/src/domains/action-activation-unpackaged.test.ts. Resumed from claude/area-E2b-32689@c9c6b64c.
{
"issue": 32689,
"status": "done",
"branch": "claude/area-E2b-32689",
"pr": "https://github.com/objectstack-ai/objectstack/pull/33399",
"head": "2bf90b60626483f25bb4d68c9c35f77e4eb064d1",
"session": "session_016WV4cyWLSMyXZGc6dwhCAu",
"premise_still_valid": true,
"summary": "Resumed from claude/area-E2b-32689@c9c6b64c, whose fix was checked against the card and kept: the activation door POST /actions/_activation/:object/:action now answers a declaration reading that carries a refusal (a name two packages hold on the route's key) with the shared refusedNameAnswer, 409 RESOURCE_CONFLICT with every candidate in error.details.candidates, the envelope the execution door answers the same refusal with. It sits after the degraded 503 branch and before the 'no declaration' 404 branch, in both directions, and nothing is written. Added the one-holder object-less CONTROL (200 and its row naming the package, enabled false and true) next to the existing pins: two holders object-less and on one object, each 409 naming both, on and off; undeclared name 404 'has no declaration' on and off; one holder on one object 200 and its row. Added the patch changeset with BREAKING FROM to TO and the ADR-0087 disposition, posted the claim comment, and opened draft PR #33399. action-execution.ts, objectql and metadata-protocol are untouched.",
"clause2": "Clause-②: yes (narrowing) — POST /api/v1/actions/_activation/OBJECT/NAME for a name two packages hold on the route's key: FROM 404 RESOURCE_NOT_FOUND 'has no declaration — there is nothing to switch' TO 409 RESOURCE_CONFLICT naming every holder (error.details.candidates), enabled true and false, nothing written. Metadata-protocol: none. Skills-docs: none.",
"tests": "At 2bf90b6062 under the verify lock, after the closure build (pnpm --filter '@objectstack/runtime^...' build, exit 0). pnpm --filter @objectstack/runtime test: exit 0, Test Files 598 passed (598), Tests 10656 passed | 19 skipped (10675). pnpm --filter @objectstack/runtime typecheck: exit 0. Pin file action-activation-unpackaged.test.ts: 23/23. eslint --no-inline-config on the two changed sources: exit 0. Control-byte scan on the three changed files: clean. ABLATION (one, covers both NARROWING pins): scripts/ablation-replace.mjs --delete of the line 'if (declaration.refusal) return refusedNameAnswer(deps, declaration.refusal);' in packages/runtime/src/domains/actions.ts. On disk the anchor went 1 to 0 and the blob 956da40f97d1 to 962849a03558. The test reaches the door through a relative src import, so no build leg. Red: Tests 2 failed | 21 passed (23). Both NARROWING pins got the BASE answer, 404 RESOURCE_NOT_FOUND 'Action shared_ping on global (and on crm_contact) has no declaration — there is nothing to switch off'. Every CONTROL stayed green. Restored with git checkout HEAD -- ABS_PATH: blob 956da40f97d1 equals the HEAD blob, git diff HEAD empty, anchor 1. Restored run 23/23. Lock VERDICT command-exit 0. main has not changed actions.ts since base d4fbb4dbb (also checked against origin/main df9fe94630), so the pins are red on main.",
"gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 66 commands at 2bf90b6062, each run with stdin from /dev/null and the exit code captured before any pipe. 65 exit 0. Four dist-reading gates (check:dts-closure, check:lean-entry-closure, check:sourcemap-no-sources-content, check:type-check-debt) exited 3 PREREQUISITE NOT MET before the closure build and 0 after it. NOT MEASURED: check:dual-build-cjs-loads, exit 3, because it needs every workspace package's dist. --ran: '66 derived, 65 run, 1 NOT-MEASURED, 0 UNRUN' (exit 0). CI on the PR head 2bf90b6062: 51 check-runs, 35 success, 16 skipped, 0 failure. Lint & Repo Gates success (it carries check:dual-build-cjs-loads), TypeScript Type Check success, Test Core success (8/8 shards), Build Core success, Governed Surface Queue Guard success, Check Changeset success, Test UI success, Live E2E UI success, Dogfood Regression Gate success. Skipped: Lint UI, Type Check UI, Build & E2E UI.",
"dogfood_battery": "2bf90b6062 · os-verify-lock VERDICT command-exit 0 (held 2477s, after pnpm --filter '@objectstack/dogfood^...' build exit 0) · pnpm --filter @objectstack/dogfood test, no OS_TEST_SHARD, no path · Test Files 464 passed | 3 skipped (467) · Tests 3927 passed | 42 skipped (3969) · no failures",
"mcp_calls": "0",
"api_writes": "3 relay dispatches as objectstack-fleet[bot]: (1) post-stamped claim comment POST /repos/objectstack-ai/objectstack/issues/32689/comments (comment 6881158463, read back identical); (2) pr_create POST /repos/objectstack-ai/objectstack/pulls (#33399, draft) plus its assignee leg POST /repos/objectstack-ai/objectstack/issues/33399/assignees [os-elon-musk], read back identical (8201 bytes); (3) the os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/32689/comments. Also 2 git pushes (e5bc4533a5, 2bf90b6062), which are not REST writes.",
"deviations": [
"The draft PR was opened after local verification, not at the first push. The shared verify lock was held for about 70 minutes by a sibling's full dependents test run (pid 31240, worktree agent-a7706109b78d23b3e), and os-dev allows the PR body only at pr_create, with no later PATCH, so the PR was opened once the readings existed.",
"Commit trailers use AGENTS.md's model-free pair (Co-authored-by: Claude, Claude-Session) instead of the harness's model-named Co-Authored-By line, because AGENTS.md wins and the pre-push hook refuses a model identifier. The PR body ends with AGENTS.md's session-URL footer, not the order's 'Generated with' line.",
"Dependents narrowed: CI's Test Core selection for a runtime change is about 50 packages. Locally only runtime's suite and the full dogfood battery ran; the rest is declared to CI, whose Test Core 8/8 is green on the head.",
"No origin/main merge: main did not change any file this PR touches (addendum rule). The worktree is harness-owned and locked, so it was not removed; only its node_modules was deleted."
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — with two packages holding one action name, the activation door has no per-package address, because the ledger keys an action by name. Neither package's action can be switched there until one package holds the name. This was already true before (404, nothing switched); it is a design note in the PR's Acceptance notes, not a defect."
]
}
Activity
objectstack-fleet commentedon Nov 12, 2026
domain:server#2 · os-bill · session_01Utp6CaP1iy4RSEQbW6177G
Unblocked: #32517 landed (PR #32687,
34890e0e72). Back to the queue.objectstack-fleet commentedon Nov 13, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first-touch audit (pre-labeled card) ·
p2→p3· 2026-11-13T08:28Z⛔ Not a claim; the claim (if any) is unchanged.
Generated by Claude Code
objectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4cyWLSMyXZGc6dwhCAu
Claim: area-lease pilot #33059, area E2b · 2026-11-14T17:05Z
Branch:
claude/area-E2b-32689Account:
os-elon-muskClause-②: yes (narrowing) —
POST /api/v1/actions/_activation/:object/:actionfor a name two packages hold on the route's key: FROM404 RESOURCE_NOT_FOUND"has no declaration — there is nothing to switch" TO409 RESOURCE_CONFLICTnaming every holder (error.details.candidates), in both directions, nothing written — the execution door's answer for the same name. One holder and an undeclared name answer as before.Metadata-protocol: none
Skills-docs: none — no skill under
skills/**and no page undercontent/docs/**teaches the activation door's answer to a two-holder name.Surface:
packages/runtime/src/domains/actions.ts(activation door step 3) andpackages/runtime/src/domains/action-activation-unpackaged.test.ts. Resumed fromclaude/area-E2b-32689@c9c6b64c.objectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4cyWLSMyXZGc6dwhCAu
os-dev-report
{ "issue": 32689, "status": "done", "branch": "claude/area-E2b-32689", "pr": "https://github.com/objectstack-ai/objectstack/pull/33399", "head": "2bf90b60626483f25bb4d68c9c35f77e4eb064d1", "session": "session_016WV4cyWLSMyXZGc6dwhCAu", "premise_still_valid": true, "summary": "Resumed from claude/area-E2b-32689@c9c6b64c, whose fix was checked against the card and kept: the activation door POST /actions/_activation/:object/:action now answers a declaration reading that carries a refusal (a name two packages hold on the route's key) with the shared refusedNameAnswer, 409 RESOURCE_CONFLICT with every candidate in error.details.candidates, the envelope the execution door answers the same refusal with. It sits after the degraded 503 branch and before the 'no declaration' 404 branch, in both directions, and nothing is written. Added the one-holder object-less CONTROL (200 and its row naming the package, enabled false and true) next to the existing pins: two holders object-less and on one object, each 409 naming both, on and off; undeclared name 404 'has no declaration' on and off; one holder on one object 200 and its row. Added the patch changeset with BREAKING FROM to TO and the ADR-0087 disposition, posted the claim comment, and opened draft PR #33399. action-execution.ts, objectql and metadata-protocol are untouched.", "clause2": "Clause-②: yes (narrowing) — POST /api/v1/actions/_activation/OBJECT/NAME for a name two packages hold on the route's key: FROM 404 RESOURCE_NOT_FOUND 'has no declaration — there is nothing to switch' TO 409 RESOURCE_CONFLICT naming every holder (error.details.candidates), enabled true and false, nothing written. Metadata-protocol: none. Skills-docs: none.", "tests": "At 2bf90b6062 under the verify lock, after the closure build (pnpm --filter '@objectstack/runtime^...' build, exit 0). pnpm --filter @objectstack/runtime test: exit 0, Test Files 598 passed (598), Tests 10656 passed | 19 skipped (10675). pnpm --filter @objectstack/runtime typecheck: exit 0. Pin file action-activation-unpackaged.test.ts: 23/23. eslint --no-inline-config on the two changed sources: exit 0. Control-byte scan on the three changed files: clean. ABLATION (one, covers both NARROWING pins): scripts/ablation-replace.mjs --delete of the line 'if (declaration.refusal) return refusedNameAnswer(deps, declaration.refusal);' in packages/runtime/src/domains/actions.ts. On disk the anchor went 1 to 0 and the blob 956da40f97d1 to 962849a03558. The test reaches the door through a relative src import, so no build leg. Red: Tests 2 failed | 21 passed (23). Both NARROWING pins got the BASE answer, 404 RESOURCE_NOT_FOUND 'Action shared_ping on global (and on crm_contact) has no declaration — there is nothing to switch off'. Every CONTROL stayed green. Restored with git checkout HEAD -- ABS_PATH: blob 956da40f97d1 equals the HEAD blob, git diff HEAD empty, anchor 1. Restored run 23/23. Lock VERDICT command-exit 0. main has not changed actions.ts since base d4fbb4dbb (also checked against origin/main df9fe94630), so the pins are red on main.", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 66 commands at 2bf90b6062, each run with stdin from /dev/null and the exit code captured before any pipe. 65 exit 0. Four dist-reading gates (check:dts-closure, check:lean-entry-closure, check:sourcemap-no-sources-content, check:type-check-debt) exited 3 PREREQUISITE NOT MET before the closure build and 0 after it. NOT MEASURED: check:dual-build-cjs-loads, exit 3, because it needs every workspace package's dist. --ran: '66 derived, 65 run, 1 NOT-MEASURED, 0 UNRUN' (exit 0). CI on the PR head 2bf90b6062: 51 check-runs, 35 success, 16 skipped, 0 failure. Lint & Repo Gates success (it carries check:dual-build-cjs-loads), TypeScript Type Check success, Test Core success (8/8 shards), Build Core success, Governed Surface Queue Guard success, Check Changeset success, Test UI success, Live E2E UI success, Dogfood Regression Gate success. Skipped: Lint UI, Type Check UI, Build & E2E UI.", "dogfood_battery": "2bf90b6062 · os-verify-lock VERDICT command-exit 0 (held 2477s, after pnpm --filter '@objectstack/dogfood^...' build exit 0) · pnpm --filter @objectstack/dogfood test, no OS_TEST_SHARD, no path · Test Files 464 passed | 3 skipped (467) · Tests 3927 passed | 42 skipped (3969) · no failures", "mcp_calls": "0", "api_writes": "3 relay dispatches as objectstack-fleet[bot]: (1) post-stamped claim comment POST /repos/objectstack-ai/objectstack/issues/32689/comments (comment 6881158463, read back identical); (2) pr_create POST /repos/objectstack-ai/objectstack/pulls (#33399, draft) plus its assignee leg POST /repos/objectstack-ai/objectstack/issues/33399/assignees [os-elon-musk], read back identical (8201 bytes); (3) the os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/32689/comments. Also 2 git pushes (e5bc4533a5, 2bf90b6062), which are not REST writes.", "deviations": [ "The draft PR was opened after local verification, not at the first push. The shared verify lock was held for about 70 minutes by a sibling's full dependents test run (pid 31240, worktree agent-a7706109b78d23b3e), and os-dev allows the PR body only at pr_create, with no later PATCH, so the PR was opened once the readings existed.", "Commit trailers use AGENTS.md's model-free pair (Co-authored-by: Claude, Claude-Session) instead of the harness's model-named Co-Authored-By line, because AGENTS.md wins and the pre-push hook refuses a model identifier. The PR body ends with AGENTS.md's session-URL footer, not the order's 'Generated with' line.", "Dependents narrowed: CI's Test Core selection for a runtime change is about 50 packages. Locally only runtime's suite and the full dogfood battery ran; the rest is declared to CI, whose Test Core 8/8 is green on the head.", "No origin/main merge: main did not change any file this PR touches (addendum rule). The worktree is harness-owned and locked, so it was not removed; only its node_modules was deleted." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — with two packages holding one action name, the activation door has no per-package address, because the ledger keys an action by name. Neither package's action can be switched there until one package holds the name. This was already true before (404, nothing switched); it is a design note in the PR's Acceptance notes, not a defect." ] }fix(runtime)!: the action activation door answers a name two packages…