Skip to content

Turn on check-number-sets and bump latex-macros - #1517

Merged
dem-extra1 merged 2 commits into
mainfrom
claude/project-thread-lrzmqo
Dec 2, 2026
Merged

dem-extra1 merged 2 commits into
mainfrom
claude/project-thread-lrzmqo

Conversation

@d-morrison

Copy link
Copy Markdown
Collaborator

Requested by Ezra · project thread

Summary

Turns on check-number-sets, which fails a PR that adds the natural numbers (\mathbb{N}, \Nat, \mathbb{N}_0, ...) or the integers with a + script (\mathbb{Z}^+) in math, and suggests \nonnegints (the integers ≥ 0) or \posints (the integers > 0), since sources disagree about whether those sets include 0.
Ezra approved the rule and a check on changed lines only on 2026-12-01.
Only added lines count, so nothing that exists today blocks; existing uses are not swept (macros#460).

Adds .github/workflows/check-number-sets.yml, a thin caller modeled on check-equation-labels.yml.

It also bumps the latex-macros pin to 3e1e649 (macros#459), so the macros the check suggests exist here. The new pin is 30 commits ahead of the old one and behind none.

Part of gha#2259. Infrastructure only: no page content changes.

Checks

The caller parses as YAML; CI's workflow lint and the check itself run on this PR.


Generated by Claude Code

Adds the gha check-number-sets caller, which fails a PR that adds the
natural numbers or the integers with a + script in math and suggests
\nonnegints or \posints. It checks added lines only; existing uses are
not swept (Morrison-Lab/macros#460).

Bumps the latex-macros pin to 3e1e649 so the suggested macros exist here.

Part of Morrison-Lab/gha#2259.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkNzohGjHCEvQTC1EUFsr
@d-morrison d-morrison self-assigned this Dec 2, 2026
@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Collaborator Author

The link check failed on https://www.youtube.com/@AmstatVideos and a YouTube playlist link: YouTube refused the CI runner with an HTTP/2 protocol error.
This PR touches no link, and the link check on main passed on its recent runs, so the failure is not this PR's.
The fix is rme#1518, which excludes YouTube the way mds and pds already do; once it merges, main gets merged into this PR.

Posted by Claude Code (AI agent) --- not written by a human.


Generated by Claude Code

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Claude finished review — View run


This is a progress report.

CI at head 2c888407ef7f9ba2f39a0296a641f88550d9f31c

  • Source: a statusCheckRollup read listed 40 checks.
  • Counts: 34 pass, 2 skipped, 0 failed, 4 pending.
  • Pending: build / build, check-pdf, check-dois / check-dois, and review / claude-review.
  • Limits of the read: I did not read the paginated commit check-runs or legacy statuses, and I did not run check-pr-fully-clean.py.
  • New check: check / check-number-sets, the new check this PR wires in, passed.

Merge state: mergeable is MERGEABLE and mergeStateStatus is UNSTABLE. There are no conflicts, and the unstable state is explained by the pending checks.

Preview: https://Morrison-Lab.github.io/rme/pr-preview/pr-1517/, built 2026-12-02 01:39 UTC. That predates the head, which only merged main. The PR changes no book content, so no page-specific check applies.

Diff review

  • Prior review: this confirms the prior review, posted 2026-12-02T03:38:08Z, which found no defects. I found none either.
  • Inputs: the caller check-number-sets.yml passes only inputs the gha callee declares (paths-ignore, whole-tree).
  • Permissions: it pins @v3 and grants contents: read, matching the callee's job. I did not read the callee's workflow-level permissions: block, if it has one.
  • Scope: the PR touches no book content and adds no math, so the macro check does not apply.
  • Merge commit: the merge of main introduced no hand-resolved changes.

Verdict

Diff review: no findings. Merge decision waits on the four pending CI checks.

Structured Review Data (JSON)
{
  "schema_version": "1.1",
  "reviewer": "claude",
  "commit_sha": "2c888407ef7f9ba2f39a0296a641f88550d9f31c",
  "verdict": "CLEAN",
  "findings": [],
  "detailed_assessment": "The check-number-sets.yml caller passes only inputs the gha reusable workflow declares (paths-ignore, whole-tree), pins the v3 tag, and grants contents read matching the callee job permissions.",
  "holistic_assessment": "The PR is infrastructure-only plus a macros submodule bump with no hand-resolved merge changes; the diff review has no findings, while four CI jobs were still pending and the aggregate instrument was not run."
}

Reviewed commit: 2c88840

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

💰 Cost: $0.6737 (review) — run

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
🚀 Preview available at: https://Morrison-Lab.github.io/rme/pr-preview/pr-1517/

Built to branch gh-pages at 2026-12-02 03:53 UTC.

Copy link
Copy Markdown
Collaborator Author

Annotation dispositions for head 2c88840:

  • check run 143199233325 (review / claude-review), notice: SUBMODULES_TOKEN is empty, so submodules cloned anonymously. latex-macros is public and checked out; no action needed.
  • check run 143199233325, notice: the review restored .github/workflows/ from the default branch because this PR edits a workflow file (gha#598). Expected for a caller PR.

Cross-model review waived for this head: agy, codex, cursor-agent, gemini and opencode are absent from this cloud container (command -v exit 1 each), and the OpenCode Go endpoint is refused by the egress proxy (HTTP 403).

Posted by Claude Code (AI agent) --- not written by a human.


Generated by Claude Code

@dem-extra1
dem-extra1 merged commit be0da66 into main Dec 2, 2026
44 checks passed
@dem-extra1
dem-extra1 deleted the claude/project-thread-lrzmqo branch December 2, 2026 07:29
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