summaryrefslogtreecommitdiff
path: root/tests/codex
diff options
context:
space:
mode:
authorDrew Ritter <drew@primeradiant.com>2026-06-30 17:45:41 -0700
committerDrew Ritter <drew@primeradiant.com>2026-06-30 17:45:41 -0700
commit79d83245aaf4a730555d8f027ed0c1f8d1639e70 (patch)
tree9e99d823bc5d1e6d332f260d207a113b8809f825 /tests/codex
parentf0fece940470ce3e53d46cebb1ce9243fc07ae15 (diff)
Preserve hooks in Codex package manifestcodex/pri-2443-codex-package-hooks
Diffstat (limited to 'tests/codex')
-rwxr-xr-xtests/codex/test-package-codex-plugin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codex/test-package-codex-plugin.sh b/tests/codex/test-package-codex-plugin.sh
index 3a3d715..62c73f1 100755
--- a/tests/codex/test-package-codex-plugin.sh
+++ b/tests/codex/test-package-codex-plugin.sh
@@ -173,7 +173,7 @@ assert_contains "$archive_paths" "assets/superpowers-small.svg" "archive include
manifest_summary="$(read_archive_file "$archive" .codex-plugin/plugin.json | python3 -c 'import json,sys; data=json.load(sys.stdin); print("\t".join([data["name"], data["version"], data["skills"], str(data.get("hooks"))]))')"
expected_version="$(python3 -c 'import json; print(json.load(open("'"$REPO_ROOT"'/.codex-plugin/plugin.json"))["version"])')"
-assert_equals "$manifest_summary" "superpowers $expected_version ./skills/ None" "archive manifest is current and hook-free"
+assert_equals "$manifest_summary" "superpowers $expected_version ./skills/ $source_hooks" "archive manifest preserves source hooks"
skill_count="$(find "$extracted/skills" -mindepth 1 -maxdepth 1 -type d | wc -l | tr -d ' ')"
metadata_count="$(find "$extracted/skills" -path '*/agents/openai.yaml' -type f | wc -l | tr -d ' ')"