Skip to content

Track Codex review parity for Signum audit flow #107

Description

@t3chn

Summary

Create a follow-up path for Codex Signum review parity after the eval/evolve foundation work.

The current foundation is merged:

  • policy scanner evals and baseline comparison
  • Codex prompt offline invariant evals
  • catalog-driven policy scanner rules
  • signum-evolve v0 candidate generation
  • historical replay signal
  • adversarial test planning eval gate

The remaining concern is whether Codex Signum has equivalent review discipline to the original Claude Code /signum flow.

Current observation

Claude Code has an explicit risk-proportional review runtime in platforms/claude-code/commands/signum.md:

  • prepare review prompts
  • launch Claude/Codex/Gemini reviewers for medium/high risk work
  • collect and parse review output
  • use reduced coverage in audit synthesis

Codex platforms/codex/SKILL.md describes external review as optional/degraded when providers are available, but it does not currently provide the same concrete runtime orchestration. Offline Codex prompt evals also do not execute live Codex or external reviewer CLIs.

This may explain why recent tooling/eval edge cases were found by external PR review after the internal Signum pass.

Proposed next PR

Add a narrow Codex review parity gate before any runtime wiring.

Suggested first slice:

  • Add offline Codex prompt fixtures/invariants for medium/high risk work where review artifacts are absent or audit coverage is materially reduced.
  • Ensure such cases cannot land on AUTO_OK unless explicitly low risk or explicitly allowed by fixture policy.
  • Add diagnostics that distinguish:
    • external reviewer unavailable
    • reduced audit coverage
    • missing review artifacts
    • Codex-only local analysis
  • Keep the change eval/check-only.

Non-goals

  • Do not modify platforms/codex/SKILL.md in the first slice unless the eval proves the prompt surface must change.
  • Do not wire automatic reviewer CLI launch yet.
  • Do not modify scanner behavior or policy rules.
  • Do not modify CI wiring.
  • Do not add OpenEvolve, ast-grep, Semgrep, or external dependencies.

Resume checklist

git switch main
git pull --ff-only origin main
git status --short -uall
rg -n "externalAuditCoverage|reducedAuditCoverage|AUTO_OK|review" platforms/codex evals/codex_prompt

Read first:

  • platforms/codex/SKILL.md
  • platforms/claude-code/commands/signum.md
  • platforms/claude-code/docs/reference.md
  • evals/codex_prompt/checks_codex_prompt.py
  • evals/codex_prompt/fixtures/

Acceptance criteria for the next slice

  • Medium/high risk Codex prompt eval fixtures with missing review coverage do not pass as safe AUTO_OK.
  • Offline eval output remains deterministic.
  • Existing Codex prompt and policy scanner comparisons have no regressions.
  • Runtime behavior remains unchanged unless a later PR intentionally wires reviewer orchestration.

Notes

This issue is a handoff pointer. It is intentionally not a runtime implementation task yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions