codex_record_audit_event
Log governance audit events like final verdicts, test evidence, and obligation settlements to maintain a verifiable research trail.
Instructions
Trusted ChatGPT/bridge governance only. final_verdict content: JSON {verdict: ACCEPTED|REJECTED|NEEDS_REVISION, reason?: string}. completion_obligation_settled: JSON {obligation_id: string, evidence_ref: string}. task_closed atomically requires ACCEPTED, settled obligations, drained execution and research gates. bridge.test_evidence machine payload: JSON {version:1, run_id:string, generation:integer, evidence_key:string, status:PASS|FAIL, exit_code:integer}, using current codex_status execution_binding. Both PASS and exit_code=0 are required for command verification. Legacy prose is audit-only. Executors cannot certify evidence or acceptance. Duplicate closure is idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| task_id | Yes | ||
| event_type | Yes | ||
| related_paths | No |