Repository navigation
Add CI check for duplicate crossref ids - #115
d-morrison wants to merge 3 commits into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
…ents Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
This comment has been minimized.
This comment has been minimized.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
|
OpenCode adversarial review (deepseek-v4-pro, then gpt-5.6-luna) found parser gaps (non-cell fences, inline code and multi-backtick spans, multi-line comments, missing Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
This comment has been minimized.
This comment has been minimized.
|
/review Generated by Claude Code |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
/review Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
|
Claude finished review — View run This PR's head commit is still Review: PR #115 — Add CI check for duplicate crossref idsNo code has changed since the previous review round. My prior review (posted 2026-10-09T10:02:35Z, commit The three observations from that review remain non-blocking optional follow-ups: no automated tests for the new script (consistent with the existing convention for this whole family of No d-morrison/macros math changes are introduced by this diff, so the macro-opportunity check does not apply, consistent with the prior round. VerdictReady for merge — no new findings; the prior round's "Ready for merge" verdict stands unchanged since no commits have landed since that review. Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "5d49e0783479cd6a29b74c902d57facef0d2995d",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "Re-ran check-duplicate-crossref-ids.py against the unchanged chapters/ tree and reproduced the identical pre-existing def-ip-weights duplicate reported in the prior review round.",
"holistic_assessment": "No new commits landed since the last review, so scope, integration, and validation posture against issue 79 and PR 114 remain exactly as previously assessed."
}Reviewed commit: 5d49e07 |
Requested by Ezra · project thread
Before: nothing stopped a second definition of an existing crossref id (win#79).
After:
.github/workflows/check-duplicate-crossref-ids.ymlruns.github/scripts/check-duplicate-crossref-ids.py, which fails when a crossref id is defined twice acrossindex.qmdandchapters/**/*.qmd.It reads attribute-block ids and
#| label:ids in executable cells, and ignores other fences, inline code and HTML comments.No existing check in Morrison-Lab/gha covers this.
How: the script fails on current main (it reports
#def-ip-weights) and passes on the branch of the chapter 12 fix, so this check will be red until that PR merges.Not closing an issue; this is a guard for #79.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Gh7L9vJhwrpvpBhzYMdjPK
Generated by Claude Code