| name | lw-compile |
| description | Compile uncompiled raw inputs into wiki pages, update wiki/index.md and wiki/log.md, and mark manifest items as compiled. Usage: /lw-compile |
LLM Wiki Compile
Compile staged inputs into wiki/ incrementally.
Required reads
.llm-wiki/profile.json
- active profile markdown
.llm-wiki/manifest.json
wiki/index.md
wiki/log.md
Compile loop
For each manifest entry with status: uncompiled:
- Read the staged source.
- Determine affected page types using the active profile.
- Update existing pages first.
- Create new pages only when a real gap exists.
- Update
wiki/index.md for any new pages.
- Append a clear entry to
wiki/log.md.
- Mark the manifest entry compiled and record affected pages.
Required source discipline
- Prefer stronger sources over weaker ones according to the active profile.
- Preserve contradiction notes when new information creates drift rather than clarity.
- Update customer-facing summaries if supportability framing changed.
- Keep all compiled content under
wiki/.
After compile
Recommend or run:
/lw-lint
/lw-reflect
when the change is meaningful or cross-cutting.