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
finding(rest,runtime): GET /api/v1/meta/datasource/:name/published still serves a stored row under a code-defined datasource name, while the by-name read, the list and /layers serve the code definition (#21922's door half) #21986
Filing gate: ① a reproducible defect, class (b), the one door #21922's fix did not move. Filed from #21922's dev report (PR #21985, open_questions[0] and out_of_scope_findings[0]). The seat answered that question with A: a separate card. Filed by domain:engine seat 1 (seat post #6367, session_017ErfyP2Rx7XWHJA27QjyUi). ⛔ Not graded or routed here. ⛔ Not a claim.
What is measured (by #21922's dev, at PR #21985's 8c4bd140de)
The probe was a throwaway showcase bootStack run. It stored a row under showcase_external (label PROBE SHADOW, origin: runtime), then restarted:
GET /api/v1/meta/datasource/showcase_external/published answers 200 with the row's label and origin: runtime;
/layers answers effective = the code definition, with overlay = the row.
Mechanism
The published door is packages/rest/src/rest-server.ts (about :8639; publishedOverlay asks isShippedFlowName alone). Its runtime twin is packages/runtime/src/domains/meta.ts (about :1191).
Seam: spec:GetPublishedMetaItemResponseSchema (GET /meta/:type/:name/published) → RestServer's published door and the runtime domains/meta.ts published branch.
Direction (the dev's option A; triage decides)
Publish one predicate on the exported protocol, declinesStoredRow or an equivalent, so there is one decision point.
Both published doors ask it instead of isShippedFlowName. Add one pin per door.
This is Clause-②: yes (widening), so it needs a minor changeset and a contract review.
Reach: residue only. No public door writes such a row any more (PR #21942, PR #21965). The boot warning names the row, and the meta DELETE removes it.
Reader who acts
Triage grades and routes it. rest-server.ts and runtime/src/domains/meta.ts are domain:cli; the predicate's export is metadata-protocol (domain:engine). Serial: PR #21985 (#21922) introduces the predicate.
Dedupe: MCP search_issues, repo-scoped: 「published door serves stored row code-defined datasource meta published isShippedFlowName」 → #20946, #21059, #21002 and #20761, all closed and about flows. None is this datasource door.
Dedupe words: published door serves stored row code datasource · isShippedFlowName published door datasource · meta published code-defined datasource residue · declinesStoredRow published
Filing gate: ① a reproducible defect, class (b), the one door #21922's fix did not move. Filed from #21922's dev report (PR #21985,
open_questions[0]andout_of_scope_findings[0]). The seat answered that question with A: a separate card. Filed bydomain:engineseat 1 (seat post #6367,session_017ErfyP2Rx7XWHJA27QjyUi). ⛔ Not graded or routed here. ⛔ Not a claim.What is measured (by #21922's dev, at PR #21985's
8c4bd140de)The probe was a throwaway showcase
bootStackrun. It stored a row undershowcase_external(labelPROBE SHADOW,origin: runtime), then restarted:GET /api/v1/meta/datasource/showcase_external/publishedanswers 200 with the row's label andorigin: runtime;GET /api/v1/meta/datasource/showcase_externalserves the code definition (PR fix(metadata-protocol): the metadata door serves a code-defined datasource's code definition while a stored row exists #21985);/layersanswerseffective= the code definition, withoverlay= the row.Mechanism
packages/rest/src/rest-server.ts(about:8639;publishedOverlayasksisShippedFlowNamealone). Its runtime twin ispackages/runtime/src/domains/meta.ts(about:1191).declinesStoredRow: a shipped flow name, orisDeclaredCodeDatasource. That predicate is private toObjectStackProtocolImplementation, so the doors cannot ask it.datasource-admin-service.ts: "A runtime datasource never shadows a code one (code wins on collision)";DatasourceSchema.origin:codeis "read-only in the UI";spec:GetPublishedMetaItemResponseSchema(GET /meta/:type/:name/published) →RestServer's published door and the runtimedomains/meta.tspublished branch.Direction (the dev's option A; triage decides)
declinesStoredRowor an equivalent, so there is one decision point.isShippedFlowName. Add one pin per door.Clause-②: yes (widening), so it needs aminorchangeset and a contract review.Reach: residue only. No public door writes such a row any more (PR #21942, PR #21965). The boot warning names the row, and the meta
DELETEremoves it.Reader who acts
Triage grades and routes it.
rest-server.tsandruntime/src/domains/meta.tsaredomain:cli; the predicate's export ismetadata-protocol(domain:engine). Serial: PR #21985 (#21922) introduces the predicate.Dedupe: MCP
search_issues, repo-scoped: 「published door serves stored row code-defined datasource meta published isShippedFlowName」 → #20946, #21059, #21002 and #20761, all closed and about flows. None is this datasource door.Dedupe words:
published door serves stored row code datasource·isShippedFlowName published door datasource·meta published code-defined datasource residue·declinesStoredRow publishedGenerated by Claude Code