/ashlr-genome-init
Initialize a .ashlrcode/genome/ in the current project so ashlr__grep routes through it.
When to use
Once per project, after installing ashlr. Without a genome, ashlr__grep falls back to ripgrep + truncation (still saves tokens, but not as much).
What it does
- Creates
.ashlrcode/genome/in the current repo root - Runs an initial scan of the project — reads key files, extracts architectural patterns, and writes them to genome sections (
architecture,patterns,conventions,dependencies) - Optionally uses a local Ollama model for richer extraction (falls back to heuristic extraction without Ollama)
- Writes
.ashlrcode/genome/manifest.jsonwith section metadata and timestamps
Output
After init
The genome scribe loop (genomeAutoPropose + genomeAutoConsolidate) will automatically update the genome as you work. You don't need to re-run init.
Related
/ashlr-genome-loop— inspect and control the auto-update loop- Genome concepts — how the propose/consolidate cycle works