Skip to content

fix: script and test Lows batched on #399 - #527

Merged
wstein merged 6 commits into
mainfrom
fix/399-scripts-lows
Oct 9, 2026
Merged

wstein merged 6 commits into
mainfrom
fix/399-scripts-lows

Conversation

@wstein

@wstein wstein commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Fixes the scripts, Makefile and test Lows from #399:

  • scripts/hugo.sh survives an empty array under macOS bash 3.2 (fixes TestHugoRefusesAssetWithWrongChecksum with /bin/bash first in PATH).
  • scripts/review-class.sh reads its base as a revision (--end-of-options); an unknown base fails closed.
  • Makefile: actionlint in .PHONY, stale install comment dropped.
  • Tests: every Bash(git push allow rule must be a topic-branch allow; board move refusals and the Status option IDs are pinned; the board git helper no longer leaks a temp home.

Refs: #399

Review: Opus CLEAR on 6e9dac1 (five mutations each fail the matching test; full go test ./..., make check-ci and the scripts tests under bash 3.2 exit 0). Low (batched on #399): scripts/review_class_test.go:101 looks for a file named leak but git would write leak...topic; glob leak*. Unverified: Linux runners, a live board.

🤖 Generated with Claude Code

wstein and others added 6 commits October 9, 2026 13:33
A base such as --output=f made git write the diff to a file and read as
an empty, ordinary change. Add --end-of-options and tests for it and for
the unknown-revision fail-closed path.

Refs: #399
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Assert the exact refusal messages, keep status-0..5 and log no Status
rewrite in the legacy Ready to push test, and share the Status loop.

Refs: #399
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
It left a gittest-home-* directory in TMPDIR on every call.

Refs: #399
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@wstein

wstein commented Oct 9, 2026

Copy link
Copy Markdown
Owner Author

Opus review CLEAR on 6e9dac1. Five mutations each fail the matching test; full go test ./..., make check-ci and go test ./scripts/ under /bin/bash 3.2 exit 0. Low (batched on #399): scripts/review_class_test.go:101 checks for a file named leak, git would write leak...topic; glob leak*. Unverified: Linux runners, a live board.

@wstein
wstein marked this pull request as ready for review October 9, 2026 11:46
@wstein
wstein merged commit e704388 into main Oct 9, 2026
20 of 21 checks passed
@wstein
wstein deleted the fix/399-scripts-lows branch October 9, 2026 11:51
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.

1 participant