Skip to content

An agentic skills framework & software development methodology that works.

Keep Codex hooks manifest in plugin metadata

Jesse Vincentd3760570298c
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index c98b525f6..7f8ae7b64 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",
diff --git a/tests/codex/test-marketplace-manifest.sh b/tests/codex/test-marketplace-manifest.sh
index 486cb3013..c7093f6b1 100755
--- a/tests/codex/test-marketplace-manifest.sh
+++ b/tests/codex/test-marketplace-manifest.sh
@@ -51,16 +51,11 @@ if not plugin_manifest.exists():
manifest = json.loads(plugin_manifest.read_text(encoding="utf-8"))
assert_equal(manifest.get("name"), plugin.get("name"), "plugin manifest name")
-
-unsupported_manifest_fields = ["hooks"]
-present_unsupported = sorted(
- field for field in unsupported_manifest_fields if field in manifest
+assert_equal(
+ manifest.get("hooks"),
+ "./hooks/hooks-codex.json",
+ "Codex hooks manifest",
)
-if present_unsupported:
- raise AssertionError(
- "unsupported Codex manifest fields present: "
- + ", ".join(present_unsupported)
- )
print("Codex marketplace manifest looks good")
PY