You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address greybeard review: accurate docs, seeded task visibility, drop the string task shape
- docs/TUI.md: the subscribeChrome paragraph claimed making it required fixed
an observed break; the production caller always passed it, so restate this
as closing a shape that could have type-checked while omitted, not a fix
for something that broke.
- docs/TUI.md: the collapse-order paragraph conflated two mechanisms.
COLLAPSE_ORDER/collapseOnce governs what collapse takes from zones ahead of
prompt; PROMPT_CAP_FRACTION independently bounds the prompt's own requested
height before collapse ever runs. Name both and what each guarantees.
- shell.ts defaultVisibility: seed task: 0 alongside agents: 0, so the
adjacent comment about avoiding a needless first relayout is true for both
row-count fields it now describes.
- chrome-state.ts: delete the string member of ChromeLiveState['task'] and
formatTasksPanel's string branch. chromeFromSession never produces a
string, so the only callers left were its own tests — a back-compat
surface for callers this repo owns, which AGENTS.md forbids. Updated
demo.ts and the tests that exercised the string shape accordingly.
- Reworded 'session-persisted' to 'shell-lifetime, in memory, nothing
written to storage' everywhere it appeared (docs, comments, a test title)
— that is the actual design, the phrasing just claimed durability it
doesn't have.
- geometry.test.ts: corrected a test comment that attributed the short-
terminal invariant solely to collapse order; across most of the tested
range it actually holds via PROMPT_CAP_FRACTION capping the requested
prompt before collapse runs at all.
0 commit comments