Lifecycle split for write and revise
Type: reference/types/design-proposal.md
Archived (see archive README). Adopted by ADR 143 (implemented in commits
cc4ef8bceand2b3af0624):cp-skill-write,cp-skill-edit,cp-skill-revise, andguard-named-source-dependencies.mdcarry the live design, and ADR 143 carries the weighed alternatives. This record retains the pre-split current-state anchor and post-split token measurements — design texture only.
Current state (as of 2026-12-02)
Pre-split state at 91c7127bc:
cp-skill-write(6,103 tokens undero200k_base) interleaved Path A (new document) and Path B (edit existing document, includingcc4ef8bce's 5-step interactive connect-report application) inside onecontext: forkskill (allowed-tools: Read, Write, Grep, Glob, Bash, Skill, Task).cp-skill-revise(2,430 tokens) wrappedcommonplace-reviseWorkjig passes, triage, apply, publish, andrewritefor reviewable notes only, ran in-session (allowed-tools: Read, Write, Edit, Grep, Glob, Bash, omittingSkillandTask), led itsdescriptionwith"Edit,", and forbade mutating<stem>.brief.mdwithout operator direction.cp-skill-write-multistage,cp-skill-review,example-onboard-second-brain.md,kb/types/write-brief.md, andtests/scenarios/edit-a-note.mdrouted settled edits or brief updates tocp-skill-write;AGENTS.md.templatecarried no write/edit/revise split guidance.connected: "YYYY-MM-DD",commonplace-note-hash,source_sha256onconnect-report, and rewrite-only clearing had already shipped incc4ef8bce.
Post-split token measurements (2026-12-02, df807b665 vs. 91c7127bc, o200k_base)
Measured on repository text (static single-context load, not cumulative API usage; gpt-6.2-astra reconstruction):
- Skill load:
cp-skill-write/SKILL.mdfell 32% (6,103 → 4,167 tokens);cp-skill-edit/SKILL.mdfell 56% vs. oldcp-skill-write(6,103 → 2,687 tokens, including 1,091 tokens of inlineUniversal Mechanicsand ~650 tokens of connect-report application) and avoided a separate writer fork. Extractedguard-named-source-dependencies.mdis 723 tokens, paid only when adding or changing a named external source (+1,958 tokens total in one grounded example including the 985-token gate and 250-token Quotes section). - Fixed root/collection reads:
AGENTS.md(3,267) +kb/theory/COLLECTION.md(4,347) = 7,614 tokens before loading the editor, note type (966), or note (scaffolduser-notes-COLLECTION.mdis 744 tokens). - Concrete cold scenarios:
- Create theory note (before orientation): 12,747 tokens.
- Polish theory note (
unit-testing-llm-instructions-requires-mocking-the-tool-boundary.md, 616 note + 190 brief + 163 backlinks): fell 22% (15,607 → 12,236 tokens); reading its two linked premises (1,917 + 2,862) raised context to 17,015 tokens. Among 380 ordinary notes directly underkb/theory/, median body+frontmatter was 1,515 tokens (IQR 1,081–2,102); 8 declared a brief. - Apply connect report to Varda ingest (with 925-token report + two proposed targets at 4,911): 18,112 tokens.
- Fresh orientation (
kb/theory/title scan = 458 titles / 5,110 tokens;reference+2,425;instructions+475): on a one-collection scenario with two neighbor reads (4,779), delegated orientation kept author context at 13,778 (reporter 14,007; total across contexts 31,052) vs. 23,387 author / 26,654 total for self-orientation (and 13,047 / 16,314 with a reused report).