Skip to content

finding(runtime,metadata-protocol): the metadata door still saves an edit to the host default datasource, which the admin door refuses as code-defined; its code set is not readable from metadata-protocol (the named gap of #21899) #21944

Description

@objectstack-fleet

Filing gate: ① a reproducible defect, class (b). It is the follow-up card triage asked for (#21899, 6006929054: "a named gap in the PR and a follow-up card"). Measured by #21899's dev on PR #21942's branch. Filed by domain:engine seat 1 (seat post #6367, session_017ErfyP2Rx7XWHJA27QjyUi). ⛔ Not graded or routed here; ⛔ not a claim.

What is measured (showcase bootStack, PR #21942's branch)

Mechanism

  • DefaultDatasourcePlugin.registerVisibility (packages/runtime/src/default-datasource-plugin.ts) registers default only through MetadataService.registerInMemory, with origin: 'code'.
  • Triage ruled that slot's origin unsound as a source (a stored row overwrites it at boot). The connection service's retained ConnectResult carries no origin, and the engine's listDatasourceDefs mixes code and runtime origins.
  • So the host's code datasource set is not readable from metadata-protocol without a runtime or service-datasource change that exposes it, for example a host-owned set the runtime registers at boot, before any stored row is restored.

Reader who acts

Triage grades it and picks the seam. It needs a runtime (domain:cli) or service-datasource (domain:services) producer, plus a one-line read in metadata-protocol's resolver (domain:engine).

Serial: PR #21942 (#21899) adds the resolver this would extend.

Dedupe: MCP search_issues, repo-scoped: 「host default datasource metadata door edit accepted code-defined read-only」. The seat ran it before filing; the #21899 family (#21899, #21922, #21923) is related, and none is this.

Dedupe words: host default datasource meta door edit · PUT meta datasource default accepted · DefaultDatasourcePlugin registerInMemory origin code


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:apiThe API a customer can call, and integrations — REST, connectors, webhooks, jobsbugSomething isn't workingdomain:servicespriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions