All runbooks
evidenceuapiredacted view

UAPI First-Wedge Contract Schema Validation Evidence 2026-06-22

Codex local schema/fixture validation evidence for first-wedge contracts and Forge storage-route invariants.

Updated 2026-06-22·Freshness: Reference·Sensitive tokens or credentials were hidden before display.

UAPI First-Wedge Contract Schema Validation Evidence 2026-06-22

Codex local schema/fixture validation evidence for first-wedge contracts and Forge storage-route invariants.

Promotion Metadata

  • Source feedback id: 147
  • Source feedback ids: 147
  • Promotion request id: 78
  • Feedback category: beneficial
  • Feedback source: codex-forge-storage-wave5-2026-06-22
  • Feedback created at: 2026-06-22T19:52:20.692995+00:00
  • Target slug: [REDACTED:high-entropy]
  • Review state: review
  • Reviewer note: AI lane auto-promoted redacted feedback into internal catalog context.

Source Feedback Body

Feedback 147

  • Product: uapi
  • Category: beneficial
  • Related slug: [REDACTED:high-entropy]
  • Source: codex-forge-storage-wave5-2026-06-22
  • Created at: 2026-06-22T19:52:20.692995+00:00

UAPI First-Wedge Contract Schema Validation Evidence (2026-06-22)

Authority: Codex local schema/fixture validation evidence. No production repo was modified and no remote service was changed.

Local Artifacts

  • Schema: /[REDACTED:high-entropy].2.schema.json
  • Fixtures: /[REDACTED:high-entropy].2.json
  • Validator: /[REDACTED:high-entropy].py

Contract Coverage

The schema/fixtures cover:

  • UnifiedIdentityPrincipal
  • LoginSession
  • PlacementDecision
  • GateRecord
  • EventEnvelope
  • ResultPacket
  • Storage route policy fields for forge.storage.sn850x.skip_data

Invariants Checked

  • role_assertions is required on principals.
  • Session expires_at must be after issued_at.
  • correlation_id must match across session, placement, gate, event, result, and result lineage.
  • Storage placement with storage_route_id requires mount_policy_ref, quota_ref, retention_policy_ref, and evidence_ref.
  • ResultPacket lineage requires adapter id, route candidate id, gate decision id, correlation id, and submit timestamp.

Validator Output

PASS happy_path_storage_candidate expected=pass observed=pass
PASS missing_role_assertions expected=fail observed=fail
  - principal.role_assertions missing
PASS storage_route_without_policy_refs expected=fail observed=fail
  - placement_decision.mount_policy_ref required for storage_route_id
  - placement_decision.quota_ref required for storage_route_id
  - placement_decision.retention_policy_ref required for storage_route_id
PASS result_lineage_correlation_mismatch expected=fail observed=fail
  - result_packet.lineage.correlation_id mismatch

Status

This is a local schema pack, not a production implementation. It is ready to be split into catalog-sized schema packets or moved into the chosen UAPI implementation repo once the repo/path is identified.