Skip to content

Add check-ball-neighborhoods caller - #644

Merged
dem-extra1 merged 2 commits into
mainfrom
claude/caller-ball-neighborhoods
Nov 24, 2026
Merged

dem-extra1 merged 2 commits into
mainfrom
claude/caller-ball-neighborhoods

Conversation

@d-morrison

Copy link
Copy Markdown
Contributor

Requested by Ezra · project thread

Refs Morrison-Lab/gha#2156 (wiring) and Morrison-Lab/psw#684 (the rule).

Why

Morrison-Lab/gha#2158 added check-ball-neighborhoods, and v3 now includes it.
The check flags a neighborhood written as a norm inequality (\norm{\vx - \vx^*} < \delta) on lines a PR adds, and suggests \vx \in \ball{\vx^*}{\delta}.
That is the notation rule in Morrison-Lab/psw#686.

What

  • Adds .github/workflows/check-ball-neighborhoods.yml, shaped like this repo's check-tautological-equations.yml caller:
    • pull_request and manual triggers, with a manual run scanning the whole tree;
    • a per-PR concurrency group;
    • contents: read;
    • _extensions/** ignored.
  • It blocks by default.
    The check only reads lines a PR adds, so existing text never blocks; a page converts when someone edits it.

This is a CI caller only, with no content change.


Generated by Claude Code

Wires Morrison-Lab/gha's check-ball-neighborhoods into sds, so a PR that
writes a neighborhood as a norm inequality is told to use ball membership
instead (Morrison-Lab/psw#686). Part of Morrison-Lab/gha#2156.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019xfc9prHHsVqfvbd7Qpb5i
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Contributor Author

annotation-gate is red on head 416f170 for one reason only. GitHub's default-setup CodeQL job Analyze (javascript-typescript) warned "Failed to restore: Aborting cache download as the download time exceeded the timeout."

  • Not caused by this PR. The warning comes from a runner cache timeout, and this PR changes only a caller workflow.
  • Cannot be cleared by a re-run. GitHub answers 403 "This workflow run cannot be retried" for run 44778099318.
  • Tracked upstream as Morrison-Lab/gha#2167. Once that issue is fixed and the gha v3 tag is slid to include the fix, a re-gate of this head (workflow_dispatch with head-sha) should go green.

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


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

Claude finished review — View run


I found no new issues in this PR. It adds one caller workflow, .github/workflows/check-ball-neighborhoods.yml, and its inputs match the reusable workflow in the local Morrison-Lab/gha checkout. I only checked the input names in that reusable workflow. I didn't check how it runs.

  • Inputs: paths-ignore is a declared string input. whole-tree is a declared boolean input, and the caller passes it a boolean expression.
  • Permissions: the caller grants contents: read only.
  • Scope: the PR touches one CI file and no content, _site/ or _freeze/ files.
  • Merge commit: c446677 matches git's automatic merge of its parents.

This confirms the earlier review at 416f170, whose verdict was Ready for merge. That verdict still stands at c446677.

I didn't record the two tool errors from this run in memory. cat was blocked in favor of Read, and Grep wasn't available. Neither is a lasting rule for this repo, and the workflow doesn't allow memory writes in this review-only run.

Verdict

Ready for merge

Structured Review Data (JSON)
{
  "schema_version": "1.1",
  "reviewer": "claude",
  "commit_sha": "c44667786691650ab36ff97ccff2b957bc203842",
  "verdict": "CLEAN",
  "findings": [],
  "detailed_assessment": "The new caller workflow check-ball-neighborhoods.yml passes only the paths-ignore string input and the whole-tree boolean input, both declared by the reusable workflow, with contents read permission.",
  "holistic_assessment": "The change is scoped to one CI caller file, the merge from main introduced no differing resolution, and regression risk to content or build pipelines is low."
}

Reviewed commit: c446677

@github-actions

Copy link
Copy Markdown
Contributor

💰 Cost: $0.2292 (review) — run

@github-actions

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

Built to branch gh-pages at 2026-11-24 04:47 UTC.

@dem-extra1
dem-extra1 merged commit 94a90b4 into main Nov 24, 2026
60 checks passed
@dem-extra1
dem-extra1 deleted the claude/caller-ball-neighborhoods branch November 24, 2026 05:02
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