diff --git a/todo.md b/todo.md index 9a6ea33f..c60581d3 100644 --- a/todo.md +++ b/todo.md @@ -12,10 +12,9 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 480 | 0.18.0 | | owner | **Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.** | 3 | 2 | 3 | 6 | 6 | 1.6 by 3, code health by 3 | 1.9 | -| 481 | 0.18.0 | 480 | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, 2 by 2, code health by 2 | 1.5 | +| 481 | 0.18.0 | | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, 2 by 2, code health by 2 | 1.5 | | 485 | 0.18.0 | 481 | owner | **Rename `loop-claude` to `build-release`, with no alias.** | 2 | 2 | 3 | 5 | 4 | 2 by 2, 6 by 2 | 0.8 | -| 484 | 0.18.0 | 480 | owner | **Keep project configs and this machine's rules in `~/.config/build-release/`, and transcripts and review reports in `~/.local/state/build-release/`, each under its `XDG_*` variable where set, read no old place, and have rule-hook guard the new ones.** | 3 | 2 | 4 | 7 | 6 | 2 by 4 | 0.4 | +| 484 | 0.18.0 | | owner | **Keep project configs and this machine's rules in `~/.config/build-release/`, and transcripts and review reports in `~/.local/state/build-release/`, each under its `XDG_*` variable where set, read no old place, and have rule-hook guard the new ones.** | 3 | 2 | 4 | 7 | 6 | 2 by 4 | 0.4 | | 575 | 0.18.0 | 484, 485 | owner | **Rename `do-epic` to `build-epic`, with no alias, and its config folder with it.** | 2 | 2 | 2 | 4 | 4 | 2 by 2, 6 by 1 | 0.6 | | 482 | 0.18.0 | 481 | owner | **Run the setup from a clone of a release by the path of its `bin/`, with no install step, and replace `deploy-release` with a command that moves that clone to the newest tag.** | 3 | 2 | 3 | 6 | 7 | 2 by 6 | 0.4 | | 483 | 0.18.0 | 482, 484 | owner | **Run every claude the loop starts in a Claude home that the commands generate under `~/.local/share/build-release/` and refresh when the clone's tag changes, with the enabled plugins installed there and the person signed in by `/login` in that home.** | 4 | 2 | 3 | 7 | 7 | 2 by 8 | 0.5 | @@ -110,137 +109,6 @@ ## Details -### 480. Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`. - -Part of the standalone-install plan lilleman approved on 2026-11-20. Today about 110 lines outside the tests, in some 54 files, name `~/.claude`; `bin/loop_state/paths.py` holds a few. This item changes no behaviour. - -Whether the prose in code that names `~/.claude`, such as help text, prompts and docstrings, changes here or in item 481 is not predictable, so the list holds it. Which tests change is not predictable either: the list holds each test that names one of these folders. - -Touches: - -- `bin/agent_cycle/hand_over.py`: `(module)` -- `bin/agent_cycle/interrupt.py`: `(module)` -- `bin/agent_cycle/judge.py`: `INTERRUPT_RULES`, `FINISHED_RULES` -- `bin/branch_chunks/fixes.py`: `(module)` -- `bin/chunk_driver/claims.py`: `CLAIMS` -- `bin/chunk_driver/cycle_start.py`: `setup_version` (small) -- `bin/chunk_driver/doubles.py`: `a_loop` -- `bin/chunk_driver/project/records.py`: `(module)`, `HUMAN_RULE_NAMES`, `named`, `read_records` -- `bin/chunk_driver/prompts.py`: `planning_launch`, `escalation` -- `bin/chunk_pr/main.py`: `(module)`, `BIN` -- `bin/chunk_preflight/facts.py`: `merge_lines`, `carried_lines`, `joining_details`, `bundled`, `unpredicted_lines` -- `bin/chunk_preflight/main.py`: `(module)`, `BIN`, `TOOLS` -- `bin/claude_code/output_limits.py`: `(module)` -- `bin/compress_archives/main.py`: `(module)` -- `bin/deploy_release/cut.py`: `(module)` -- `bin/deploy_release/main.py`: `(module)`, `main` -- `bin/deploy_release/patch.py`: `(module)` -- `bin/deploy_release/trace.py`: `trace_folder` -- `bin/do_epic/backend/jira.py`: `NO_FINISH` -- `bin/do_epic/chunk_prompt.py`: `CODE_HEALTH`, `FEEDBACK` -- `bin/do_epic/config.py`: `(module)`, `DoEpicConfig`, `load` -- `bin/do_epic/e2e/scenario.py`: `machine_made` -- `bin/do_epic/finish.py`: `task` -- `bin/do_epic/main.py`: `HELP`, `ARCHIVE`, `records_read` -- `bin/do_epic/planning.py`: `RULE` -- `bin/do_epic/ranking.py`: `MARK_IT` -- `bin/do_epic/repos.py`: `(module)`, `locate` (small) -- `bin/do_epic/scheduler.py`: `STATE` -- `bin/judge_replay/main.py`: `(module)`, `rule` -- `bin/larv_review/main.py`: `(module)` -- `bin/larv_review/scoring_setup.py`: `PANEL` -- `bin/loop_claude/chunk/fresh_prompt.py`: `AFTER_CODE_HEALTH`, `preflight_facts`, `preflight_failed` -- `bin/loop_claude/loop/main.py`: `next_cycle` (small) -- `bin/loop_claude/loop/routing_check.py`: `raise_calls` -- `bin/loop_claude/loop/usage.py`: `HELP` -- `bin/loop_state/paths.py`: `paths_from`, `Paths` -- `bin/machine_load/slots.py`: `slot_folder` -- `bin/metric_bench/main.py`: `main` -- `bin/model_routing/ladder_file.py`: `SHIPPED` (small) -- `bin/mutate_changes/main.py`: `(module)` -- `bin/notifier/main.py`: `(module)` -- `bin/plan/goals_file.py`: `(module)`, `ranked_goals`, `goal_weights` -- `bin/plan/ranking.py`: `RESHAPE` -- `bin/plan/todo_table.py`: `(module)` -- `bin/project_config/doubles.py`: `CLIENT`, `write_config` -- `bin/project_config/main.py`: `(module)` -- `bin/project_config/settings.py`: `(module)`, `PROJECTS`, `ProjectConfig`, `load`, `configs`, `env_files` -- `bin/project_record/main.py`: `(module)`, `COPIES` -- `bin/rank_todo.py`: `(module)` -- `bin/reading_cost/main.py`: `(module)` -- `bin/release_plan/next_chunk.py`: `planned` -- `bin/release_plan/release_standing.py`: `Upcoming`, `ReviewDue`, `unreleased_changes` -- `bin/repo_checks/__init__.py`: `ROOT` -- `bin/review_replay/main.py`: `(module)` -- `bin/review_rules/review_folder.py`: `REPORTS` -- `bin/review_rules/reviewer_context.py`: `(module)`, `reviewer_context`, `starts_bare`, `hook_reply` -- `bin/rule_hook/endless_wait.py`: `HOW` -- `bin/rule_hook/env_file.py`: `(module)`, `env_file_breaches`, `reaching` -- `bin/rule_hook/reviewer_report.py`: `AGENT_FILES` -- `bin/rule_hook/rules.py`: `RULES`, `command_breaches` -- `bin/rule_hook/todo_check.py`: `OWN` -- `bin/rule_hook/transcript_read.py`: `(module)`, `transcript_breaches` -- `bin/run_heavy/main.py`: `(module)` -- `bin/run_heavy/path_entry/docker`: `(module)` -- `bin/run_tests/main.py`: `BIN` -- `bin/score_outcomes/anchors.py`: `anchor_lines` -- `bin/score_outcomes/main.py`: `(module)` -- `bin/subagent_rung/main.py`: `(module)` -- `bin/task_bench/main.py`: `(module)` -- `bin/transcript_archive/__init__.py`: `(module)` -- `bin/transcript_archive/location.py`: `archive_root` -- `bin/agent_cycle/test_tmux.py`: `TmuxCommands` -- `bin/agent_cycle/test_worker.py`: `WorkerArgs` -- `bin/chunk_driver/project/test_model_choice.py`: `SavingAModel` -- `bin/chunk_driver/project/test_records.py`: `Records` -- `bin/chunk_driver/test_cycle_start.py`: `CycleStart` -- `bin/chunk_driver/test_prompts.py`: `ReviewLaunches`, `Escalation` -- `bin/chunk_preflight/test_chunk_preflight.py`: `ChunkPreflightTool`, `Render`, `EpicBranchWorktree`, `Plans`, `UnpredictedTest` -- `bin/command_patterns/test_command_patterns.py`: `Pattern`, `Main` -- `bin/compress_archives/test_compress_archives.py`: `Main` -- `bin/deploy_release/test_deploy_release.py`: `Cut`, `Trace` -- `bin/do_epic/backend/test_jira.py`: `Jira` -- `bin/do_epic/test_do_epic.py`: `ConfigTest` -- `bin/do_epic/test_findings.py`: `FindingsTest`, `FilingAFinding` -- `bin/do_epic/test_finish.py`: `ClosingTheEpic`, `TheFinishingChunk` -- `bin/do_epic/test_human_tasks.py`: `AHumanTaskThatBlocksAnIssue` -- `bin/do_epic/test_main.py`: `DoEpicTest`, `TheCommand`, `ACycleOfAChunkWithoutARepo`, `TheHumansRun`, `AChunksRun`, `AChunkWhosePullRequestWaitsOnAGate`, `AnEpicsWorkingBranch`, `TheDryRun` -- `bin/do_epic/test_planning.py`: `Planning` -- `bin/do_epic/test_ranking.py`: `RankedTest` -- `bin/do_epic/test_repos.py`: `LocateTest` -- `bin/do_epic/test_scheduler.py`: `StartingAnEpicsChunks` -- `bin/judge_replay/test_judge_replay.py`: `Main` -- `bin/larv_review/test_larv_review.py`: `LarvReviewTool` -- `bin/larv_review/test_scoring_setup.py`: `PrepareScoring` -- `bin/loop_claude/loop/test_chunk_windows.py`: `StartChunks` -- `bin/loop_claude/loop/test_main.py`: `WindowStarts`, `OwnLadder` -- `bin/loop_claude/loop/test_routing_check.py`: `RoutingCheck` -- `bin/loop_claude/test_black_box.py`: `FAKE_CLAUDE`, `Checkout`, `Premises`, `Cycles`, `Windows`, `Interrupt`, `Models` -- `bin/machine_load/test_machine_load.py`: `SlotFolder` -- `bin/notifier/test_notifier.py`: `Project` -- `bin/plan/test_ranking.py`: `Rank`, `CodeHealth` -- `bin/project_config/test_project_config.py`: `ConfigCase`, `LoadTest`, `HeldTest`, `ToolTest` -- `bin/project_record/test_project_record.py`: `COPIES`, `worktree_config`, `Pruned`, `BlackBox` -- `bin/reading_cost/test_reading_cost.py`: `ReadingCostTool` -- `bin/record_store/test_stores.py`: `Store`, `GoalsStore` -- `bin/repo_checks/test_gitignore.py`: `PRIVATE` -- `bin/repo_checks/test_reviewer_launches.py`: `ReviewerLaunches` -- `bin/review_replay/test_review_replay.py`: `Launch`, `Main` -- `bin/review_rules/test_review_folder.py`: `ReviewFolder` -- `bin/review_rules/test_review_passes.py`: `ReviewPasses` -- `bin/review_rules/test_reviewer_context.py`: `ReviewerContext`, `Reviewers` -- `bin/rule_hook/test_rule_hook.py`: `CommandBreaches`, `ReviewerRung`, `EnvFileRead`, `ReviewerReport`, `Hook`, `TodoRankCheck`, `TranscriptRead` -- `bin/score_outcomes/test_score_outcomes.py`: `Anchors`, `ScoreOutcomesTool` -- `bin/subagent_rung/test_subagent_rung.py`: `SubagentRung` -- `bin/task_bench/features/test_feature_tasks.py`: `CLAUDE`, `BenchOfTasksCase`, `FeatureBenchTest` -- `bin/task_bench/features/test_registers.py`: `CLAUDE` -- `bin/task_bench/figures/test_gather.py`: `GatherTest` -- `bin/task_bench/figures/test_record_figures.py`: `RecordFiguresTest` -- `bin/task_bench/test_task_bench.py`: `BenchTest` -- `bin/test_settings_filter.py`: `Checkout` -- `bin/transcript_archive/test_transcript_archive.py`: `Location` -- `README.md`: `#### Driving chunks` (small) - ### 481. Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/`, and refuse the old spelling in new prose. Part of the standalone-install plan lilleman approved on 2026-11-20. About 50 places in `CLAUDE.md`, `rules/`, `skills/` and `agents/` name a tool by its path in `~/.claude/bin/`, and about 50 more in `bin/`, `README.md`, `settings.json`, `presentation/` and `reviewer-merge-trials/`. Keeping the tools on `PATH` only inside the loop's sessions keeps short names such as `wait-for` out of the human's shell. And prose that names no install folder works under every harness.