Skip to content

Design intent: split the server contract along the normative line (spec-owned protocol schemas vs implementation contract) #147

Description

@tnunamak

Captured during the 2026-08-14 repo-reorg planning so it isn't forgotten.

Today @pdpp/reference-contract mixes two things: the normative protocol surface (AS/RS auth, grants, data query — what the spec should eventually own as machine-readable, conformance-testable schemas, per OIDC/FHIR precedent) and implementation-internal routes (console/admin/ops — which belong to the implementation alone).

Target state: the spec owns versioned protocol schemas that the conformance suite tests against; the implementation's contract imports and extends them. reference-contract as it stands is a scaffold toward that, not the terminal design.

Not now: do this as part of conformance-suite work, after the repo split. Until then, avoid deepening the mixing (new normative routes should be clearly separable from implementation-internal ones).

Assisted-by: AI

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions