Have item 592 drop what the technical principles decide, and check moved text against code and source
CI / tests (pull_request) Successful in 4m51s

This commit was merged in pull request #817.
This commit is contained in:
2026-12-04 11:30:04 +01:00
parent 0ebb903e33
commit 7988138b2d
+2
View File
@@ -217,6 +217,8 @@ Change the rules so that:
- **A principle states one rule and stops.** No "Applied by …" list of the places that apply it: a principle must not grow with each place. Keep principles few: propose a new one only where it would remove at least three entries. - **A principle states one rule and stops.** No "Applied by …" list of the places that apply it: a principle must not grow with each place. Keep principles few: propose a new one only where it would remove at least three entries.
- **The release review sweeps the log** (`larv-review` §3 → "Release review"): it re-reads the entries that remain, lifts a principle where three or more apply one rule, and moves one-place entries to their place. A proposed principle is the human's to approve, as today. - **The release review sweeps the log** (`larv-review` §3 → "Release review"): it re-reads the entries that remain, lifts a principle where three or more apply one rule, and moves one-place entries to their place. A proposed principle is the human's to approve, as today.
- **The cleanup works on a project's existing log**, as fejkdata's did by hand in its `decisions-cleanup` chunk: delete covered entries, move one-place and code-layout entries, trim long entries to the decision, who, when, why and the "valid while" premise, and draft principles for the human. It must keep `bin/plan/citations.py` satisfied: where a moved entry cited a `todo.md` item marked `decision`, re-mark that item or keep the citation in the log. - **The cleanup works on a project's existing log**, as fejkdata's did by hand in its `decisions-cleanup` chunk: delete covered entries, move one-place and code-layout entries, trim long entries to the decision, who, when, why and the "valid while" premise, and draft principles for the human. It must keep `bin/plan/citations.py` satisfied: where a moved entry cited a `todo.md` item marked `decision`, re-mark that item or keep the citation in the log.
- **An entry or a principle that restates a technical principle goes.** A project principle states only what the technical principles in the config's principles folder leave open, and an entry those principles already decide is deleted like a covered one. Before proposing a project principle, check it against them. In fejkdata, three of the five principles its cleanup drafted restated strict semver, inputs that change between runs taken as parameters, and validating data early.
- **Moved text is checked as new text.** The cleanup, and the reviewers of its pull request, hold each moved claim against the code and the source it names, not only against the log entry it came from. In fejkdata's cleanup no pass did this. An outside reviewer then found nine claims the old log stated wider than its source or the code: a name no register writes, and a fallback an import script doesn't have. Give the prose reviewer's brief the same check for any claim about code or a source that a change moves or rewords.
### 591. Have the judge read a project's principles and decision titles in place of every decision entry, so a growing log can't crowd the transcript out of its prompt. ### 591. Have the judge read a project's principles and decision titles in place of every decision entry, so a growing log can't crowd the transcript out of its prompt.