From 6ea44fb5c47e6f1c48846dcde1d9b9ed69baf8e3 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 19 Feb 2026 19:37:07 +0000 Subject: [PATCH] Add story 38: Auto-Open Project on Server Startup Co-Authored-By: Claude Opus 4.6 --- .../38_auto_open_project_on_server_startup.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .story_kit/stories/upcoming/38_auto_open_project_on_server_startup.md diff --git a/.story_kit/stories/upcoming/38_auto_open_project_on_server_startup.md b/.story_kit/stories/upcoming/38_auto_open_project_on_server_startup.md new file mode 100644 index 0000000..8c4d079 --- /dev/null +++ b/.story_kit/stories/upcoming/38_auto_open_project_on_server_startup.md @@ -0,0 +1,22 @@ +--- +name: Auto-Open Project on Server Startup +test_plan: pending +--- + +# Story 38: Auto-Open Project on Server Startup + +## User Story + +As a developer using Story Kit from the terminal (no browser), I want the server to automatically open the project when it starts inside a .story_kit project directory, so that MCP tools and agents work immediately without needing to hit the open-project API or use the web UI. + +## Acceptance Criteria + +- [ ] Server detects .story_kit/ in cwd or parent directories at startup +- [ ] If found, automatically calls the open-project logic with that root path +- [ ] MCP tools (e.g. list_upcoming, start_agent) work immediately after cargo run without any manual project-open step +- [ ] Existing web UI project-open flow continues to work unchanged +- [ ] If no .story_kit/ is found, server starts normally without a project (current behavior) + +## Out of Scope + +- TBD