Fix bootstrap: deep scan, CLAUDE.md fallback, noise filtering
1. Tech stack: recursive file search (depth 3) + CLAUDE.md text fallback when config files are on remote server (detects nodejs, postgresql, etc.) 2. Modules: scan */src/ patterns in top-level dirs (frontend/src/, backend-pg/src/) 3. Decisions: filter out unrelated sections (Jitsi, Nextcloud, Prosody, GOIP), filter noise (commit hashes, shell commands, external service paths). Noise filtering also applied to Obsidian decisions. Tested on vdolipoperek: 4 tech, 5 modules, 9 clean decisions, 24 Obsidian tasks. 61 tests, all passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
da4a8aae72
commit
e5444114bd
3 changed files with 344 additions and 94 deletions
|
|
@ -435,7 +435,7 @@ def bootstrap(ctx, path, project_id, name, vault_path, yes):
|
|||
click.echo(f"Scanning {project_path} ...")
|
||||
tech_stack = detect_tech_stack(project_path)
|
||||
modules = detect_modules(project_path)
|
||||
decisions = extract_decisions_from_claude_md(project_path)
|
||||
decisions = extract_decisions_from_claude_md(project_path, project_id, name)
|
||||
|
||||
# Obsidian
|
||||
obsidian = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue