Add deep modules as a technical principle, and put functional core, imperative shell second #243

Merged
lilleman merged 4 commits from deep-modules into main 2026-10-13 00:36:03 +02:00
Showing only changes of commit be21dbc400 - Show all commits
+6 -1
View File
@@ -6,7 +6,7 @@
`Bar = 9`
`Next ID = 100`
`Next ID = 101`
| Goal | W |
|---|---|
@@ -24,6 +24,7 @@
| ID | Release | Exempt | Item | R | S | A | G | Goals | Score |
|---|---|---|---|---|---|---|---|---|---|
| 100 | 0.1.0 | defect | **Sort `bin/rule_hook/override_log.py`'s imports by their first binding, so the test suite passes again.** | 1 | 1 | 6 | 7 | 1.1 | 24.6 |
| 95 | 0.1.0 | | **Make `CLAUDE.md` a short router: only the rules every session needs, and a pointer to where each topic's rules load.** | 6 | 6 | 8 | 8 | 1.1, 1.3, 1.4 | 24.3 |
| 98 | 0.1.0 | | **Score R and S from a measurement wherever one exists, and calibrate each guessed score against the finished chunk's measured outcome.** | 2 | 5 | 6 | 7 | 1.1, 1.4 | 22.6 |
| 99 | 0.1.0 | | **Drop the comprehension panel as a merge gate, and keep recording its scores and the places in the code its seats found hard, for later measurement and for other reviewers and agents to improve.** | 4 | 5 | 7 | 7 | 1.1, 1.4, 1.5 | 22.6 |
@@ -63,6 +64,10 @@
## Details
### 100. Sort `bin/rule_hook/override_log.py`'s imports by their first binding, so the test suite passes again.
On `main` at 72fd688, `repo_checks/test_import_order` fails on line 10, `from failure import Failure`, which sorts before `from rule_hook.rules import Breach`, and `repo_checks/test_python_floor` fails with it, as it reruns the suite. 7598584 brought the order in.
### 95. Make `CLAUDE.md` a short router: only the rules every session needs, and a pointer to where each topic's rules load.
`CLAUDE.md` holds about 4,300 words and 150 or more rules, and every session loads it whole. Anthropic's memory docs (code.claude.com/docs/en/memory) say a longer file "reduce[s] adherence", and its best-practices page says to keep a line only if "removing this would cause Claude to make mistakes". IFScale (arxiv.org/abs/2507.11538) measures adherence falling as the instruction count grows, with earlier instructions followed more. Count instructions, not lines.