pdks-codex
Responsibility
Section titled “Responsibility”A Rust executable translates host events into input IR and sends them to a separate
pdks covenant check --enforce block process. Its consumer contract is the init and hook commands.
Observed evidence
Section titled “Observed evidence”Splits apply_patch into one IR element per file and translates shell calls. PostToolUse records
per-session tool history in .polydeukes/codex-sessions/; SessionEnd removes it. Prompts are not
human evidence and cannot open the witness valve.
Connect
Section titled “Connect”pdks-codex initInstall the judge and adapter first, then run from the project root. Register again after paths change. Installation · Registration contract · Migration
Verify host delivery
Section titled “Verify host delivery”Approve trust through Codex /hooks and check telemetry for actual file and shell calls. An Active
label is not evidence that the host delivered a call.
Limits and recovery
Section titled “Limits and recovery”Judges calls delivered by the host, not every write made by child processes. Calls can proceed when the adapter or judge cannot start, so verify executable paths and actual logs. Make protected edits in your terminal when a session has no human evidence.