The operating loop has three jobs. Ingest compiles sources into the graph. Query turns questions into answers and, when useful, new durable syntheses. Lint keeps the graph structurally and logically healthy.
1. IngestExtract claims, create a source page, update concepts, add links, log the change.
2. QueryRoute through index.md, read compiled pages, answer with local citations, save strong syntheses.
3. LintCheck broken links, orphan pages, contradictions, stale claims, and missing provenance.
WikiOps cadence
| Cadence | Operation | Operator question | Record to update |
|---|---|---|---|
| Each source | Ingest preflight | Is this source allowed, traceable, and worth compiling? | Source summary, index, log |
| Each useful answer | Query retention | Will this answer make a future session better? | Synthesis page, index, log |
| Weekly or before release | Structural lint | Can every page, link, and status be resolved deterministically? | Lint findings, corrections, log |
| Monthly or after major source churn | Semantic lint | Are important claims stale, contradicted, weakly sourced, or overconfident? | Contradiction records, review queue |
| After context buildup | Context diet | Can a new agent load current truth without reading old research and every historical progress note? | Short hot files, cold-memory manifest, index pointer |
Test selection
| Work type | Default checks | When to run more |
|---|---|---|
| Content or handoff edit | Whitespace, affected route or public guidance, intake state, and relevant source-boundary review. | Run full package checks only if the edit is part of a release or changes package output. |
| Theme or plugin code | Targeted PHP lint or Studio runtime lint for touched files, plus the affected route when Studio is available. | Use broader runtime smoke checks when route seeding, activation, or public metadata behavior changes globally. |
| ZIP or release work | Package publishing, checksum refresh, upload-package boundaries, release notes, and internal source-document cleanup. | This is the full-check path; do not treat it as the default for ordinary prompts. |
Ingest
Use source summaries, key claims, connections, contradictions, and index updates.
Two-step ingest
Analyze and stage source updates before writing durable wiki pages.
Query
Route by catalog, synthesize from compiled pages, and save durable answers back to wiki/.
Lint
Audit graph health before drift, contradictions, and broken references become trusted.