Scenario Control
ReadyOutput 01 / Generated TypeScript
Evacuation State Machine
Grok produced discriminated states, guarded transitions, and an audit history. This interactive adaptation runs the generated route logic in the browser.
Immutable Transition History
AuditableEvent Stream
Dispatch the alarm to begin the verified route.
Outputs 02–03 / Structured + Systems
Concrete In One Pass
The same runtime switched cleanly between strict JSON and engineering prose without changing tools or leaving the headless workflow.
Schema-Constrained Brief
20.5 SecondsForge Rescue
Train underground mine crews through concurrent smoke, power loss, and blocked egress using a fixed-layout digital twin.
- 01Choose secondary egress or refuge from smoke gradient, door state, and self-rescuer time.
- 02Authorize feeder or fan isolation without collapsing the viable ventilation path.
- 03Hold or split the crew when route blockage collides with incomplete accountability.
Acceptance Test
Typed JSON12-Minute Drill
A four-person crew completes refuge or secondary egress with correct isolation order, complete mayday and headcount, no warned dead-end entry, and four telemetry channels preserved for replay.
- T1Time to first SOP-valid action.
- T2Self-rescuer endurance versus route length.
- T3Radio checklist completeness and read-back latency.
- T4Tagged headcount versus actual positions.
Generated Code Excerpt
Vitest Passed / 328msexport type EvacState = | { kind: "Idle" } | { kind: "Egressing"; route: "primary" | "secondary"; since: number } | { kind: "Rerouting"; from: "primary"; reason: "blocked_egress"; at: number } | { kind: "Mustered"; route: "primary" | "secondary"; at: number }; case "Egressing": if (event.type === "BLOCK_EGRESS" && state.route === "primary") return { kind: "Rerouting", from: "primary", reason: "blocked_egress", at: now(event.at), }; // Every accepted and rejected dispatch enters the audit history.
Output 04 / Architecture Map
Boundaries Before Boxes
Grok separated real-time control from telemetry persistence and after-action review, then paired failure modes with observable signals.
72-Column Systems Map
33.4 Seconds [ SITE A LAN ] [ CONTROL PLANE ]
sim hosts session orchestration
instructor console fleet registry
edge collector API + WebSocket
| |
+-------- sync ----------+
|
+---------+---------+
| | |
session telemetry media
store TSDB store
| | |
+---------+---------+
|
[ AAR SERVICE ]
replay + score
Site Edge
Runs local sessions, buffers telemetry, and preserves a safe solo mode during WAN loss.
Control Plane
Owns lifecycle state, host assignment, instructor commands, and command authority.
Persistence
Provides ordered, idempotent event delivery and time-aligned telemetry storage.
After-Action
Rebuilds replay and scores from immutable artifacts without touching live control.
Independent Review / No Victory Lap
Constraint Ledger
Agent output stays useful when the verification surface distinguishes generated confidence from measured evidence.
All three runs exited successfully with non-empty final responses.
The product brief populated all required schema fields.
The blocked-egress reroute passed its generated Vitest test.
The code exceeded the requested 110-line ceiling. Behavior passed; brevity did not.
The maintained client is ready. Account registration and OAuth remain a manual credential step.