Repository navigation
cctoolkit 2.21.0
·
3 commits
to main
since this release
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.