Commit graph

62 commits

Author SHA1 Message Date
TÂCHES
b7e73a1b34 fix: idle recovery skips stuck units instead of silently stalling (#19)
Non-execute-task and execute-task idle recovery now:
- Checks if the artifact already exists before steering (early advance)
- Escalates steering on final attempt ("last chance before skip")
- Writes blocker placeholder artifacts and advances the pipeline when
  retries are exhausted, instead of pausing auto-mode silently

Closes #17

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 02:33:41 -06:00
TÂCHES
46c112bd37 Merge pull request #15 from alphinus/fix/pkg-version-sync
fix: sync pkg/package.json version with pi-coding-agent to prevent false update banner
2026-03-11 02:19:56 -06:00
alphinus_biosdesk
32156ec036 fix: sync pkg/package.json version with pi-coding-agent to prevent false update banner
pkg/package.json had a hardcoded version (0.1.0) that never got updated.
Since gsd-pi sets PI_PACKAGE_DIR=pkg/, pi's config.js reads VERSION from
pkg/package.json. The update check compares this stale version against npm
registry and always shows 'Update Available' even when the user is already
on the latest release.

Fix:
- Update pkg/package.json to current pi-coding-agent version (0.57.1)
- Add sync-pkg-version.cjs script that reads the installed pi-coding-agent
  version and writes it into pkg/package.json
- Run the sync script in prepublishOnly so the version stays correct on
  every publish
2026-03-11 09:07:17 +01:00
jonathancostin
424f7edf72 fix: treat milestones with summary but no roadmap as complete (#13)
Milestones completed before the roadmap convention (e.g. M001-M003)
have SUMMARY files but no ROADMAP. Previously these were treated as
incomplete, causing the first one to become the active milestone with
a fallback title like 'M001: M001'.

Now getActiveMilestoneId(), the completeMilestoneIds pre-computation,
and the deriveState() registry loop all check for a SUMMARY file when
no roadmap exists and mark the milestone as complete, extracting the
title from the summary H1.
2026-03-11 02:01:18 -06:00
Lex Christopherson
729218e58e chore: bump version to 0.2.8 2026-03-11 01:57:53 -06:00
Lex Christopherson
537c4b8ce8 feat: add mac-tools extension (macOS native automation) 2026-03-11 01:57:53 -06:00
Lex Christopherson
b05fb8df2c chore: bump version to 0.2.7 2026-03-11 01:53:34 -06:00
Lex Christopherson
d1636482d5 chore: bump version to 0.2.6 2026-03-11 01:51:54 -06:00
Lex Christopherson
cce10ffc89 fix: validate default model against full registry on every startup
Uses getAll() instead of getAvailable() so stale models like grok-2
are caught even when the user has no auth for the correct provider yet.
Resets thinking to off when the configured model was invalid.
2026-03-11 01:51:48 -06:00
Lex Christopherson
8d19c2ee5e chore: bump version to 0.2.5 2026-03-11 01:48:13 -06:00
Lex Christopherson
b364e369d5 fix: remove circular self-dependency, default to anthropic/claude-sonnet-4-6 with thinking off
- Remove gsd-pi from its own dependencies (circular dep caused ENOTEMPTY install failures)
- Auto-select anthropic/claude-sonnet-4-6 as default model for new installs
- Reset to valid model if configured model no longer exists in registry
- Default thinking level to off
2026-03-11 01:47:36 -06:00
Lex Christopherson
1c714e09e3 fix: update all .pi/ paths to .gsd/ 2026-03-11 01:36:03 -06:00
Lex Christopherson
67edb120d4 chore: bump version to 0.2.3 2026-03-11 01:34:10 -06:00
Lex Christopherson
3086e5d979 fix(cli): match default model by id.includes('sonnet') — API returns dated IDs not aliases 2026-03-11 01:33:34 -06:00
Lex Christopherson
aafa823319 fix: remove circular gsd-pi self-dependency from package.json 2026-03-11 01:31:54 -06:00
Lex Christopherson
0ce45020af fix: keep selected options lit when notes field is focused
When Tab opens the notes field, committed/checked options now stay
visually prominent (text color + muted description) while unselected
options dim. Previously Tab greyed everything out equally.

- optionUnselected: respect isCommitted when isFocusDimmed
- checkboxUnselected: respect isChecked for description color when isFocusDimmed
2026-03-11 01:31:03 -06:00
Lex Christopherson
647ecbba16 chore: bump version to 0.2.1 2026-03-11 01:30:20 -06:00
Lex Christopherson
838ff01b40 fix(loader): suppress pi SDK version check — irrelevant to gsd users 2026-03-11 01:30:11 -06:00
Lex Christopherson
45ed047140 chore: bump version to 0.2.0 2026-03-11 01:23:11 -06:00
Lex Christopherson
7039a8d653 feat(wizard): branded setup UI with visual hierarchy, descriptions, and status feedback 2026-03-11 01:22:38 -06:00
Lex Christopherson
2645ef7f5d chore: bump version to 0.1.9 2026-03-11 01:16:55 -06:00
Lex Christopherson
60e54f58a5 feat(loader): show branded banner on first launch instead of postinstall 2026-03-11 01:16:40 -06:00
Lex Christopherson
501a004122 chore: bump version to 0.1.8 2026-03-11 01:13:26 -06:00
Lex Christopherson
ab5682177c fix(postinstall): write banner to stderr so npm doesn't suppress it 2026-03-11 01:13:19 -06:00
Lex Christopherson
cf9a41f1ed chore: bump version to 0.1.7 2026-03-11 01:10:19 -06:00
Lex Christopherson
bd3309d31b feat(postinstall): add branded GSD banner with version and next-step hint 2026-03-11 01:10:13 -06:00
Lex Christopherson
dea9fa5a60 chore: bump version to 0.1.6 2026-03-11 01:07:40 -06:00
Lex Christopherson
1421222b27 feat(system-prompt): add skills trigger table for frontend, swiftui, and debug tasks 2026-03-11 01:07:40 -06:00
Lex Christopherson
721e1b9bb2 feat(resource-loader): sync bundled skills to ~/.gsd/agent/skills/ on launch 2026-03-11 01:07:40 -06:00
Lex Christopherson
763644bd95 feat(skills): add bundled skills — frontend-design, swiftui, debug-like-expert 2026-03-11 01:07:40 -06:00
jonathancostin
7cebe5b519 fix: use ~/.gsd/agent/ paths in prompt templates instead of ~/.pi/agent/ (#10)
All prompt files under src/resources/extensions/gsd/prompts/ hardcoded
~/.pi/agent/extensions/gsd/templates/ but GSD overrides the agent
directory to ~/.gsd/agent/ in loader.ts. This caused all template reads
to fail silently — the agent never loaded formatting guidance.

Replaced all 26 occurrences across 16 files.
2026-03-11 01:05:36 -06:00
Lex Christopherson
99c72ea18e docs: add extension docs 2026-03-11 00:54:01 -06:00
Lex Christopherson
86a6456aef Add confirmation gate to GitHub tools + update license to MIT
- All outward-facing GitHub tool actions now require user confirmation
  via a themed yes/no dialog before executing (create, update, close,
  reopen issues; create/update PRs; add comments; submit reviews;
  request reviewers; create labels/milestones)
- New shared confirm-ui.ts component using the shared UI design system
- Read-only actions (list, view, search, diff, files, checks) ungated
- License changed from BUSL-1.1 to MIT
2026-03-11 00:53:15 -06:00
Lex Christopherson
d1370f74d5 docs: update license references to MIT 2026-03-11 00:41:32 -06:00
Lex Christopherson
4926582e36 docs: update license to MIT 2026-03-11 00:36:45 -06:00
Lex Christopherson
f14f6039b4 docs: fix star history chart — use SVG embed instead of iframe 2026-03-11 00:32:07 -06:00
Lex Christopherson
19f02f7fdb fix: guard against re-injecting discuss prompt when session already in flight
When no milestone exists, both /gsd and /gsd auto reach showSmartEntry
and call dispatchWorkflow — overwriting pendingAutoStart and restarting
the conversation mid-interview every time the user re-ran the command.

Add a pendingAutoStart check at the top of the !activeMilestone branch.
If a discuss session is already in progress, notify the user instead of
re-dispatching.

Fixes #6
2026-03-11 00:30:06 -06:00
Lex Christopherson
006c17c2c2 docs: add star history chart to README 2026-03-11 00:24:02 -06:00
Lex Christopherson
f2d4223b01 feat(system): require confirmation before outward-facing GitHub actions 2026-03-11 00:17:11 -06:00
Lex Christopherson
04775ad91f fix: remove likely next step 2026-03-11 00:16:45 -06:00
Lex Christopherson
39fb2467ce feat: add github extension tool suite 2026-03-11 00:15:31 -06:00
Lex Christopherson
610b8aea63 chore: bump version to 0.1.5 2026-03-11 00:07:38 -06:00
Lex Christopherson
137696a655 ci: add GitHub Actions workflow to auto-publish to npm on version tags 2026-03-11 00:07:31 -06:00
Lex Christopherson
669cbd983e docs: update AGENTS.md to gitignore 2026-03-10 23:58:44 -06:00
Lex Christopherson
fc9da03cbf fix: use claude-sonnet-4-6 as default model 2026-03-10 23:55:12 -06:00
Lex Christopherson
0181ff2dca fix: auto-select default model after login to prevent 'No model configured' error
When users logged in via /login but never explicitly ran /model, the agent
would throw 'No model configured' on every action. Now GSD auto-selects
a default model from available authenticated providers on startup.

Preference order: claude-sonnet-4-20250514 > any Anthropic model > first available.

Also documented /model command in README Getting Started section.

Closes #4
2026-03-10 23:54:33 -06:00
Lex Christopherson
5c64f991bc fix: resolve GitHub issues #1 and #2
Issue #2: npm deprecation warnings
- Add gaxios@7.1.4 override to eliminate glob@10.5.0 deprecation
  Verified: glob now shows only v13.0.6, rimraf removed from tree
  Note: node-domexception@1.0.0 remains (requires upstream changes)

Issue #1: gsd CLI conflicts with git svn dcommit alias
- Add gsd-cli as alternative bin entry for users with oh-my-zsh git plugin
  Users can now use 'gsd-cli' if 'gsd' is shadowed by the git alias
  Maintains backward compatibility with 'gsd' entry

Build verified
2026-03-10 23:28:31 -06:00
Lex Christopherson
0b6d88f58e chore: merge AGENTS.md into system.md, auto-create PREFERENCES.md on init
- Consolidate execution guidance: merge AGENTS.md hard rules, heuristics,
  playbooks, and communication style into system.md as single source of truth
- Remove now-redundant AGENTS.md file
- Add ensurePreferences() to auto-create .gsd/PREFERENCES.md template during
  GSD bootstrap with complete YAML frontmatter, field descriptions, and examples
- Update guided-flow to call ensurePreferences() on first .gsd/ init
- Build verified
2026-03-10 23:24:42 -06:00
Lex Christopherson
1a139bf739 docs: add /login step to getting started, fix Pi SDK link 2026-03-10 22:59:29 -06:00
Lex Christopherson
a6163fab9b chore: bump to 0.1.4 2026-03-10 22:49:30 -06:00