Reference
Reference documentation for the shipped Commonplace system — how to work with your agent on a KB, how the system is put together, and where its contracts and decisions live.
For transferable methodology theory, see kb/theory/. For writing conventions, each collection has a COLLECTION.md at its root.
Working with your agent
You direct an agent toward outcomes rather than running procedures by hand. Ask in ordinary language for what you want; your agent discovers the current skills, collection contracts, and command --help on its own.
- First time? Start with Getting started — a worked example of turning a rough thought into a linked, source-grounded note.
- Setup or broken commands? See INSTALL.md (or ask your agent to run a health check).
| What you want to do | Does it edit your KB? | High-level overview |
|---|---|---|
| Write or update a note | Yes (creates or edits a file under kb/) |
Getting started |
| Discover links for a note | No (writes a connect report for you to review) | Connect skill |
| Ingest an external source | Yes (saves a local snapshot + tracked ingest) | kb/sources/COLLECTION.md |
| Check structural validity | No (deterministic validator, no LLM calls) | Validation contract |
| Review notes semantically | No (commonplace-review never writes notes; paid launches) |
Review and editing system |
| Improve, triage, or rewrite a note | Yes (simplification passes write uncommitted diffs; rewrites hold for approval) | Review and editing system |
| Search and navigate | No (uses rg, descriptions, curated heads, and links) |
Browse by topic |
| Run CLI commands directly | Depends on command (relocate dry-runs without --apply) |
CLI commands |
Architecture and contracts
For exact implementation facts, inspect src/commonplace/ (or locate the installed package with commonplace-source) and use each command's --help. These pages retain the stable boundaries, invariants, and contracts that code does not cheaply supply.
System architecture and operation
- Getting started — first worked session with an agent
- Review and editing system — high-level operator overview of review, improvement modes, publication boundaries, and order of concerns
- CLI commands — complete checked catalogue of published
commonplace-*commands - Commonplace architecture — installed topology, library/user ownership, skill stubs, and path invariance
- Storage architecture — authority and lifecycle boundaries among authored files, local copies, derived views, and operational state
- Review architecture — code/worker ownership, durable state, freshness hash boundary, and checkout guard
- Documentation site — ProperDocs README-vs-index rule, nav generation, and landing-page inventory
Type system, contracts, and authoring
- Global type specs — shared type specs and schemas every collection can use
- Collections and types — how collection contracts and path-valued type specs compose and resolve
- Validation contract — the four finding sources (
base,collection,type,schema), base checks, directory artifacts, and unquoted-source limits - Content routing — routing table from content kind to destination
- Link vocabulary — linking approach, reader-need label catalogue, and lineage semantics
- Vocabulary collision ledger — tolerated near-collisions and writing decisions for new text
- Vocabulary unification ledger — candidate vocabulary unifications and current writing decisions
- Definitions: Answerability, Collection and text contract, Commonplace doctrine, Directory artifact, Special collection
Case studies
-
Commonplace as an instrument — what operating this KB demonstrates about its design and what still needs testing.
-
What would
status: currentassert? — why the distinction between endorsing a claim and attributing it accurately mattered when Commonplace removed ordinary note status. -
Where change candidates come from in Commonplace — how a problem noticed by a check or report becomes a proposed change, and where that still needs a maintainer.
System-coupled notes and declarations
Commonplace develops its methodology by running on itself. The notes below record this repository's own declared frames, assessments, and local historical records — too coupled to Commonplace's choices to stand as general theory, and separate from the operational contracts above.
- Epistemic stance — Popperian commitments this KB's assertions assume
- Commonplace declared frame — boundary under which self-improvement attributions hold
- Source-adoption policy — borrowing gates by source domain
- Design rationale management — how workshops, proposals, ADRs, contracts, and validators distribute rationale
- Agent memory coverage — how shipped surfaces map onto agent-memory requirements and current limits
Decision history
Architecture decision records live under adr/. Each ADR records a decision at its date (later ADRs amend or supersede earlier clauses). Search ADRs by description with rg "^description:" kb/reference/adr/ --glob "*.md".
Collection boundary
- Use
kb/theory/for transferable claims about KB methodology. - Use
kb/reference/for Commonplace's selections, shipped architecture/contracts, and system-coupled assessments. - Use
kb/instructions/for imperative procedures and promoted skills. - Keep operational reference docs self-contained within the shipped library so consuming projects can read them without the source repository.
Complete file listing (generated at build time)