Repository navigation
Source LLM Wiki Plan
Source path: docs/llm-wiki-plan.md@3de6dca — removed from the tree. Every
one of its 31 tasks was completed, but none were ever ticked, so the file read
as entirely unstarted; it also carried four Spec Kit values that
Decision-Spec-Kit-Upgrade later disproved. It is cited by pinned permalink,
the same treatment Source-Spec-002 received.
This is the plan that created the agent-maintained wiki. It is now historical provenance: the wiki itself, especially Wiki-Conventions, Guide-Wiki-Contributing, Gotchas and Index, is the current-state record of how the wiki works.
The plan identified scattered knowledge across specs, docs, constitution and code. It introduced three layers:
| Layer | Role |
|---|---|
| Raw sources | Immutable provenance in specs, docs, constitution, code, issues and PRs |
| Wiki | Living synthesis and current-state truth |
| Schema | Rules in wiki conventions plus steering-file pointers |
This is the foundation of Decision-Wiki-As-Knowledge-Base.
| Decision | Summary |
|---|---|
| D1 | Hybrid SDD: Spec Kit for large/new/constitutional work, wiki for current-state synthesis and lightweight changes |
| D2 | Defer Spec Kit upgrade to a separate follow-up — done, see Decision-Spec-Kit-Upgrade |
| D3 | Keep specs/ and docs/ as immutable raw sources; use pinned permalinks for removed sources |
| D4 | Migrate the volume-knob spec into the wiki rather than keeping stale active spec duplication |
| D5 | Use a gitignored local wiki/ clone plus pull/push scripts |
| D6 | Put wiki tooling in packages/repo-tools so it is linted, typed and tested |
| D7 | Keep sync scripts as inline git commands when no logic needs testing |
| D8 | Main-repo work can branch, but wiki pushes go live immediately |
| D9 | Maintain Gotchas as a trap index linked to owning pages |
The plan chose a flat namespace because GitHub wikis serve all pages from the root. Prefixes carry taxonomy:
Concept-Component-Contract-Decision-Feature-Guide-Source-
Spine pages are unprefixed: Home, _Sidebar, Index, Log,
Wiki-Conventions, and Gotchas.
The planned wiki linter checks:
- Every page is listed in Index.
- No orphan pages.
- Every wikilink resolves.
- Metadata block has valid type/status.
- Every source path resolves or is a pinned permalink.
- Filenames use allowed prefixes and remain unique.
- Pages stay under the line ceiling.
- Log is updated.
- Credential-shaped strings are rejected.
Wiki-Conventions records the current schema and enforcement expectations.
The plan defined four workflows now captured in Wiki-Conventions:
-
Ingest: read source, write/refresh
Source-*, update affected synthesis pages, updateIndex, appendLog, lint and push. -
Query: start from
Index, drill into pages, answer with citations, and file durable knowledge back into the wiki. - Lint: run tooling plus an LLM health pass for stale claims and gaps.
- Record a trap: put hard-won lessons on the owning page and link from Gotchas in the same change.
The plan calls out:
- Wiki pushes have no PR or CI gate.
- The public wiki can leak IP-sensitive wording or secrets if authors are careless.
- Claims can drift from code.
- Context can bloat if pages are too long.
- Local clones can drift from origin.
- Flat namespace collisions are possible.
- Browser edits bypass lint.
- Wiki content can go live before a related main-repo PR merges.
The live wiki mitigates these through Wiki-Conventions, Guide-Wiki-Contributing, Gotchas and page metadata.
Do not treat this source file as the active operating manual. It is the provenance for the wiki design. The wiki is now the maintained record.
- Concept-Cloud-Only-Inference
- Concept-Budget-Ceiling
- Concept-Personality-Gate
- Concept-IP-And-Legal-Posture
- Concept-Supply-Chain-Discipline
- Concept-Graceful-Degradation
- Concept-Observability
- Concept-Testing-And-TDD
- Concept-Credential-Hygiene
Editing in the browser? Wiki edits are live and bypass wiki:lint. Read
Guide-Wiki-Contributing first.