Design
High-level shape
Layer
Rule
Authored by
Sources ingested
Folder structure
g2p-wiki/
├── CLAUDE.md # the contract (see "CLAUDE.md vs index.md")
├── LICENSE
├── raw/ # immutable sources, never edited by hand
│ ├── MANIFEST.yaml # source registry: what to ingest, allow/deny lists
│ ├── gitbook/ # mirror of openg2p-documentation (excl _Archive)
│ ├── repos/ # extracted structural files from github.com/OpenG2P
│ ├── gdrive/ # exported Google Docs/Sheets/Slides
│ └── sites/ # snapshot of www.openg2p.org
├── wiki/ # LLM-built derivative pages
│ ├── concepts/ # abstract topics (eligibility, identity-resolution, …)
│ ├── entities/ # concrete things (modules, products, services, repos)
│ ├── sources/ # one-page summaries of each ingested document
│ ├── comparisons/ # cross-cutting analyses (clusters, contrasts)
│ ├── flows/ # directed traces of a request/event across entities
│ ├── playbooks/ # phased implementation guides
│ ├── index.md # auto-maintained catalog of every wiki page
│ ├── log.md # append-only record of ingests, syntheses, lints
│ ├── contradictions.md # LLM-detected disagreements across pages (from cross)
│ ├── overview.md # short hand-curated map of the knowledge graph
│ └── research-queue.md # durable list of open questions surfaced during use
├── lessons/ # promoted, scrubbed digests (incl. elicited knowledge)
│ └── proposed/ # admin queue (auto-redacted, not yet approved)
├── elicitation/ # the knowledge-elicitation engine (see Elicitation guide)
│ ├── taxonomy.yaml # the completeness spec: areas → cells
│ ├── gaps/ # generated: gap-ledger.{md,json}, coverage.md
│ └── interviews/ # generated interview guides; experts fill in answers
└── tools/ # ingest, synthesise, elicit, lint scripts
├── package.json
├── update.sh
└── src/
├── cli.ts
├── ingest/ {gitbook, repos, gdrive, sites}.ts
├── synthesise/ {sources, entities, cross}.ts
├── mirror/ {playbooks}.ts
├── elicit/ {taxonomy, scan, guide, synthesise}.ts
└── lint.tsWhat goes in raw/
raw/What goes in wiki/
wiki/Lens, not mirror
What goes in lessons/
lessons/What goes in elicitation/
elicitation/What goes in tools/
tools/Confidence labelling
Hard rules for synthesis
Last updated
Was this helpful?