AalekhTemporalTask
Computes git temporal (change) coupling and writes it as a local, diffable artefact.
Reads the recent commit window via git log (offline, at execution time), maps each changed file to the module that owns it, and reports:
Change hotspots - the most-committed modules.
Hidden coupling - pairs that change together but declare no dependency.
Dead structure - declared edges whose modules both change yet never co-change.
Two files are written next to the HTML report:
aalekh-temporal.md- a reviewable Markdown report, ready to commit or paste into a PR.aalekh-temporal.json- the same data, machine-readable.
Run: ./gradlew aalekhTemporal
Caching
Caching is disabled: the output depends on live git HEAD, which is not a declared task input, so a build-cache hit could serve a stale report. Reading history is cheap enough to always re-run. The task is still configuration-cache safe - every input is a plain value.
Properties
Number of recent non-merge commits to analyse.
Coupling degree at or above which an undeclared pair is flagged as hidden coupling.
Reviewable Markdown report, written to aalekh-temporal.md.
Minimum commits a module pair must share before it is reported.