mirror of
https://github.com/obra/superpowers.git
synced 2026-07-01 23:19:04 +08:00
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.
This commit is contained in:
@@ -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("name"), plugin.get("name"), "plugin manifest name")
|
||||||
assert_equal(
|
assert_equal(
|
||||||
manifest.get("hooks"),
|
manifest.get("hooks"),
|
||||||
"./hooks/hooks-codex.json",
|
None,
|
||||||
"Codex hooks manifest",
|
"Codex manifest ships no hooks",
|
||||||
)
|
)
|
||||||
|
|
||||||
print("Codex marketplace manifest looks good")
|
print("Codex marketplace manifest looks good")
|
||||||
|
|||||||
Reference in New Issue
Block a user