Commit Graph

312 Commits

Author SHA1 Message Date
Dave
0530aec8f4 story-kit: create 66_story_pipeline_stage_state_machine_spike 2026-02-23 12:44:43 +00:00
Dave
4f74947cb9 story-kit: create 65_story_standardised_script_test_entry_point_for_all_projects 2026-02-23 12:26:01 +00:00
Dave
4487862479 story-kit: create 65_story_standardised_script_test_entry_point_for_all_projects 2026-02-23 12:25:07 +00:00
Dave
35b45945b2 story-kit: start 64_story_watcher_should_ignore_worktree_code_changes 2026-02-23 12:22:31 +00:00
Dave
f885bcf2c9 story-kit: start 64_story_watcher_should_ignore_worktree_code_changes 2026-02-23 12:19:57 +00:00
Dave
1354f595e5 story-kit: create 64_story_watcher_should_ignore_worktree_code_changes 2026-02-23 12:17:38 +00:00
Dave
2f3a533f7a Consolidate Claude Code permissions into settings.json
Merged useful entries from settings.local.json, dropped one-off
session-specific rules, alphabetized everything.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 12:17:27 +00:00
Dave
ada46e069a story-kit: accept 63_story_auto_spawn_mergemaster_on_merge 2026-02-23 12:13:29 +00:00
Dave
bd2414437a story-kit: start 63_story_auto_spawn_mergemaster_on_merge 2026-02-23 12:12:20 +00:00
Dave
6075f07c87 story-kit: queue 63_story_auto_spawn_mergemaster_on_merge for merge 2026-02-23 12:07:22 +00:00
Dave
62863a246a story-kit: start 63_story_auto_spawn_mergemaster_on_merge 2026-02-23 12:06:42 +00:00
Dave
e77fd61edc story-kit: create 63_story_auto_spawn_mergemaster_on_merge 2026-02-23 12:00:56 +00:00
Dave
da9e41293c Removing concrete technology mentions in story kit README, those living tech specs 2026-02-23 11:53:06 +00:00
Dave
83b2e0e700 Bringing README up to date. 2026-02-23 11:51:35 +00:00
Dave
4e83b30f8b story-kit: create 59_story_current_work_panel 2026-02-23 11:40:56 +00:00
Dave
06e46feb04 story-kit: create 59_story_current_work_panel 2026-02-23 11:40:50 +00:00
Dave
80639b210b story-kit: create 59_story_current_work_panel 2026-02-23 11:40:31 +00:00
Dave
1487092216 Refactored a few things from main into modules 2026-02-23 11:39:22 +00:00
Dave
7deacabea9 Fixed up dependencies warning. 2026-02-23 11:23:08 +00:00
Dave
f2f558c646 Move all server deps to workspace, alphabetize
Convert serde_yaml, toml, async-stream, bytes, and tempfile from
inline versions to workspace dependencies. Alphabetize both
workspace and server dependency lists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:21:12 +00:00
Dave
daee1000df story-kit: remove 4_bug_run_button_does_not_start_agent 2026-02-23 11:18:10 +00:00
Dave
fc128c474b Delete dead e2e tests for removed panels
Remove tdd-gates, story-todos, and test-protection e2e specs that
tested deleted GatePanel, TodoPanel, and ReviewPanel. Rename the
surviving boot smoke test from review-panel.spec.ts to smoke.spec.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:17:43 +00:00
Dave
4615381c41 story-kit: accept 56_story_auto_increment_work_item_ids 2026-02-20 19:48:06 +00:00
Dave
5f6cf373e2 story-kit: start 56_story_auto_increment_work_item_ids 2026-02-20 19:46:06 +00:00
Dave
7b506974a5 story-kit: accept 61_spike_filesystem_watcher_architecture 2026-02-20 19:45:15 +00:00
Dave
2f625a60c8 story-kit: create 62_story_allow_frontend_ui_to_accept_permissions_requests 2026-02-20 19:41:55 +00:00
Dave
b348ce8381 story-kit: create 62_story_allow_frontend_ui_to_accept_permissions_requests 2026-02-20 19:41:54 +00:00
Dave
810608d3d8 Spike 61: filesystem watcher and UI simplification
Add notify-based filesystem watcher for .story_kit/work/ that
auto-commits changes with deterministic messages and broadcasts
events over WebSocket. Push full pipeline state (Upcoming, Current,
QA, To Merge) to frontend on connect and after every watcher event.

Strip dead UI: remove ReviewPanel, GatePanel, TodoPanel,
UpcomingPanel and all associated REST polling. Replace with 4
generic StagePanel components driven by WebSocket. Simplify
AgentPanel to roster-only.

Delete all 11 workflow HTTP endpoints and 16 request/response types
from the server. Clean dead code from workflow module. MCP tools
call Rust functions directly and need none of the HTTP layer.

Net: ~4,100 lines deleted, ~400 added.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 19:39:19 +00:00
Dave
65b104edc5 story-kit: create story 62_story_allow_frontend_ui_to_accept_permissions_requests 2026-02-20 19:25:50 +00:00
Dave
ece46b2232 story-kit: create story 62_story_stretch_stu_s_nutsack 2026-02-20 19:22:11 +00:00
Dave
a160bde26b Spike 61: document findings and mark success criteria done
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 18:25:56 +00:00
Dave
a57ac257a2 story-kit: start spike 61 - Filesystem Watcher Architecture
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:55:28 +00:00
Dave
99613d095e Accept story 53: QA Agent Role
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:46:06 +00:00
Dave
122f481ab9 Story 53: Add QA agent role with request_qa MCP tool
- Add `qa` agent entry to `.story_kit/project.toml` with a detailed
  prompt covering code quality scan, test verification, manual testing
  support, and structured report generation
- Add `move_story_to_qa` function in `agents.rs` that moves a work item
  from `work/2_current/` to `work/3_qa/` and auto-commits (idempotent)
- Add `request_qa` MCP tool in `mcp.rs` that moves the story to
  `work/3_qa/` and starts the QA agent on the existing worktree
- Add unit tests for `move_story_to_qa` (moves, idempotent, error cases)
- Update `tools_list_returns_all_tools` test to expect 27 tools

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 17:45:43 +00:00
Dave
4a726e74c0 Add spike 61: Filesystem Watcher Architecture
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:44:30 +00:00
Dave
52f3a0efe0 Add .gitkeep to all work pipeline directories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:38:52 +00:00
Dave
697217d8a2 story-kit: start 53_story_qa_agent_role 2026-02-20 17:37:52 +00:00
Dave
bd0e7b0017 Accept story 52: Mergemaster Agent Role
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:37:03 +00:00
Dave
9dab18d597 Story 52: Mergemaster agent role with merge_agent_work MCP tool
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:36:35 +00:00
Dave
9be55ad198 Update story 55: scope to Upcoming panel only
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:28:53 +00:00
Dave
9c2a4e3550 story-kit: start 52_story_mergemaster_agent_role 2026-02-20 17:25:51 +00:00
Dave
38f2656aee Accept story 60: Status-Based Directory Layout
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:24:40 +00:00
Dave
e15fbffbb8 Fix 25 tests for work/ directory restructure (story 60)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:24:26 +00:00
Dave
e1e0d49759 Story 60: Status-Based Directory Layout with work/ pipeline
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:17:12 +00:00
Dave
5fc085fd9e Accept story 54: Cross-Platform Binary Distribution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:15:48 +00:00
Dave
158550e889 Story 54: add cross-platform binary distribution support
- Add Makefile with build-macos and build-linux targets
  - build-macos: cargo build --release (native macOS binary)
  - build-linux: cross build --release --target x86_64-unknown-linux-musl
    (produces a fully static binary via Docker/cross; zero dynamic deps)
- Document cross-platform build process in README.md including
  how to verify macOS dynamic deps (otool -L) and Linux static
  linking (file + ldd)
- reqwest 0.13 already uses rustls by default (no OpenSSL); verified
  in Cargo.lock – no Cargo.toml changes needed
- Add unit tests to http/assets.rs covering:
  - SPA fallback routing for non-asset paths
  - 404 for missing assets/ paths
  - Panic-free behaviour on empty path
  - rust-embed EmbeddedAssets iter compiles and runs correctly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 17:15:28 +00:00
Dave
d496b9a839 story-kit: set test_plan to approved for story 54_cross_platform_binary_distribution 2026-02-20 17:10:07 +00:00
Dave
9ff6548bc0 Add .git/ to .ignore to prevent cargo watch restarts on commits
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:04:02 +00:00
Dave
b6d239d857 story-kit: start 54_cross_platform_binary_distribution 2026-02-20 16:58:58 +00:00
Dave
8568e868a6 Fix ls permission pattern: use space instead of colon
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 16:58:00 +00:00