v0.1.6
pi-goal v0.1.6
Refreshes goal mode to better match modern Codex-style goal workflows and makes the package much better covered by tests.
Highlights
- Added the
create_goalmodel tool, guarded so goals are only created when explicitly requested and only when no goal already exists. - Strengthened
create_goalguidance with a self-contained strong-goal template: outcome, verification surface, constraints, boundaries, iteration policy, and blocked stop condition. - Fixed final-turn accounting so a turn that completes a goal is still counted before the session moves on.
- Fixed a queued-continuation edge case so completing, pausing, clearing, or budget-limiting a goal cancels pending continuation.
- Extracted pure goal state helpers into
goal-state.tsand added focused tests for parsing, formatting, lifecycle labels, accounting, and tool/README contracts.
Verification
npm test— 24 passingnpm run check— extension loadsnpm run pack:dry— package contents verified
Full Changelog: v0.1.5...v0.1.6