Repository navigation
ci: copy departures.sh and issue-evidence.sh from standards and gate on the ledger - #719
Conversation
Copies scripts/departures.sh, scripts/issue-evidence.sh and the shared scripts/lib/ledger-prune.sh unchanged from metadatastician/standards at eed16d3, with the source commit and sha256s noted in scripts/lib/standards-copies.txt. A new e2e job runs 'departures.sh validate' and 'departures.sh check' on .machine_readable/departures.jsonl.
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/gitbot-fleet/pull/719 |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 9 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins. |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 787770cfe2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/checkout@v7.0.1 |
There was a problem hiding this comment.
Fetch full history before evaluating commit checks
In this job, actions/checkout uses its shallow default, but check_commit_on_main explicitly returns unevaluated whenever git rev-parse --is-shallow-repository is true, and departures.sh check treats unevaluated rows as success. Consequently, any ledger row using the supported commit-on-main check can never be classified as resolved in CI; this is reproducible in a depth-1 clone where even a check naming HEAD exits 0 as unevaluated. Configure checkout with full history so this check type can enforce the ledger.
Useful? React with 👍 / 👎.



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.shis also copied, unchanged, becausedepartures.sh prunesources it.scripts/lib/standards-copies.txt: records the pinned source commit (eed16d38ad481cca9a93b5d2a89efe29bf40015f) and the sha256 of each copy..github/workflows/e2e.yml: newDepartures ledgerjob runningdepartures.sh validatethendepartures.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.Independent of #718 (the closure-gap row) and #717 (the hook).
Generated by Claude Code