Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Parent_Agent: copilot
Child_Agent: copilot
Mission_Objective: Resolve Marketplace Integrity workflow failure for this PR by satisfying the mission protocol gate after it failed due to a non-trivial change in .github/scripts/validate-registry-paths.sh without a mission file.
Context_Links:
- Current pull request branch: copilot/fix-syntax-error-validate-registry-paths
- Workflow: Marketplace Integrity
- Trigger file: .github/scripts/validate-registry-paths.sh
Success_Criteria:
- Add a valid mission file under .github/MISSIONS with all mandatory keys populated.
- Ensure mission protocol validation passes for the current BASE_SHA...HEAD_SHA range.
Result_Payload:
- Mission file committed in this branch.
- CI mission protocol gate no longer fails due to missing mission file.
Validation_Steps:
- Run bash .github/scripts/validate-mission-protocol.sh with BASE_SHA and HEAD_SHA for this PR range.
- Confirm the Marketplace Integrity workflow passes on this branch.
9 changes: 5 additions & 4 deletions .github/scripts/validate-registry-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ fi
TMPFILE=$(mktemp)
trap 'rm -f "$TMPFILE"' EXIT

python3 - "$REGISTRY" >"$TMPFILE" <<'PYEOF' || {
echo "ERROR: Path extractor (python3) failed. Check that Python 3 is available and registry.json is valid JSON." >&2
exit 1
}
if ! python3 - "$REGISTRY" >"$TMPFILE" <<'PYEOF'
import json
import sys

Expand All @@ -57,6 +54,10 @@ with open(sys.argv[1]) as fh:
for p in extract_paths(data):
print(p)
PYEOF
then
echo "ERROR: Path extractor (python3) failed. Check that Python 3 is available and registry.json is valid JSON." >&2
exit 1
fi

mapfile -t PATHS <"$TMPFILE"

Expand Down
Loading