Skip to content

cctoolkit 2.19.0

Choose a tag to compare

@pierrebelin pierrebelin released this 23 Nov 14:04
· 7 commits to main since this release
  • 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.