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

Case studies

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.

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)