PaaS Agent Run Audit Artifacts
Date: 2026-02-18 Scope: WS12-10 per-run audit artifacts and incident correlation linkage Owner: Codex1. Goal
Persist a durable artifact for every agent run-log entry so each run can be audited independently with direct incident correlation.2. Artifact Paths
Per-context artifact layout:contexts/<context>/events/agent-artifacts/<run-id>/<event-timestamp>.json- run log index remains
contexts/<context>/events/agent-runs.jsonl
agent-runs.jsonl now stores artifact_path for each row.
3. Artifact Payload
Each artifact stores:timestampcontextsource(agent-run)record(fullpaasAgentRunRecordsnapshot)
record includes:
incident_idincident_correlation_idpolicy_actionexecution_modeexecution_note- queue counters and runtime metadata
4. Command Output Linkage
The following commands now surfaceartifact_path:
si paas agent run-oncesi paas agent approvesi paas agent deny- blocked
si paas agent run-oncelock path responses
5. Test Coverage
Coverage added in:tools/si/paas_agent_artifact_store_test.gotools/si/paas_cmd_test.go(TestPaasAgentRunOnceOfflineFakeCodexDeterministicSmoke)

