3 min read
Quality Gates
A wiki or skill change is not done because text exists. It is done when the graph, provenance, routing, and verification all still work.
Quality gates make agent output durable. They prevent the common failure mode where a page looks polished but cannot be trusted, found, or reused. Source: AGENTS.md Writing Standards; conventions-quality
Wiki Write Gates
| Gate | Required behavior | Failure mode caught |
|---|---|---|
| Source | Every factual claim has inline [Source: ...] or is clearly synthesized from linked pages |
confident but untraceable claims |
| Shape | Page/section/ledger/generated/redirect choice follows Wiki Brain Operating Model | weak stubs and duplicate article-shaped fragments |
| Filing | Page location follows Filing Decision Tree | invisible or miscategorized knowledge |
| Identity | Entity duplicates and aliases searched | duplicate people/tools/projects |
| Graph | Related pages and inline wikilinks added | orphan pages |
| Backlink | Entity pages get meaningful timeline references | one-way graph drift |
| Format | Compiled truth and timeline separated where required | append-only sludge in current synthesis |
| Generated | Generated packs/source views are regenerated from their owning source per Generated Surface Contract | derived files drifting from source |
| Redirect | Retired slugs resolve when pages are folded or renamed | broken old retrieval paths |
| Index | build-index run after substantive edits |
stale _index.md and backlinks |
| Search | qmd update && qmd embed run |
wiki search misses new knowledge |
| Log | wiki/log.md appended |
next agent cannot reconstruct the operation |
Skill and Config Gates
When changing executable skills, rules, hooks, or routing:
- Read the existing skill/rule before editing.
- Update the executable source under
skills/orconfig/. - Update the wiki reference page when the behavior is durable.
- Update
SKILL-RESOLVER, Active Stack (What to Actually Use), or Capability Routing Map if routing changes. - Run
bash scripts/sync-skills.sh --checkfor skill changes. - Run
npm run routing-doctorandnpm run trigger-evalwhen routes/triggers change.
Skill Install Gates
Before installing external skills:
- Prefer already installed skills.
- Use
find-skillswhen no installed skill matches. - Audit new skills with
skill-auditor. - Check source reputation and install count when available.
- Add a wiki skill page and resolver route after install.
Review Questions
Before closing, ask:
- Would a future agent know why this page exists?
- Can every important claim be traced?
- Did I update the action surface, not only the storage surface?
- Did I verify the machine-generated indexes?
- Did I preserve old retrieval paths if anything moved or merged?
- Did I leave stale instructions elsewhere?
- Did I update the source of truth rather than patching a generated projection?
Timeline
- 2026-07-01 | Connected the generated-output gate to Generated Surface Contract and added the source-of-truth review question for generated projections. Source: User request, 2026-07-01
- 2026-07-01 | Added shape, generated-output, and redirect gates so filing improvements preserve the whole brain, not only the edited page. Source: User request, 2026-07-01
- 2026-06-18 | Expanded quality gates into wiki, skill/config, install, and review checklists. Source: User request, 2026-06-18; AGENTS.md
- 2026-05-31 | Meta page compiled from quality conventions and skill gates. Source: compiled from AGENTS.md
Related Pages
17 pages link here
Backlink Index ProtocolMetaCapture Ingest ProtocolMetaCitation StandardSOULCompiled Truth TimelineFiling Decision TreeConfig Sync ProtocolMetaEnrichment TiersMetaEntity Identity ProtocolMetaFiling Decision TreeFiling Decision TreeGenerated Surface ContractMetaHow to Update the WikiMetaInbox FilingFiling Decision TreeIndex Logging ProtocolMetaProof-Carrying WorkConceptsTest Before Bulk ProtocolMetaWiki Doctor ContractAgent DocsWiki Lint WorkflowWorkflowsWiki Page FormatMeta