Commit graph

2780 commits

Author SHA1 Message Date
Jeremy McSpadden
4911f937ad Merge pull request #3662 from igouss/fix/symlink-extension-discovery
fix(gsd): discoverManifests skips symlinked extension directories
2026-04-07 07:11:23 -05:00
Jeremy McSpadden
f2c87d71ee Merge pull request #3663 from Tibsfox/fix/queued-user-message-skip-pause
fix(gsd): pause auto-mode on queued-user-message tool skip instead of retrying
2026-04-07 07:09:38 -05:00
Jeremy McSpadden
182a8c758d Merge pull request #3664 from Tibsfox/fix/error-success-masks-real-error
fix(gsd): surface real provider error when errorMessage is 'success'
2026-04-07 07:09:25 -05:00
Jeremy McSpadden
e87119e7e0 Merge pull request #3665 from Tibsfox/fix/worktree-expected-condition-warnings
fix(gsd): suppress misleading ENOENT/EISDIR warnings in worktree operations
2026-04-07 07:09:08 -05:00
Jeremy McSpadden
85a578265b Merge pull request #3667 from Tibsfox/fix/clear-stale-pending-autostart
fix(gsd): clear stale pendingAutoStart after /clear interrupts discussion
2026-04-07 07:08:53 -05:00
Jeremy McSpadden
d5dac9ec04 Merge pull request #3668 from Tibsfox/fix/stale-lockfile-auto-recovery
fix(gsd): recover from stale lockfile after crash or SIGKILL
2026-04-07 07:08:41 -05:00
Jeremy McSpadden
f8c5a9c6ee Merge pull request #3669 from Tibsfox/fix/find-missing-summaries-skip-closed
fix(gsd): exclude closed slices from findMissingSummaries check
2026-04-07 07:08:26 -05:00
Jeremy McSpadden
1a0e3aecbb Merge pull request #3670 from Tibsfox/fix/needs-remediation-revalidation
fix(gsd): force re-validation when verdict is needs-remediation
2026-04-07 07:08:14 -05:00
Jeremy McSpadden
498a7a0aac Merge pull request #3671 from Tibsfox/fix/phantom-milestone-ghost-detection
fix(gsd): detect phantom milestones from abandoned generate_id
2026-04-07 07:07:59 -05:00
Jeremy McSpadden
24d40788ac Merge pull request #3672 from Tibsfox/fix/query-tools-ensure-db-open
fix(gsd): open DB on demand in gsd_milestone_status for non-auto sessions
2026-04-07 07:07:47 -05:00
Jeremy McSpadden
0d3789eee5 Merge pull request #3673 from Tibsfox/fix/auto-remediate-stale-slice-status
fix(gsd): auto-remediate stale slice DB status when SUMMARY exists
2026-04-07 07:07:33 -05:00
Jeremy McSpadden
7420399125 Merge pull request #3675 from Tibsfox/fix/isolation-none-stale-branch-guard
fix(gsd): auto-checkout to main when isolation:none finds stale milestone branch
2026-04-07 07:07:22 -05:00
Jeremy McSpadden
f4a9f904d1 Merge pull request #3678 from Tibsfox/fix/complete-slice-verification-gate
fix(gsd): add verification gate to complete-slice tool
2026-04-07 07:07:01 -05:00
Jeremy McSpadden
5384e0e6ec Merge pull request #3679 from Tibsfox/fix/verify-artifact-false-positive
fix(gsd): tighten verifyExpectedArtifact to prevent rogue-write false positives
2026-04-07 07:06:49 -05:00
Jeremy McSpadden
218e53addd Merge pull request #3680 from Tibsfox/fix/restore-tools-after-discuss
fix(gsd): restore full tool set after discuss flow scoping
2026-04-07 07:06:38 -05:00
Jeremy McSpadden
6308a9d6e9 Merge pull request #3681 from Tibsfox/fix/discuss-slice-structured-questions
fix(gsd): add structuredQuestionsAvailable conditional to slice discuss
2026-04-07 07:06:25 -05:00
Jeremy McSpadden
764d8ff466 Merge pull request #3682 from Tibsfox/fix/sync-worktree-skip-current-milestone
fix(gsd): skip current milestone in syncWorktreeStateBack to prevent merge conflicts
2026-04-07 07:06:14 -05:00
Jeremy McSpadden
44872ca501 Merge pull request #3683 from Tibsfox/fix/project-root-cwd-crash
fix(gsd): handle deleted cwd crash and validate main_branch pref
2026-04-07 07:05:57 -05:00
Jeremy McSpadden
864c8e7c2a Merge pull request #3684 from Tibsfox/fix/mark-note-captures-executed
fix(gsd): mark note captures as executed in triage resolution
2026-04-07 07:04:52 -05:00
Jeremy McSpadden
0163b5b5bf Merge pull request #3685 from Tibsfox/fix/mcp-server-subpath-imports
fix(mcp): use createRequire to resolve SDK wildcard subpath imports
2026-04-07 07:04:38 -05:00
Jeremy McSpadden
3e0cdcd7ea Merge pull request #3686 from Tibsfox/fix/run-uat-replay-cap
fix(gsd): cap run-uat dispatch attempts to prevent infinite replay loop
2026-04-07 07:03:54 -05:00
Jeremy McSpadden
21898dec7e Merge pull request #3689 from Tibsfox/fix/interview-notes-enter-loop
fix(tui): prevent Enter key infinite loop in interview notes mode
2026-04-07 07:03:32 -05:00
Jeremy McSpadden
559abeb95c Merge pull request #3695 from Tibsfox/fix/block-phantom-milestone-creation
fix(gsd): default insertMilestone status to queued instead of active
2026-04-07 07:03:09 -05:00
Jeremy McSpadden
91ed0055ef Merge pull request #3688 from Tibsfox/fix/provider-manager-enter-key
fix(provider): handle Enter key to initiate auth setup in provider manager
2026-04-07 07:02:48 -05:00
Jeremy McSpadden
57e9063580 Merge pull request #3691 from Tibsfox/fix/status-open-db-cold-session
fix(gsd): open DB before status derivation + respect isolation:none in quick
2026-04-07 07:02:31 -05:00
Jeremy McSpadden
301e7833ea Merge pull request #3690 from Tibsfox/fix/gitignore-bg-shell
fix(gsd): add .bg-shell/ to baseline gitignore patterns
2026-04-07 07:02:15 -05:00
Jeremy McSpadden
1146352202 Merge pull request #3692 from Tibsfox/fix/complete-task-normalize-list-inputs
fix(gsd): normalize list inputs in complete-task + fix roadmap dep parsing
2026-04-07 07:02:02 -05:00
Jeremy McSpadden
a23fb1e873 Merge pull request #3693 from Tibsfox/fix/frontmatter-parse-noise
fix(gsd): suppress repeated frontmatter YAML parse warnings
2026-04-07 06:57:43 -05:00
Jeremy McSpadden
0339317d10 Merge pull request #3696 from Tibsfox/fix/prompt-step-ordering-and-tools
fix(gsd): prompt ordering, correct tools, crash guard, compaction fix
2026-04-07 06:57:28 -05:00
Jeremy McSpadden
a7cb1389b8 Merge pull request #3697 from Tibsfox/fix/set-slice-sequence-on-insert
fix(gsd): set slice sequence at all three insertion sites
2026-04-07 06:56:53 -05:00
Jeremy McSpadden
627510695c Merge pull request #3698 from Tibsfox/fix/allow-skipped-validation-completion
fix(gsd): allow milestone completion when validation skipped by preference
2026-04-07 06:56:41 -05:00
Jeremy McSpadden
bf1d7cfd4d Merge pull request #3699 from Tibsfox/fix/import-done-milestones-as-complete
fix(gsd): import all-done milestones as complete during DB migration
2026-04-07 06:56:27 -05:00
Jeremy McSpadden
0ccb3b627b Merge pull request #3709 from Tibsfox/fix/discuss-incremental-persistence
fix(gsd): add incremental persistence to discuss prompts
2026-04-07 06:56:06 -05:00
Jeremy McSpadden
313658586a Merge pull request #3676 from Tibsfox/fix/stop-projection-overwriting-plan
fix(gsd): stop renderAllProjections from overwriting authoritative PLAN.md
2026-04-07 06:55:45 -05:00
Jeremy McSpadden
128ddba5df Merge pull request #3677 from Tibsfox/fix/pre-execution-checks-false-positives
fix(gsd): fix pre-execution-checks false positives from backticks and task.files
2026-04-07 06:03:44 -05:00
Tibsfox
3f5956d7c3 fix(gsd): add incremental persistence to discuss prompts
Discuss sessions with no persistence lost all confirmed work on crash.
Now both milestone and slice discuss prompts instruct agents to
silently save CONTEXT-DRAFT every 2 question rounds via
gsd_summary_save. The final context file overwrites the draft.

Closes #2152

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 03:27:46 -07:00
Jeremy McSpadden
69007b594f Merge pull request #3656 from Tibsfox/fix/auto-dispatch-planning-stuck 2026-04-07 04:22:49 -05:00
Tibsfox
6fa3a6ac94 test: move missing file refs from task.files to task.inputs per #3626 fix 2026-04-06 23:01:34 -07:00
Tibsfox
8f834e23fe fix: replace empty catch with logWarning for silent-catch-diagnostics test 2026-04-06 23:00:06 -07:00
Tibsfox
9e268ed182 test: update heading-style test to expect false after #3607 tightening 2026-04-06 22:59:17 -07:00
Tibsfox
fa344e79a0 fix(test): escape regex metacharacters in skip-by-preference pattern test
The test regex used unescaped (?:...) groups which were interpreted as
regex syntax instead of matching the literal source text. Escape parens
to match the actual regex pattern in the source code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:55:55 -07:00
Tibsfox
ae6f9bab8a fix(test): search for numbered step definitions in prompt ordering test
The test used indexOf which found "gsd_complete_milestone" in the
"Do NOT call" warning (line 34) before the actual step 10 definition
(line 43). Use regex to match numbered step patterns instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:54:21 -07:00
Tibsfox
94536a01fd fix(test): update notes loop test for notesVisible guard behavior
The fix adds a notesVisible guard that prevents re-opening notes when
they are already visible, even if empty. Update the test to expect
empty notes and direct advancement instead of re-opening.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:52:51 -07:00
Tibsfox
267c890823 fix(test): update action count for note captures now included in results
The fix marks note captures as executed and adds them to the actions
list. Update the mixed classifications test to expect 3 actions instead
of 2, since notes are no longer excluded.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:51:15 -07:00
Tibsfox
e8903fa716 fix(test): remove extraneous test file from wrong branch
The find-missing-summaries-closed.test.ts was accidentally committed
to this branch but belongs to fix/find-missing-summaries-skip-closed.
Remove it to fix CI failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:49:46 -07:00
Tibsfox
60bbf8f0b3 fix(test): update worktree sync tests to use separate milestone IDs
The fix skips the current milestone in syncWorktreeStateBack to prevent
merge conflicts. Update tests to use a different milestone ID for the
milestoneId parameter vs the milestone being synced, matching the new
skip-current-milestone behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:49:02 -07:00
Tibsfox
6bb5a3fe9a fix(gsd): use valid LogComponent type for stale branch guard warning
Change logWarning component from "autoStart" (not in LogComponent union)
to "bootstrap" to fix TypeScript compilation error.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:45:03 -07:00
Tibsfox
cff7ded42c fix(test): update rogue detection test for auto-remediation behavior
The fix auto-remediates stale slice DB status via updateSliceStatus()
instead of reporting it as a rogue artifact. Update the test to expect
0 rogues since the stale status is now silently fixed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:43:53 -07:00
Tibsfox
f8e98de19f fix(test): update stuck-planning test to expect executing after reconciliation
The fix reconciles plan-file tasks into the DB when the planner skips
persistence, so the phase correctly advances to executing instead of
remaining stuck in planning. Update the known-issue test to expect the
fixed behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:42:17 -07:00
Tibsfox
9479fe07bd fix(test): update file path consistency tests for inputs-only checking
The fix changed checkFilePathConsistency to only check task.inputs, not
task.files, since files includes paths the task will create. Update tests
to use inputs instead of files for consistency checks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:40:29 -07:00