singularity-forge/src/resources/extensions
Flux Labs 7e25e6d427 fix: prevent stale worktree cwd after milestone completion (#608) (#610)
After milestone completion and merge, the process cwd could remain
inside .gsd/worktrees/<MID>/, causing new milestone writes to land
in the wrong directory.

Three-layer fix:
1. escapeStaleWorktree() at startAuto entry — detects if base path
   is inside .gsd/worktrees/ and chdir back to project root
2. stopAuto() unconditionally restores cwd to originalBasePath,
   not just when isInAutoWorktree returns true (module state may
   have been cleared by mergeMilestoneToMain already)
3. Milestone merge error handler restores cwd on partial failure
   where mergeMilestoneToMain chdir'd but then threw

Closes #608
2026-03-16 06:58:02 -06:00
..
async-jobs fix: resolve TypeScript errors in async-jobs extension (#569) 2026-03-15 19:07:57 -06:00
bg-shell refactor: decompose bg-shell/index.ts into focused modules 2026-03-15 17:27:56 -06:00
browser-tools fix: resolve TypeScript type errors in browser-tools extension (#204) (#212) 2026-03-13 11:35:47 -06:00
context7 fix: resolve TypeScript type errors in misc extension files (#204) (#213) 2026-03-13 11:36:17 -06:00
google-search fix: resolve TypeScript type errors in misc extension files (#204) (#213) 2026-03-13 11:36:17 -06:00
gsd fix: prevent stale worktree cwd after milestone completion (#608) (#610) 2026-03-16 06:58:02 -06:00
mac-tools fix: resolve TypeScript type errors in misc extension files (#204) (#213) 2026-03-13 11:36:17 -06:00
mcporter feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
remote-questions feat: opus 4.6 1M default, model selector UX, Discord onboarding (#290) 2026-03-14 08:43:56 -06:00
search-the-web feat(config): session-internal /gsd config + fix key hydration 2026-03-15 08:35:27 +01:00
shared Fix packaging verification and path portability (#378) 2026-03-14 12:28:14 -06:00
slash-commands feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
subagent Fix packaging verification and path portability (#378) 2026-03-14 12:28:14 -06:00
ttsr feat: add native Rust TTSR regex engine via RegexSet 2026-03-13 13:57:12 -06:00
universal-config feat: add universal config discovery extension 2026-03-13 11:55:50 -06:00
voice fix(voice): check GROQ_API_KEY before entering voice mode (#367) 2026-03-14 10:15:23 -06:00
ask-user-questions.ts fix: resolve TypeScript type errors in misc extension files (#204) (#213) 2026-03-13 11:36:17 -06:00
get-secrets-from-user.ts fix: handle secrets skip gracefully in auto mode without crashing (#352) 2026-03-14 07:08:49 -06:00