Goal
Rewrite the session right-side detail panel in smaller steps that can be measured and reverted independently.
Scope
In scope (remaining):
- File chip expanded view / Files tab body rewrite (beyond inactive-tab unmount).
- Terminal panel lifecycle boundaries (mount/measure/scroll on toggle).
- Session review surface lifecycle boundaries.
- Area B audit / checklist closeout: mark which slices are done, which are dropped.
Dropped from scope:
- Tool output detail view. Never implemented in the right panel; tool calls expand inline in the message flow and the right panel intentionally does not duplicate them. Recorded here so future readers don't reopen it.
Out of scope:
Delivered so far
Relevant files or context
Parent: #599
Audit: docs/research/2026-05-23-area-b-right-panel-audit.md (landed).
File set under active review:
packages/ui/src/components/file.tsx
packages/app/src/components/terminal.tsx
packages/ui/src/components/session-review.tsx
packages/app/src/pages/session/session-side-panel.tsx
packages/app/src/pages/session/file-tabs.tsx
packages/app/src/pages/session/terminal-panel.tsx
packages/app/src/components/file-tree.tsx
packages/app/src/components/session/session-context-tab.tsx
packages/app/src/pages/session/use-session-review-state.ts
Constraints:
- Same PR0 gate and soft file-size rule as other areas.
- No regression of already-delivered surfaces.
Verification
Execution mode
Agent should investigate and propose a plan first.
Goal
Rewrite the session right-side detail panel in smaller steps that can be measured and reverted independently.
Scope
In scope (remaining):
Dropped from scope:
Out of scope:
Delivered so far
Relevant files or context
Parent: #599
Audit:
docs/research/2026-05-23-area-b-right-panel-audit.md(landed).File set under active review:
packages/ui/src/components/file.tsxpackages/app/src/components/terminal.tsxpackages/ui/src/components/session-review.tsxpackages/app/src/pages/session/session-side-panel.tsxpackages/app/src/pages/session/file-tabs.tsxpackages/app/src/pages/session/terminal-panel.tsxpackages/app/src/components/file-tree.tsxpackages/app/src/components/session/session-context-tab.tsxpackages/app/src/pages/session/use-session-review-state.tsConstraints:
Verification
docs/design/session-view-w1-manual-checklist.mdpasses for right-panel flows.Execution mode
Agent should investigate and propose a plan first.