Skip to content

ci: copy departures.sh and issue-evidence.sh from standards and gate on the ledger - #719

Merged
hyperpolymath merged 2 commits into
mainfrom
chore/vendor-departures-check
Nov 26, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
chore/vendor-departures-check

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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

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.
@gitnotebooks

gitnotebooks Bot commented Nov 26, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3dd8a0e and 878bf5b.

Files selected for processing: 5

  • .github/workflows/e2e.yml
  • scripts/departures.sh
  • scripts/issue-evidence.sh
  • scripts/lib/ledger-prune.sh
  • scripts/lib/standards-copies.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 26, 2026 14:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T14:19:43.589750Z 787770c Draft marked ready
🔒 Security Review ❌ Failed 2026-11-26T14:10:48.001459Z
We couldn’t complete this review. Comment @codex security review to try again.
787770c Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

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.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 97178c2 into main Nov 26, 2026
70 of 72 checks passed
@hyperpolymath
hyperpolymath deleted the chore/vendor-departures-check branch November 26, 2026 14:19

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .github/workflows/e2e.yml
permissions:
contents: read
steps:
- uses: actions/checkout@v7.0.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

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.

3 participants