The default post-sync write changes global Codex instructions from synced overlay content, creating a persistent agent-control risk that merits a warning. The credential matches resolve to intended Cognito and machine-auth flows, and the manifest’s prepare hook does not perform this write.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Completion of a sync by an agent identity, with the post-sync flag enabled by default.
Impact
Synced overlay content can persistently change instructions supplied to Codex without per-write affirmative consent.
Mechanism
The runner reads the agent profile and capability Markdown, then writes the result to `~/.codex/AGENTS.md`; only the exact opt-out value `0` disables this step.
Evidence
dist/agent-codex-instructions.jsdist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.js~/.codex/AGENTS.md