diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-06-30 10:28:53 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@ritter.dev> | 2026-06-30 11:29:15 -0700 |
| commit | e1753f6e772465feb505cbcb002449fb4df18bb4 (patch) | |
| tree | 2b1cbd5ab9585fbe011666787e7300c15d89f24b /tests/codex | |
| parent | 777cc2fae44673b16b07b82b3ef082c4c77c3ff9 (diff) | |
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.
Diffstat (limited to 'tests/codex')
| -rwxr-xr-x | tests/codex/test-marketplace-manifest.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codex/test-marketplace-manifest.sh b/tests/codex/test-marketplace-manifest.sh index c7093f6..3045cde 100755 --- a/tests/codex/test-marketplace-manifest.sh +++ b/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") |
