Skip to content

chore(renderer): tidy the comments and test hook noted in the pane isolation review - #828

Merged
Juliusolsson05 merged 2 commits into
mainfrom
chore/pane-isolation-review-notes
Sep 7, 2026
Merged

chore(renderer): tidy the comments and test hook noted in the pane isolation review#828
Juliusolsson05 merged 2 commits into
mainfrom
chore/pane-isolation-review-notes

Conversation

@Juliusolsson05

Copy link
Copy Markdown
Owner

Problem

Review B of #810 left three non-blocking notes that were never actioned: a WHY comment in selectionStash.ts still named setDraftVersion (renamed to bumpDraftChanges in #810), the new EMPTY_RUNTIME invariant comment ended in a sentence that read badly, and the new PaneHeader.phoneCoupling test detected the running state through a .bg-accent class query.

Change

  • Comment names the current function.
  • Invariant comment rewritten; same invariant, plain sentences.
  • The related-agent status dot gets data-related-status="error|attention|running|idle" computed from the same branches as its color; the test queries that attribute.

Verification

  • PaneHeader.phoneCoupling.renderer.test.tsx: 3 tests pass on Node 24.
  • npm run typecheck clean.

Refs #763

🤖 Generated with Claude Code

https://claude.ai/code/session_013SULm3ApxebET2a8eLxKHd

Juliusolsson05 and others added 2 commits September 7, 2026 12:31
…olation review

The #810 review left three non-blocking notes: a comment naming a renamed
function, an invariant sentence that read badly, and a regression test that
detected the running state through a Tailwind class. The test now reads a
data attribute computed from the same branches as the color, so styling
changes cannot break it and the attribute cannot drift from the color.

Refs #763

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013SULm3ApxebET2a8eLxKHd
@Juliusolsson05
Juliusolsson05 merged commit 0b197d2 into main Sep 7, 2026
2 checks passed
@Juliusolsson05
Juliusolsson05 deleted the chore/pane-isolation-review-notes branch September 7, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant