feat: posix rewrite, git workflow scripts and install script#25
Merged
Conversation
- Rewrite all scripts as POSIX sh, shellcheck clean - gc: smarter checkout (tags, multi-remote, worktrees, master/main alias) - cb: clean local branches with no remote counterpart - sq: squash branch with force-with-lease push and stacked-branch guard - ec: empty commit and push - sw: regex project search under $PROJECTS_DIR - Fix broken checksum libs, make them standalone executables - Add install script and bin/local/ for uncommitted machine-local scripts - Remove crb, wsldockerd, config/ and lib/project_root - Update CI to checkout@v7 and super-linter/slim@v8 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
JorSanders
enabled auto-merge (squash)
July 25, 2026 01:17
- Pin actions to SHAs and add minimal workflow permissions (checkov, zizmor) - Add jscpd threshold config - shfmt all scripts, add .editorconfig - Markdown and terminology fixes (prettier, markdownlint, textlint) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- persist-credentials: false on checkout (zizmor artipacked) - Disable Biome formatter, it conflicts with Prettier on JSON - 4-space indent in gc help text (editorconfig-checker) - codespell config ignoring 'aliasses' Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sh(--helpeverywhere, shellcheck clean)gc: rewritten checkout — exact/partial matches on tags, local and multi-remote branches,origin/-prefixed refs, master↔main / develop↔development aliasing, worktree cleanup (refuses on dirty worktrees), creates the branch when nothing matchescb: rewritten — deletes local branches with no same-name branch on any remote, skips worktree branches, refuses when no remotes existsq(new): squash all commits on the current branch (message required), stacked-branch guard, autopush --force-with-leaseec(new): emptychore:commit and push, works with any remote namesw: rewritten — regex project search under$PROJECTS_DIR(newprofile/projects), depth-tiered matching, ambiguity listingcof/checksum_changed/save_checksum): fixed broken compare/self-source bugs, now standalone executables;sb/mcijava detection hardenedinstall(new): idempotent setup of PATH + profile + aliasses in the shell rc, referenced from READMEbin/local/: gitignored folder for machine-local scripts (on PATH via install)crb,wsldockerd,config/,lib/project_rootactions/checkout@v7+super-linter/super-linter/slim@v8Test plan
sh -nand shellcheck clean on all scriptsgc/cb/sq/ec/sw/checksum libs/installexercised against scratch repos and fake project trees (worktrees, multi-remote, stacked branches, dry runs)🤖 Generated with Claude Code