Skip to content

chore: declare worktree prerequisites in setup requirements - #198

Merged
c-vigo merged 1 commit into
devfrom
bugfix/196-worktree-dependencies
Feb 25, 2026
Merged

c-vigo merged 1 commit into
devfrom
bugfix/196-worktree-dependencies

Conversation

@c-vigo

@c-vigo c-vigo commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Description

This PR declares missing host-level worktree prerequisites in setup requirements so scripts/init.sh --check catches them before just worktree-start or just worktree-attach fail at runtime.

It also updates generated contributor/user docs to reflect the new dependency requirements and the current command listing output.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • scripts/requirements.yaml
    • Add required host dependencies for worktree workflow: jq, tmux, and agent
    • Add check/install metadata so scripts/init.sh --check validates these tools
  • CHANGELOG.md
    • Add ## Unreleased ### Fixed entry for issue #196
  • CONTRIBUTE.md
    • Sync dependency table and install examples to include jq, tmux, and agent
    • Sync command listing snippets to current output
  • README.md
    • Sync command listing snippets to current output

Changelog Entry

Fixed

  • Worktree prerequisites are declared in setup requirements (#196)
    • Add tmux, agent, and jq to scripts/requirements.yaml as required host dependencies with install guidance
    • scripts/init.sh --check now surfaces missing worktree prerequisites before running worktree commands

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

  • Ran ./scripts/init.sh --check
  • Verified preflight now reports missing tmux and agent in this host environment before running worktree commands
  • Verified jq is recognized as installed in this host environment

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

N/A

Refs: #196

Added `jq`, `tmux`, and cursor agent CLI.
Updated documentation (README, CHANGELOG, and CONTRIBUTE)

Refs: #196
@c-vigo c-vigo self-assigned this Feb 25, 2026
@c-vigo
c-vigo merged commit 94d7c06 into dev Feb 25, 2026
10 checks passed
@c-vigo
c-vigo deleted the bugfix/196-worktree-dependencies branch February 25, 2026 10:05
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