Architecture
Type: kb/types/index.md · Status: current
How commonplace is structured and installed. Repo layout, the two-tree split between user content and framework, control-plane design, and the file-based storage decision.
For current-state subsystem documentation and ADR navigation, start at ../reference/README.md.
Notes
- reference overview — entry point for current-state docs and architecture decisions
- commonplace-architecture — the commonplace repo structure: KB collections, packaged runtime, shipped skills, and operational surfaces
- 006-two-tree-installation-layout — how commonplace installs into projects: two-tree layout, copy-vs-reference boundary, design rationale
- 010-review state should move to sqlite once reviews leave git and accumulate operational metadata — review storage crosses the files-first boundary once reviews are gitignored operational state keyed by
(note, gate, model) - kb-goals-in-always-loaded-context-guide-inclusion-decisions — installed KBs need explicit domain goals in the control-plane file
- control-plane-goals — current-state: how commonplace realises KB goals in
AGENTS.md, the scaffold template, and the install-time fill-in flow - files-not-database — files with git beat a database: universal interface, free versioning, zero infrastructure
- storage-architecture — current-state: how commonplace lays out files as source of truth, regenerable indexes, and the scoped SQLite review-state exception
- agents-md-should-be-organized-as-a-control-plane — theory for AGENTS.md as a control plane: invariants, routing, escalation boundaries
- instruction-specificity-should-match-loading-frequency — CLAUDE.md should be a slim router; match instruction specificity to loading frequency
- generate-instructions-at-build-time — generate CLAUDE.md and routing tables at build time rather than maintaining them by hand
- instruction-generation — current-state: the commonplace
commonplace-initbuild step, scaffold trees, and substitution points that implement build-time generation today - scenario-decomposition-drives-architecture — concrete use cases decomposed into step-by-step context needs
- scenario-architecture — current-state: the two-tree split, the escalation path to
commonplace/kb/, theAGENTS.mdfragment contract, and thetest/scenarios/measurement surface
Other tagged notes
- Agent runtimes decompose into scheduler context engine and execution substrate - Practitioner runtime taxonomies converge on three separable components — scheduler, context engine, and execution substrate — because each solves a different class of model limitation
- Always-loaded context mechanisms in agent harnesses - Survey of always-loaded context mechanisms across agent harnesses — system prompt files, capability descriptions, memory, and configuration injection — cataloguing what each carries, how write policies differ, and where the gaps are