diff --git a/bin/build_epic/chunk_prompt.py b/bin/build_epic/chunk_prompt.py index a6af0b4e..d235fa59 100644 --- a/bin/build_epic/chunk_prompt.py +++ b/bin/build_epic/chunk_prompt.py @@ -4,13 +4,13 @@ import dataclasses from chunk_driver.drivers import BUILD_EPIC from build_epic.backend.protocol import EpicIssue from build_epic import findings -from chunk_driver.project.records import SETUP_RULE_NAMES, RECORD_FILES from build_epic.repo_pick import LabelRepos from text_files.markdown_text import listed import pathlib from project_config.settings import ProjectConfig from model_routing.ladder import ProjectRung from chunk_driver import prompts +from chunk_driver.project.records import RECORD_FILES, SETUP_RULE_NAMES from model_routing.route import Route from project_config import templates from agent_cycle.worker_prompts import WorkerPrompts diff --git a/bin/chunk_driver/project/test_records.py b/bin/chunk_driver/project/test_records.py index 513085b9..9f496531 100644 --- a/bin/chunk_driver/project/test_records.py +++ b/bin/chunk_driver/project/test_records.py @@ -106,7 +106,7 @@ class Records(unittest.TestCase): class JudgeRules(unittest.TestCase): - def test_the_judge_prompt_names_every_rule_the_judge_reads_from_the_human(self): + def test_the_judge_prompt_names_every_rule_the_judge_reads_from_the_setup(self): self.assertEqual([name for name in records.SETUP_RULE_NAMES if name not in judge.judge_rules("the ledger", "a-driver")], []) diff --git a/bin/chunk_driver/prompts.py b/bin/chunk_driver/prompts.py index 9ed71fd0..72bb6b24 100644 --- a/bin/chunk_driver/prompts.py +++ b/bin/chunk_driver/prompts.py @@ -7,10 +7,10 @@ from agent_cycle.escalation_mark import asks_higher_rung from model_routing.review_choice import chosen, ReviewChoice from model_routing.route import ESCALATION_MARKER, Route from agent_cycle.routing import escalation_rungs -from chunk_driver.project.records import SETUP_RULE_NAMES, RECORD_FILES, RECORDS_NAMED from review_rules.review_passes import INSTRUCTION_FILES, INSTRUCTION_FOLDERS from text_files.markdown_text import listed, quoted from model_routing.ladder import ProjectRung, Rung +from chunk_driver.project.records import RECORD_FILES, RECORDS_NAMED, SETUP_RULE_NAMES # Where the judge may quote an answer from, named as the human and the worker see them; of the goals file the judge sees only the premises. QUOTE_SOURCES = listed(("the goals file's Goals and Audience", *RECORD_FILES, *SETUP_RULE_NAMES), "or") diff --git a/bin/repo_checks/test_citations.py b/bin/repo_checks/test_citations.py index 838ea4dd..6e52dda2 100644 --- a/bin/repo_checks/test_citations.py +++ b/bin/repo_checks/test_citations.py @@ -6,8 +6,8 @@ import unittest sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1])) -from chunk_driver.project.records import SETUP_RULE_DIR from repo_checks import ROOT +from chunk_driver.project.records import SETUP_RULE_DIR # The review standards this repo ships. A project's config may name another folder as `standards`. STANDARDS = "skills/larv-review/standards" diff --git a/docs/decisions.md b/docs/decisions.md index a80a0e37..7e816a7d 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -922,7 +922,7 @@ Valid while task-bench's figures are unproven against the panel's scores. The protection lives in Gitea's settings, outside the repo: rule `main`, required status check `CI / tests (pull_request)`. A pull request has no status until CI queues its run, so `cut-release` waits for each check the protection requires rather than reading no status as no checks, for 30 minutes at most. CI runs no rule-hook check, so a `rule-override` in the PR body doesn't have anything to override. Whoever adds a rule check to CI must also let it read the PR body's `rule-override`. Valid while gitea.larvit.se runs a runner labelled `docker-host`. -2026-12-04, the release review of 0.18.0, taking the architect's finding that the first-chunk e2e makes the gate depend on the network. Serves goal 2. `ci.sh` also runs `first-chunk-e2e/run`, which adds two waits of at most 300 s each and needs the network: apt for git and tmux, and `claude plugin marketplace add` for the plugins the setup's `settings.json` enables, taken at the marketplace's head. The e2e keeps both, since it runs a first chunk as a newcomer's install does, and Claude Code's `plugin marketplace add` has no option to pin a revision. A red gate that the network or the marketplace caused is rerun, not fixed. Valid while Claude Code offers no way to pin a marketplace; once it does, pin it and the base image's digest. +2026-12-04, the release review of 0.18.0, taking the architect's finding that the first-chunk e2e makes the gate depend on the network. Serves goal 2. `ci.sh` also runs `first-chunk-e2e/run`, which adds two waits of at most 300 s each and needs the network: apt for git and tmux, and `claude plugin marketplace add` for the plugins the setup's `settings.json` enables, taken at the marketplace's head. The e2e keeps both, since it runs a first chunk as a newcomer's install does, and `plugin marketplace add` pins a GitHub source only to a branch or tag with `#`, refuses a commit for the reserved name `claude-plugins-official`, and that repository has no tags, so a ref could only name a branch that moves. A red gate that the network or the marketplace caused is rerun, not fixed. Valid while `anthropics/claude-plugins-official` publishes no tags; once it does, add the marketplace at a tag. ## tests: each test earns its keep as the technical principles' test bullet says, and the worker takes a test's expected values from its item, never from the code diff --git a/todo.md b/todo.md index 91c3a6ab..8ae79608 100644 --- a/todo.md +++ b/todo.md @@ -769,7 +769,7 @@ Savings: one judge call per about 12 verdicts. That is small, and nobody has mea It lives under `~/.local/state/build-release/`, outside any repo and so out of the remote, so a lost disk loses every unattended run's record. Back it up only to a destination private to me and encrypted at rest: the worker runs with permissions bypassed, so the archived tool results can hold credentials it read. -2026-10-02, the human: ai-sandbox is the VM `build-release` will run on, hosted on the server bender. bender-infra, the infrastructure-as-code project that manages bender, will back up ai-sandbox's data volume once ai-sandbox is rebuilt. The item waits for the human to say the rebuild has landed; do not remind them. Before writing the README line, check that `~/.claude` lives on that volume and that the backup is private and encrypted at rest. +2026-10-02, the human: ai-sandbox is the VM `build-release` will run on, hosted on the server bender. bender-infra, the infrastructure-as-code project that manages bender, will back up ai-sandbox's data volume once ai-sandbox is rebuilt. The item waits for the human to say the rebuild has landed; do not remind them. Before writing the README line, check that `~/.local/state/build-release/` lives on that volume and that the backup is private and encrypted at rest. The README line covers the bench's transcripts in `workflow-bench/logs/` too (goal 4).