article_sections array in .wiki-compiler.json.
How sections are generated
When you run/wiki-init, the compiler samples 10–15 representative files from your source directories and reads the title and opening content of each. Based on what it finds — meeting notes, research papers, strategy docs, journal entries, technical specs — it proposes a set of sections that fit your domain.
You review the proposal and can add, remove, or rename any section before the config is written. Once you approve, the structure is saved to .wiki-compiler.json.
The article_sections config
Rules
- Summary is always first. It must be a standalone briefing — someone reading only that section should understand the current state of the topic without opening any source file.
- Sources is always last. It contains backlinks to every source file that contributed to the article, so you and Claude can trace the wiki back to raw files when needed.
- Summary and Sources cannot be removed. They are marked
"required": trueand the compiler enforces this on every run. - All other sections are yours to define. You can add, remove, or rename them freely.
Domain examples
The sections that work well depend on the kind of content you’re compiling./wiki-init proposes sections based on your actual files — the examples below show what that looks like in practice.
Product / growth
Product / growth
Good for teams tracking experiments, metrics, and evolving strategy.
Research notes
Research notes
Good for literature reviews, experiment logs, and academic notes.
Personal journal
Personal journal
Good for daily notes, reflections, and personal knowledge bases.
Book notes
Book notes
Good for reading logs, book summaries, and literary analysis.
Technical docs
Technical docs
Good for engineering wikis, API references, and system documentation.
Business / team
Business / team
Good for team wikis, meeting digests, and decision logs.
Editing sections after init
You can editarticle_sections in .wiki-compiler.json at any time. The updated structure takes effect on the next /wiki-compile run.