Skip to content

Commit 97178c2

Browse files
ci: copy departures.sh and issue-evidence.sh from standards and gate on the ledger (#719)
## Summary Copies the departures ledger tooling from `metadatastician/standards` (public) and gates CI on it, so a departure row that has resolved must be pruned. - `scripts/departures.sh`, `scripts/issue-evidence.sh`: unchanged copies. `scripts/lib/ledger-prune.sh` is also copied, unchanged, because `departures.sh prune` sources it. - `scripts/lib/standards-copies.txt`: records the pinned source commit (`eed16d38ad481cca9a93b5d2a89efe29bf40015f`) and the sha256 of each copy. - `.github/workflows/e2e.yml`: new `Departures ledger` job running `departures.sh validate` then `departures.sh check` (read-only, `contents: read`). No new action refs. The copied files keep the SPDX headers they carry; no licence or SPDX edits. ## Checks - `validate`: 2 rows valid. `check`: 2 present, 0 RESOLVED (exit 0). The audit-lock-closure still passes locally. - Each copy is byte-identical to the source at the pinned commit. Independent of #718 (the closure-gap row) and #717 (the hook). --- _Generated by [Claude Code](https://claude.ai/code)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3dd8a0e commit 97178c2

5 files changed

Lines changed: 1601 additions & 0 deletions

File tree

‎.github/workflows/e2e.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,15 @@ jobs:
153153
echo "::error::Regenerated source audit exited $rc: $detail"
154154
exit "$rc"
155155
fi
156+
departures-ledger:
157+
name: Departures ledger
158+
runs-on: ubuntu-latest
159+
timeout-minutes: 10
160+
permissions:
161+
contents: read
162+
steps:
163+
- uses: actions/checkout@v7.0.1
164+
- name: Validate the departures ledger
165+
run: bash scripts/departures.sh validate
166+
- name: Check no departure has resolved (a resolved row must be pruned)
167+
run: bash scripts/departures.sh check

0 commit comments

Comments
 (0)