From 0f142f8da5bd8cfabbc254002d2860dc8cc8bdc5 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 14 Nov 2026 19:40:36 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=201:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=207=20=F0=9F=9F=A1=20(0=20misread);=20reword=20the=20help=20te?= =?UTF-8?q?xt=20and=20comments,=20and=20sort=20the=20decision?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/chunk_preflight/gathered.py | 2 +- bin/project_config/main.py | 4 ++-- bin/project_config/settings.py | 6 +++--- docs/decisions.md | 24 ++++++++++++------------ 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/bin/chunk_preflight/gathered.py b/bin/chunk_preflight/gathered.py index 07cab36d..bdc18fef 100644 --- a/bin/chunk_preflight/gathered.py +++ b/bin/chunk_preflight/gathered.py @@ -81,7 +81,7 @@ class Gathered: item: ItemFacts | NoItem # The plan that was read, as choices.plan_name names it. plan: str - # Each path the project's config sets, by its setting: in the item's worktree where one was made or continued, else in the checkout. + # Each path the project's config sets, and the epic of a plan kept in Jira, by its setting: in the item's worktree where one was made or continued, else in the checkout. places: dict[str, str] # Whether the project's config puts the plan outside the checkout, where a release whose items are all done is not seen. plan_outside: bool diff --git a/bin/project_config/main.py b/bin/project_config/main.py index 25a525be..a3f236bf 100644 --- a/bin/project_config/main.py +++ b/bin/project_config/main.py @@ -23,8 +23,8 @@ starts with / or ~/. In a worktree, a "checkout:" path is the worktree's own fil `plan` may name a Jira Cloud epic in place of a path, as "jira:" and the epic's address: "jira:https://acme.atlassian.net/browse/ABC-12". The plan is then the epic's open child issues, in -Jira's backlog order, and it is printed as the config spells it. Such a config must set `env-file`, -and that file hold ATLASSIAN_EMAIL and ATLASSIAN_API_TOKEN. +Jira's backlog order, and `project-config plan` prints the setting as the config spells it. Such a +config must set `env-file`, and that file must hold ATLASSIAN_EMAIL and ATLASSIAN_API_TOKEN. `env-file` is an optional setting: the file of KEY=value credentials the project's tools read, a path that starts with / or ~/ and lies outside the checkout and the config's folder, such as diff --git a/bin/project_config/settings.py b/bin/project_config/settings.py index 6ec86f74..37797991 100644 --- a/bin/project_config/settings.py +++ b/bin/project_config/settings.py @@ -25,7 +25,7 @@ COMMIT_TITLE = "commit-title" PULL_REQUEST_TITLE = "pull-request-title" BRANCH = "branch" OPTIONAL = (BRANCH, COMMIT_TITLE, ENV_FILE, LANGUAGE, PULL_REQUEST_TITLE, WAIT_FOR_APPROVAL) -# The one setting that may name something other than a path: a plan kept as the child issues of a Jira Cloud epic, spelt as `jira:` and the epic's address as the browser shows it. Three readers, seated as the human who writes the config, picked that spelling from four candidates, and one ATLASSIAN_ pair of env-file keys for Jira and Confluence over a pair for each. +# What opens a `plan` setting that names a Jira Cloud epic in place of a path: `jira:`, then the epic's address as the browser shows it. `plan` is the one setting that may name something other than a path. JIRA = "jira:" EPIC_SPELLING = '"jira:https:///browse/" for a plan kept as a Jira Cloud epic\'s child issues' OUTSIDE = "a path that starts with / or ~/ and lies outside the checkout and the config's folder, so that no git remote receives the credentials" @@ -50,7 +50,7 @@ class Epic: @dataclasses.dataclass(frozen=True) class ProjectConfig: - """folder is `~/.claude-projects/`, top is the worktree that asked, and paths holds each of SETTINGS as an absolute path, but for a plan kept in Jira, which epic holds.""" + """folder is `~/.claude-projects/`, top is the worktree that asked, and paths holds each of SETTINGS as an absolute path, except `plan` where the plan is kept in Jira.""" key: str folder: pathlib.Path top: pathlib.Path @@ -62,7 +62,7 @@ class ProjectConfig: commit_title: str = templates.TITLE pull_request_title: str = templates.TITLE branch: str = templates.BRANCH - # The epic whose child issues are the plan, where the config's `plan` names one; paths then holds no "plan". + # The epic whose child issues are the plan, where the config's `plan` names one. epic: Epic | None = None @property diff --git a/docs/decisions.md b/docs/decisions.md index bd1bd8d4..d8e23dbb 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -21,8 +21,8 @@ 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: `plan` names a Jira Cloud epic as `jira:` and its address, the plan is its open child issues in backlog order, and an issue's number is the item's ID - 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}` +- project config: `plan` may name a Jira Cloud epic as `jira:` and its address, the plan is its open child issues in backlog order, and an issue's number is the item's ID - 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 @@ -278,17 +278,6 @@ 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: `plan` names a Jira Cloud epic as `jira:` and its address, the plan is its open child issues in backlog order, and an issue's number is the item's ID - -2026-11-14, larv-review, on lilleman's calls of 2026-11-12 and 2026-11-14. Serves goal 1.6: a client's team keeps planning in its own Jira. Valid while a client's plan fits one epic in one Jira project. - -- **One epic is one project's plan, and Jira's backlog rank orders it.** The team sets the rank, so the loop's score doesn't break ties and the loop doesn't reorder anything (lilleman, 2026-11-12). An item is an open child issue; one in a done status category is finished. -- **A bench of readers picked the spelling.** Three fresh readers, seated as the person who writes a client's `config.toml`, each picked `plan = "jira:https:///browse/"` over the bare address, a `jira:` beside a `jira-site` key, and a `[plan]` table. Each also picked one pair of env-file keys, `ATLASSIAN_EMAIL` and `ATLASSIAN_API_TOKEN`, for Jira and Confluence over a pair for each, since one account's token opens both. -- **An item's ID stays a whole number: the issue's number in the epic's Jira project.** About 30 modules read an ID as an int, and the `branch` and title templates already spell a ticket's name, as `ABC-{id}`. So the store refuses a child issue from another Jira project, and counts a blocker only among the plan's own items (`bin/plan_store/jira_epic.py`). -- **The scores sit in one issue property, `plan-item`**, which needs no Jira admin (lilleman, 2026-11-12). An issue without it reads as an item nobody scored. -- **The release is the earliest Fix Version named as a semver version**, and an issue with none fails the read, naming it, until todo.md's item 359 ties releases to something else. -- **The store only reads**, until todo.md's item 352 writes. A tool that works on the file, such as `rank_todo.py` or rule-hook's rank check, refuses or skips a plan in Jira. - ## 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. @@ -302,6 +291,17 @@ Messages keep each file's usual name, such as `todo.md`, as its label, since the - **The language covers what the project's readers read**: docs, comments, tickets, and the summary a title carries. `CLAUDE.md` โ†’ "Prose" lists what stays English. - **`deploy-release` titles its commit `Cut release ` whatever the template**, since a release has no plan item to give `{id}`, and the tool finds that commit again by its exact title. It reads its clone's other titles whole, as no project's config names the clone. +## project config: `plan` may name a Jira Cloud epic as `jira:` and its address, the plan is its open child issues in backlog order, and an issue's number is the item's ID + +2026-11-14, larv-review, on lilleman's calls of 2026-11-12 and 2026-11-14. Serves goal 1.6: a client's team keeps planning in its own Jira. Valid while a client's plan fits one epic in one Jira project. + +- **One epic is one project's plan, and Jira's backlog rank orders it.** The team sets the rank, so the loop's score doesn't break ties and the loop doesn't reorder anything (lilleman, 2026-11-12). An item is an open child issue; one in a done status category is finished. +- **A bench of readers picked the spelling.** Three fresh readers, seated as the person who writes a client's `config.toml`, each picked `plan = "jira:https:///browse/"` over the bare address, a `jira:` beside a `jira-site` key, and a `[plan]` table. Each also picked one pair of env-file keys, `ATLASSIAN_EMAIL` and `ATLASSIAN_API_TOKEN`, for Jira and Confluence over a pair for each, since one account's token opens both. +- **An item's ID stays a whole number: the issue's number in the epic's Jira project.** About 30 modules read an ID as an int, and the `branch` and title templates already spell a ticket's name, as `ABC-{id}`. So the store refuses a child issue from another Jira project, and counts a blocker only among the plan's own items (`bin/plan_store/jira_epic.py`). +- **The scores sit in one issue property, `plan-item`**, which needs no Jira admin (lilleman, 2026-11-12). An issue without it reads as an item nobody scored. +- **The release is the earliest Fix Version named as a semver version**, and an issue with none fails the read, naming it, until todo.md's item 359 ties releases to something else. +- **The store only reads**, until todo.md's item 352 writes. `rank_todo.py` refuses to rank a plan in Jira, and its `--check` passes, since Jira's backlog ranks it; rule-hook's rank check skips it. Each read first asks Jira for the epic itself, since a search under an epic the account cannot see answers no issues, as a finished plan does. + ## 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.