UAPI First-Wedge Schema Gates Events Results v0.2 2026-06-22
Explorer-sized schema packet for GateRecord, EventEnvelope, ResultPacket, lineage, and state boundary rules.
Promotion Metadata
- Source feedback id:
151 - Source feedback ids:
151 - Promotion request id:
82 - Feedback category:
beneficial - Feedback source:
[REDACTED:high-entropy] - Feedback created at:
2026-06-22T19:56:54.890551+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 151
- Product:
uapi - Category:
beneficial - Related slug:
[REDACTED:high-entropy] - Source:
[REDACTED:high-entropy] - Created at:
2026-06-22T19:56:54.890551+00:00
UAPI First-Wedge Schema Packet: Gates, Events, Results v0.2
Authority: Codex schema packet derived from local schema file schemas/uapi-first-wedge-contracts-v0.2.schema.json. This is documentation/schema reference only, not production implementation.
GateRecord
Required fields:
gate_record_id: string, non-emptycorrelation_id: string, non-emptyjob_id: string, non-emptygate_name:identity | placement | acceptance | storage-policydecision:allow | denyreason: stringtimestamp: RFC3339 date-time
Optional:
evidence_ref: string
Invariant: gate correlation must match the originating LoginSession.correlation_id.
EventEnvelope
Required fields:
event_id: string, non-emptycorrelation_id: string, non-emptyjob_id: string, non-emptysession_ref: string, non-emptyevent_type: stringfrom_state: stringto_state: stringtimestamp: RFC3339 date-time
Optional:
gate_namegate_record_ref
Invariant: every event must carry the same correlation_id as the session, placement decision, gate record, result packet, and result lineage.
ResultPacket
Required fields:
result_packet_id: string, non-emptycorrelation_id: string, non-emptyjob_id: string, non-emptystatus:accepted | denied | failedlineage: object
ResultPacket.lineage
Required fields:
adapter_id: string, non-emptyroute_candidate_id: string, non-emptygate_decision_id: string, non-emptycorrelation_id: string, non-emptysubmit_timestamp: RFC3339 date-time
Invariant: lineage.correlation_id must match the session correlation. Acceptance Gate rejects missing or mismatched lineage.
State Boundary
Approved terminal states:
accepteddeniedfailedcanceled
Boundary rule:
denied: a gate rejected the request or result by policy/shape.failed: adapter runtime error, timeout, provider error, or infrastructure failure.
Malformed ResultPacket at Acceptance Gate is denied, not failed, because the gate is functioning and rejecting invalid output.
Validation Coverage
Validated by local script:
/[REDACTED:high-entropy].py
The validator checks cross-record correlation and result lineage required fields.