Repository navigation
Releases
Releases · pierrebelin/claude-code-toolkit
cctoolkit 2.22.2
run-lot-pane: while arun-lotruns, the cycle agents now sit under the oneRED · GREENphase. Their phase, read live from each agent's meta file, was not mapped to the pane's own name for that phase, so the list showedRED · GREENtwice: once pending with its detail andwave n/N, once running with the agents beneath it, and the progress bar counted a phase too many.
cctoolkit 2.22.1
cctoolkit/cctoolkit:run-change: the draft now judges how big the change is, not how many rules it touches. It takes the change when it fits one batch: one bounded context, at most five cycles and twelve production files, no new aggregate, entity, use case, endpoint or migration. Inside that, rules added (their ids taken withnext-id) or rewritten, an existing use case adjusted, a field added to a request or a command, a port extended and a decision overturned are all in. Before, it stopped on anything but one existing rule changed, so a short change such as a new choice on an existing command (a value typed or generated, as at creation) was sent to/business-spec. An open point is settled on what the code already does elsewhere (the request says "as at creation" → what creation does) and listed as an assumption to validate; the run stopsAMBIGUOUSonly when the request contradicts itself or nothing in the code chooses.OUT_OF_SCOPEbecomesTOO_BIG. The result lists every object of the delta, before and after, instead of one rule.
cctoolkit 2.22.0
cctoolkit: new workflow/cctoolkit:run-change "<the change>" [--code <code>], for a small change to one business rule already in the knowledge base, without going through/business-spec,/plan-implementationandrun-plan. It runs in one go and asks nothing. One agent finds the rule in the base, writes its new statement, a one-batch plan and its sheet, in the shape/fix-buguses. Thenrun-lotwrites the failing test, the change, audits the diff and commits, and the base's rule is rewritten. The report shows the rule before and after, and the assumptions the draft took on an open point, to validate. A change that is not one existing rule (a new rule, two rules, a new use case, endpoint or migration, more than three cycles) stops before any code and points to/business-spec. A request with two readings stops with its closed questions. A run that stops short resumes with/cctoolkit:run-change todo/<code>/<CODE>-PLAN.md.
cctoolkit 2.21.0
cctoolkit/knowledge-sync: the sync runs in the background as the newrun-syncworkflow and no longer asks you to validate anything, because the code is now the truth. Only the contexts changed since their last sync are read. The rules added or changed in the code are written to the base, and a rule whose behaviour is gone leaves it. A handler gone is retired. When a rule sheet contradicts the code, the code wins and the report names the sheet, since it may point at a bug. Objects are kept by confidence level: high accepted, medium keptobserved, low dropped. The one question left is the prefix of a context new to the base. The sync ends on a report, per context: the rules added, changed and removed with their title, what the code won against a sheet, the rules removed and why, the handlers retired, what stays observed or uncovered. You review it ingit diffbefore committing.cctoolkitknowledge-scan: a context whose changes are larger thanknowledge.syncBudgetis split into parts under the budget, each use case whole in one part, andrun-syncruns oneknowledge-extractorper part, one after the other. Before, such a context took one agent of the packet's whole size, or a question. New options:--part N(one part's packet),--plan(the per-context planrun-syncreads, without diffs).--fullis back: the sync procedure offered it, but 2.x had dropped it from the script, so the extraction agent stopped onunknown option --full.cctoolkitknowledge-write apply: after each context'sHISTORY.mdrow, a sync prints one line per object of its delta with its title (+CAT-RM-004 — Names are unique).cctoolkitknowledge-extractor: on a conflict between a rule sheet and the code, the agent drafts what the code does, keeps the id, and reports what the sheet states. Arepairmode fixes the drafts thatapplyrefused.run-lot-pane: follows a/cctoolkit:knowledge-syncrun, one row per context with its state, its parts and agents. When it ends, the outcome shows the rules changed with their title, the conflicts the code won against a sheet, the rules removed, the handlers retired, and the next step./run-lot-pane demo syncanddemo sync endshow an example. APARTIALoutcome shows in amber.knowledge-pane: shows a sync's drafts while it runs. The alert opens on each context's objects,+new,~modified,−removed, with the level of each observed one, the base text above the staged one. Once written, aLast syncblock on the home lists what the latest sync changed, context by context. The demo base carries a staged sync.
cctoolkit 2.20.1
cctoolkit: on macOS and Linux,CCTOOLKIT_PYTHONset in your environment replacespython3in every hook, tool and shell script, asbin/cctoolkitalready did for its Python scripts: a systempython3older than 3.10 (macOS/usr/bin/python3) no longer breaks the hooks.context-band,knowledge-pane,run-lot-pane: the tests mountAbovePromptwith theisCollapsedprop recent Claude Code versions require: no more type errors atclaude plugin tag.- CI:
actions/checkoutandactions/setup-nodemoved to v5 (Node.js 24).
cctoolkit 2.20.0
cctoolkit: new skill/cctoolkit:quiz— three to five open questions to check you understand what will happen or how something works, each answer graded (understood,partial,missed) with the plan section or knowledge-base id to re-read. On a plan: what changes, the riskiest batch, a decision and the alternative it rejected, scope, the assumptions the run takes without asking; a wrong answer may point at an unclear plan, and the fix it proposes is applied on your word. On a subject (feature, context, use case, id, handler): read from the knowledge base like/cctoolkit:ask. No names or paths to recall, no multiple choice.cctoolkit:/cctoolkit:plan-implementationends by offering that quiz on the plan, before you validate it and launch a run.
cctoolkit 2.19.1
cctoolkitTDD scope hook,run-notes: the Workflow harness now sends a step's prompt inside its own relay message, afterThe computed task text follows:, every line indented by two spaces. The hook dropped that message as the relay alone, so it read an empty prompt: noCycle state:line, no run work file. The RED and GREEN of each cycle were no longer saved (the run-lot-pane mod showed a finished batch at 0/N cycles, and a resume started its cycles over), the cycle's contract checks and itstest-editlines were skipped, and run notes went nowhere. The hook now reads the prompt after that line, its indentation removed.
cctoolkit 2.19.0
cctoolkit/plan-implementation,adversarial-reviewer: adeclarativesentry creates a file, never deletes nor moves one that is still used. A move takes two steps: the new file indeclaratives, the old one kept beside it, its deletion in therippleof the first cycle that migrates its usages. The sheet review flags a deletion or a move indeclarativesas Blocking and gives that rewrite. Before, the run built right after the declaratives, the deleted file's usages were still there, and the batch was set aside before its first cycle, its dependants never started.cctoolkitrun-lot: when the declaratives build fails only on the usages of a file they deleted or moved, the step repairs itself instead of stopping. It puts the old file back, keeps the new one, moves the deletion into therippleof the first cycle concerned in the sheet's## Cyclesblock, and checks the repair with the build alone. The split is listed under## To validate. That agent fixes only the files the declaratives list, never their usages.cctoolkitrun-lot,batch-baseline,tdd-scope restore: a file put back gets HEAD's content in the checkout's line endings (git cat-file --filters), not the raw blob. Undercore.autocrlf=true, files restored by hand or byrestorecame back with LF line endings. Git then saw them as modified, and the next run could take them for the user's changes. A run-lot agent outside a cycle puts a file back with the newcctoolkit batch-baseline put-back <work> FX <path>…, which checksgit statusis empty on those paths. It never rewrites the file by hand.cctoolkitrun-plan,run-lot: a batch set aside records the fingerprint of its sheet's## Cyclesblock with its ref. If the block has changed when the next run starts, the work is not put back: the ref is deleted by the script (nogit update-ref -dleft to the user), the batch starts over, and the line is listed under## To validate. A ref saved before 2.19.0 has no fingerprint, so a sheet modified after it was saved counts as changed.
cctoolkit 2.18.2
run-lot-pane: a batch run beside another in a worktree (run.parallelBatches: 2) shows its outcome, audit verdict, cycle progress and tests again. The pane read them beside the batch's sheet, in the worktree, while run-lot writes them in the checkout's run folder; it now takes the work file the batch's prompts name.run-lot-pane: the estimated end and the slow-agent flag compare a phase with earlier runs of the same workflow only.run-audit,run-plan,run-lotandrun-fixshare phase titles (Preflight,Report) whose durations have nothing in common; a run-lot agent run inside a run-plan or a run-fix counts for run-lot.run-lot-pane:⚠ long toolwaits for thetimeouta call declares when it is above 5 min, so run-audit'sstryker wait(one 9-min call) is no longer flagged each round.run-lot-pane:/run-lot-pane demo plan mergeshows a plan as run-plan delivers it today: aSecuritystep after the final check, the merge drafted, then written bymerge apply(✓ Knowledge base — updated). The README describes the written merge and the run-fix view.
cctoolkit 2.18.1
run-lot-pane: on a run-plan, a running batch's line names its phase as the batch view does,RED · GREENfor today's run-lot, no longer the bareRED.run-lot-pane:/run-lot-pane demo planshows batches as today's run-lot runs them: one cycle agent per cycle underRED · GREEN, then Global green, Closing, Audit and Report; no separate GREEN phase.run-lot-pane,knowledge-pane: README screenshots retaken after 2.18.0 (run-lot demo, plan, plan merge, spec view).