diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-06-22 11:14:09 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@ritter.dev> | 2026-06-30 11:29:15 -0700 |
| commit | d3760570298cadccbb82f4540d1064f7914204ca (patch) | |
| tree | 965a1b1692529f80e9e40659f1420f5c5abe305f /.codex-plugin/plugin.json | |
| parent | add6a283b17c90dba37fe538b02b7242a512d35f (diff) | |
Keep Codex hooks manifest in plugin metadata
Prompt: Jesse questioned whether the PR should remove the hooks config from the Codex plugin manifest.
Runtime investigation showed Codex accepts a committed plugin manifest with hooks and installs the plugin successfully. Removing the field changes behavior: Codex falls back to the default hooks/hooks.json, which uses the non-Codex session-start hook and CLAUDE_PLUGIN_ROOT path, instead of hooks/hooks-codex.json and the session-start-codex script.
Changes: restore .codex-plugin/plugin.json hooks to ./hooks/hooks-codex.json and update the Codex marketplace manifest test to require that Codex-specific hook pointer instead of rejecting hooks.
Validation: bash tests/codex/test-marketplace-manifest.sh; scripts/lint-shell.sh tests/codex/test-marketplace-manifest.sh; bash tests/codex-plugin-sync/test-sync-to-codex-plugin.sh; bash tests/kimi/test-plugin-manifest.sh; bash tests/shell-lint/test-lint-shell.sh.
Diffstat (limited to '.codex-plugin/plugin.json')
| -rw-r--r-- | .codex-plugin/plugin.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index c98b525..7f8ae7b 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -21,6 +21,7 @@ "workflow" ], "skills": "./skills/", + "hooks": "./hooks/hooks-codex.json", "interface": { "displayName": "Superpowers", "shortDescription": "Planning, TDD, debugging, and delivery workflows for coding agents", |
