Skip to content

chore(release): prepare 1.5.0 - #108

Merged
q-soriarty merged 70 commits into
mainfrom
release/1.5.0
Nov 19, 2026
Merged

q-soriarty merged 70 commits into
mainfrom
release/1.5.0

Conversation

@q-soriarty

@q-soriarty q-soriarty commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Release 1.5.0 (MINOR): everything merged into develop since v1.4.0, plus release-only fixes.

Added

Changed

Fixed (on this release branch)

Version bumped to 1.5.0 in SKILL.md (frontmatter + metadata), README badge and CHANGELOG.

Closes #107
Closes #106

Test plan

  • ./scripts/lint.sh — All checks passed (version consistency 1.5.0)
  • node --test hooks/test/ on Linux — 211/211
  • install_windows.ps1 on a Windows VM with Windows PowerShell 5.1: install -Scope all, re-run (scope kept), -NoHooks, doctor, -Uninstall
  • install_windows.ps1 on the same VM with PowerShell 7: install, -Uninstall
  • VM restored afterwards (settings.json from backup, guard config and test copy removed)
  • CI lint + guard-tests (ubuntu/macos/windows) on this PR — all green

Checklist

  • All workflow invariants are preserved (atomic commits, conventional commits, no AI signatures, gitflow, issue-driven, PR-only merges, semver)
  • Decision guides cover the new/changed rules
  • Tested by invoking the skill in a Claude Code session
  • All content is in English

q-soriarty and others added 30 commits March 28, 2026 00:34
chore: back-merge v1.4.0 into develop
Plans of two or more slices run on an epic/<issue>-<slug> branch cut
from develop. Slices are ordinary feature/fix branches that target the
epic and merge after review without a human gate; the epic PR into
develop is the single approval point. Covers the epic issue format,
develop sync via PR, the epic PR body, tracking epics without a
branch, CI and protection for epic/*, and the matching forbidden
operations and decision-guide rows.

Closes #99
Design for enforcing the skill's rules through a shared Node.js guard
engine, harness hook adapters (Claude Code and Codex CLI first), git
hooks as a backstop and a session-start reminder.

Refs #102
Add the guard.mjs entry point with a hook dispatch table, tool-input
command extraction (Bash, Codex shell, context-mode), the Claude Code and
Codex adapters, and the session-start reminder.

Refs #102
Only off, warn, ask and deny change a finding; "on" and unknown values
keep the rule's own decision instead of silently allowing. A configured
ask becomes deny where the harness or git hook cannot ask, and the
raw-text fallback now honours warn and off.

Refs #102
A chained pre-push.local that read stdin (git-lfs does) left the guard
with no refs, so a push to a protected branch passed. The shim now
captures the ref list once and feeds it to both hooks; older shims are
recognised as ours and upgraded in place.

Refs #102
Only an explicit "no such issue" reply marks an issue missing; a
repository or auth error is unknown. Refs or repos that start with a
dash never reach gh. The fetch timeout drops to 5 s so a slow network
stays inside the hook budget. Adds memoised branchExists and
defaultBranch queries.

Refs #102
git branch -f, checkout -B and switch -C on a protected or existing
local branch reset it, so branch-name, branch-issue and fresh-base no
longer deny them. pr-base without --base now checks the repository's
default branch instead of assuming develop.

Refs #102
timeout DURATION, xargs (including -I templates and value flags) and
eval hid gh pr merge --squash and git push --force from the parsed
rules. eval arguments are re-parsed like bash -c, under the same depth
cap.

Refs #102
q-soriarty and others added 27 commits November 19, 2026 09:44
feat(skill): add epic branches for multi-slice plans (#99)
Replace the blanket ban on rebasing pushed branches with a per-branch
rule table: shared branches (main, develop, epic/*, release/*) are never
rebased; own unpushed branches are free; own pushed single-owner branches
may be rebased and pushed with --force-with-lease; approved PRs allow only
fixup folding or a rebase onto the base; stacks move with --update-refs.

Add recipes for rebase onto base, non-interactive autosquash and --onto,
rewrite the forbidden list and the affected troubleshooting entries, add a
"Merge or rebase?" decision guide, and add rebase/force-push to the trigger keywords.

Closes #101
feat(skill): regulate rebase instead of forbidding it (#101)
Run the guard install after the skill symlink when node is available,
and the guard uninstall on --uninstall. Add --no-hooks and --scope.

Refs #102
Without --scope, install keeps a valid scope from the user config and
merges harnesses with earlier runs. An explicit --scope still wins.

Refs #102
The repository bootstrap in SKILL.md runs `git checkout -b develop`;
branch-name denied it as an invalid name.

Refs #102
A string such as "codex" in the user config was spread into single
characters.

Refs #102
Without .git-workflow.json, disable reported the guard as inactive
even when the user scope is all.

Refs #102
…ands

Add the issue-title rule the conventional-title check already enforces,
resolve the guard path from the skill directory, describe what disable
really does, and note how a human allows recovery force-pushes on
shared branches.

Refs #102
Run enable inside the target repository, say what uninstall leaves
behind, explain the on level, and state the force-push rule as the
skill does.

Refs #102
State which platform, harness and install-script combinations were
exercised before release (Linux Claude Code and Codex, Windows Claude
Code) and mark the untested ones (macOS, Windows Codex and PowerShell,
install_windows.ps1, Copilot/Gemini/Cursor, GUI git clients) so that
"supported" is not read as "verified".

Refs #102
fs.realpathSync does not expand Windows 8.3 short names, so a skill dir
under C:\Users\RUNNER~1\... never matched the long path git reports and
update treated the clone as "not a git clone". Use realpathSync.native,
which resolves short names on Windows and is a no-op change elsewhere.

Refs #102
feat: add cross-harness workflow guard hooks (#102)
Windows PowerShell 5.1 reads BOM-less scripts in the ANSI code page, so
the em dash and the check/cross/arrow glyphs broke the parser before the
installer did anything. Build the glyphs from [char] code points and use
ASCII dashes and arrows. Verified on Windows PowerShell 5.1 and
PowerShell 7: install, re-run, -NoHooks, -Uninstall.

Closes #106
Two tests compared the user-config version with a hard-coded 1.4.0, so
every release bump broke them. Read the version from SKILL.md instead.

Refs #107
@q-soriarty
q-soriarty merged commit aebd7b6 into main Nov 19, 2026
4 checks passed
@q-soriarty
q-soriarty deleted the release/1.5.0 branch November 19, 2026 09:34
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.

chore(release): prepare 1.5.0 fix: windows installer fails to parse in windows powershell 5.1

1 participant