Skip to content

Releases

cctoolkit 2.22.2

Choose a tag to compare

@pierrebelin pierrebelin released this 24 Nov 11:57
  • run-lot-pane: while a run-lot runs, the cycle agents now sit under the one RED · GREEN phase. 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 showed RED · GREEN twice: once pending with its detail and wave n/N, once running with the agents beneath it, and the progress bar counted a phase too many.

cctoolkit 2.22.1

Choose a tag to compare

@pierrebelin pierrebelin released this 24 Nov 11:01
  • 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 with next-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 stops AMBIGUOUS only when the request contradicts itself or nothing in the code chooses. OUT_OF_SCOPE becomes TOO_BIG. The result lists every object of the delta, before and after, instead of one rule.

cctoolkit 2.22.0

Choose a tag to compare

@pierrebelin pierrebelin released this 24 Nov 10:36
  • 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-implementation and run-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-bug uses. Then run-lot writes 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

Choose a tag to compare

@pierrebelin pierrebelin released this 24 Nov 09:51
  • cctoolkit /knowledge-sync: the sync runs in the background as the new run-sync workflow 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 kept observed, 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 in git diff before committing.
  • cctoolkit knowledge-scan: a context whose changes are larger than knowledge.syncBudget is split into parts under the budget, each use case whole in one part, and run-sync runs one knowledge-extractor per 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 plan run-sync reads, without diffs). --full is back: the sync procedure offered it, but 2.x had dropped it from the script, so the extraction agent stopped on unknown option --full.
  • cctoolkit knowledge-write apply: after each context's HISTORY.md row, a sync prints one line per object of its delta with its title ( +CAT-RM-004 — Names are unique).
  • cctoolkit knowledge-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. A repair mode fixes the drafts that apply refused.
  • run-lot-pane: follows a /cctoolkit:knowledge-sync run, 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 sync and demo sync end show an example. A PARTIAL outcome 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, a Last sync block on the home lists what the latest sync changed, context by context. The demo base carries a staged sync.

cctoolkit 2.20.1

Choose a tag to compare

@pierrebelin pierrebelin released this 23 Nov 18:56
  • cctoolkit: on macOS and Linux, CCTOOLKIT_PYTHON set in your environment replaces python3 in every hook, tool and shell script, as bin/cctoolkit already did for its Python scripts: a system python3 older than 3.10 (macOS /usr/bin/python3) no longer breaks the hooks.
  • context-band, knowledge-pane, run-lot-pane: the tests mount AbovePrompt with the isCollapsed prop recent Claude Code versions require: no more type errors at claude plugin tag.
  • CI: actions/checkout and actions/setup-node moved to v5 (Node.js 24).

cctoolkit 2.20.0

Choose a tag to compare

@pierrebelin pierrebelin released this 23 Nov 18:09
  • 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-implementation ends by offering that quiz on the plan, before you validate it and launch a run.

cctoolkit 2.19.1

Choose a tag to compare

@pierrebelin pierrebelin released this 23 Nov 14:35
  • cctoolkit TDD scope hook, run-notes: the Workflow harness now sends a step's prompt inside its own relay message, after The 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: no Cycle 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 its test-edit lines were skipped, and run notes went nowhere. The hook now reads the prompt after that line, its indentation removed.

cctoolkit 2.19.0

Choose a tag to compare

@pierrebelin pierrebelin released this 23 Nov 14:04
  • cctoolkit /plan-implementation, adversarial-reviewer: a declaratives entry creates a file, never deletes nor moves one that is still used. A move takes two steps: the new file in declaratives, the old one kept beside it, its deletion in the ripple of the first cycle that migrates its usages. The sheet review flags a deletion or a move in declaratives as 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.
  • cctoolkit run-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 the ripple of the first cycle concerned in the sheet's ## Cycles block, 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.
  • cctoolkit run-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. Under core.autocrlf=true, files restored by hand or by restore came 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 new cctoolkit batch-baseline put-back <work> FX <path>…, which checks git status is empty on those paths. It never rewrites the file by hand.
  • cctoolkit run-plan, run-lot: a batch set aside records the fingerprint of its sheet's ## Cycles block 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 (no git update-ref -d left 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

Choose a tag to compare

@pierrebelin pierrebelin released this 22 Nov 13:43
  • 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-lot and run-fix share 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 tool waits for the timeout a call declares when it is above 5 min, so run-audit's stryker wait (one 9-min call) is no longer flagged each round.
  • run-lot-pane: /run-lot-pane demo plan merge shows a plan as run-plan delivers it today: a Security step after the final check, the merge drafted, then written by merge apply (✓ Knowledge base — updated). The README describes the written merge and the run-fix view.

cctoolkit 2.18.1

Choose a tag to compare

@pierrebelin pierrebelin released this 22 Nov 11:17
  • run-lot-pane: on a run-plan, a running batch's line names its phase as the batch view does, RED · GREEN for today's run-lot, no longer the bare RED.
  • run-lot-pane: /run-lot-pane demo plan shows batches as today's run-lot runs them: one cycle agent per cycle under RED · 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).