Repository navigation
docs(tui): the workbench's parity inventory and acceptance record; reshot pickers - #1349
Merged
Merged
Conversation
The three picker images were captured from a binary built before this work was
rebased, and the merged tip carries `fix(tui): address every frame row
absolutely instead of advancing with a line feed` — the very path that writes a
frame. The pictures were therefore of a build that no longer exists, which is
not what a screenshot is for.
Re-captured all three from the current HEAD binary in a real tmux pane measured
at 120x38 (`#{pane_width}x#{pane_height}`), each row chosen with a real SGR
click (`tools/click.py`) and the menu reopened afterwards so the shot shows the
clicked value ticked: `/model` → `future/glm-5.3`, `/theme` → Dracula, `/sessions`
→ 会话总管每日巡检简报. They are also rendered without a title strip now, the
same framing as the accepted `workbench-120x38.png` and the panel shots
(1112x792 for 120x38) instead of the 1112x820 the title bar produced.
The frames were measured, not assumed: a bare frame's header hairline is exactly
120 cells, and every row of each picker box closes at column 98 — the column a
76-wide box centred in a 120-wide frame produces, which no other width gives.
…ce record `future tui` is the workbench, so the documents that described a plan now have to describe the thing. This adds the four documents the plan promised (parity inventory, ordered change list — both bilingual) plus the requirement-by-requirement acceptance record, measured against `ba916d63e`. What the measurements changed: * The flag story is settled and documented as such: `future tui` starts the workbench and `--layout` / `--legacy` / `--classic` do not exist (`help.rs:96` pins their absence). The earlier plan's "`--layout workbench|inline`, default workbench" is recorded as obsolete rather than quietly dropped, because reintroducing a renderer switch is the failure mode that decision closed. * Four P0 defects found by driving the live surface, each with a landing point and a test: the divider drag moves the rail opposite the pointer (measured 36 -> 42 on a rightward drag), five palette entries answer `Unknown command` (`/workspace /usage /skills /export /transcript`), the git branch never reaches the header (`branch: String::new()`), and the first frame can be composed for a stale height (one instance painted it a row high and repaired it on the next redraw). * Deleting the inline UI removed screens, not just pixels: `/sandbox`, `/worktree`, `/keymap`, `/copy` and the external editor have no workbench surface. Two of those were parity rows where FutureOS was ahead. * The landed pieces are recorded with their evidence: SGR 1006 end to end, five panels over real stores, whole-piece degradation, absolute row addressing, and one picker behind `/model`, `/theme` and `/sessions` with six palettes. Screens: nineteen frames. Sixteen come from one live session against an isolated agent (private FUTURE_HOME, fresh port, one real session's rows copied, no credentials) at 120x38 / 90x24 / 60x20 — launchpad, both overlays, the light palette, the narrow full-screen panel, and two that exist only to show a defect; three are the repository's deterministic `capture.py tui` picker frames. `tui/scripts/shot.sh` reproduces the live ones and re-derives `workbench-panel-usage.png` byte for byte.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
The workbench work that landed through the last few PRs finally gets its paper trail: a parity inventory that maps the design spec onto what the shipped terminal actually does, a change list, and an acceptance record that says which behaviours were checked and how. The workbench screenshots are re-shot from the frame writer the binary now uses, so the images in the guides show the current layout instead of the sketch the earlier captures were taken from, and
tui/scripts/shot.shis the script that regenerates them.Commits
Verification
Run on the frozen tip (
d9744c776):make check-docs— 327 docs checked; placement, bilingual pairing, local/wiki links, script paths and fences OK; 0 pairs pending bilingualization; provider matrix matches the code (13 rows)bash -n tui/scripts/shot.sh— syntax OKNo Rust source changed in this branch, so no compile or test class was run; the named checks are the whole gate this diff touches.
Notes
docs/tui/assetswas regenerated by the shipped frame writer rather than re-drawn by hand, which is why several existing PNGs change size in this diff.tui/scripts/shot.sh.