Description
The init_simone command currently copies template files (architecture.md.template, constitution.md.template, project.yaml.template) to create the actual configuration files, but leaves the template files behind. This creates unnecessary clutter in the .simone/ directory.
Context
- Project area: MCP Server implementation
- Complexity: 4/10 (moderate)
- Current behavior: Templates are copied to create actual files, templates remain in place
- Expected behavior: Templates should be moved/renamed instead of copied, or cleaned up after use
Technical Details
Affected files:
/mcp-server/src/templates/prompts/init_simone.yaml:55-57, 106-108, 130-132 - Template copy logic
/hello-simone/install-mcp.js:167-219 - Initial template download (working correctly)
- Template files location:
/mcp-server/templates/*.template
Requirements
- For new projects: When
init_simone creates configuration files from templates, it should move/rename the templates instead of copying them
- For existing projects: When running
init_simone on a project that already has both the real files and templates:
- Detect the presence of both files
- Ask the user if they want to clean up the template files
- Remove templates if user confirms
Implementation Steps
Acceptance Criteria
Description
The
init_simonecommand currently copies template files (architecture.md.template, constitution.md.template, project.yaml.template) to create the actual configuration files, but leaves the template files behind. This creates unnecessary clutter in the.simone/directory.Context
Technical Details
Affected files:
/mcp-server/src/templates/prompts/init_simone.yaml:55-57, 106-108, 130-132- Template copy logic/hello-simone/install-mcp.js:167-219- Initial template download (working correctly)/mcp-server/templates/*.templateRequirements
init_simonecreates configuration files from templates, it should move/rename the templates instead of copying theminit_simoneon a project that already has both the real files and templates:Implementation Steps
init_simone.yamlprompt to use move/rename operations instead of copyAcceptance Criteria
init_simoneon a new project results in no.templatefiles remaining after completioninit_simoneon an existing project with leftover templates prompts for cleanup