Skip to content

v0.2.0 - direct project lifecycle helper

Latest

Choose a tag to compare

@bullish0x bullish0x released this 09 May 12:34
· 9 commits to main since this release

Adds a direct project lifecycle helper for installing, updating, and uninstalling the /goal command, helper, and managed Stop hook in target projects from a local checkout.

What is new

  • npm run goal:install -- --project <dir>
  • npm run goal:update -- --project <dir>
  • npm run goal:uninstall -- --project <dir> (add --force to remove customized files)

Powered by scripts/goal-lifecycle.mjs.

Behavior guarantees

  • Manages only .claude/commands/goal.md, .claude/scripts/goal-helper.mjs, and the managed Stop hook entry inside .claude/settings.json.
  • Never reads, writes, or deletes .claude/settings.local.json.
  • Preserves unrelated keys and unrelated hooks in .claude/settings.json.
  • uninstall skips customized command/helper files unless --force is given, and removes only the managed Stop hook entry.

Tests

  • 69 behavioral tests pass on Ubuntu/Windows/macOS x Node 18/22 (was 66).
  • New "Direct Lifecycle Helper Check" section in SMOKE_TEST.md with PowerShell and Bash flows that verify settings.local.json is never modified.

Full Changelog: v0.1.1...v0.2.0