Browse Source

test(codex): assert Codex manifest ships no hooks

Commit 1f0c76e removed the Codex SessionStart hook — dropping the hooks
field from .codex-plugin/plugin.json and deleting hooks-codex.json — but
left test-marketplace-manifest.sh asserting the old hooks pointer, so the
test has failed on dev since. Assert the field is absent instead, locking
in the no-Codex-hooks decision.
Jesse Vincent 2 months ago
parent
commit
9c9b9bd7c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/codex/test-marketplace-manifest.sh

+ 2 - 2
tests/codex/test-marketplace-manifest.sh

@@ -53,8 +53,8 @@ manifest = json.loads(plugin_manifest.read_text(encoding="utf-8"))
 assert_equal(manifest.get("name"), plugin.get("name"), "plugin manifest name")
 assert_equal(
     manifest.get("hooks"),
-    "./hooks/hooks-codex.json",
-    "Codex hooks manifest",
+    None,
+    "Codex manifest ships no hooks",
 )
 
 print("Codex marketplace manifest looks good")