diff --git a/config.lua b/config.lua index 0157cf3..724468b 100644 --- a/config.lua +++ b/config.lua @@ -246,4 +246,22 @@ return { -- the system prompt as [earlier conversation summary]. Suppressed -- in Norris mode (R-C4 — planner stays on its goal). If broker -- fails, falls back to Phase 0 silent eviction (no crash). + + -- Phase 6 (docs/PHASE6.md): project file-tree context + :diff / + -- :tree / :highlight metas. The :diff and :tree metas work without + -- any config. The `project` block below only controls the + -- AUTO-injection-at-startup behavior; manual `:tree` always works + -- regardless. Uncomment to enable startup auto-inject. + -- + -- project = { + -- auto_tree = true, -- run `:tree` once at startup + -- tree_depth = 3, -- depth filter for the scan (find fallback only; + -- -- git ls-files emits full repo-relative paths) + -- tree_max_chars = 4096, -- truncate the injected block above this + -- }, + -- + -- :highlight has no config flag in v1 — toggled at runtime only. + -- Requires the external `tree-sitter` CLI plus configured parser- + -- directories with cloned + built `tree-sitter-` grammars + -- (see `:highlight on` for the install hints). } diff --git a/docs/PHASE6.md b/docs/PHASE6.md index 2301f46..dc11727 100644 --- a/docs/PHASE6.md +++ b/docs/PHASE6.md @@ -2,7 +2,7 @@ **Project:** aish — AI-augmented conversational shell **Document:** Phase 6 Requirements, Architecture & Design Decisions -**Status:** Plan + review fold-in (tree at `4407029`) +**Status:** Implement (6 commits landed: c4fc7fd, d1dce83, 4d5f93a, 0d63f01, 11d0e59, this) **Date:** 2026-05-16 **Review findings (independent agent, 2026-05-16) — 2 BLOCKERs resolved