Skip to content

Run check-result-titles on pull requests - #318

Merged
d-morrison merged 3 commits into
mainfrom
claude/wire-result-titles
Nov 21, 2026
Merged

d-morrison merged 3 commits into
mainfrom
claude/wire-result-titles

Conversation

@d-morrison

Copy link
Copy Markdown
Collaborator

Summary

This PR adds .github/workflows/check-result-titles.yml, which calls gha's check-result-titles.yml@v3 (Morrison-Lab/gha#2169).

On pull requests, the workflow fails in two cases:

  • a PR adds a theorem, lemma, proposition, corollary or conjecture title that is not a declarative sentence stating the result;
  • a PR touches a statement that lacks either prose or a display formula.

A manual run scans the whole tree.

A whole-tree run on main finds nothing to flag.

Test plan

  • Ran the gha script over this repo's whole tree: clean.
  • CI's run of the new workflow passes on this PR.

Generated by Claude Code

Fails a theorem, lemma, proposition, corollary or conjecture title that
a PR adds when it is not a declarative sentence stating the result, and
a touched statement missing prose or a display formula. gha v3 carries
the check as of aa7aec05.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkNzmKYTkDuFyzHWwtqNp
Copilot AI balanced review requested due to automatic review settings November 20, 2026 23:23

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

wai mounts the macros submodule at macros/, so the copied
latex-macros/** pattern matched nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkNzmKYTkDuFyzHWwtqNp
Copilot AI balanced review requested due to automatic review settings November 20, 2026 23:27

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copy link
Copy Markdown
Collaborator Author

Three failing checks here are not caused by this PR, which only adds .github/workflows/check-result-titles.yml:

  • link-checker: github.com/microsoft/agent-framework returns 404 and cursor.com/marketplace fails over HTTP/2. The link-checker on main has been failing the same way since 2026-11-16.
  • lint-project and lint-changed-files: both stop with unable to load shared object '.../xml2/libs/xml2.so': libxml2.so.2: cannot open shared object file. The runner image is missing libxml2, which no workflow file in this diff installs or removes.

The same three fail on #317.


Generated by Claude Code

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkNzmKYTkDuFyzHWwtqNp
Copilot AI balanced review requested due to automatic review settings November 21, 2026 06:31

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

Copy link
Copy Markdown
Contributor

Claude finished review — View run


Confirmed via gh pr diff that the file content is byte-identical to the previously-reviewed and approved revision, so no history walk is needed to settle this.

Review: #318 — Run check-result-titles on pull requests

What changed since the last review round: nothing in the PR's own content. The prior round reviewed commit 600026e29dda00efcbacc24270c7d74c35275706. The PR's current head is 6e5e7d0d3ec86cd017e4bf2c630419acea29af16 (confirmed live via gh pr view), and gh pr diff 318 shows the exact same single-file diff adding .github/workflows/check-result-titles.yml — identical trigger, permissions, uses pin to Morrison-Lab/gha/.github/workflows/check-result-titles.yml@v3, and with: inputs (whole-tree, paths-ignore: '_extensions/**,**/outtakes/**,macros/**') that were already verified against the upstream gha@v3 reusable workflow in the first review round.

The additional commits visible in this checkout's git log (5b0e0c5, cdb02e4, 81da2a5, 24987b0, f0a8a3f, 6fc50f0, plus the merge commits) are not part of this PR's diff — they come from merging main into the branch (and the review workflow's own merge-for-review commit 542d833), bringing in unrelated fixes to copilot-setup-steps.yml, lint-changed-files.yaml, lint-project.yaml, two chapter files, lychee.toml, and references.bib. None of those files intersect this PR's only changed path, and gh pr diff (which reflects only what's actually in the PR against its base) confirms none of that content is attributed to this PR.

Findings: none, new or outstanding. The prior review (#318 (comment), posted 2026-11-20T23:30:19Z, verdict Ready for merge) already verified:

  • the reusable workflow and composite action exist upstream at Morrison-Lab/gha@v3 with matching input names,
  • permissions: contents: read matches the callee's requirements and this repo's check-caller-permissions.yml guard,
  • paths-ignore correctly references the macros/ submodule path (per .gitmodules) rather than a stale latex-macros/** entry,
  • style matches this repo's other thin-caller workflows (check-links.yml, check-caller-permissions.yml),
  • no push trigger, matching the in-file comment's stated rationale.

None of that surface changed in this round, so that verification still stands.

Verdict

Ready for merge — no code change to the PR's single file since the last clean review (#318 (comment), "Ready for merge"); that verdict still stands.

Structured Review Data (JSON)
{
  "schema_version": "1.1",
  "reviewer": "claude",
  "commit_sha": "6e5e7d0d3ec86cd017e4bf2c630419acea29af16",
  "verdict": "CLEAN",
  "findings": [],
  "detailed_assessment": "The sole changed path, .github/workflows/check-result-titles.yml, remains byte-identical to the already-verified prior revision with no new defect introduced.",
  "holistic_assessment": "Scope stays isolated to one opt-in CI caller workflow, the intervening commits merge unrelated main-branch fixes, and no regression touches publish or preview pipelines."
}

Reviewed commit: 6e5e7d0

@github-actions

Copy link
Copy Markdown
Contributor

💰 Cost: $0.2296 (review) — run

@github-actions

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

Built to branch gh-pages at 2026-11-21 06:36 UTC.

Copy link
Copy Markdown
Collaborator Author

Merging under Ezra's standing merge-when-confident grant for infrastructure PRs in every repo (2026-11-20 22:12 PST): every check on this head is green or skipped, the Claude review is clean, and check-pr-fully-clean.py exits 0.

The cross-model review gate is waived: no reviewer with a different model and harness can run in this cloud session (opencode, agy, codex, gemini, cursor-agent are absent and the proxy refuses opencode.ai), per ai-config shared/workflow/adversarial-self-review.md.


Posted by Claude Code (AI agent) on behalf of @d-morrison.
Generated by Claude Code


Generated by Claude Code

@d-morrison
d-morrison merged commit 1dce1fe into main Nov 21, 2026
20 checks passed
@d-morrison
d-morrison deleted the claude/wire-result-titles branch November 21, 2026 06:37
@github-actions github-actions Bot mentioned this pull request Nov 21, 2026
1 of 2 tasks
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