Resolve the setup's folders in one module #790

Merged
lilleman merged 9 commits from item-480 into main 2026-12-03 12:19:03 +01:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 08e8070fb0 - Show all commits
+3 -3
View File
@@ -1,4 +1,4 @@
"""Where the setup's folders are: the one module that names them, so that moving one is a change here alone."""
"""Where the setup's folders are: the one module whose code resolves them. Prose and tests still spell them out."""
import dataclasses
from collections.abc import Mapping
@@ -9,9 +9,9 @@ RELEASE_ROOT = pathlib.Path(__file__).resolve().parents[2]
# Each folder below is named relative to the person's home folder.
# The Claude home. A release is deployed into it, so the deployed CLAUDE.md, rules/ and agents/ are read there too.
# The Claude home: Claude Code's own folder, with its settings and transcripts. A release is deployed into it, so the release's CLAUDE.md, rules/ and agents/ are read from it.
CLAUDE_HOME = ".claude"
# The config folder, which holds one folder per project.
# The config folder, which holds one folder per project, and do-epic's.
CONFIG_FOLDER = ".claude-projects"
# The state folder, which holds one folder per tool.
STATE_FOLDER = ".local/state"
+1 -1
View File
@@ -250,7 +250,7 @@ Part of the standalone-install plan lilleman approved on 2026-11-20. About 50 pl
Where the loop puts the tools on `PATH` is not predictable: the list names each place that starts a claude. Where the refusal of the old spelling lives, a rule-hook rule or a check under `bin/repo_checks/`, is not predictable either, so the list leaves its new file out. The code holds about 50 more such paths outside those four folders, in `bin/`, `README.md`, `settings.json`, `presentation/` and `reviewer-merge-trials/`.
Item 480 moved every folder the code resolves into `bin/loop_state/paths.py` and left the prose alone. So about 70 lines of help text, prompts and docstrings in `bin/` still name a file of the release by its place under `~/.claude`, such as `~/.claude/CLAUDE.md` and `~/.claude/rules/todo-items.md`, beside those that name a tool. They go wrong once the loop runs from a clone; no item names them yet.
Item 480 moved every folder the code resolves into `bin/loop_state/paths.py` and left the prose alone. So about 53 lines of help text, prompts and docstrings in `bin/` still name a file of the release that is no tool by its place under `~/.claude`, such as `~/.claude/CLAUDE.md` and `~/.claude/rules/todo-items.md`. They go wrong once the loop runs from a clone. This item's tagline doesn't cover them, and no other item does: whether they join this item or get one of their own is lilleman's call.
Touches: