Structs§
Functions§
- default_
project_ id - discover_
repo_ root - display_
path - Strip the Windows
\\?\extended-path prefix from a path string for display purposes only. The stored/internal path is never modified. - git_
init_ boundary - v0.8: make
dira standalone git repository (best-effort) sodiscover_repo_rootresolves todiritself instead of climbing to an enclosing repo. Two callers: - pin_
discover_ to_ root - Pin discovery to at_root semantics process-wide (remote server calls once
at startup): every
ProjectPaths::discovercall thereafter behaves likeProjectPaths::at_root— no git subprocess, never climbs to an enclosing repo. Idempotent. - user_
brain_ db_ path - v0.4.1: full path to the user-scope brain.db.
- user_
brain_ enabled - v0.4.1: returns true when the user brain is enabled.
- user_
brain_ enabled_ with - W3.3: config-aware user-brain gate. Resolution precedence:
- user_
cache_ dir_ for - W2: per-project cache root for transient, non-brain artifacts (proactive hook state, chat REPL output, benchmark output).
- user_
kimetsu_ dir - v0.4.1: return the user-scope kimetsu directory (
~/.kimetsu/).