Formalize C0/C1/C2 change classification #259
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "formalize-change-classification"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--revision, Ansible from checkout). Includes upgrade criteria for escalation to C2Updates CLAUDE.md rules (3, 4, 8, 9) to reflect that C0 bypasses branching/PR requirements. Also updates ai-assistance-guide, how-to index, and docs-mikado task description.
Files changed
CLAUDE.md— rules and classification tabledocs/how-to/agent-change-process.md— full process rewritedocs/tutorials/ai-assistance-guide.md— branching and pitfalls sectionsdocs/how-to/how-to.md— index descriptionmise-tasks/docs-mikado— task descriptiondocs/changelog.d/formalize-change-classification.doc.md— changelog fragment@ -50,0 +42,4 @@### Process1. Run `mise run ai-docs` to load context2. **Search related docs** — read existing documentation, reference cards, and prior Mikado chains related to the change areaYou don't need to call out "prior Mikado chains". When a mikado chain is done, it just becomes... documentation. That's a crucial point, mikado chains are for active in-progress work. When they are done, what's left is the resulting code and a set of docs that might possibly be useful in the future for repeating the process in part or whole.
@ -50,0 +87,4 @@**What is NOT allowed:**- Introducing a new Mikado card after any code or card-closing commit (new cards require a branch reset — see below)- Closing a Mikado card before all cards it depends on have been introducedhonestly this feels like a weaker version of the previous rule, no? Let's think about how we can express this invariant as succinctly as possible. It occurs to me that there's another possibility we haven't precluded, which is a commit that closes a mikado leaf node PRIOR to the code which resolves that leaf node. This would imply that we closed a leaf node that wasn't actually done. Not sure it needs to be called out... the rule is just "don't close mikado leaf nodes that aren't done" I guess? Probably not worth calling out.
- Parse branch: field from goal card frontmatter - Goal cards without branch: shown as "not started" (planned but no branch) - Add Branch column to chain listing table - New --resume flag for cold-start session pickup: - Detects current mikado/* branch and matches to active chain - Shows branch position (planning/mid-cycle/between-cycles) by parsing C2() commit convention from git log - Lists ready leaf nodes for next work cycle - With explicit chain name, validates branch consistency - On main, lists all chains with branch status and ready leaves - Add find_ready_leaves() helper for identifying actionable leaf nodes - Add C2_COMMIT_RE for parsing C2(<chain>): <verb> <desc> convention - Show branch: in walk_chain card detail output Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>