Repository navigation
docs/handbook.html: the designed reading of the README as one static page (#69) - #71
Conversation
…page (#69) Brett Heap, 2026-09-06: "is that a static page? if so, put that in the repo so I can load it and look at it without logging a browser in to my claude acct" — about the handbook this lane published as a private Claude artifact. One self-contained HTML document: doctype, lang, charset, viewport, the title, one Google Fonts link with real fallback stacks, inline CSS and one inline script; no images, no other network calls. Opens from a checkout over file:// in light or dark. It is a READING of README.md at c093813 — header with the fastest path and a diagram of the three legs and their pins, the "confers nothing" rule, a platform switcher for Linux, macOS, Windows natively and Windows via WSL2 with the numbered steps and the consent rules, if it fails part-way, private legs in CI, the doctrine sections as summaries linking to the README's headings, the layout list, the rules for AI assistants. Every command was diffed against README.md and AGENTS.md: 40 of 42 byte-identical, the other two line-wrapped in the README. README.md stays the source the caps and parity tests hold to; whether a README line points here, and whether this is regenerated or retired when the README changes, is a later decision. Lane: xfactory-2 (xFactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
@codex review |
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 1 day and 15 hours by commenting @sourcery-ai review. Upgrade to get a review now.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Reviewer's GuideAdds docs/handbook.html as a locally openable, static reading of README.md at commit c093813, with responsive styling, dark-mode support, platform-specific setup tabs, inline documentation visuals, and links back to the source README. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 Changes recommended
The platform switcher hides non-Linux panels by default, making macOS/Windows/WSL2 instructions inaccessible when JavaScript is unavailable, which is fixable with small HTML/JS adjustments.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a self-contained, offline-openable documentation artifact (docs/handbook.html) that presents a newcomer-oriented “designed reading” of the repository’s README/AGENTS guidance as a single static web page.
Changes:
- Introduces a single-file HTML handbook with inline CSS and a small inline script for platform-specific setup tabs.
- Provides locally renderable docs (usable from a checkout via
file://) while keepingREADME.mdas the authoritative source.
File summaries
| File | Description |
|---|---|
| docs/handbook.html | New static handbook page with layout/typography styling and a JS-powered platform switcher for setup instructions. |
Review details
Suppressed comments (2)
docs/handbook.html:768
- All non-Linux platform panels are marked
hidden, so if JavaScript is disabled (or blocked underfile://policies), readers can’t access macOS/Windows/WSL2 instructions at all. Prefer making panels visible by default and letting the script hide non-selected panels when JS is available.
<!-- WINDOWS -->
<div class="panel" role="tabpanel" id="panel-windows" aria-labelledby="tab-windows" tabindex="0" hidden>
<div class="stack">
docs/handbook.html:859
- All non-Linux platform panels are marked
hidden, so if JavaScript is disabled (or blocked underfile://policies), readers can’t access macOS/Windows/WSL2 instructions at all. Prefer making panels visible by default and letting the script hide non-selected panels when JS is available.
<!-- WSL2 -->
<div class="panel" role="tabpanel" id="panel-wsl" aria-labelledby="tab-wsl" tabindex="0" hidden>
<div class="stack">
- Files reviewed: 1/1 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| <!-- MACOS --> | ||
| <div class="panel" role="tabpanel" id="panel-macos" aria-labelledby="tab-macos" tabindex="0" hidden> | ||
| <div class="stack"> |
There was a problem hiding this comment.
Taken, in 6cf7f1c: no hidden is baked into the HTML any more, so all four platforms render without JavaScript, and the script now calls select() once on load with the detected platform (falling back to the first tab), so the single-platform view and aria-selected are applied consistently before any interaction.
Lane: xfactory-2 (xFactory-2)
| }); | ||
| if (moveFocus) { tab.focus(); } | ||
| } | ||
|
|
||
| tabs.forEach(function (tab, i) { |
There was a problem hiding this comment.
Taken, in 6cf7f1c: no hidden is baked into the HTML any more, so all four platforms render without JavaScript, and the script now calls select() once on load with the detected platform (falling back to the first tab), so the single-platform view and aria-selected are applied consistently before any interaction.
Lane: xfactory-2 (xFactory-2)
SonarCloud failed PR #71 on new duplicated lines (3.7% against the 3% gate): the four platform panels each carried the same numbered steps and the same code blocks. The shared steps now live in one list under the switcher, with the platform-specific lines tagged data-platform and toggled by the same script through the hidden attribute; the counter skips hidden items, so every platform still numbers its own steps. No visible text or command changed for any platform. Also the three minor findings: includes() over indexOf() twice, find() over filter()[0]. 79 KB from 82; zero repeated ten-line windows. Lane: xfactory-2 (xFactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
Documentation-only change with no impact on shipped code paths; the only noted concern is an optional improvement around external font loading.
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
| <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;800&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap"> | ||
| <style> | ||
| :root { color-scheme: light dark; } | ||
| body { margin: 0; } | ||
| img { max-width: 100%; } | ||
| [hidden] { display: none !important; } | ||
| </style> | ||
| <style> | ||
| :root { | ||
| --bg: #F3F5F2; | ||
| --surface: #FFFFFF; | ||
| --ink: #1B2A2F; | ||
| --muted: #6B7A80; | ||
| --rule: #D5DBD8; | ||
| --accent: #0F6E56; | ||
| --accent-ink: #FFFFFF; | ||
| --warn: #B5541C; | ||
| --code-bg: #E9EEEB; | ||
| --display: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| --body: "Source Serif 4", Georgia, "Times New Roman", Times, serif; | ||
| --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
There was a problem hiding this comment.
Kept, deliberately. The link is a stylesheet only: blocked or offline, the page renders on the declared fallback stacks (system sans, serif and mono) and loses nothing but the chosen faces; nothing else on the page reaches the network. The trade is the typographic identity against one optional request, and for a documentation page that identity is the point of the file. If the estate wants repo-contained pages to be strictly offline, that is a rule to write once and apply here, not a per-page call.
Lane: xfactory-2 (xFactory-2)
…ript picks one on load (Copilot on #71) Copilot's two related findings on PR #71: the non-Linux panels and the per-platform lines inside the shared steps carried `hidden` in the HTML itself, so a reader with JavaScript disabled or blocked under file:// saw Linux only; and the script applied the selection only when detection chose a non-Linux platform. No `hidden` is baked in any more — all four platforms render without script — and the script now calls select() once on load with the detected platform, falling back to the first tab, so aria-selected and the hidden state are set consistently before any interaction. No visible text or command changed. The Google Fonts link stays, deliberately: blocked or offline, the page renders on its fallback stacks. Lane: xfactory-2 (xFactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
There was a problem hiding this comment.
🟢 Approval recommended
The change is isolated to a new docs-only HTML file and prior review concerns (no-JS accessibility and initialization) are addressed with no remaining verified issues.
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0 new
- Review effort level: Lite
… the assembly-root README template said four; a hygiene test now ties every count to the policy (#87) (#88) #87: found while landing #86 (the sixth form, `workspace` = `<user>-wip`). Three places quoted the naming-families count in prose and none of them agreed with `contracts/repository-naming.yaml`, or with each other. docs/handbook.html (the designed one-page reading of the README, #69/#71): - "The three legs" section, the families sentence: "five" -> "six", and the sentence now names the sixth form the same way it names the other five — "`<user>-wip`, the person's workspace repository, unambiguous by construction" — appended after "family holders" (the README's own Layout block, lines ~509-517, is the wording source). - The Layout reference table: "the four naming families, as data" -> "the six naming families, as data" (matches the README's own Layout block, line 1188). - Dropped the `<p class="aside">` note saying the README's line reads "the four naming families" against a naming section that counts five — both halves are now false (the README says six in both places), so there is nothing left for the aside to explain. The page has no changelog/"what changed" block, so none was invented for the still-pending Families workstation layout / "Carrying in-flight work" / park and resume sections #87 calls out — those stay a separate, larger regeneration, not this object. - `<dt>`/`</dt>` balance unchanged (23/23 before and after); `<p>`/`</p>` count moved from 148/113 to 147/112, the same 35-open-without-close offset the file already carried, since the removed aside was one closed `<p>...</p>` pair. Fed the file through `html.parser.HTMLParser` with no exception. templates/assembly-root/README.md, line 150: "the four naming families (copied from the shape)" -> "the six naming families (copied from the shape)". THIS FILE IS TEMPLATED: its bytes are materialized into every newly scaffolded project's own README.md, so this fix reaches NEW projects only — an existing project's README is project-owned and is not re-synced by `update-shape.py`. `templates/family-root/README.md` carries no "naming families" sentence at all (checked; nothing to fix there). tests/test_repo_hygiene.py gains `test_every_naming_families_count_matches_the_policy`: loads `contracts/repository-naming.yaml` through `scripts/repo_shape.py`'s own `NamingPolicy.load()` (the same top-level `families` list `validate-repository-naming.py --explain` counts and that `test_naming_policy.py` parametrizes over as `FAMILY_IDS` — `project-leg`'s three `roles:` sub-entries nest one level deeper and are not counted again), maps the count to its spelled word for a small range (one..ten), then walks every `git ls-files`-tracked `.md`/`.html` file tree-wide, in `test_no_committed_file_names_a_host_absolute_path`'s style (a decode failure is skipped, not failed), asserting every `(\w+) naming families` match spells that word. Grepping the tree once while writing it found the phrase in exactly three of the repository's eighteen tracked `.md`/`.html` files — README.md, docs/handbook.html, templates/assembly-root/README.md — all three fixed above; templates/family-root/README.md has none today but is still walked, so a copy landing there later is caught the same way with no test change required. Confirmed red on origin/main's content: stashed just the two doc fixes (`git stash push -- docs/handbook.html templates/assembly-root/README.md`) with the new test in place, and it failed — `{'docs/handbook.html': ['five', 'four', 'four'], 'templates/assembly- root/README.md': ['four']}` — against the policy's six; popped the stash and it passed. README.md and AGENTS.md are untouched — their line-count caps in this same test file (1219 and 374 respectively) still hold exactly, so neither cap needed moving. docs/handbook.html carries no line-count cap in this suite. 45 passed (tests/test_repo_hygiene.py); 888 passed, 1 skipped for the full suite (`python3 -m pytest tests -q`). Lane: xfactory-2 (xFactory-2) Co-authored-by: Claude Fable 5.1 <[email protected]>
…he family workstation layout, --family, park/resume and the user commands, the workspace form; a guard that the page follows the README's outline (#89) (#90) * docs/handbook.html: the designed reading of the README at cbca5b4 — the family workstation layout, --family, park/resume and the user commands, the workspace form; a guard that the page follows the README's outline (#89) The page was cut from README.md at `c093813` (#69, PR #71) and #88 fixed one word in it. Everything the README gained in between was missing, so the designed page told a newcomer less than the file it is a reading of. This is the regeneration, at `cbca5b4`, in the page's own design and voice. WHAT THE PAGE GAINED - `#park`, a new section between "Keeping shape current" and "The degrade rule" — the whole of `## Carrying in-flight work to another workstation` (#80): the two root verbs and `ARGS=--dry-run`; `### park <Name>` and `resume <Name>`, from anywhere (#83) with the estate resolution, `--repo`, the fresh-machine `resume --workspace`, and what the two leave behind (including READ THE LINES, not the exit code); `### Who implements it, and what the record is` — the Speckit git extension rather than this repository, the person's record named once in `~/.agents/workspace.yaml`, `<user>-wip` with the home-org default and the opt-in `orgs:` map (#86), nothing under `worktrees/` ever committed, `resume` refusing on divergence, the family holder's dispatch into the WORKING clones, and native Windows parking nothing. One rail entry, `Park and resume`. - `#families` gained two `<h3>`s: "The workstation layout: a plain folder, and two copies of every member" (#79) — the plain `<Family>/`, the holder at `<Family>/<Family>`, `--into` as the PARENT and `--work-dir` as the override, `make siblings`, which copy you work in, and that nothing ever moves a checkout — and "The InkRouter example", whose five `family.py` commands and two trees are the README's current ones (the block it replaced still named `../InkRouter` as the holder). Plus the holder's own `make validate` and its COPY pin. - `#start` gained "Joining a family" (`--family <Family>`, and that standing in the folder needs no flag at all — AGENTS.md) and "What setup.sh actually runs", the seven-command flow including `mkdir -p <into>/<Family>` (#78), with the developer path from a checkout. The install step and the masthead's fastest path now say THREE commands, `unchanged` per file, and what `park` and `resume` are (#83). The rehearsal flag's Windows spelling is the README's own `py setup-project.py … --local-remote-dir .\rehearsal` (#70), replacing an aside that told the reader to go and read `--help`. - `#legs` links `<user>-wip` to where such a repository lives, and gained the paragraph a reader of `openDox` needs: a neutral product may elect the shape and be its own assembly root, `also_matches` recorded rather than thrown away. `#layout` lists `park` and `resume`. `#agents` gained the rule that a refused `park` or `resume` is never worked around with a reset, a stash or a force-push, and that `--workspace` is nobody else's flag to pass. FIDELITY. 39 code blocks on the page: 31 byte-identical to a README block (whole, or a contiguous run of its lines), 0 re-wrapped, 5 quoted from README prose, 2 from README inline code, 1 assembled by the page from three quoted commands (the masthead). Every one of the 13 GitHub anchors resolves to a real README or AGENTS.md heading, all 27 in-page hrefs resolve to an id on the page, and the file still parses with `html.parser` with every tag balanced: one file, inline CSS and one inline script, one Google Fonts link with real fallback stacks, no images and no other network call. THE GUARD. `tests/test_repo_hygiene.py::test_the_handbook_follows_the_readmes_outline` ties the two files together, because nothing did: an explicit `README_HEADING_TO_HANDBOOK_ID` maps every `## ` heading of README.md to the id of the page element that carries it, so a new README section with no entry fails NAMING THE HEADING and a heading deliberately folded into a neighbour is a named decision; `HANDBOOK_SECTION_WITHOUT_A_README_H2` accounts for the four page sections that are not a README `## ` at all, so a page section cannot become unexplained. And the page names the README commit it is a reading of, exactly once, whose README must be byte-identical to the one in the tree — `git diff <sha> -- README.md`, against the working tree, so the page goes stale the moment the README changes rather than one commit later. That last check is skipped, and only that one, when the named commit is not in the clone: a `fetch-depth: 1` CI checkout has one commit and the object is absent there, while the outline checks are tree-only and run everywhere. Evidence: `python3 -m pytest tests/test_repo_hygiene.py -q` 46 passed; `python3 -m pytest tests -q` 889 passed, 1 skipped (`SHAPE_MEDXEHR_CLONE` is unset — pre-existing and unrelated). The five ways the new guard can fail were each exercised in a throwaway clone. Docs and one test only; no README, script, template or workflow change, and both size caps are untouched. Lane: xfactory-2 (xFactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * tests.yml: fetch full history so the handbook's staleness check bites in CI (#89) Ruled by Brett Heap on 2026-09-10: *set fetch-depth 0 so the staleness check bites in CI.* `test_the_handbook_follows_the_readmes_outline` compares README.md against the commit `docs/handbook.html` says it is a reading of, which needs that commit's OBJECT present. `actions/checkout`'s default `fetch-depth: 1` fetches one commit, so the object was absent and that one check skipped itself: green in CI, red only on the machine where the page would be regenerated, which is the wrong way round. All three jobs — `tests`, `tests-windows`, `tests-macos`, the only three `actions/checkout` steps in the file — now check out with `fetch-depth: 0`, and each says why in a comment naming the test. The test's BEHAVIOUR is unchanged: the "skipped when the named commit is not in this clone" branch stays, because a `git clone --depth 1` still hits it and a failure about the clone is not a failure about the page. Only its docstring moves, to say that CI is no longer such a clone. Evidence: `python3 -m pytest tests/test_repo_hygiene.py -q` 46 passed (with tests/test_windows_paths.py, 84 passed). The workflow parses under PyYAML and compares equal to HEAD's parse with the three checkout `with:` blocks removed — nothing else in the file moved. No actionlint on this machine; CI's own actionlint step lints `templates/assembly-root/.github/workflows/validate.yml` only, which is untouched. Lane: xfactory-2 (xFactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
… continuing past a refusal; resume keeps the refusal; the handbook guard names the README by blob hash (#91) (#93) * park: with no estate around you it parks every estate, in name order, continuing past a refusal; resume keeps the refusal (#91) Brett Heap's RULING, 2026-09-10, verbatim: "for the park-all, lets make that be park with no estate option. so just park will do park-all." This SUPERSEDES ruling 3 of #82 ("with no <Name> and no estate around the cwd this REFUSES and lists what it found") for that one case only: `park <Name>`, `park --repo`, and the walk-up inside an estate — NEAREST STILL WINS, so standing inside an estate parks that estate, never the whole workstation — are exactly as they were. `resume`'s own bare form keeps ruling 3's refusal deliberately: rebuilding every estate this machine has a record of, by accident, is the opposite risk from `park` failing to park the one you meant, and #91 names `park` only. THE MECHANISM. The single-estate procedure — check the Makefile, build `ARGS`, print the banner, run `make park`, print what did not carry, print the outcome line — is factored out of the resolve-and-run tail into `run_one_estate`, which RETURNS a status instead of exiting; the single-estate call site (`park <Name>`, `park --repo`, bare `park` inside an estate) turns that return straight into its own exit code, so a named run behaves exactly as it always did. A new `refuse` helper is the print half of `die` without the `exit`, so a park-everything run can report one estate's "no Makefile" refusal and carry on to the next; `die` is now `refuse` plus the exit, so the two can never print differently by accident. `all_estate_dirs` discovers every estate under the projects directory with the SAME rules the refusal's own listing already used — a family folder (`<X>/<X>/family.yaml`) or a standalone root (`<X>/project.yaml`), one level under `$PROJECTS_DIR` or both `~/projects`/`~/Projects` — which is what already excludes a pinned `members/<X>` copy (three levels down) and a linked feature worktree (`is_project_root` itself refuses one). It sorts by NAME rather than by discovery order, so an estate under `~/projects` and one under `~/Projects` interleave alphabetically instead of one spelling's estates printing entirely before the other's. `park_every_estate` prints the list first (`park: no estate around <cwd>; parking every estate under <dir>:`, then the same rows the old refusal printed), then runs `run_one_estate` for each discovered estate in name order under an `=== park <Name> ===` header, CONTINUING PAST A REFUSAL OR A NON-ZERO `make park` rather than stopping at the first one. A skip is not a pass (#80's rule): an estate whose own `make park` exited 0 but still left something behind ($LEFT > 0) counts against the overall result exactly as a refused one does. The run ends with one summary line per estate (`parked`, `refused (exit N)`, or `findings (N thing(s) not carried)`) and `park: N estate(s) parked, M refused or with findings`; it exits 0 only when every estate ran clean, else 1. `--dry-run`, `--lane` and `-- ARGS` are read once per estate inside `run_one_estate`, so they reach all of them. With NO estates anywhere, the old ruling-3 refusal and its `(none)` listing are untouched, and it still exits 2 — there is no "every estate" to park-all there, so this is not this object's case to change. `resume` is UNCHANGED behaviourally: bare `resume` with no `<Name>` and no estate around the cwd still refuses. Its header gains a note saying so deliberately and why, so a reader of one file is not left wondering why the sibling command diverged. The shared estate resolver block — `# --- BEGIN`/`# --- END shared estate resolver` — is untouched byte for byte in both files; every addition here is either above it (the header comment, the `refuse` helper) or below it (`require_make`, `run_one_estate`, `all_estate_dirs`, `park_every_estate`, the resolve `else` branch). `test_the_two_commands_carry_the_same_resolver_ byte_for_byte` stays green. Docs: `park --help`'s "With no <Name>" paragraph, the README's "How the estate is found" paragraph, and AGENTS.md point 5's opening sentence all say the same new thing — park-everything for `park`, the kept refusal for `resume` — rather than one going stale next to the other. Caps move with dated entries, in each function's own style: AGENTS.md 374 -> 381, README.md 1219 -> 1225. Tests, `tests/test_park_resume_commands.py`: the old `test_no_name_and_no_estate_refuses_and_lists_what_it_found` becomes four park-everything tests — two estates (one family, one standalone) parked in name order with the list printed first; one estate's `make park` exiting non-zero reported while the other still parks, overall exit 1; the walk-up still winning inside an estate, asserting the OTHER estate's stub never ran; and `--dry-run`/`--lane`/`-- ARGS` reaching every estate. The existing `test_no_name_and_no_estates_at_all_says_none` (exit 2, "(none)") and `test_resume_with_no_name_and_no_estate_refuses` (resume unchanged) are untouched, and both still pass. `python3 -m pytest tests/test_park_resume_commands.py tests/test_repo_hygiene.py -q`: 122 passed. Full suite, `python3 -m pytest tests -q`: 891 passed, 1 skipped. `bash -n` clean on both files; `shellcheck` (docker koalaman/shellcheck:stable) clean on both, no new suppressions. Lane: xfactory-2 (xFactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * The handbook names the README it was cut from by BLOB HASH, so the guard needs no history and squash-merges cannot orphan it; the page's park paragraph follows #91 (#91) THE FLAW. #90 (5777ca8) landed `test_the_handbook_follows_the_readmes_outline`'s check (4) as `git diff <sha> -- README.md` against the commit the footer named, and #91's own README edit was about to turn that red in CI the moment it merged with main. Worse than one red check: every PR in this repository SQUASH-MERGES, so the README commit a feature branch names in the footer never exists on main under that sha at all — it survives only as long as the remote branch does, and once the branch is deleted the object is gone even locally. The check needed `fetch-depth: 0` just to have a chance of seeing that commit in CI, and even then it was diffing against something a squash-merge workflow does not keep. `git merge --no-ff origin/main` (merge commit 2c10faf) brings #90 in first, with no conflicts — #90 touched docs/handbook.html, tests/test_repo_hygiene.py and .github/workflows/tests.yml only, none of which #91 had touched yet, and tests/test_repo_hygiene.py's own two cap edits (AGENTS.md 374->381, README.md 1219->1225) sit far enough from #90's pure append (the new test at EOF) that git auto-merged the file with no help. THE FIX. Check (4) now compares CONTENT, never history: the footer names `README.md blob <hash>`, and the test asserts that hash equals `git hash-object README.md` of the WORKING TREE file — no commit, no diff, no `git cat-file -e` existence probe, no skip branch for a shallow clone. Two files with identical bytes hash identically regardless of which commit either one is, or is not, on; a squash-merge cannot orphan a blob hash the way it orphans a feature-branch commit, because the blob IS the README, checked out fresh on every clone at every depth. `HANDBOOK_README_SHA` (matched `README.md at <hex>`) is now `HANDBOOK_README_BLOB` (matched `README.md blob <hex{40}>`, full-length only, so it can never pick up one of the two commit shas sitting in the prose sentence beside it). The footer keeps its history as PROSE — "First cut from README.md at c093813 (#71); regenerated at cbca5b4 (#89)" — which is not machine-checked and does not need to move for a small sync fix like this one; only the blob hash moves, to this branch's final README.md (e2598c1). The test's docstring drops the now-false claim that check (4) skips itself in a shallow clone (it never skips now, and needs no history to be exact in one) and says what changed and why, citing #91 alongside #89's original precedent. `.github/workflows/tests.yml`'s three `fetch-depth: 0` lines are UNTOUCHED per Brett Heap's instruction — they stay a generally useful default for whatever history-based check this suite grows next — only their comments change, to say the handbook's own check no longer depends on them. THE PAGE ITSELF. `docs/handbook.html`'s `#park` section's "How the estate is found" paragraph now says what README.md says as of #91: with no estate around the cwd either, `park` PARKS EVERY ESTATE it finds instead of refusing (Brett Heap's RULING of 2026-09-10, #91, superseding ruling 3 of #82 for this one case), listing what it found and running itself on each in name order, continuing past a refusal. The page's own `<span class="refuses">` callout beside it — previously "Nothing is parked by guess: ... park REFUSES" — is repurposed rather than deleted, since it is `resume`'s bare form that still genuinely refuses now: "`resume` keeps the old refusal ... rebuilding every estate on a fresh machine by accident is the opposite risk from `park` failing to park the one you meant." Same `<p>` count before and after (two), no `<section>`, `id`, or `<a class="src">` touched, so checks 1-3 and every `dt`/`dd`/`div`/`ul`/`li`/`h2`/`h3`/`h4` count on the page stay balanced — verified with a small tag-count script, not just by eye. Evidence: `python3 -m pytest tests/test_repo_hygiene.py -q` 46 passed (was red on `test_the_handbook_follows_the_readmes_outline` before this commit, on the merge alone). `python3 -m pytest tests -q`: 892 passed, 1 skipped. `python3 -c "import yaml; yaml.safe_load(open('.github/workflows/tests.yml'))"` parses clean. A throwaway corrupted blob hash was confirmed to fail the guard with a clear diff before being reverted, so the assertion is proven to bite, not just to pass. Lane: xfactory-2 (xFactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>



Lane: xfactory-2 (xFactory-2)
Claim: #69 (claim in the issue body)
Closes #69.
What this changes
docs/handbook.html: the designed reading of the README, as one static page you can open from a checkout. Brett Heap, 2026-09-06, in session: "is that a static page? if so, put that in the repo so I can load it and look at it without logging a browser in to my claude acct".lang, charset, viewport, title, one Google Fonts link with real fallback stacks, inline CSS and one inline script. No images, no other network calls, nothing that needs the artifact host. Renders in light and dark from the OS setting.README.mdatc093813, reordered for a newcomer: header with the three-command fastest path and a diagram of the three legs and their three pins; the "confers nothing" rule; a platform switcher (Linux, macOS, Windows natively, Windows via WSL2) preselected from the visitor's OS, with the numbered steps, the exact prompts and the consent rules; "if it fails part-way"; private legs in CI; the doctrine sections as tight summaries linking to the README's own headings; the layout list; the rules for AI assistants fromAGENTS.md.README.mdandAGENTS.md— 40 of 42 byte-identical; the other two are line-wrapped in the README and set on one line here. Every GitHub anchor resolves to a real heading. The two README slips it surfaced (four vs five naming families; no Windows spelling of the rehearsal flag) are fixed separately in README: the Layout block counts four naming families where there are five, and the rehearsal flag has no Windows spelling #68 / PR README: five naming families in the Layout block, and the rehearsal flag's Windows spelling (#68) #70; this page still shows the README as ofc093813and says so in its footer.To look at it: from a checkout,
wslview docs/handbook.html(WSL2) or open the file overfile://in any browser. GitHub shows HTML as source, so the web view will not render it.Open decisions, not made here: whether a README line should point at it; whether it is regenerated when the README changes or retired once the README itself carries the structure (the GitHub-native pass: contents list, callouts, a
<details>block per platform, a Mermaid diagram of the legs).Evidence
Docs only.
python3 -m pytest tests/test_repo_hygiene.py -qwith the file staged: 39 passed. Full suite unaffected (no Python, bash or template changes).No merge word yet: this PR is for looking at the file.
🤖 Generated with Claude Code
Summary by Sourcery
Add a standalone, designed handbook page that makes the repository’s README easier to read and use from a local checkout.
New Features:
Enhancements:
Documentation: