Skip to content

[codex] Add delivery artifact linter#114

Open
pqmashiro-commits wants to merge 2 commits into
auscaster:mainfrom
pqmashiro-commits:codex/delivery-artifact-linter
Open

[codex] Add delivery artifact linter#114
pqmashiro-commits wants to merge 2 commits into
auscaster:mainfrom
pqmashiro-commits:codex/delivery-artifact-linter

Conversation

@pqmashiro-commits

Copy link
Copy Markdown

Summary

  • Add scripts/delivery-artifact-linter.mjs, a no-dependency Node preflight helper for Frantic delivery artifact refs.
  • Add pass/fail fixtures and fixture README under verify/fixtures/delivery-artifact-linter/.
  • Add verify/08-check-delivery-artifact-linter.sh to replay the fixture pair from a fresh checkout.

Why

Workers and reviewers need the same fast check before a delivery is submitted: required artifact names, evidence JSON shape, public references, receipt refs, and runx skill package-name binding should fail early with stable JSON.

Validation

  • node scripts/delivery-artifact-linter.mjs --bounty verify/fixtures/delivery-artifact-linter/bounty-41.json --artifacts-file verify/fixtures/delivery-artifact-linter/pass-artifacts.json --no-network
  • node scripts/delivery-artifact-linter.mjs --bounty verify/fixtures/delivery-artifact-linter/bounty-37-runx-skill.json --artifacts-file verify/fixtures/delivery-artifact-linter/fail-artifacts.json --no-network
  • runx --version -> runx-cli 0.6.8

The passing fixture returns ok: true; the failing fixture reports missing artifacts, an unreadable PR reference, malformed evidence JSON, malformed receipt ref, shallow report, and package-name mismatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant