Strip hooks from Codex portal package

This commit is contained in:
Drew Ritter
2026-06-30 17:32:44 -07:00
parent 4575372ed3
commit f0fece9404
2 changed files with 6 additions and 1 deletions

View File

@@ -140,6 +140,9 @@ extracted="$TEST_ROOT/extracted"
tar_extracted="$TEST_ROOT/tar-extracted"
write_metadata_fixture "$metadata_source"
source_hooks="$(python3 -c 'import json; print(json.load(open("'"$REPO_ROOT"'/.codex-plugin/plugin.json")).get("hooks"))')"
assert_equals "$source_hooks" "{}" "source Codex manifest suppresses local hook auto-discovery"
if output="$("$SCRIPT_UNDER_TEST" --allow-dirty --metadata-source "$metadata_source" --output "$archive" 2>&1)"; then
pass "package script exits successfully"
else