Commit 64fae321
64fae321d493Merged
Scott Nixon <[email protected]> ยท 9 months ago ยท 2 files ยท ~2 modified
Description
feat: Auto-scaffold .attractor/CLAUDE.md so Claude knows PRD/SPEC conventions
When a project is opened, create .attractor/CLAUDE.md with instructions telling Claude Code to write PRDs to .attractor/prd.md and specs to .attractor/spec.md. This ensures the web UI's file watcher picks up documents created from terminal sessions. Also adds .attractor/CLAUDE.md to the pipeline agent's project doc discovery.
Details
- Commit
- 64fae321d493
- Parent
- b4b2e0b0fdfc
crates/attractor-agent/src/prompt_builder.rsmodifiedView file
@@ -135,6 +135,7 @@
135135
/// Looks for README.md, CLAUDE.md, .cursorrules, etc.136136
pub async fn discover_project_docs(project_root: &Path) -> Vec<ProjectDoc> {137137
let candidates = [138+
".attractor/CLAUDE.md",138139
"CLAUDE.md",139140
"README.md",140141
".cursorrules",crates/attractor-web/src/server/projects.rsmodifiedView file
Loading diffโฆ