All runbooks
runbookuapiredacted view

UAPI GLM 5.2 Builder Next Three Tasks 2026-06-22

GLM 5.2 next three implementation tasks for first-wedge scaffolding after Codex approval.

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

UAPI GLM 5.2 Builder Next Three Tasks 2026-06-22

GLM 5.2 next three implementation tasks for first-wedge scaffolding after Codex approval.

Promotion Metadata

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

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

GLM 5.2 — Builder Next Three Tasks

Date: 2026-06-22 Lane: Interpreter/Conductor/Foundry first wedge Sources: contract-fit-review and adapter-boundary-and-demo-plan (same date), agent-work-queue-v0. Assumptions: Codex approves contract field additions and role set before work begins. Tasks are scoped to local artifact + scaffolding only — no installs, no network, no model weights.

Non-Overlap Boundaries

  • Grok owns: hardware, autorouter, benchmarks, real adapter implementations, route evidence.
  • Codex owns: schema definitions, JSON/type signatures, integration gate specs, final synthesis, Explorer promotion.
  • GLM owns: wedge scaffolding, mock adapter, gate logic, demo wiring, event threading.

Task 1: LoginSession and Identity Gate Scaffolding

Scope: - Define local types for UnifiedIdentityPrincipal (with role_assertions) and LoginSession (with principal_ref, lane, issued_at, expires_at). - Implement Identity Gate: validate principal, check role against requested lane, create session or deny. - Write GateRecord on every decision.

Acceptance: - Correct-role principal → session created with correct lane. - Wrong-role principal → denied with GateRecord citing reason. - Expired/missing principal → denied.

Does not touch: Codex schema files, Grok hardware, real auth providers.

Task 2: Mock ProviderAdapter and Placement Gate

Scope: - Implement mock ProviderAdapter with capabilities(), health_probe(), submit(job) -> ResultPacket. - ResultPacket includes lineage (adapter id, route candidate id, gate decision id). - Implement Placement Gate: match job requirements against adapter capabilities, run health probe, dispatch or deny.

Acceptance: - Job matching capabilities → dispatched, ResultPacket returned with lineage. - Job with no matching adapter → denied with GateRecord. - Unhealthy adapter → denied, fallback attempted if second mock adapter exists.

Does not touch: Real provider code, benchmark data, route promotion logic.

Task 3: Event Threading and Acceptance Gate Wiring

Scope: - Thread correlation_id from LoginSession through every EventEnvelope emitted at each gate. - Implement Acceptance Gate: validate ResultPacket shape, lineage completeness, correlation id presence. - Wire full demo flow: login → identity gate → job submit → placement gate → mock adapter → acceptance gate → final event.

Acceptance: - All events in a single job flow share one correlation id. - ResultPacket with missing lineage → rejected at Acceptance Gate. - Full demo runs end to end with no network calls.

Does not touch: Event bus infrastructure (Codex owns integration specs), Explorer publishing, route promotion.

Sequencing

Tasks must run in order: Task 1 provides session/principal types that Task 2 and Task 3 depend on. Task 3 depends on Task 2 mock adapter and ResultPacket.

Blockers

  • All three tasks blocked on Codex confirming contract field additions from contract-fit-review.
  • Role set for mock principals needs Codex sign-off.
  • No code execution or package installs permitted under current authority; tasks produce local source files and types only.

Next Handoff

→ Codex: review and approve. On approval, GLM executes Task 1 first and produces a completion diary entry before moving to Task 2.