Commit Graph

2058 Commits

Author SHA1 Message Date
Dave
421c702aad story-kit: queue 78_story_create_spike_mcp_tool for QA 2026-02-23 20:25:47 +00:00
Dave
c4f92ee7db story-kit: start 94_bug_stale_agent_state_persists_after_server_restart 2026-02-23 20:24:15 +00:00
Dave
64e76b21c3 story-kit: start 95_bug_pipeline_auto_restart_has_no_retry_limit_causing_infinite_loop 2026-02-23 20:23:45 +00:00
Dave
22b862023b story-kit: start 78_story_create_spike_mcp_tool 2026-02-23 20:21:35 +00:00
Dave
a18d4350ae chore: add .vite/ Vitest cache to .gitignore 2026-02-23 20:19:11 +00:00
Dave
aa2149e506 story-kit: create 95_bug_pipeline_auto_restart_has_no_retry_limit_causing_infinite_loop 2026-02-23 20:15:28 +00:00
Dave
8d58e3999d story-kit: create 94_bug_stale_agent_state_persists_after_server_restart 2026-02-23 20:04:46 +00:00
Dave
06586a5b70 story-kit: queue 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating for QA 2026-02-23 20:02:47 +00:00
Dave
9da25a149d story-kit: create 93_story_expose_server_logs_to_agents_via_mcp 2026-02-23 19:59:07 +00:00
Dave
1a7948b15a story-kit: queue 91_bug_permissions_dialog_never_triggers_in_web_ui for QA 2026-02-23 19:54:05 +00:00
Dave
41fce3322c story-kit: start 91_bug_permissions_dialog_never_triggers_in_web_ui 2026-02-23 19:52:53 +00:00
Dave
7f139917b4 story-kit: create 91_bug_permissions_dialog_never_triggers_in_web_ui 2026-02-23 19:52:26 +00:00
Dave
6c1f8555e8 feat(story-85): agent lozenges move between roster and work items
- Add `hiddenRosterAgents: ReadonlySet<string>` to LozengeFlyContext:
  - Derived from pipeline: any agent currently assigned to a work item
  - `flyingOutAgents` state keeps badge hidden for 500 ms during the
    fly-out animation so the returning clone lands before the badge reappears
  - Union of both sets exposed as `hiddenRosterAgents` in context
- Update AgentPanel: wrap each RosterBadge in a collapsing div
  controlled by `hiddenRosterAgents`. The div transitions max-width
  0→300px / opacity 0→1 so the roster gap closes/opens smoothly.
- Add tests covering:
  - `hiddenRosterAgents` is empty when no agents are assigned
  - Badge hidden immediately when agent appears in pipeline
  - Badge hidden during fly-out (0–499 ms) and visible after (≥500 ms)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 19:52:23 +00:00
Dave
d1d7ce47ac Switch all Sonnet agents from 4.6 to 4.5 for speed
Sonnet 4.6 is too slow for small stories — agents burn through turns
without completing. Reverting coders, QA, and mergemaster to Sonnet 4.5.
Supervisor and coder-opus remain on Opus.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:50:10 +00:00
Dave
02a617eee3 story-kit: queue 93_bug_agent_session_id_is_null_while_running for QA 2026-02-23 19:49:04 +00:00
Dave
306514e6d2 story-kit: start 93_bug_agent_session_id_is_null_while_running 2026-02-23 19:43:18 +00:00
Dave
0aaefc34c2 story-kit: create 93_bug_agent_session_id_is_null_while_running 2026-02-23 19:39:37 +00:00
Dave
03f243b670 story-kit: create 92_spike_stop_auto_committing_intermediate_pipeline_moves 2026-02-23 19:37:28 +00:00
Dave
63cfd5818c story-kit: start 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating 2026-02-23 19:27:08 +00:00
Dave
a91d663894 story-kit: create 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating 2026-02-23 19:26:54 +00:00
Dave
04e7a1e854 Remove invalid --directory flag that broke agent spawning
The --directory flag does not exist in Claude Code CLI. It was added in
c169cfc but caused every agent spawn to exit immediately with "unknown
option", resulting in Session: None errors. The process cwd (set via
cmd.cwd()) already correctly pins agents to the worktree directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:26:37 +00:00
Dave
42ad712a74 story-kit: queue 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating for QA 2026-02-23 19:19:44 +00:00
Dave
c70399a39b story-kit: start 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating 2026-02-23 19:13:35 +00:00
Dave
8b9d77e2f2 story-kit: remove 92_story_test_story_creation_without_test_plan 2026-02-23 19:13:11 +00:00
Dave
23043dbd29 story-kit: create 92_story_test_story_creation_without_test_plan 2026-02-23 19:12:52 +00:00
Dave
31037f5bf5 Remove test_plan gate from the codebase
The test_plan field was a gate from the old interactive web UI workflow
where a human would approve a test plan before the LLM could write code.
With autonomous coder agents, this gate is dead weight — coders sometimes
obey the README's "wait for approval" instruction and produce no code.

Removes: TestPlanStatus enum, ensure_test_plan_approved checks in fs/shell,
set_test_plan MCP tool + handler, test_plan from story/bug front matter
creation, test_plan validation in validate_story_dirs, and all related tests.
Updates README to remove Step 2 (Test Planning) and renumber steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:12:05 +00:00
Dave
cc2511b792 story-kit: create 35_story_agent_security_and_sandboxing 2026-02-23 19:08:42 +00:00
Dave
e13338b212 story-kit: create 35_story_agent_security_and_sandboxing 2026-02-23 19:08:38 +00:00
Dave
ed2829b641 story-kit: accept 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat 2026-02-23 19:07:47 +00:00
Dave
520c1a0990 story-kit: create 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating 2026-02-23 18:55:54 +00:00
Dave
1539e52b19 Inject story content into agent prompts so coders know what to build
The worktree doesn't have .story_kit/work/ so agents had no access to
the story requirements. Read the story file from the project root and
prepend it to the prompt. Without this, coders would start, read
CLAUDE.md, have nothing to implement, and exit with no code.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:50:41 +00:00
Dave
5374ee316e story-kit: accept 89_story_persistent_per_session_agent_logs 2026-02-23 18:47:46 +00:00
Dave
8729175ba1 story-kit: queue 89_story_persistent_per_session_agent_logs for merge 2026-02-23 18:47:34 +00:00
Dave
70d5766aa1 story-kit: accept 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating 2026-02-23 18:47:25 +00:00
Dave
b03b17724a story-kit: queue 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating for merge 2026-02-23 18:47:04 +00:00
Dave
829e700bb2 story-kit: queue 89_story_persistent_per_session_agent_logs for QA 2026-02-23 18:46:41 +00:00
Dave
3af7a5d19e story-kit: queue 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating for QA 2026-02-23 18:46:03 +00:00
Dave
c169cfc9fa Pass --directory flag to Claude Code agents to prevent worktree escape
Claude Code resolves its project root by walking up from cwd looking
for .git. In worktrees, .git is a file pointing back to the main
checkout, so Claude Code would resolve the main repo as its project
and write files there instead of in the worktree. Adding --directory
explicitly pins it to the worktree path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:43:23 +00:00
Dave
d8e35dbbf8 story-kit: accept 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat 2026-02-23 18:38:30 +00:00
Dave
af1625a132 story-kit: merge 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat 2026-02-23 18:38:15 +00:00
Dave
da8ded460e story-kit: queue 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat for merge 2026-02-23 18:38:01 +00:00
Dave
201740d4d2 story-kit: create 91_bug_permissions_dialog_never_triggers_in_web_ui 2026-02-23 18:36:54 +00:00
Dave
c37a86d1fd story-kit: queue 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat for QA 2026-02-23 18:34:51 +00:00
Dave
cde607f455 story-kit: create 90_story_fetch_real_context_window_size_from_anthropic_models_api 2026-02-23 18:32:56 +00:00
Dave
f67f720ec3 story-kit: start 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat 2026-02-23 18:26:09 +00:00
Dave
f1c600a9e6 story-kit: start 89_story_persistent_per_session_agent_logs 2026-02-23 18:25:41 +00:00
Dave
ef427a28b9 story-kit: start 85_story_agent_lozenges_move_between_roster_and_work_items_instead_of_duplicating 2026-02-23 18:25:09 +00:00
Dave
eb0b1b0cd6 story-kit: accept 88_story_auto_assign_agents_to_available_work_on_server_startup 2026-02-23 18:23:19 +00:00
Dave
4079188084 story-kit: accept 87_story_update_agent_lozenge_colour_scheme_across_panels 2026-02-23 18:23:15 +00:00
Dave
ac22e9a882 story-kit: merge 87_story_update_agent_lozenge_colour_scheme_across_panels 2026-02-23 18:23:01 +00:00