Repository navigation
Conversation
…ave (#38174) ADR-0070 D1, ruling 7184753035: a save that still names no package after its address resolved, of a name no package holds and no loose row carries, is refused 422 WRITABLE_PACKAGE_REQUIRED naming the writable packages. In-place saves, holder customizations, W3/W4/W12 keep their answers. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…omation (#38174) - lint: flow-notify-channel-unregistered, the one predicate both flow write doors ask (unregisteredNotifyChannels); the metadata protocol hands the settled channel roster to the publish gate. - runtime: POST /automation unmounted and its ledger row removed; PUT /automation/:name of a new name answers 422 naming the /meta door. - client: automation.create removed; spec: createFlow contract and Create/FlowRequest/Response schemas retired; semantic migration entry. - refusal texts and docs no longer prescribe a package-less save. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…ackage-less sentence, refusal pins (#38174) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…annel rule tests (#38174) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…17604); package-bound drafts hold a name (#38174) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…e row (#38174) Mechanical: tests that created a new item with no package as setup now name an installed writable package; tests whose subject is a package-less row seed it through the engine with the system context (a fixture, not an exemption); tests that drove POST /api/v1/automation pin that it is not served or move to PUT. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…ackage-less create refusal and controls on the showcase (#38174) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…le count 90 in CLI transcripts, route-ledger census, issue ids out of runtime strings, typed service lookup (#38174) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
📓 Docs Drift CheckThis PR changes 7 package(s): 47 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 19 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 197 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 371dd9f37d73596ef9900b8113ffe3829b90b5fe && git checkout 371dd9f37d73596ef9900b8113ffe3829b90b5fe
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin f00ab66dd58099dbebb697e30f04a47ab26e34f0 b42848c55b9184090d99d0c2abb9450ee5e523d8 && git checkout -B drift-repro f00ab66dd58099dbebb697e30f04a47ab26e34f0 && git merge --no-ff b42848c55b9184090d99d0c2abb9450ee5e523d8
node scripts/docs-audit/affected-docs.mjs --json f00ab66dd58099dbebb697e30f04a47ab26e34f0
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd Contract reviewServed-tier: Reviewed at 2026-12-03T16:14Z. PR #39386 (draft), card #38174, base ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentThe narrowing against the published spec on
Accepted as designed: retiring CI at the head (read 2026-12-03T16:14Z): 52 check-runs: 14 success, 11 skipped, 27 in progress (Build Core, Build Docs, Build UI Deps, all Lint groups, Live E2E UI, Test Core 1–12 of 12, the four Type Check groups, v18 → v19 source upgrade), 0 failed so far. Combined status: pending. The head is 5 commits behind Independence: implemented in the card thread ( Implemented-by: VERDICT: FAIL One must-fix (F1) and four should-fix (F2–F5) are open; the original reviewer reads the delta on the next substantive head. No auto-merge was armed on this draft, so nothing is owed a disarm. |
… the package-duplicate skip (F2); W5 named at the call site Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…l-site comment name the fifth exemption and the notify-channel narrowing; named W3/W4 pins; notify rule states its judging mode; plugin-sharing patch Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…, as the door does Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
…r header totals, package-naming saves in http-conformance, plugin-audit and the live Studio page specs, a seed helper's body type Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
… name a package or seed the loose row Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CasbvyQnz4st6s79P9
Requested by Bill · project thread
Closes #38174
Clause-②: no (narrowing)
Metadata-protocol: narrowed
Skills-docs: follow-up owed — content/docs/permissions/permission-sets.mdx (the console's permission-set clone with no package; skills/** teach no package-less create,
POST /api/v1/automationorclient.automation.create)维护者速读
422 WRITABLE_PACKAGE_REQUIRED,列出可写包,不落库(ADR-0070 D1,裁定 7184753035)。source迁移、平台启动注册、组织归属仪式的旧行转换(裁定 7380917604 A)。POST /api/v1/automation与client.automation.create退役(Q-g C,裁定 7234518908);/meta保存 flow 时也拒绝未注册的 notify 渠道,两扇门共用一个判定。What changes (non-mechanical — review these)
Kernel
packages/metadata-protocol/src/protocol-packageless-create.ts(new):packagelessCreateRefusal— the create judgment and the 422 sentence; asked once in the save path after the address resolves.protocol-door-requests.ts: server-statedpackagelessCreateProvenance?: 'organization-ownership-ceremony'(W5). Neither wire door reaches it: an unknown body key answers 422INVALID_METADATA, an unknown query param 400VALIDATION_ERROR(pinned).Doors
packages/runtime/src/domains/automation.ts+ route ledger:POST /automationunmounted;PUT /automation/{name}for a new name answers 422 namingPUT /meta/flow/:name?package=.packages/runtime/src/domains/permission-set-clone.ts: the clone door's own sentence (names the body'spackage) instead of the kernel's.packages/lint/src/validate-flow-notify-channels.ts+authoring-rules.ts: ruleflow-notify-channel-unregisteredon the/metaruntime publish gate, once boot has settled;unregisteredNotifyChannelsis the one predicate both flow doors ask.packages/cli/src/utils/organization-ownership-apply.ts+commands/migrate/organization-ownership.ts: the ceremony passesLEFT_LOOSE; its report lists the loose conversions and names the move door.Spec / client
CreateFlowRequestSchema,CreateFlowResponseSchema,AutomationApiContracts.createFlow,client.automation.createremoved; retired-defs entries and generated baselines updated.Docs
.changeset/38174-packageless-create-refused.md(BREAKING, FROM→TO table);docs/qa/platform-checklist/FOLLOW-UPS.md§21; CLI transcript rule count 89→90.Mechanical test migration (175 + 75 files)
Each save that created a new item now either names an installed package, or seeds the loose row through the engine with the system context (the fixture) before the in-place save. Per package: mp (65 files), runtime (43), rest (19), objectql (42), cli (6), dogfood (75).
Worth a look while reviewing:
protocol-batch-object-registrationsetup useswriteFace: 'external-import'(an exemption used as a bypass).protocol.runtime-authoring-gate.test.ts: blanketpackageId: TEST_PKGon 94 saves.package=….package-duplicate-adopt-org-scope,sys-metadata-repository.package-writability, dogfoodpermission-set-clone-door.NS-NAME.Tests
meta-packageless-create-refused.test.ts(18: named pins for W3, W4, W12 and W5; W13 never reaches the kernel save and is pinned inpackages/metadata/src/metadata-manager-cluster.test.ts), lintvalidate-flow-notify-channels.test.ts(8), runtimepermission-set-clone.test.ts(+3), cliregister-package.test.ts(refusal +--packagecontrol), dogfoodpackageless-create-refused.dogfood.test.ts(7).external-importline off → W4 RED; kernel throw off → 9 RED / 7 GREEN; W5 line + draft clause off → 4 RED / 12 GREEN; lint predicate →[]→ 3 RED / 5 GREEN; clone sentence branch off → 2 RED.Verification
check:dual-build-cjs-loads(prerequisite: unrelated packages unbuilt locally; CI builds them). Runtime route-ledger / automation / mcp-discovery re-run 50 files, 1158 tests green.Open items
L2 7384515118 F1 (must-fix, waiting on Bill): the Console's permission-set clone of a platform set (
member_default) or a loose set now answers 422, and the Console sends no package. Either the clone dialog gains a landing-package choice here, or a ruling picks another landing. F2–F5, F7 and F8 are fixed at 90c84ed; F6 and F9 are nits, not taken.ADR-0070 / ADR-0084 marks go in a separate docs/adr PR (Tier H), referencing this PR.
Lands as Tier H (> 3,000 changed lines, narrowing): needs a GOVERNED_APPROVERS approval.
No second full runtime/cli run and no single full dogfood run after the last fixes; CI is the full run.
Generated by Claude Code