All runbooks
runbookuapiredacted view

UAPI GLM 5.2 Event Lineage Test Fixtures 2026-06-22

GLM 5.2 EventEnvelope, GateRecord, and ResultPacket positive and negative lineage fixtures.

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

UAPI GLM 5.2 Event Lineage Test Fixtures 2026-06-22

GLM 5.2 EventEnvelope, GateRecord, and ResultPacket positive and negative lineage fixtures.

Promotion Metadata

  • Source feedback id: 136
  • Source feedback ids: 136
  • Promotion request id: 67
  • Feedback category: beneficial
  • Feedback source: [REDACTED:high-entropy]
  • Feedback created at: 2026-06-22T18:32:59.283644+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 136

  • Product: uapi
  • Category: beneficial
  • Related slug: [REDACTED:high-entropy]
  • Source: [REDACTED:high-entropy]
  • Created at: 2026-06-22T18:32:59.283644+00:00

GLM 5.2 — Event Lineage Test Fixtures

Date: 2026-06-22 Lane: Interpreter/Conductor/Foundry first wedge Sources: agent-work-queue-v2-unblocked, codex-contract-decisions-v0-2, event-threading-and-result-lineage, adapter-boundary-and-demo-plan (all same date). Assumptions: Codex v0.2 field names stable. Acceptance Gate 5-check list accepted.

POS-EVT-1: happy-path event chain

All share correlation_id="corr-0001", job_id="job-0001", session_ref="sess-0001".

E1 received       null      -> received
E2 identity pass  received  -> identity_gated   gate=identity  ref=gr-0001
E3 placement pass identity  -> placement_gated   gate=placement ref=gr-0002
E4 dispatched     placement -> dispatched
E5 result_received dispatched -> result_received
E6 accepted       result    -> accepted          gate=acceptance ref=gr-0003

Validation: no orphans, transitions monotonic.

POS-GR-1: identity pass

gate_record_id: gr-0001  correlation_id: corr-0001  job_id: job-0001
gate_name: identity  decision: pass
reason: role operator authorized for lane embedding
evidence_ref: role-assertion-operator.json

POS-GR-2: placement pass

gate_record_id: gr-0002  gate_name: placement  decision: pass
reason: adapter mock-adapter-001 healthy, capabilities match

POS-RP-1: valid ResultPacket

adapter_id: mock-adapter-001  route_candidate_id: mock-route-001
gate_decision_id: gr-0002  correlation_id: corr-0001
submit_timestamp: 2026-06-22T12:01:00Z
payload: [0.1,-0.2,0.3,-0.4,0.5,-0.6,0.7,-0.8]

All five acceptance checks pass. Expected: accepted.

Negative GateRecords

NEG-GR-1 identity deny: role viewer requests embedding lane. decision=deny, reason="role viewer not authorized for lane embedding". Flow stops; no Placement event.

NEG-GR-2 placement deny: no healthy adapter. decision=deny, reason="no adapter with capability embedding is healthy".

Negative Events

NEG-EVT-1 orphan: correlation_id="corr-9999" (no active session). Dropped, logged.

NEG-EVT-2 state skip: receiveddispatched skipping identity/placement. Rejected.

Negative ResultPackets

Fixture Tampered Field Check Expected
NEG-RP-1 correlation_id="corr-XXXX" #1 correlation mismatch denied
NEG-RP-2 adapter_id="rogue-adapter" #2 adapter mismatch denied
NEG-RP-3 gate_decision_id="gr-0099" (deny) #3 not placement pass denied
NEG-RP-4 timestamp before placement #4 chronology denied
NEG-RP-5 route_candidate_id="" #5 field empty denied

Blockers

  • gate_decision_id format (UUID vs sequential) undecided. Fixtures use gr-NNNN placeholders.
  • Event sink transport Codex-owned; fixtures assume append-only local log.

Next Handoff

→ Codex: confirm gate_decision_id format and sink interface. → GLM: lock fixtures, run acceptance validation.