소스 검색

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 달 전
부모
커밋
e1753f6e77
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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")