PaaS Agent Offline Fake-Codex Smoke Tests
Date: 2026-02-18 Scope: WS12-09 deterministic event-to-action smoke coverage Owner: Codex1. Goal
Validate thesi paas agent run-once event-to-action loop without Codex auth/network by forcing an offline fake runtime.
2. Offline Runtime Switches
agent run-once supports an offline fake-codex action path when either:
SI_PAAS_AGENT_OFFLINE_FAKE_CODEX=trueDYAD_CODEX_START_CMDpoints atfake-codex.sh
SI_PAAS_AGENT_OFFLINE_FAKE_CODEX_CMD='<command>'
tools/dyad/fake-codex.sh.
3. Deterministic Smoke Contract
When an incident is selected and policy action isauto-allow, agent run-once now emits:
execution_mode(offline-fake-codexordeferred)execution_note(compacted deterministic report summary)incident_correlation_id
contexts/<context>/events/agent-runs.jsonl- command output envelope (
si paas agent run-once --json)
4. Test Coverage
Deterministic smoke coverage is implemented in:tools/si/paas_cmd_test.go(TestPaasAgentRunOnceOfflineFakeCodexDeterministicSmoke)tools/si/paas_agent_offline_fake_codex_test.go
- deploy failure event collection
- incident queue selection
- policy auto-allow decision
- offline fake-codex execution
- execution metadata persistence in run logs

