fix: resolve merge conflict markers left on master from story-115 merge

The squash-merge of story-115 (hot-reload project.toml agent config) left
unresolved conflict markers in client.ts and Chat.tsx where reconciliation_progress
code from master collided with agent_config_changed additions. Both features
are retained.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-23 23:07:00 +00:00
parent 05e5880fff
commit f4366ba644
2 changed files with 0 additions and 46 deletions

View File

@@ -1,23 +0,0 @@
---
name: "Hot-reload project.toml agent config without server restart"
---
# Story 115: Hot-reload project.toml agent config without server restart
## User Story
As a developer, I want changes to `.story_kit/project.toml` to be picked up automatically by the running server, so that I can update the agent roster without restarting the server.
## Acceptance Criteria
- [ ] When `.story_kit/project.toml` is saved on disk, the server detects the change within the debounce window (300 ms) and broadcasts an `agent_config_changed` WebSocket event to all connected clients
- [ ] The frontend `AgentPanel` automatically re-fetches and displays the updated agent roster upon receiving `agent_config_changed`, without any manual action
- [ ] `project.toml` changes inside worktree directories (paths containing `worktrees/`) are NOT broadcast
- [ ] Config file changes do NOT trigger a pipeline state refresh (only work-item events do)
- [ ] A helper `is_config_file(path, git_root)` correctly identifies the root-level `.story_kit/project.toml` (returns false for worktree copies)
## Out of Scope
- Watching for newly created `project.toml` (only file modification events)
- Validating the new config before broadcasting (parse errors are surfaced on next `get_agent_config` call)
- Reloading config into in-memory agent state (agents already read config from disk on each start)

View File

@@ -1,23 +0,0 @@
---
name: "Hot-reload project.toml agent config without server restart"
---
# Story 115: Hot-reload project.toml agent config without server restart
## User Story
As a developer, I want changes to `.story_kit/project.toml` to be reflected in the AgentPanel without restarting the server, so that I can update agent configurations and see them immediately in the UI.
## Acceptance Criteria
- [ ] The filesystem watcher detects modifications to `.story_kit/project.toml` at the project root
- [ ] A `WatcherEvent::ConfigChanged` is broadcast to all WebSocket clients when `project.toml` changes
- [ ] Worktree copies of `project.toml` (paths containing `worktrees/`) are ignored
- [ ] The WebSocket layer forwards an `agent_config_changed` message to the frontend
- [ ] Pipeline state is NOT refreshed on config changes (only work-item changes trigger pipeline refresh)
- [ ] The frontend `AgentPanel` re-fetches the agent roster when it receives `agent_config_changed`
## Out of Scope
- Hot-reload of server settings other than agent config
- Debounce tuning beyond the existing 300ms window