These hooks are meant to encourage:
- committing fewer changes
- constructing a narrative through micro commits leaving a trail of breadcrumbs
- more frequent pushes of small change sets to the default branch:
main
|trunk
- more frequent integration
- working at a sustainable pace
They rather tyrannically enforce ideas discussed by in Limbo on the Cheap and work equally well when combined with the TCR workflow.
Incremental development, also discussed in Elephant Carpaccio and Elephant Carpaccio V2, suggests aiming for thinner and thinner slices as units of work (see fig. 1) that must be propagated at the earliest opportunity to other developers and validated through a continuous integration pipeline.
fig. 1 from the Elephant Carpaccio Exercise Facilitation Guide by Henrik Kniberg & Alistair Cockburn, 2013
TBD