agent/codex/IMPROVEMENTS.md
Snider 466fe9f5a6 feat(codex): mirror claude plugins and ethics modal
Summary:\n- added Codex marketplace registry plus awareness/ethics/guardrails sub-plugins\n- mirrored Claude plugin commands/scripts/hooks into codex api/ci/code/collect/coolify/core/issue/perf/qa/review/verify\n- embedded Axioms of Life ethics modal, guardrails, and kernel files under codex/ethics\n- added Codex parity report, improvements list, and MCP integration plan\n- extended Gemini MCP tools and docs for Codex awareness
2026-02-05 20:13:01 +00:00

1.9 KiB
Raw Permalink Blame History

Codex Extension Improvements (Beyond Claude Capabilities)

Goal

Identify enhancements for the Codex plugin suite that go beyond Claudes current capabilities, while preserving the Axioms of Life ethics modal and the blue-team posture.

Proposed Improvements

  1. MCP-First Commands

    • Replace any shell-bound prompts with MCP tools for safe, policycompliant execution.
    • Provide structured outputs for machinereadable pipelines (JSON summaries, status blocks).
  2. Ethics Modal Enforcement

    • Add a lint check that fails if prompts/tools omit ethics modal references.
    • Provide a codex_ethics_check MCP tool to verify the modal is embedded in outputs.
  3. Strings Safety Scanner

    • Add a guardrail script or MCP tool to flag unsafe string interpolation patterns in diffs.
    • Provide a “safe string” checklist to be autoinserted in risky tasks.
  4. CrossRepo Context Index

    • Build a lightweight index of core-agent plugin commands, scripts, and hooks.
    • Expose a MCP tool codex_index_search to query plugin capabilities.
  5. Deterministic QA Runner

    • Provide MCP tools that wrap core CLI for Go/PHP QA with standardised output.
    • Emit structured results suitable for CI dashboards.
  6. PolicyAware Execution Modes

    • Add command variants that default to “dryrun” and require explicit confirmation.
    • Provide a codex_confirm mechanism for highimpact changes.
  7. Unified Release Metadata

    • Autogenerate a Codex release manifest containing versions, commands, and hashes.
    • Add a “diff since last release” report.
  8. Learning Loop (NonSensitive)

    • Add a mechanism to collect nonsensitive failure patterns (e.g. hook errors) for improvement.
    • Ensure all telemetry is optin and redacts secrets.

Constraints

  • Must remain EUPL1.2.
  • Must preserve ethics modal and blueteam posture.
  • Avoid shell execution where possible in Gemini CLI.