Read the prose language and the title and branch templates from the project's config

This commit is contained in:
2026-11-14 01:14:08 +01:00
parent 82f4bbd91b
commit ce87a519f0
22 changed files with 134 additions and 29 deletions
+12
View File
@@ -21,6 +21,7 @@ Each project principle states one rule that the decisions below apply; their ent
- machine load: a heavy command waits for one of the machine's heavy slots, one for every 4 CPUs, which every session shares, and loop-claude starts a worker only while at least a quarter of the machine's memory is available
- principles: about seven things per level, four or five where they act on each other, more where a reader finds them by name; crossing a limit asks for a grouping or a recorded reason
- project config: a tool that reads a file's commits says where it does not support that file, and the work goes on
- project config: `language` names the prose's language by its English name, and `commit-title`, `pull-request-title` and `branch` are brace templates over `{id}` and `{summary}`
- review: a release review fixes its findings in the release it reviews, and files under that release only a finding that needs a human answer, adds a feature or outlasts its five rounds
- review: a reviewer or comprehension seat that rules the work below standard may ask to rerun once, one rung up, in the same round; the ruling that stands is an escalation trigger for the worker unless the fix changes only prose, and never for the judge
- review: a reviewer under `agents/` marks a 🔴 or 🟡 `[misread]` where the implementer misread code that had already shipped, each round title counts the marked findings, and `score-outcomes` lists them per chunk
@@ -275,6 +276,17 @@ Valid while the later fixes per finished chunk, which `score-outcomes` and the r
Messages keep each file's usual name, such as `todo.md`, as its label, since the config keeps the names. Revisit at 0.13.0, which plans the support for `score-outcomes`, the routing figures, the release standing and the owed scoring run.
## project config: `language` names the prose's language by its English name, and `commit-title`, `pull-request-title` and `branch` are brace templates over `{id}` and `{summary}`
2026-11-14, larv-review. Serves goal 1.6: a client's team reads its docs, Jira text, commits and pull requests in its own language and format. Valid while one language and one template per title serve a project.
- **The spelling is benched.** Three fresh readers, seated as the person who writes a client's `config.toml`, each picked brace templates, these four keys and the language's English name (`"Swedish"`) over `%`-codes, regular expressions and language codes.
- **`{id}` is the ID of the chunk's first plan item, and `{summary}` the title a project without templates would have.** A title template holds `{summary}` once and may hold `{id}`; `branch` holds `{id}` and no `{summary}`. Any other brace is a fault the config's reader names: no template needs a literal brace, so there is no escape to learn.
- **A title that doesn't fit the template is its own summary.** History from before a template was set still reads, so every tool that parses a title, such as a round count or `Drop item`, parses the summary (`bin/project_config/templates.py`, `summary_of`). rule-hook's `commit-title` rule refuses a new commit that doesn't fit, and `chunk-pr` a pull request title.
- **The worktree is named after the branch**, `<checkout>-<branch>` with each `/` written `-`, so `feature/{id}` gets one folder beside the checkout.
- **The language covers what the project's readers read**: docs, comments, tickets, and the summary a title carries. What this setup's tools parse stays English: the round titles' fixed words, `todo.md`'s table, the review reports and chat with lilleman.
- **`deploy-release` titles its commit `Cut release <version>` whatever the template**, since a release has no plan item to give `{id}`, and the tool finds that commit again by its exact title.
## review: a release review fixes its findings in the release it reviews, and files under that release only a finding that needs a human answer, adds a feature or outlasts its five rounds
2026-10-30, lilleman through todo item 258. Serves goal 1.1. fejkdata.dev's release review of 0.1.0 filed the architect's findings as items 28 to 36, in releases after 0.1.0, so the release the human was about to cut still held the drift the review had found. A release review's branch opens with an empty commit, so under `larv-review` §3 → "Findings" → "Outside the chunk" every finding lay outside its change and was filed. The review's whole point is to leave the release without the drift the release's small changes made, so the whole project is its chunk and the passes fix within their five rounds. Three kinds of finding are still filed, each under the release being reviewed, or under the earliest release `rules/todo-items.md` allows where that release's semver bump forbids it, such as a feature in a patch release: one whose fix needs a human answer, marked `question`; one whose fix adds a feature; and one whose fix the five rounds cannot finish. The release isn't ready to cut while one is open, so `CLAUDE.md` → "Working loop" calls a release finished only once its review has merged and it holds no item. Valid while a release review's rounds can fix what they find.
+17
View File
@@ -1987,3 +1987,20 @@ Read most (opens and searches):
- `docs/decisions.md` 1
- `rules/decisions.md` 1
- `todo.md` 1
## Reading cost, chunk 92ef669210e9, finished 2026-11-14T00:00:04Z
79184 new input tokens before the first commit.
Read most (opens and searches):
- `bin/project_config/test_project_config.py` 5
- `bin/chunk_pr/main.py` 4
- `bin/chunk_pr/test_chunk_pr.py` 4
- `README.md` 3
- `bin/project_config/settings.py` 3
- `skills/larv-review/SKILL.md` 3
- `CHANGELOG.md` 1
- `CLAUDE.md` 1
- `bin/deploy_release/forge.py` 1
- `bin/project_config/main.py` 1