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>
- 2.1.0 new opt-in `voice` module (D-0020): skill ckb-voice rewrites every
prose file written under apply_to (outputs/answers, documents, reports,
PROJECT-OVERVIEW) in a voice whose profile is a wiki page,
wiki/voice/<name>.md (type voice-profile); settings in ckb.yaml (mode,
profile, writer, apply_to, skip, chat); frozen spans never change, vague
claims flagged not cut; `writer:` delegates to an external rewriting
skill such as a personal ghost-writer. ckb-module writes a manifest's
default_config into the entry's config:. Eval ckb-module/install-voice.
- 2.2.0 new opt-in `convert` module (D-0021): skill ckb-convert and
convert.py turn Markdown into Word/ODT/PDF/HTML through pandoc with a
house style in templates/styles/; unit tests and eval
ckb-module/install-convert.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Confirmation codes (single use, payload-bound, expiry), wrong kb, redact,
allowed hosts and a real-HTTP 421 for a foreign Host, OAuth with real
RSA-signed tokens (unverified email, trust opt-out, aud, exp). Skipped
without the SDK; CKB_MCP_PYTHON opts the smoke test in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All eight frontmatter readers close at a `---` line, including one at
end of file (consolidate, dedup, OKF and share missed it; retrieve,
Starlight and mcp stopped at any line starting with `---`).
tests/unit/test_frontmatter_contract.py (T9) and
tests/unit/test_lint_dirty.py (T2: one planted fault per lint check).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes F20-F24 from the 2.0.0 script review: zero-indent routine lists,
escaped --do values, --remove continuation lines; <private> redaction
across content blocks; OKF scalar quoting and code-fence titles; Unicode
tokens in retrieve and consolidate; bad workload dates, frontmatter at
EOF, `wiki/` refs without a slash, Starlight route collisions, labelled
wikilinks, string source_files, real splash sections, <private> dropped
from both exports.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes F17-F19 from the 2.0.0 script review:
- lint check 15 scans hidden folders, key files, dotfiles and
extensionless text; finds unquoted secret-looking assignments; reports
files over 50 MB instead of skipping them silently
- mcp: search filtered by the read policy, query after `--`,
case/trailing-dot-insensitive .local.yaml refusal, verified OAuth
email only, DNS-rebinding protection on by default, single-use codes
- capture: link-local/metadata always refused, private networks need
--allow-private (also on redirects), total download limit, charset
fallback and <meta charset>, <form> kept, svg title ignored, safe
collision-free binary names with dedup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes F7-F11 from the 2.0.0 script review:
- UTF-8 stdout/stderr in every script; UTF-8 decoding of git/rg/yt-dlp
output and of hook stdin
- utf-8-sig reads, so BOM files keep their frontmatter
- fingerprints match LF or CRLF checkouts (lint, lint_quick.sh,
consolidate); prefix match on the full digest; short ones reported
- POSIX paths in lint output; rg --path-separator /
- hook installers default to the running interpreter, quote paths,
--check reports a missing interpreter, odd settings are an error
New tests/unit/test_windows.py.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes F6, F12-F16 from the 2.0.0 script review:
- share: plain file/mailbox names and mailbox-bound share_id/version, or
the message is ignored (no ckb.yaml injection, no writes outside
raw/inbox/); ledger rejects whitespace/control characters; every
commit on a message must be by an owner; duplicate members.yaml
entries unown a mailbox; only verified retractions hide mail; branch,
url and name validated before git; received copy always untrusted;
<private> stripped from title/tldr and unclosed tags; no send without
the secret scan
- capture: frontmatter values quoted unless plainly safe; one-line title
- lint check 13: chat-attributed Crux needs no Sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes F1-F5 from the 2.0.0 script review:
- removeprefix/removesuffix (3.9+) replaced; lint, retrieve and
consolidate crashed on Python 3.8 with any graph edges
- routines.py --mark wrote `last_run:DATE` (invalid YAML) and swallowed
trailing comments into the value
- export_okf.py --out must be inside outputs/ (it is rmtree'd);
export_starlight.py image copies confined to wiki/assets/
- script counts in AGENTS.md, READMEs and manuals
New tests/unit/ (stdlib unittest, run from smoke.sh): 3.8 API guard,
routines round-trips, exporter containment, AGENTS.md consistency.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>