/wiki-query answers questions against your compiled wiki. Instead of reading through raw source files, it reads your topic articles — which already synthesize everything known about each subject — and returns a focused answer with citations.
Command
How it works
- Reads
INDEX.mdto see all available topics - Checks
schema.mdfor cross-reference rules that might point to related topics - Identifies 1–3 topic articles most likely to contain the answer
- Reads those articles
- Returns an answer with specific facts, dates, and decisions — cited as
(from: {topic name} > {section}) - If the wiki doesn’t have enough detail, points you to the specific raw source files listed in the article’s Sources section
Filing answers back to the wiki
If your question produces a synthesis that connects information across topics in a useful way — something that isn’t already captured in any single article — the command offers to file it:“This answer connects information across topics. Want me to file it into the wiki? (y/n)”If you say yes, the synthesis is appended to the most relevant topic article as a new subsection, marked with the date it was filed. The filing is also logged in
compile-log.md.
This means your exploratory questions compound in the knowledge base instead of disappearing when the session ends.