Repository navigation
chore(release): prepare 1.5.0 - #108
Merged
Merged
Conversation
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
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
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.
What does this PR do?
Release 1.5.0 (MINOR): everything merged into
developsince v1.4.0, plus release-only fixes.Added
commit-msg/pre-pushgit hooks,install | update | doctor | repair | uninstall | enable | disable(feat: add cross-harness workflow guard hooks #102, PR feat: add cross-harness workflow guard hooks (#102) #105)Changed
chore(release): prepare X.Y.Z; issue templates prefillfix:/feat: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/211install_windows.ps1on a Windows VM with Windows PowerShell 5.1: install-Scope all, re-run (scope kept),-NoHooks,doctor,-Uninstallinstall_windows.ps1on the same VM with PowerShell 7: install,-Uninstalllint+guard-tests(ubuntu/macos/windows) on this PR — all greenChecklist