Parent
Dependency
None. This is the first ManagedSession-contract slice.
Scope
Publish a machine-readable, versioned contract for the existing controlled-alpha Run API and append-only Run events without changing their semantics.
Required behavior
- Add a discoverable schema catalog for the existing Run resource, Run creation command, Run event envelope, and current compatibility mode.
- Identify the current mapping as
run-as-session/v1.
- Freeze the current public payloads with compatibility fixtures derived through HTTP, not database reads.
- Keep Kertas Project, Outcome, Release, and connector models outside this repository.
- Reject unsupported schema/contract versions explicitly.
Public seams under test
- authenticated contract discovery over HTTP
- existing
/v1/runs and /v1/runs/:id/events responses validated against published schemas
- checked static fixtures representing the supported current contract
Acceptance criteria
Parent
Dependency
None. This is the first ManagedSession-contract slice.
Scope
Publish a machine-readable, versioned contract for the existing controlled-alpha Run API and append-only Run events without changing their semantics.
Required behavior
run-as-session/v1.Public seams under test
/v1/runsand/v1/runs/:id/eventsresponses validated against published schemasAcceptance criteria