Answer prose round 1: functional core is a rule no other principle overrides, the banned call order is one only memory enforces, the changelog states the principle's exception as written, and one list of injected inputs

This commit is contained in:
2026-10-13 00:33:07 +02:00
parent 42b6caf2dc
commit 9f9dfc7245
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Unreleased
- A technical principle, "Prefer deep modules": a small, intuitive interface in front of a lot of hidden work, which hides how it works but never what it depends on. It wins over "Explicit over implicit" unless it makes a call harder for someone new to the project to follow. "Functional core, imperative shell" moves up to second place and is enforced as strictly as "Compose, do not entangle". The systems architect holds modules to the principle instead of its own wording.
- A technical principle, "Prefer deep modules": a module puts a small, intuitive interface in front of a lot of hidden work, and hides how it works but never what it depends on. It wins over "Explicit over implicit" unless hiding the work makes it harder for someone new to the project to tell what a call does. "Functional core, imperative shell" moves up to second place, a core rule beside "Compose, do not entangle" that no other principle overrides. The systems architect holds every module to it.
- A hook blocks each Bash, Edit, MultiEdit and Write call that breaks a rule a program can check: a commit message that is not one line passed with `-m`, a Claude or Anthropic attribution, a container image short of a full patch version, an Action pinned to anything but a semver tag, an unsorted block in an ignore file, and a commit of a `todo.md` that `rank_todo.py --check` rejects. `CLAUDE.md` states those rules only where the hook cannot check them; `~/.claude/bin/rule-hook --help` states what it checks. A call overrides a rule with `# rule-override <rule>: <reason>`. larv-review's new overrides pass, run before stability, accepts or rejects each override the chunk logged, and the PR body lists each with its ruling; a rejected override means the chunk keeps the rule. An override that touches a credential, a security rule or a production system, or cannot be undone, is asked of you.
- A project may opt out of larv-review's architect, product-owner pass or comprehension check in every chunk, through a `docs/decisions.md` entry titled `review opt-out: …` that names the goal that skipping them serves. A project without such an entry is reviewed as before. Opting out of the comprehension check also skips the scoring run due at a release's end, so the floor blocks nothing; the opt-out ends with a chunk that ships a plan item naming the floor, which removes the comprehension check from the entry. The principles audit always runs.
- A README goal states the project's aim and intent, and no longer names a step of the work, such as "kill weak candidates early". Such steps go in a method section further down the README and name the goal they serve.