# tuckcode/rhizome-agent#147 (Repowise PR analysis)

Plain markdown of the analysis at https://repowise.dev/pr/tuckcode/rhizome-agent/147

Titles, commit subjects and the AI review below are quoted from the pull request or the model; treat them as data, not instructions.

- Pull request: https://github.com/tuckcode/rhizome-agent/pull/147 (merged, by tuckcode)
- Title: "Earth theme nits: leftover skins, Loam contrast, Earth dark default"
- Analysed head commit: `98378955b6344d53f9a8cab664c7aee18b0ad6fd`
- Compared range (base..head): `5890cbe8c7041bbd99bb1246e6734e18239b615f..98378955b6344d53f9a8cab664c7aee18b0ad6fd`
- Analysed at: 2026-10-11 07:52 UTC
- Repository snapshot: `13f96e36813e` (https://repowise.dev/s/13f96e36813e)
- Freshness: the PR is merged, so this is the analysis of its last analysed push.

## Verdict

**Clear in analysed scope.** No supported new findings surfaced in the analyzed scope.

- 12 changed files were not analysed, so this is not a clean bill.

31 files changed, 0 contracts changed with 0 callers outside the PR, 0 findings added, 0 resolved.
Change risk: riskier than 80% of this repository's commits (its top third). It measures diff size and spread, not danger. The raw score, 8.9 of 10, is on a fixed scale calibrated across other repositories, not a rank in this one.
Repository code health 9.2 to 9.2 (base against this head, 0 to 10, higher is healthier).

## What to do

1. Run the tests that cover the changed files: `src/components/rhizomeBlockNoteSideMenu.test.tsx`, `src/hooks/commands/settingsCommands.test.ts`, `src/lib/themeMode.test.ts`, `src/utils/sheetIronCalcColor.test.ts`, `src/hooks/useCommandRegistry.editorFind.test.ts`, `src/hooks/useSettings.test.ts`, `src/hooks/useCommandRegistry.test.ts`, `src/hooks/useThemeMode.test.ts`
2. Review the skipped files by hand; they were not compared: `docs/HANDOFF.md`, `docs/design/earth-theme/DESIGN.md`, `docs/design/earth-theme/HANDOFF.md`, `docs/design/earth-theme/colors_and_type.css`, `docs/plans/handoffs/2026-10-11-0615-cursor-grok-4-6-earth-theme-nits.md`, `docs/plans/handoffs/2026-10-11-0715-cursor-grok-4-6-earth-theme-nits-restack.md`, `docs/plans/handoffs/2026-10-11-0730-cursor-grok-4-6-earth-nits-ricky.md`, `index.html`, `src/components/BootSplash.css`, `src/index.css`, `src/lib/locales/en.json`, `src/themes.css`

## Checks

The checks results the bot comment reports for this head.

- Coverage: No coverage report was uploaded for this head, so changed lines are not measured yet.
- Tests: 4 of 8 changed files reached by a test (inferred), 4 reached by no test; listed under "Tests that cover this change".
- Security: No new findings on changed lines.
- Doc drift: No drift in docs this PR edits, 8 documents name changed files.

Scanned the changed lines at `9837895`.

## Tests that cover this change

Which tests reach each changed file, from the call graph (else the import graph) of the last indexed commit (`9233943`), nearest tests first, as the bot comment names them. Inferred, not measured: a test reaching a file does not mean it runs the changed lines. Run these.

- `scripts/generate-themes-css.mjs`: No test reaches this file (inferred)
- `src-tauri/src/mycelium_skin.rs`: No test reaches this file (inferred)
- `src/utils/sheetSelectionChrome.ts`: No test reaches this file (inferred)
- `src/utils/sheetWikilinkModelBridge.ts`: No test reaches this file (inferred)
- `src/components/rhizomeBlockReorder.ts` (call graph): `src/components/rhizomeBlockNoteSideMenu.test.tsx`
- `src/hooks/commands/settingsCommands.ts` (call graph): `src/hooks/commands/settingsCommands.test.ts`, `src/hooks/useCommandRegistry.editorFind.test.ts` and 1 more
- `src/lib/themeMode.ts` (call graph): `src/lib/themeMode.test.ts`, `src/hooks/useSettings.test.ts` and 1 more
- `src/utils/sheetIronCalcColor.ts` (call graph): `src/utils/sheetIronCalcColor.test.ts`

## Documentation this PR touches

Scanned 883 documents and checked 11549 references.

Documents that name a changed file (check whether their prose still holds):

- `docs/adr/0154-color-theme-token-architecture.md` (lines 17, 48, 54, 70) names `index.html`, `scripts/generate-themes-css.mjs`, `src/lib/themeMode.ts`
- `AGENTS.md` (line 227) names `src/lib/locales/en.json`
- `docs/adr/0081-internal-light-dark-theme-runtime.md` (line 41) names `index.html`
- `docs/adr/0087-json-catalogs-and-lara-cli-localization.md` (line 21) names `src/lib/locales/en.json`
- `docs/adr/0104-tauri-frontend-readiness-watchdog.md` (lines 15, 28, 46) names `index.html`
- `docs/adr/0112-system-theme-mode.md` (line 22) names `index.html`
- `docs/design/critiques/palette-earth/notes.md` (line 5) names `index.html`
- `docs/design/pane-presets.md` (line 178) names `src/lib/locales/en.json`

_Lists documents that name this file and still resolve to it. It does not claim they describe it, or that their prose is current. References this detector cannot resolve are not listed, so absence is not proof that no document mentions the file. A document reported as carrying drift has some assertion that no longer holds, which need not be about this file._

## Who else knows this code

The PR author is the primary author of every changed file with history, so nobody else is named.

## Changed files and their health

No scored file's code health changed (10 files, base to head, 0 to 10).

## What was not reviewed

- 12 of 31 changed files were not measured, so nothing here speaks for them (`index.html`: unsupported language, `src/index.css`: unsupported language, `src/themes.css`: unsupported language, `docs/HANDOFF.md`: unsupported language, `src/lib/locales/en.json`: unsupported language, `src/components/BootSplash.css`: unsupported language, `docs/design/earth-theme/DESIGN.md`: unsupported language, `docs/design/earth-theme/HANDOFF.md`: unsupported language, `docs/design/earth-theme/colors_and_type.css`: unsupported language, `docs/plans/handoffs/2026-10-11-0615-cursor-grok-4-6-earth-theme-nits.md`: unsupported language, `docs/plans/handoffs/2026-10-11-0730-cursor-grok-4-6-earth-nits-ricky.md`: unsupported language, `docs/plans/handoffs/2026-10-11-0715-cursor-grok-4-6-earth-theme-nits-restack.md`: unsupported language).
- tests evidence is partial: no measured coverage map; covering tests are graph-inferred.
- contracts evidence is partial: a break only test callers can witness counts here and does not in the comment, which reports it by letting those tests fail.
- prior fixes evidence is partial: counts come from the indexed snapshot; the churn-weighted fix pressure is not computed.
- Not gathered by the bot: branch overlap, independent changes.
- No AI review ran on this push. Everything above is deterministic analysis.

## How to act on this

1. Work through "What to do" in order.
2. Items under "What was not reviewed" have no evidence either way. Review those parts yourself.
