This commit is contained in:
2026-02-22 09:17:32 -05:00
parent 30b3c1ab1d
commit be42d21842
19 changed files with 312 additions and 11804 deletions

View File

@@ -1,4 +1,15 @@
# summarize.py
# summarize.py
"""
Note(Gemini):
Local heuristic summariser. Doesn't use any AI or network.
Uses Python's AST to reliably pull out classes, methods, and functions.
Regex is used for TOML and Markdown.
The rationale here is simple: giving the AI the *structure* of a codebase is 90%
as good as giving it the full source, but costs 1% of the tokens.
If it needs the full source of a file after reading the summary, it can just call read_file.
"""
# summarize.py
"""
Local symbolic summariser — no AI calls, no network.