Skip to content

cctoolkit 2.21.0

Choose a tag to compare

@pierrebelin pierrebelin released this 24 Nov 09:51
· 3 commits to main since this release
  • 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.