Skip to content

feat: add codex-native plugin manifest + installer hook wiring#11

Open
Gradata wants to merge 3 commits into
mainfrom
docs/gra-62-release-checklist
Open

feat: add codex-native plugin manifest + installer hook wiring#11
Gradata wants to merge 3 commits into
mainfrom
docs/gra-62-release-checklist

Conversation

@Gradata
Copy link
Copy Markdown
Owner

@Gradata Gradata commented May 12, 2026

Implements the GRA-93 follow-up from GRA-56 by making Codex a first-class install path in gradata-plugin.

What changed

  • Added Codex-native manifest at .codex-plugin/plugin.json.
  • Added portable plugin hooks manifest at hooks/hooks.json with node hooks/*.js commands.
  • Extended setup/install.js with idempotent patchCodexConfig() to manage a Gradata block in ~/.codex/config.toml and wire lifecycle hooks (SessionStart, UserPromptSubmit, PostToolUse, PreCompact, Stop).
  • Kept AGENTS.md patching path intact so Codex now triggers the same graduation + AGENTS maintenance lifecycle.
  • Updated README supported-CLI docs for Codex install behavior.
  • Added tests for Codex config creation and idempotent append behavior.

Verification

  • node --check setup/install.js
  • node --check setup/doctor.js
  • node --test tests/install-idempotent.test.js (13/13 pass)

Notes

  • Interactive end-to-end Codex smoke (two-session correction -> RULE -> AGENTS.md write) is not replayed in this PR because it requires a live Codex interactive run and daemon-state progression. This PR delivers the missing wiring needed for that smoke to pass.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 00049221-7c5d-4880-b3d8-c951a85134d3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/gra-62-release-checklist

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant