Commit Graph

1680 Commits

Author SHA1 Message Date
Dave
6a7d4a87c8 story-kit: create 214_story_scaffold_creates_complete_project_structure 2026-02-26 16:22:52 +00:00
Dave
01f3a3697a story-211: skip selection screen when CLI path argument provided
When a project path is passed on the command line, skip the project
selection screen in the frontend and go straight to the main UI.

Squash merge of feature/story-211

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 16:18:47 +00:00
Dave
8715e648ba story-kit: merge 213_story_remove_colored_left_border_from_work_item_cards 2026-02-26 16:17:10 +00:00
Dave
774a731042 bug-210: prevent pipeline from moving story to done when mergemaster reports failure
The pipeline advancement logic was ignoring report_merge_failure and
blindly trusting the server-owned completion gates_passed result. Now
report_merge_failure sets a flag on the agent entry that the pipeline
checks before advancing — stories stay in 4_merge/ when merge fails.

Squash merge of feature/story-210

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 16:12:23 +00:00
Dave
f2a1e72029 story-kit: queue 213_story_remove_colored_left_border_from_work_item_cards for merge 2026-02-26 16:11:36 +00:00
Dave
eff1fbee7a story-kit: done 211_story_skip_selection_screen_when_cli_path_argument_provided 2026-02-26 16:03:23 +00:00
Dave
dc8fb4df56 story-kit: queue 211_story_skip_selection_screen_when_cli_path_argument_provided for merge 2026-02-26 16:02:18 +00:00
Dave
21cf318fc0 story-kit: done 210_bug_pipeline_moves_story_to_done_even_when_mergemaster_reports_merge_failure 2026-02-26 15:47:14 +00:00
Dave
930708ebac fix: add missing port argument to open_project test calls
The merge of story-209 (positional path argument) added a port parameter
to open_project, but two test call sites were not updated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 15:46:36 +00:00
Dave
5ce2ec8c34 story-kit: queue 213_story_remove_colored_left_border_from_work_item_cards for QA 2026-02-26 15:42:21 +00:00
Dave
d6b4e47b65 story-kit: queue 211_story_skip_selection_screen_when_cli_path_argument_provided for QA 2026-02-26 15:41:24 +00:00
Dave
94136d648f story-kit: queue 210_bug_pipeline_moves_story_to_done_even_when_mergemaster_reports_merge_failure for merge 2026-02-26 15:39:01 +00:00
Dave
bf6a96a2d5 story-kit: start 213_story_remove_colored_left_border_from_work_item_cards 2026-02-26 15:35:13 +00:00
Dave
b8ad2d4f4e story-kit: create 213_story_remove_colored_left_border_from_work_item_cards 2026-02-26 15:34:29 +00:00
Dave
6bf7ba605e story-kit: queue 210_bug_pipeline_moves_story_to_done_even_when_mergemaster_reports_merge_failure for QA 2026-02-26 15:33:20 +00:00
Dave
b6fcc3ec93 story-198: distinguish work item types (story/bug/spike) in web UI
Add visual type indicators to pipeline stage panels so stories, bugs,
and spikes are distinguishable at a glance.

Squash merge of feature/story-198

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 15:32:16 +00:00
Dave
32a9ef779a story-kit: create 212_bug_permission_hook_returns_invalid_response_blocking_edit_and_write_tools 2026-02-26 15:31:50 +00:00
Dave
60278064c8 story-kit: start 211_story_skip_selection_screen_when_cli_path_argument_provided 2026-02-26 15:29:25 +00:00
Dave
93877fb6f2 story-kit: create 211_story_skip_selection_screen_when_cli_path_argument_provided 2026-02-26 15:29:22 +00:00
Dave
f854deaedc story-kit: start 210_bug_pipeline_moves_story_to_done_even_when_mergemaster_reports_merge_failure 2026-02-26 15:18:24 +00:00
Dave
8e0082f6cd story-209: accept optional positional path argument on startup
Add CLI path argument support: `story-kit-server /path/to/project` opens
the given project directly (scaffolding .story_kit/ if needed) instead of
relying on auto-detection. Resolves conflict with story-208's port parameter.

Squash merge of feature/story-209

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 15:17:40 +00:00
Dave
6a2fbaf2ed story-kit: create 210_bug_pipeline_moves_story_to_done_even_when_mergemaster_reports_merge_failure 2026-02-26 15:14:10 +00:00
Dave
69dc664bd5 story-kit: done 209_story_accept_optional_positional_path_argument_on_startup 2026-02-26 15:09:39 +00:00
Dave
4011767f20 Ignoring merge workspace 2026-02-26 15:07:21 +00:00
Dave
175ed9e970 Removing toml metadata to clear warning 2026-02-26 15:05:55 +00:00
Dave
b9427a2707 story-207: rename LLM provider labels - Claude Code (PTY) to Claude Code, Anthropic to Anthropic API
Squash merge of feature/story-207

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 15:02:30 +00:00
Dave
a2465f476a story-206: default to claude-code-pty on first use
Squash merge of feature/story-206

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 15:02:16 +00:00
Dave
17fd3b2dc2 story-kit: merge 208_bug_project_scaffold_does_not_write_mcp_json_to_project_root 2026-02-26 14:59:19 +00:00
Dave
0be7bcd8ae story-kit: done 208_bug_project_scaffold_does_not_write_mcp_json_to_project_root 2026-02-26 14:59:03 +00:00
Dave
40d96008c9 feat(story-200): auto-prune worktrees when stories are archived
- Add `prune_worktree_sync` to worktree.rs: removes a story's worktree
  if it exists, delegating to `remove_worktree_sync` (best-effort,
  failures logged internally)
- Update `sweep_done_to_archived` to accept `git_root` and call
  `prune_worktree_sync` after promoting a story from 5_done to 6_archived
- Add Part 2 to the sweep: scan 6_archived and prune any stale worktrees
  for stories already there (catches items archived before this feature)
- All worktree removal failures are logged but never block file moves
- Add 5 new tests: prune noop, prune real worktree, sweep-on-promote,
  sweep-stale-archived, sweep-not-blocked-by-removal-failure

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 14:58:52 +00:00
Dave
4e535dff18 story-kit: start 208_bug_project_scaffold_does_not_write_mcp_json_to_project_root 2026-02-26 14:26:24 +00:00
Dave
bf809d9879 story-kit: queue 207_story_rename_llm_provider_labels_claude_pty_to_claude_code_anthropic_to_anthropic_api for merge 2026-02-26 14:26:14 +00:00
Dave
2e40cfcc44 story-kit: start 209_story_accept_optional_positional_path_argument_on_startup 2026-02-26 14:25:58 +00:00
Dave
113b2500fa story-kit: done 200_story_auto_prune_worktrees_for_archived_stories_in_watcher_sweep 2026-02-26 14:25:27 +00:00
Dave
3d0c97167c story-kit: create 209_story_accept_optional_positional_path_argument_on_startup 2026-02-26 14:24:31 +00:00
Dave
29c5b3898b story-kit: create 208_bug_project_scaffold_does_not_write_mcp_json_to_project_root 2026-02-26 14:24:24 +00:00
Dave
4f878a0ee7 story-kit: queue 206_story_claude_pty_should_be_selected_by_default_on_first_use for QA 2026-02-26 14:23:38 +00:00
Dave
3aa639b5b4 story-kit: queue 200_story_auto_prune_worktrees_for_archived_stories_in_watcher_sweep for merge 2026-02-26 14:22:23 +00:00
Dave
7d4fd8bc0d story-kit: done 202_story_make_agent_watchdog_interval_configurable_via_project_toml 2026-02-26 14:21:32 +00:00
Dave
8fc5cd263f story-kit: queue 207_story_rename_llm_provider_labels_claude_pty_to_claude_code_anthropic_to_anthropic_api for QA 2026-02-26 14:21:21 +00:00
Dave
864421dc75 story-kit: queue 202_story_make_agent_watchdog_interval_configurable_via_project_toml for merge 2026-02-26 14:17:43 +00:00
Dave
557229fd9e story-kit: done 205_bug_mergemaster_marks_stories_as_done_without_squash_merging_code 2026-02-26 14:17:26 +00:00
Dave
bf5cc860b4 story-kit: queue 200_story_auto_prune_worktrees_for_archived_stories_in_watcher_sweep for QA 2026-02-26 14:17:05 +00:00
Dave
81065a3ada fix: replace fast-forward with cherry-pick in mergemaster squash-merge
The mergemaster pipeline used git merge --ff-only to apply the squash
commit from a merge-queue branch onto master. This raced with the
filesystem watcher which auto-commits pipeline file moves to master,
causing the fast-forward to fail. The mergemaster agent would then
improvise by manually moving stories to done without the code merge.

- Replace --ff-only with cherry-pick so concurrent watcher commits
  don't block the merge
- Add report_merge_failure MCP tool for explicit failure handling
- Update mergemaster prompt to forbid manual file moves
- Fix cleanup_merge_workspace to handle stale directories

Squash merge of feature/story-205

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 14:16:35 +00:00
Dave
c435d86d1a story-kit: queue 205_bug_mergemaster_marks_stories_as_done_without_squash_merging_code for merge 2026-02-26 14:15:12 +00:00
Dave
ea60db575d story-kit: start 207_story_rename_llm_provider_labels_claude_pty_to_claude_code_anthropic_to_anthropic_api 2026-02-26 14:11:52 +00:00
Dave
d44648e169 story-kit: queue 202_story_make_agent_watchdog_interval_configurable_via_project_toml for QA 2026-02-26 14:11:21 +00:00
Dave
6a389d86ee story-kit: create 207_story_rename_llm_provider_labels_claude_pty_to_claude_code_anthropic_to_anthropic_api 2026-02-26 14:11:20 +00:00
Dave
089287c8a2 story-kit: start 206_story_claude_pty_should_be_selected_by_default_on_first_use 2026-02-26 14:09:58 +00:00
Dave
50a3527828 story-kit: create 206_story_claude_pty_should_be_selected_by_default_on_first_use 2026-02-26 14:09:22 +00:00