Commit Graph

245 Commits

Author SHA1 Message Date
Dave
b621727f48 story-kit: merge 156_bug_onboarding_welcome_screen_triggers_on_already_configured_projects 2026-02-24 16:13:39 +00:00
Dave
a6d084be31 story-kit: create 155_story_queue_messages_while_agent_is_busy 2026-02-24 15:55:36 +00:00
Dave
774548c04c story-kit: merge 153_bug_auto_assign_broken_after_stage_field_was_added_to_agent_config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 15:50:34 +00:00
Dave
5567cdf480 story-kit: merge 148_story_interactive_onboarding_guides_user_through_project_setup_after_init
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 15:34:31 +00:00
Dave
03ca8624cd story-kit: start 147_bug_activity_indicator_still_only_shows_thinking_despite_bug_140_fix 2026-02-24 15:26:39 +00:00
Dave
d66334ee29 fix: return empty Ollama model list instead of error when Ollama unreachable
When Ollama is not running, /api/ollama/models now returns [] instead of
HTTP 400. This prevents the UI from breaking when the Ollama service is
unavailable. The frontend already handles an empty list gracefully.

Updated the test to assert success with an empty list rather than an error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 15:11:33 +00:00
Dave
57430d73bd story-kit: merge 146_bug_permission_approval_still_returns_wrong_format_needs_updatedinput_not_behavior_allow 2026-02-24 14:06:00 +00:00
Dave
834a0361a1 story-kit: merge 142_bug_quality_gates_run_after_fast_forward_to_master_instead_of_before 2026-02-24 13:56:11 +00:00
Dave
73614fe5e8 story-kit: merge 141_story_improve_server_logging_with_timestamps_and_error_visibility 2026-02-24 13:48:25 +00:00
Dave
c8efe2059f Fix merge conflict resolution artifacts in agents.rs
- Add missing closing brace for spawn_watchdog function
- Remove leftover <<<<<<< HEAD conflict marker in test module
- Restore conflict marker test data that was incorrectly stripped
- Add missing completed_at field in inject_test_agent_with_handle

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:24:39 +00:00
Dave
518d5335d2 story-kit: merge 133_story_clean_up_agent_state_on_story_archive_and_add_ttl_for_completed_entries 2026-02-24 13:22:15 +00:00
Dave
580bac22fa Fix unclosed delimiter from merge conflict resolution in agents.rs
Remove leftover conflict markers and add missing closing brace for
watchdog_detects_orphaned_running_agent test function.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:22:11 +00:00
Dave
6170a7d984 story-kit: merge 133_story_clean_up_agent_state_on_story_archive_and_add_ttl_for_completed_entries 2026-02-24 13:20:59 +00:00
Dave
560c731869 story-kit: merge 134_story_add_process_health_monitoring_and_timeout_to_agent_pty_sessions 2026-02-24 13:13:16 +00:00
Dave
5226438b16 story-kit: merge 138_bug_no_heartbeat_to_detect_stale_websocket_connections 2026-02-24 13:05:30 +00:00
Dave
c5ddd15273 story-kit: merge 132_story_fix_toctou_race_in_agent_check_and_insert 2026-02-24 12:49:29 +00:00
Dave
2ac9e119e3 Fix master compilation after bad story 86 squash merge revert
The revert of story 86's merge left broken code from stories 131/135
that depended on it. Removed dead inline event dispatch (referencing
undefined event_type, pty_writer, PermissionReqMsg), added activity_tx
to process_json_event, and removed unused permission_tx parameter from
chat_stream/chat (permissions go through MCP, not PTY).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:44:22 +00:00
Dave
4611a187f1 fix: remove duplicate code block from merge conflict resolution in claude_code.rs
Old process_json_event call and new handle_stream_event match block were
both kept during auto-resolution; remove the old code to fix unclosed delimiter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:34:20 +00:00
Dave
557b6e9267 fix: resolve merge conflict artifacts from story-86 merge
- Add missing closing brace and #[test] attr between test functions in claude_code.rs
- Remove premature semicolon in TypeScript union type in client.ts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:33:31 +00:00
Dave
4e4802314f story-kit: merge 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat 2026-02-24 12:32:14 +00:00
Dave
2e2f70df72 Revert "story-kit: merge 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat"
This reverts commit ef162d91ff.
2026-02-24 12:16:45 +00:00
Dave
ef162d91ff story-kit: merge 86_story_show_live_activity_status_instead_of_static_thinking_indicator_in_chat 2026-02-24 12:08:59 +00:00
Dave
d6f394d28d story-kit: merge 130_bug_permission_approval_returns_wrong_format_tools_fail_after_user_approves 2026-02-24 11:51:00 +00:00
Dave
5481f65e8b story-kit: merge 129_story_test_coverage_http_mcp_rs 2026-02-24 00:30:54 +00:00
Dave
9b2969fdba story-kit: merge 128_story_test_coverage_worktree_rs 2026-02-24 00:26:49 +00:00
Dave
9528ef808c story-kit: merge 127_story_test_coverage_http_mod_rs 2026-02-24 00:24:08 +00:00
Dave
0c9588d32c story-kit: merge 124_story_test_coverage_llm_providers_claude_code_rs 2026-02-24 00:19:32 +00:00
Dave
ca9293216f story-kit: merge 123_story_test_coverage_llm_providers_anthropic_rs 2026-02-24 00:15:19 +00:00
Dave
7133ba1276 story-kit: merge 126_story_test_coverage_http_anthropic_rs 2026-02-24 00:11:55 +00:00
Dave
ca2097d8e4 story-kit: merge 122_story_test_coverage_http_ws_rs 2026-02-24 00:07:20 +00:00
Dave
26e2164833 story-kit: merge 125_story_test_coverage_http_io_rs 2026-02-24 00:03:47 +00:00
Dave
3825cbb8fd story-kit: merge 120_story_test_coverage_llm_chat_rs 2026-02-24 00:00:35 +00:00
Dave
e15ae3027f story-kit: merge 121_story_test_coverage_io_watcher_rs 2026-02-23 23:55:09 +00:00
Dave
4c137dee0d story-kit: merge 99_story_test_coverage_http_health_rs_to_100 2026-02-23 23:24:25 +00:00
Dave
b928eace9c story-kit: merge 119_story_mergemaster_should_resolve_merge_conflicts_instead_of_leaving_conflict_markers_on_master 2026-02-23 23:22:24 +00:00
Dave
e6339979de feat(story-115): hot-reload project.toml agent config without server restart
- Extend `WatcherEvent` to an enum with `WorkItem` and `ConfigChanged` variants
  so the watcher can distinguish between pipeline-file changes and config changes
- Watch `.story_kit/project.toml` at the project root (ignoring worktree copies)
  and broadcast `WatcherEvent::ConfigChanged` on modification
- Forward `agent_config_changed` WebSocket message to connected clients; skip
  pipeline state refresh for config-only events
- Add `is_config_file()` helper with unit tests covering root vs. worktree paths
- Accept `configVersion` prop in `AgentPanel` and re-fetch the agent roster
  whenever it increments
- Increment `agentConfigVersion` in `Chat` on receipt of `agent_config_changed`
  WS event via new `onAgentConfigChanged` handler in `ChatWebSocket`

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 22:58:51 +00:00
Dave
908fcef353 story-kit: merge 118_bug_agent_pool_retains_stale_running_state_after_completion_blocking_auto_assign 2026-02-23 22:53:23 +00:00
Dave
85fddcb71a story-kit: merge 117_story_show_startup_reconciliation_progress_in_ui 2026-02-23 22:50:57 +00:00
Dave
649b422338 story-kit: merge 108_story_test_coverage_http_agents_rs_to_70 2026-02-23 22:26:46 +00:00
Dave
c395edca42 story-kit: merge 107_story_test_coverage_http_assets_rs_to_85 2026-02-23 22:24:29 +00:00
Dave
5acf3b73c3 story-kit: merge 106_story_test_coverage_http_settings_rs_to_80 2026-02-23 22:21:37 +00:00
Dave
c139e03bfd story-kit: merge 105_story_test_coverage_io_shell_rs_to_95 2026-02-23 22:16:33 +00:00
Dave
9a97d33bfa story-kit: merge 104_story_test_coverage_io_search_rs_to_95 2026-02-23 22:13:03 +00:00
Dave
04bce52959 story-kit: merge 103_story_test_coverage_http_project_rs_to_80 2026-02-23 22:07:58 +00:00
Dave
28146fc259 story-kit: merge 101_story_test_coverage_http_chat_rs_to_80 2026-02-23 22:02:55 +00:00
Dave
a759a59a46 story-kit: queue 101_story_test_coverage_http_chat_rs_to_80 for merge 2026-02-23 22:00:33 +00:00
Dave
d3a29aac1a story-kit: merge 100_story_test_coverage_http_context_rs_to_100 2026-02-23 21:41:25 +00:00
Dave
3087297b88 story-kit: merge 91_bug_permissions_dialog_never_triggers_in_web_ui 2026-02-23 21:38:45 +00:00
Dave
e21c982d8b story-kit: merge 102_story_test_coverage_http_model_rs_to_80 2026-02-23 21:37:20 +00:00
Dave
6d87355577 Merge branch 'feature/story-97_bug_agent_pool_allows_multiple_instances_of_the_same_agent_to_run_concurrently' 2026-02-23 20:53:54 +00:00