ckb/wiki/index.md
Michał Kopeć 03ff809440 Improvement memory: attempts, expected outcomes, lesson context (D-0023)
Schema 1.8, after Google's Self-Improvement Memory paper (arXiv 2611.18856).
- Error book: one entry per recurring problem with every attempt, its
  expected and observed result and context; aliases on merge (ckb-lint §9).
- Decisions: expected_outcome, outcome, outcome_checked, ## Tried,
  append-only ## Outcome, an outcome-review procedure (ckb-decide); lint
  validates outcomes and closes a due review once outcome_checked >= review_on.
- Lessons: Context line, upstream lessons from linked/ in the session
  brief, adopt and merge rules (ckb-profile, session_start.py); ckb-init
  Step 8b carries lessons and problems into a new KB; ckb-upgrade b5.
- Deferred: a self-improvement loop over the template. Rejected: loading
  the whole record into context.
No VERSION change or changelog row: made on the merge from dev (D-0022).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 08:17:19 +01:00

2.4 KiB

kb_schema_version
1.8

Knowledge Base Index

Routing table: read the Use when column to decide if a page is relevant.

Page Description Use when
Overview High-level map of the knowledge base Getting started, understanding the structure
Log Chronological record of root-level changes Reviewing recent modifications
Error Book Known compilation errors and fixes Debugging a bad ingest or lint issue
Projects Optional local query scopes grouping related wiki pages, sources, libs, and graph areas Narrowing search to a team, topic, client, system, or initiative
Query Gaps Questions the wiki could not answer yet, used to drive demand-driven ingest Tracking failed searches, missing knowledge, future ingest targets
Decisions Numbered decision records — what was decided, by whom, when, why, and what it superseded Asking why something is the way it is, who decided it, when, what changed it, or what is still open
Entities Typed entity pages (people, projects, libraries, concepts) Looking up a specific person, project, library, or concept
Graph Edge lists and relationship data between entities Finding what depends on / relates to a given entity
Topics Summaries of what the KB says overall about one subject, built from member pages Asking what the KB holds overall about a subject, before drilling into pages
Tags The closed vocabulary for the optional tags: page field Tagging a page, or filtering retrieval by tag

Entity Pages

Pages in entities/ describe typed entities (people, projects, libraries, concepts) extracted during ingest. See Entities index / entities/index for the full list. Each links to related entities via the graph index.

(Agent populates this as entities are extracted.)

Decision Records

Pages in decisions/ are numbered decision records (NNNN-slug.md). Unlike entity pages, they are append-only: a decision is never rewritten to match a later change of mind — a new decision supersedes it and both stay on the record. See Decisions index / decisions/index. Say "record a decision" to add one.