Record the depth-cap campaign as finished, not mid-flight
Some checks failed
Pre-commit checks / pre-commit (push) Has been cancelled
Shell tests / shell-tests (push) Has been cancelled
Shell tests / arch-tests (push) Has been cancelled

The "Depth-cap progress" table still advertised 294 violations and a 207-file
"step D worklist", which stopped being true when the campaign completed. The
gate now reports zero:

  $ bash meta/scripts/check_directory_depth.sh --all
  check_directory_depth: all checked paths are within 2 directories   (exit 0)

A stale worklist is worse than no worklist: it sends the next session hunting
for 207 files that are not there. The table is hand-written --
report_live_state.sh generates the path inventory above it but never emitted
this section -- so regenerating the doc would not have fixed it.

Rewritten to state the guarantee (the directory-depth-cap hook enforces it on
every commit) and to point at the command rather than at a number, with the
original backlog kept as history.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJrqKERAo5QUeEHWS5Asgp
This commit is contained in:
Krzysztof Rudnicki 2026-08-24 13:29:37 +02:00
parent 782a6320af
commit 69937ffda8

View File

@ -71,8 +71,26 @@ its timer next fires.
## Depth-cap progress
| Bucket | Files |
| ---------------------------------------- | ------- |
| Violations now | 294 |
| Disappear with the remaining extractions | 87 |
| **Remain — the step D worklist** | **207** |
**Done — the worklist is empty.** As of 2026-08-24 the gate reports zero
violations:
```
$ bash meta/scripts/check_directory_depth.sh --all
check_directory_depth: all checked paths are within 2 directories
$ echo $?
0
```
The cap is enforced on every commit by the `directory-depth-cap` hook
(`.pre-commit-config.yaml`), so this is a standing guarantee rather than a
snapshot — re-run the command above rather than trusting any number written
here.
For the record, the campaign burned down this backlog:
| Bucket | Files |
| -------------------------------- | ----- |
| Violations at the start | 294 |
| Disappeared with the extractions | 87 |
| Split or relocated by hand | 207 |
| **Remaining** | **0** |