| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| |
| | |
three fold into one dim `+N ›` after the owner, fewer whole while the walk would add a row to the tag, the forward steps past two into one `› +N`, two files of the same name told apart by the shortest end of their paths, the word n walks underlined (walk UI polish P1, UX DESIGN.md D8, C3): each folded step was a `·` of its own (four cells each, nameless), the walk took the rows it wanted (05a-L, 05b-L: a reader's tag two rows at rest, so a jump moved the body), and two `x.zig` steps read alike; now Trail.foldOf names the folded steps (back: those older than the newest `whole`, never the owner; forward: those past `shown_ahead` = 2), Trail.wordIn writes the first of them as `+N` and nothing for the others (out of rest `.newest` as D1 made it), Trail.stepAt maps a click on `+N` to the step nearest the path among those it holds (a Look on `+2` goes back to the newest hidden step: the band step D8 asks for, the whole trail unrolled newest first, is not built), wordOf names a place by the shortest end of its path no other step's file shares (`core/rank.zig:2` beside `<dir>/rank.zig:12`; the same file at two lines keeps its basename), Trail.walked is the newest list or search back step (what Pick.walkList and the prompts' n walk) and draw.paintPaneTag underlines it in the box's ink (`// P2: the key role`), the fold's `+N` drawn in the forward steps' dim ink; tagline.folded is how many back steps stay whole: three, fewer down to the newest one while the walk's cells would make the tag at rest take more rows than it takes with no walk (the tag's cells, not its wrap: one line), which nameAt, forwardSpan, trailAt, onName, restPath and Prompt.unlit read (Trail.folded's constant `shown_steps` until now); seed 109 of ninep's random placements is NOT fixed by it (tried with the test under the walk: column 2 under its minimums at step 36, the newest step alone still adds a row in a column with no rows to give), so that test keeps `Jumps new-pane`; TEST FIRST: Trail.zig "a trail keeps its newest three back steps whole, older ones fold into one dim `+N` after the owner ..." (six steps at 400 columns: `‹@pN › +2 › rank.zig:30 › rank.zig:40 › rank.zig:50 ›`, the `+2` in the dim ink, a click on it back at rank.zig:20; back at the first, `› rank.zig:20 › rank.zig:30 › +3 Keep`; on the parent `· ›` per step: fails), "the walk never adds a row to a tag at rest ..." (a width 35 cells past the bare tag: one row with a `+N` fold; on the parent two rows), "two steps whose files have the same name are told apart ...; the word n walks is underlined"; core-test 1071/1242 (171 skipped); process-test: fsearch and lookrange regenerated and read: fsearch's landed/n/N reader tag `‹@p1 › +1 › /MARK/ 2/3 › …/g.txt Keep ...` (its two rows at rest: the newest alone still wraps there, g.txt:1 folded), lookrange's hit1/hit2/back style rows underline `/NEEDLE/ 2/2` (cols 2-13), the word n walks; a user saw the body move a row at a jump
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
spine and the spines kept at every width, a list's rows 52 cells at most, a give-way that never clips, the cursor's row tinted across its step, the spines on through the tag's rows under the head (walk UI polish P1, UX DESIGN.md D5, geometry; the colours stay today's fields, `// P2: the rule role` where a spine is drawn): a band narrower than its steps dropped its spines and started its steps at the pane's left edge (shots 04-L, 08-L), a level or a list was as wide as its widest row whatever its length, and the tag's rows kept from rest under a one-row head were bare where the spines should run; now Band.place starts at the last spine + 2 always, makes a level's column its widest row and a list's 52 cells at most (`row_cells`), and gives way in UX D5's order: the head's hints first (D3), the doc leaves the band where it has no 24 cells, the last list unrolled (a picker's acts, M-l) takes the place of the others where they do not all fit, and one step left is held to the room there is (24 cells at least), its rows cut with `…` (D2's Band.cutRow): nothing runs off the right edge; draw.joinBand tints the cursor's row across its step's width, its `▶ ` lead too; draw.paintPaneTag draws a `│` under each key cell in the tag's rows under the head's own (the rows a tag keeps from rest, A2's rule), so the spines run unbroken from the head into the band; the box glyph stays on row 1 alone, the grip column under it the tag's ground (as it was in a terminal; the window's grip seams and the tag rule's place under the band are the window's: see the screenshots), the row meta of D5 is not built (no step has right-hand meta yet); TEST FIRST: Band.zig "a narrow band gives way and keeps its spines: the doc goes, the steps start two cells right of the last spine, no row past the band's edge; the spines run on through the tag's rows under the head" (44 columns, Help for SPC l: two spines, one step at the last spine + 2, every row within the band, `│` in the tag's second row under each key cell; on the parent the spines are dropped: 0, and the second row is blank); core-test 1069/1240 (171 skipped); process-test: fsearch regenerated and read: its nomatch snap's tag keeps two rows under a one-row prompt head, the second now with a `│` under the `/` key cell; a user saw the band lose its spines at 26 px
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
open, four rows at least, 40 % of its column at most, never moved by typing; the body keeps 60 % of its pane and six rows, borrowed from its column, and the band gives way before the body drops under six (walk UI polish P1, UX DESIGN.md D6, C8): a picker's band was as tall as its list (three hits, three rows; no cap), so a short list's band was a sliver and a long one took a short pane's body down to four rows (shot 04-L: four body rows of 18); now Pick.bandRows is min(11, max(4, what the source has), 40 % of the rows of the host's column: its panes' rows, which a borrow only moves between them, so the height never changes while typing), the rows fewer than it leaving the band's ground (and its spines) under them; layout.floorRows keeps a band's pane its band and a body of one and a half times what is above it (60 % of the pane) and six rows at least (Band.body_rows), borrowed from the column's other panes as before; Core.sync's band takes what leaves the body six rows, so a column too short for 60 % shrinks the band, never the body under six; TEST FIRST: Pick.zig "a picker's band is sized from its list at open, 4 rows at least, and typing never moves it" (two files: four rows, the same after `zzq` with nothing matching; on the parent two rows), Band.zig "a band keeps its pane's body 60 % of the pane, borrowed from its column; where the column has not the rows, the band gives way before the body drops under 6" (three panes in 40 rows: the body 60 % of the pane; in 12 rows the band shorter than it wants, the body six), the borrow test's body six rows (was four); core-test 1068/1239 (171 skipped); process-test: find, fsearch, lsp regenerated and read: each picker band four rows where its list has two or three (find's two files, fsearch's three places, lsp's three symbols), the rows under the list the band's ground with the spines on through it, the body that much lower; a user saw a picker's band change size with its source, and a short pane's body crushed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
drawn over its body's top rows, so a transient state never resizes a pty or a kind's view (walk UI polish P1, G3's finding; UX DESIGN.md D6's borrowing and R3, drawn never written, my reading of D5/D6 for these bodies): a band's rows came out of the pane's body in every pane (Core.sync `tag_rows += band_rows`), so `:` or SPC Down in a terminal resized its pty smaller and back, the shell redrew under it and left its prompt row blank (tagnav's row 6 `$ `, ttytaken's prompt line moved two columns), and a PDF's view was re-sized each time; now Band.over (a terminal, a kind's pane) keeps its `band_rows` at 0, the pane's size the user's alone, and the band is painted after every pane's body (draw.render, Band.shownRows: what the band wants held to the body's rows) at the body's first row, its layer's viewport there; mouse.bandPoint reads the same rows; layout.floorRows borrows nothing for it; joinBand takes its rows; TEST FIRST: TagState.zig "a band over a terminal is drawn over its body's top rows: its pty keeps its size across the band's open and close" (a shell: SPC Down, then `:`: band_rows 0, the tag's rows, the pty's rows and columns as at rest, the band layer at the body's top, no resize_pty effect after Esc; on the parent it fails at band_rows: the band's rows were the body's); the terminal test of rolled levels loses its key-cell-alone step (D12 took that state away); core-test 1066/1237 (171 skipped), shell-test's terminal tests 12/12; process-test: tagnav and ttytaken regenerated and read: tagnav's tty-on and column-tag snaps have the shell's `$ ` on row 6 again (G2's golden), ttytaken's at-prompt row 5 is ` echo TAKEN''ONE` again (main's; E2's two-column shift was the resize's redraw); a user met it at every `:` or band in a terminal
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
indent under the spines, a rolled level three rows at most ending `+N ↓`, the picker's act row one row, a row too long cut with `…` (a path from the left) (walk UI polish P1, UX DESIGN.md D2): the rolled level was one long line wrapped by the tag's grapheme wrap, so a key fell apart from its label (`P`/`ClipPasteBefore`, `l ls`/`p…`, `D d`/`iagnostic end`) and its continuation rows started at the tag's first column under the box; the act row wrapped onto two (`Grep Rec`/`ent`); a band row was clipped at its step's edge; now (TagState.Builder) `keyCell` keeps each key cell's column and `row(indent)` starts a row of the head with a `│` under each key cell left of the indent (UX D5's spines through the tag's continuation rows; `// P2: the rule role`) and blanks up to it; the rolled level puts each child (`key label`) whole, a row's last child followed by the next row from the first child's column, three rows at most (a terminal's: the rows its own text takes, as before), the last one's last fitting child followed by a dim `+N ↓` (N the children not shown; the cells of it and of a struck key kept on the last row), its hints by the right block's rule on its last row (dropped where they do not fit); Pick.head's key cells are the builder's (its head's first spans, as every head's), its act row one row from two cells right of the last spine: the acts, `|`, the other sources, what does not fit dropped from the right (the sources first) and a dim `…` ending it (M-l, M-h reach them); Band.findSpines takes the key cells on whatever row they are (it wanted them on the tag's last row, so a picker's band had no spines and its steps started at the pane's edge: fsearch's list rows); Band.cutRow holds a row to its room with `…`: a path (its directory faint: Find's rows) cut from the left (`…r/Store.zig`), anything else from the right, its marks and faint bytes moved with it; TEST FIRST: TagState.zig "a rolled level breaks between its children only: ..." (SPC's level at 60 columns: three rows, the second and third `│ ` then a child, no row wider than the tag, every child shown whole, the rest counted in the last row's `+N ↓`; SPC h's on one row), Pick.zig "a picker's act row is one row under the spines ..." (60 columns: `│ │ Walk Look ` ... ` …`, a dim `…`), Band.zig "a row longer than its room is cut with `…` ..."; the SPC test reads a level of three rows at most; core-test 1066/1236 (170 skipped); process-test: 3 goldens regenerated and read: leader (the rolled level's second and third rows `│ ` from its first child's column, no child split, the hints at the last row's right end), find (`␣ f`'s hints at the row's end), fsearch (the list picker's act row one row ending `Panes …`, its band rows under spines from two cells right of the last, the body a row up); a user met the split words at every width under ~160 columns
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
and the hints at its row's right end, fixed while the field grows, the hints dim and first to go (walk UI polish P1, UX DESIGN.md D3): the count sat three spaces after the field (`Help tut▌ 3/133`, `Find re▌ 2/3`), so it slid right with every key typed, the only moving thing in the tag, and meant two things (Help's matches/total, the picker's cursor/matches); the hints followed it and wrapped mid-word onto a row of their own (msg's `s EXT ... C-r histo` / `ry · esc`); now `TagState.Builder.right(count, hints)` moves what was put from those bytes on to the row's right end (its last cell the row's last, two blanks between, at least two before), drops the hints whole when the row has no room for them, never the count (a head with no room for it runs past its row: the field's scroll D3 asks for there is not built); THE CHANGE: Builder is pub, made by `Builder.of(p, arena, pane)` with the row's width and the prefix's cells before the head (`col`), and Pick.head and Prompt.head build in it (their text and spans the builder's); counts: Help's is the cursor's row of its hits (`2/17`, `0` with none: no total), the picker's `0` with none (was `0/0`), the search prompt's wrap ` ↻` (was ` · wrapped`); hints are dim spans (describe-key's `⏎ run · esc`, Rename's, unrolled's `↑ roll up · ? field · esc`, the prompts' and the themes picker's); the rolled level keeps its hint as before (D2's rows put it on its last row); TEST FIRST: TagState.zig "the right block: the count `cursor/matches` at the row's right end, fixed while the field grows; the hints after it, dim, dropped whole where the row has no room" (Help at 60 columns: the first row exactly the tag's width ending ` 1/N`, the same after typing and `2/N` after Down; unrolled SPC's hints at the end, a dim span; at 24 columns `␣ SPC` alone); the tests reading heads read a run of blanks as two (Prompt.zig, Command.zig `has`; Pick, Band: the first row's start and end); core-test 1063/1233 (170 skipped); process-test: 7 goldens regenerated and read (find, fsearch, lsp, msg, pipe, selregex, ttyhelp): every changed row a count or hints moved to the row's right end (`␣ f Find zqm` ... `1/3`), `0/0` now `0`, ttyhelp's `1/136` now `1/1` (one match, the cursor on it), msg's `s EXT` hints dropped at 70 columns so its tag is one row again (the body a row up, where it is at rest); a user saw the count move at every key
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
level shows, its keys echo on the notice row's right end at once (walk UI polish P1, UX DESIGN.md D12, C2): SPC, `"` and C-w wrote their key cell into the tag at once (`at_once`), which with D1 (the path hidden out of rest) flipped the whole tag and back at every fast chord (`SPC j o`, `SPC f s`: a flash per chord, UX A16); now the tag stays exactly at rest until the root's delay passes (SPC and C-w 250 ms, `"` 300 ms, g m z [ ] Z 500 ms, on the taped clock), a sequence finished inside the delay never touches it (the spec's `gg` rule, extended to SPC), and after the delay it goes straight to D1's layout in one frame; the keys typed so far show at once at the notice row's right end (`SPC f`, vim's showcmd): TagState.pending gives the chord (bindings.chord) while a root is current and its level not shown, Messages.noticeRow appends it to the row's right part; THE CHANGE: bindings.Info's `at_once` is deleted (every root waits), TagState.hostOf is null until `shown`, and head's `…` branch for a key cell alone is gone (unreachable); TEST FIRST: TagState.zig "SPC changes nothing in the tag until its level shows 250 ms on, its keys on the notice row's right end at once ..." (on the base the tag is `␣ …` after SPC: fails), bindings.zig's registers test (`"`: the tag as at rest until 300 ms), the C-w test, "a tag out of rest keeps its rows at rest at least" (now Help's head under the rows the tag keeps: there is no key-cell-alone state left), the click and the asking tests date the level before they read it; test/behaviour keys.zig's PDF case: SPC leaves the panes as they were and the notice row ends `SPC`; core-test 1062/1232 (170 skipped); behaviour-test 277/277; process-test 0/146 failed (no golden caught the key cell alone); a user saw the flash at every leader chord
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
DESIGN.md D9): the other panes' every cell took `style.dim` while any tag was out of rest (SPEC §3.6's "slightly", built as the faint attribute: fg 12.5:1 to 4.5:1, comments 4.06:1 to 1.96:1 on neonotte84, UX A7), stacked on the user's own InactiveDim, flashed the whole screen at every SPC and repainted every pane per state change; now a tag out of rest changes its own pane and the notice row only, the others keep their look at rest (InactiveDim already applied to unfocused panes); THE CHANGE: render's pass over the other panes' cells and layers is deleted; TagState.previewing keeps its `.full` (the whole window wearing a theme, taken off at rest) and its doc says so: no pane's own bit is read any more, so Pick.unroll no longer sets the landing pane's (the field keeps its type: the wire and the dumps unchanged); TEST FIRST: Band.zig "a pane whose body would drop below four rows ... borrows them": the other pane's tag and body cells are not dim out of rest (on the base: dim, fails); core-test 1062/1232 (170 skipped); process-test: fsearch's golden regenerated and read: its `typing` style snap's left pane (the terminal) loses the `,f` (faint) on every cell, nothing else; a user saw it at every SPC, picker and prompt
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
newest step's and the head, nothing else (walk UI polish P1, UX DESIGN.md D1, the coordinator's R1-CORRECTED: the user's "why the tagline is still showing the regular tagline text?"): out of rest the path, Keep, the forward steps, the progress and the tag's own words were drawn before the head, so the key cells and the band's spines hung 40-50 columns in (shot 02's spines at column 50) and a picker's tag named the PREVIEWED file as the pane's own (shot 04: `/tmp/.../core/Store.zig ␣ f Find re 2/3`); now `‹@p1 › rank.zig:20 › ␣ ▸ b buffer…`, the head from the tag's first text column when there is no walk (`␣ f Find re`), the spines at columns 2-4; THE CHANGE: Trail.Part `.newest` writes the owner's word and the newest back step's alone, each with ` › `, a word past 24 cells cut in its middle with `…` (D1 item 4), and `stepAt(.newest)` maps a Look or Exec on any of its cells to that step; tagline.pathPrefix returns it while Trail.outOfRest (the live view's host is the pane: asking is rest and keeps its path), the old body now `restPath`; `restPrefix`, the prefix as at rest whatever the state, is what Core.sync measures `tag_lead` by (the tag's cursor and selections are offsets in its text at rest: a head over its own text moves none of them; on the shown prefix they were shifted by the path's length and back, and `| in a tag pipes the tag's own text` piped 4 wrong bytes) and what layout.wantedTagRows counts the rest rows with (a tag out of rest keeps them at least); the heads no longer lead with a space (TagState's Help/Keys/Rename/level, Pick.head, Prompt.head: the out-of-rest prefix ends in its own ` › `); no name tint, forward-step ink, unlit search word or progress out of rest (draw.zig tagTintRange, paintPaneTag; Prompt.unlit); tagline.onName and forwardSpan are off out of rest; `Trail.folded` is gone (it only told out of rest, now `.newest`: at rest it is `shown_steps`), `nameAt` takes no Pardes; TEST FIRST: Trail.zig "Enter on a word of the walk ...": out of rest `‹@pN › rank.zig:20 › ␣ ▸ ` with no older step, no directory, no Keep (on the base `‹@pN › · › rank.zig:20 › <dir>/rank.zig`: fails), a step back hides its forward step out of rest, Look maps the newest word and the owner's to their steps, and the tag at rest byte-identical after Esc; Pick.zig's reader test: the picker's head starts the tag's text (`␣ f Find pick 1/1`), no previewed path; the heads' other tests drop their leading space; test/behaviour keys.zig's prompt case reads the tag file out of rest as the head alone (`s zq`, no `/test.txt`); behaviour-test 277/277; core-test 1062/1232 (170 skipped); process-test: 8 goldens regenerated and read, each changed row the out-of-rest tag with no path (leader, pipe, msg, selregex, find, fsearch, lsp, ttyhelp: the band's spines at columns 2-4, the steps right of them, the rows no longer pushed onto a second tag row; msg's `s EXT` head and fsearch's `/` head still wrap their hints mid-word: D3's); a user meets it in every state out of rest
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
again, not from its hint: TagState.Head says its first `cells` spans are its key cells (Band.zig takes the spines' columns from `h.spans[0..h.cells]`), and P2's D4 colour roles (zvmmwotv: `⏎ wear it · esc` in the dim ink) put the hint's dim span before them in Pick.head's no-second-row branch, which the M5 merge gave the actions picker too; RUN (the M5 merge's behaviour-test, 279/280): language_servers.zig "SPC l a lists the server's code actions ..." failed at its ` 2 mock action: add a line` (NotOnScreen): on its 80-column screen the three spines stood side by side at columns 53-55, the hint's first cells (the key cells `␣ l a` are at 34, 36, 38), so the rows step began at 56 and its rows were cut at 24 cells (` 2 mock action: add a l`); P3's tip and P2's tip each passed (P3's head had no hint span, P2's themes picker has no test that reads the spines' columns); a user met it on every themes picker (P2) and every actions picker (the merge): spines bunched at the hint, the rows pushed right and cut; FIX: the key cells' spans first, the hint's after them; TEST FIRST: Pick.zig "the themes picker marks the theme in use ..." asks that the head's first `cells` spans are key cells (expected .key, found .dim before the fix); the behaviour test passes after it; core-test 1072/1242 (170 skipped), behaviour-test 280/280 and --replay 280/280, process-test 0 of 147 failed (3 skipped), pane-test 183/184, shell-test 1290/1293 (3 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
picker, /kbdin as typed, Esc at once, `]` targets in one pass and cached, a pane keeps its number when it walks, B3 on an answer word) and P2 (zvkrxzwq 415b4e2683d0: the colour roles of UX DESIGN.md D4, the tui reading box, the themes picker's `in use`, registers D11, painted targets D10, the preview legible D7, prompts D14, 29 goldens, the roles derived faster) merged, both on G3's kytxrnnk, resolved by meaning: Pick.zig's five conflicts: Row carries P3's `key` (an action's digit) and P2's `meta` (`in use`), rowAt keeps P2's themes arm and P3's actions arm, steps passes both to Band.Row, head's no-second-row branch is P3's (themes and actions) with P2's hints as a dim span (`⏎ or 1-9 apply it · esc` dim as `⏎ wear it · esc` is), and both lines' tests at the file's end; body_layer.zig merged without a conflict and agrees: P3's treeTargets cache answers targetLine's `]f` `]c` `]T` arms, and P2's paintTargets paints whatever targetLine answers in place of the line's number, so the cached lines are the painted ones; the `g` target and the `]g` motion both ask jj.nextChange (body_layer targetLine, normal.zig goto_change), whose P2 change finds the last unsaved edit with the Changes layer off, so they agree; Band.zig is P2's alone: its Row.meta (right-aligned, dim, the first to give way) is the "right-aligned row meta" P3 left as not done, nothing more to build for it; an action's rows are drawn by P2's painter (Band.Row.key: the digit bold in the roles' key ink) and its ghost lines stand on colors.Grounds add/del, which D4's add/del role is (as the Changes layer), so neither needed wiring; A MERGE FAULT FOUND BY A TEST FIRST: P2's D7 preview (Pick.landingLine, Pick.sentence) held for every picker that previews but themes, and P3's actions picker previews: its body got the hit ground and `▸` on the caret's line (the line the edit starts, or for an edit that only puts lines in, the untouched line under them) and the notice row said `⏎ lands here · its text is the preview · S-⏎ a new pane` where Enter applies an edit and lands nowhere; both now leave out actions as they leave out themes (an action's preview is its edit on the Changes grounds, the head says what Enter does); TEST: Pick.zig's code actions test asks no landing line, no `▸` before the line the edit changes, no sentence on the notice row, and no hit ground on the line under an edit that puts a line in (fails on the merge at Pick.zig:2188, landingLine answered the caret's line); find.golden (the conflict) resolved by meaning and checked by process-test: snap nomatch's and topbar's notice rows are P2's D7 sentence with P3's count `1 message` (the walked pane's two Find echoes one entry), cancel's is P3's row; leader.golden (P3's, CodeAction's new doc) passes as P3 wrote it; docs/typ/builtins-tui.json is P3's, current (core-test's builtins_json test passes); core-test 1072/1242 (170 skipped), process-test 0 of 147 failed (3 skipped, gui-only)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
frame gate's perfops against tree7: `open on small (per-op)` +23.3%, over the round's 10%: a pardes-perf open boots a core and draws its first frame, whose bodyChrome derives the chrome of the theme, roles and all, about 1.2M instructions of OKLab mixes, each three pow calls): `toward` (the dim and rule inks, two a ground, nine grounds) finds its hundredth by halves, seven mixes where its walk took up to a hundred (a mix's contrast falls as it nears the ground, so the step found is the walk's: the floors and UX's values hold to the unit); `pushAway` returns an ink that already reads without a mix; `selectionOf` keeps a selection that already stands off its ground with its text reading, and mixes from OKLab ends worked out once; RUN (perfops.sh tree7 against this tree's ReleaseFast prefix): `open on small` +6.53% against tree7 (+23.33% before), +5.77% against P3's tree on the same base; core-test 1069/1239 (170 skipped), process-test 0 of 146 failed (its goldens, which hold the inks, unchanged: the same inks to the byte); TEST: colors.zig's floors and UX-values tests unchanged and passing
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
body's places on the hit ground and the current one on the current hit's (colors.Roles: Places.paint, every search's places; they were the search ground for the current one and half of it to the page for the rest, the selection's colour on neonotte84), a pattern that is no regex dimming them as before from those grounds; `▸` in the key ink in the gutter on the current place's line alone, the other lines with places shown by the rail's ticks (Places.addTicks) where a `▪` marked each (new gutter glyphs, which D14 rules out); an invalid regex's reason in the err ink in place of the hints, `the N from before shown, dimmed` after it in the dim ink (the hints are gone while it is invalid); the plain word as before (`= Look` dim, the word in the text's ink); TEST FIRST: Prompt.zig's `/` test holds `▸` alone on the current place's line in the key ink and line 1's place on the hit ground (fails on the parent at line 1's `▪`), its `s` test the reason ending the head; core-test 1069/1239 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
as one (UX DESIGN.md D7; the user missed it: S's 04 showed a preview from body line 1 with no mark where a hit lands and a tag naming the file as the pane's own): its landing line, the body line the cursor row lands on in the landing pane while that pane shows the row's file (Pick.landingLine), on the hit ground across the body's width with `▸` in the key ink in the gutter's cell after its number (where a prompt's current place has it), the place its row points at (a Grep's match at the row's column) on the current hit's ground over the places lit; placed a third of the way down the body (look.focusPaneLine's `.third`: ⌈rows/3⌉ rows of context above, clamped at the top, a text that fits shown whole), where it was centred; a Find row lands on line 1 and that is marked (its Enter lands there); the notice row's left, while a picker previews, says `⏎ lands in @pN's reader · its text is the preview · S-⏎ a new pane` (`⏎ lands here · …` in the pane itself) in the dim ink with the owner's address in the text's (Pick.sentence, Messages.Row.quiet_left and word), before any message; the notice row's dim words in the dim ink of the tagline's ground (colors.Roles.notice, 3:1 at least; it was the tagline's ink half mixed to its ground); a preview whose next file is not read yet keeps the previous one (the read is synchronous: the body is never blank) and a row with no file leaves the body; TEST FIRST: Pick.zig "a picker's preview is legible as one" (on the parent the landing line has no ground, line 40 sits mid-body and the notice row says the path): line 40 of an 80-line file at ⌈rows/3⌉, its row on the hit ground and the one above not, `▸` in the key ink, the sentence and its address, the row its own again at rest; colors.zig's floors test holds the notice row's inks too (fromTheme's comptime quota raised for them); core-test 1069/1239 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
DESIGN.md D10, POLISH 11): while a motion root's level shows, a target's keys replace the number on its line, right-aligned to its last digit, as many as the number's cells hold, in the level's order, bold in the key ink on the gutter's ground; the digits are blanked, never drawn over (`cp88`, `f 89`: the keys squeezed into the two cells left of a two-digit number, one cell with three digits, none with four); with no numbers (a +Pager), over the line's first cells on the selection's ground; never a shift; and `]g`/`[g` find an unsaved edit: with no Changes layer shown (no lanes), the last edit not saved yet is a change (jj.nextChange, which the motion and its painted target both ask, so the target and the motion agree; with the layer shown, its pins as before), where an edited file had no `g` target and `]g` went nowhere; TEST FIRST: body_layer.zig's targets test holds D10 (fails on the parent at `p` on line 5's number: `p 5`): the number field holding only the keys, `p` on its last digit's cell in the key ink and bold, the unsaved edit's `g`, the text unshifted, `]g` going to the edit, `g`'s first and last lines, the number back at rest; core-test 1068/1238 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
them: rolled, only the registers holding something (six of S's eleven items were `—`), each `key value` with its value in 20 cells at most (bindings.registerShown: its first line, a path cut from the left, `…proj/core/Query.zig`, where the useless end was cut before, other text from the right, `const best = rank(q…`, a newline that ends what shows said by a dim `⏎`, the value stopping there); unrolled, every register a row `key value` (the key bold in the key ink, the value in the text's, `—` for an empty one in the dim ink) with its name at the row's right end in the dim ink (Band.Row.meta), where the fixed name was at full ink and the value, the content, at 1.58:1; the doc step's verbs `p after P before R replace y into` dim with their letters bold in the key ink (Band.Row.keys; `next` gone); Band.Row.quiet, a byte range in the dim ink; TEST FIRST: bindings.zig's registers test holds D11 (fails on the parent at its rolled level, which shows `a const best = rank(q, nam… / —`): the rolled level with a path and a newline among its registers and the dim `⏎`, the unrolled rows, the empty register's `—` and the names in the dim ink, the verbs' letters bold in the key ink; core-test 1068/1238 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
DESIGN.md A15): its row says `in use` at its right end in the dim ink, whichever theme the window wears under the cursor, and the cursor opens on it as before; a band row's meta (Band.Row.meta: said right-aligned in its part, two cells off its text at least, the first to give way, as D5 asks; the step as wide as text and meta; Band.metaShown says whether it fits, so Band.line and draw.zig joinBand agree), placed from the part's own column (a step's rows start where the spines leave off, not always at its x); TEST FIRST: Pick.zig "the themes picker marks the theme in use" (fails without the mark at its `in use`; it holds the row's meta, one row only, the cells' dim ink on the cursor row's selection, and the mark staying on the theme in use while the window wears the next); core-test 1068/1238 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
tint where the box's fill is the tag's own ground, as the window's does (walk UI G3's leftover: G3 carried a reading pane's tint to the window's ring, gui.zig gripFill; a grid, which cannot ring, mixes the ring with the box's dim fill, and where that fill is the tag's plain ground, acme's #eaffff, a reading pane's unfocused box kept the plain tag colour beside its reading tag): gripBg takes whether the pane reads and mixes the ring with the reading tint there; a theme whose box has a fill of its own (orchard's) keeps it, as a held pane does; the window is unchanged (it draws its grips from the regions, never the grid's cells); "an unfocused grip shows on its tag in the grid, in every native theme" now measures a grip against its own tag's ground (the reading tint, since the walk is the default and its test file reads; it measured the plain tag) and lists every theme under the floor, not the first: against UX D4's reading tint (lighter on a dark tag) three stand a hair under 1.5 (forestbones_dark 1.486, nordbones 1.488, monokai 1.4999), held to 1.48; TEST FIRST: draw.zig "an unfocused reading pane's box in the grid is its ring round the reading tint where the box's fill is the tag's own ground (acme's)" (fails on the base rule at its first grip cell: the ring round #eaffff); core-test 1067/1237 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |/
| |
| |
| |
| |
| |
| | |
rule on each of a tag's four grounds (plain, focused, reading, reading focused) and on each one's cursor-row selection, key, match, hit, hit current, err/warn/question/hint, worked out once a theme with its chrome (ChromeTheme.roles, Roles.of; never a frame) and each held to its floor where it is drawn (text 4.5:1, dim 3.5 never under 3, rule 2:1, key and match 4.5:1 on every tag ground and selection, selection 1.4:1 off a dark tag and 1.25 off a light one with its text at 4.5, hit 1.25 and current 1.6 off the page with the body's ink at 4.5, a message's ink 4.5 on the tags and the page; where a theme's own colours leave no room, the most they allow: solarized's mid-grey tag, a tag whose text has no contrast to spare); the reading tint derived as D4 says (the theme's own where it stands 0.04 off the tag in OKLab, else the tag toward paper yellow by 0.04 and 0.02 lighter on a dark tag, darker on a light one, less or the other way where its text would drop under 7:1 or its own, further where the bytes cannot show the step): neonotte84's #262737 (0.029 off its tag, invisible) is #29271d now; and every painter of the new UI on them: the band's spines and step rules in the rule ink (they were the box's 11.5:1, the brightest thing in the band), `▶` and `•` in the key ink, a key bold in it, Help's chord (`SPC h t`, Row.chord) in it at the text's weight, a matched letter bold in the match ink on its row's own ground (it was the search ground, the selection's colour on neonotte84: on the cursor row the matches vanished), a dim row and a path's directory in the dim ink of their ground (the cursor row's selection's on it), never the faint attribute (fg 12.5:1 fell to 4.5 and a dimmed register value to 1.58); the head's dim spans in the dim ink, a key bold in the key ink, an error in the err role, the picker's act-row spines in the rule ink (TagState.Style.rule), its other sources' words, its `|` and the themes' hint dim, the levels', describe-key's and Rename's hints dim (they were at full label ink, louder than the content), the head's text in the text role (at rest the tag keeps its own ink: byte for byte); a walk's forward steps and a search word no place lights in the dim ink (they were the line numbers' ink, 1.57:1 on a reading tag); Messages.ink is the roles' (marks, end-of-line ghosts, progress); an LSP leaf in a pane no language server speaks for is dim and its doc step says `needs a language server` (POLISH 3; SPEC §4.2); UX's derived values reproduced (tools/roles.py: neonotte84's text, dim #70768f, rule #4c5063, key, match #f1a271, reading, hit #36282a, current #523831 within 2 a channel; acme's dim, rule, reading, hit, current; acme's key #555583 and match #8f4800 a step darker than UX's #5c5c8d and #974d00, which hold on its tag and #9eeeee: a reading pane's band's selection is pushed off #f3f0cc, 1.12:1, and they read on it too); TEST FIRST: Band.zig "a band is drawn in the theme's roles" (fails on the base painter at its first spine: the box's ink), draw.zig "a tag out of rest draws its keys bold in the key ink and its hint in the dim ink, never faint", colors.zig "every theme's walk UI roles meet their floors" (every bundled theme, dark and light, every floor; 497 floors missed by the first derivation, each class fixed by the rule above) and "neonotte84's and acme's roles are the ones UX derived"; Trail.zig's §6.7 session test now wants the forward step in the dim ink; core-test 1066/1236 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
UI P3 item 6, C's leftover "B3 on answer words", SPEC §10.2 "Answers are clickable", DESIGN A15): the asking tag (`changed on disk ▸ r Reload k Keep mine d Diff`) answered B2 on `Reload` (exec.execute's Messages.answerWord) but B3, a click's Look, searched the body for the word; look.lookAt asks Messages.answerWord first, on the pane the question waits on, as execute does; TEST FIRST: look.zig "a Look at a question's answer word in its pane answers it, as an Exec does: B3 on Reload reads the file again"; core-test 1065/1235 (170 skipped), behaviour-test 280/280
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
in one query pass, kept while nothing moves, and Find's first key sorting only the rows it shows (walk UI P3 item 4, POLISH 19, F's and D's reports): (a) body_layer.targetLine ran the grammar's textobject query three times a frame while `]` or `[` showed (syntax.objectNext once each for function, comment, test); NOW syntax.objectNext finds any number of objects in one pass of the query (`objects`, `out`; the motion's one-object call in normal.zig unchanged in effect) and body_layer.treeTargets asks it once for the three, keeping the lines on the pane (Pane.targets, derived: never digested or dumped) while the text's revision, the caret's byte, the lines shown and the way stay, so a frame that paints them again asks nothing; paintTargets' drawing is untouched; (b) Names.rescore sorted every hit at every call (std.sort.pdq over 50,000 paths for a first key); NOW the best `reach` hits (`max_rows`, 200: what a query pane lists; a picker's cursor gone past them sorts further, Names.reachTo from Pick.key, and C-q's keep sorts its 2,000) are kept as a heap of the best so far and sorted, the rest after them in no order (O(n log k)); (c) the picker's preview read is left on the loop: measured, a 2,000-line file's tick and frame is 2.36M instructions, 285-531 us, under a twentieth of a 60 Hz frame (a read from a slow mount would still block it: not moved, said in the report); MEASURED (pardes-perf ReleaseFast tui, the same tree before and after this change): `]` painted, tick + frame, longest 11,066,602 instr (802 us) -> 4,677,637 (368 us, the frame that asks; the cached ones about the at-rest frame's 0.89M); pick key + frame (50,000 paths, first key) 58,751,637 (4,383 us) -> 41,394,164 (2,416 us, the rest is the scorer's); pick Down + frame 1,358,803 -> 1,356,960; pick preview tick + frame 2,357,436 -> 2,365,116; TESTS: core/Names.zig "Names keeps its best `reach` hits first in a full sort's order, the rest after them, and sorts further as a cursor goes past them"; the painted targets' and the motions' own tests unchanged; root.zig names Pane.targets among the kept-out fields; core-test 1064/1234 (170 skipped), behaviour-test 280/280
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
another file (walk UI P3 item 5, the coordinator's R9): Trail.show stepped a reading pane in place by opening the new file as a new pane in a free slot, so it took a new serial (B's decision) and `@pN` words, a 9P script holding /pane/N (the frame corpus died on `/pane/N/look: NotFound` and ran under `Jumps new-pane`) and /log's followers (a `del` and a `new`) all lost it; NOW the pane is the same pane on another file, as acme's Get keeps a window's id: the new file's pane takes the old serial and its 9P state (std.mem.swap of `fs`: the opens' event queue, readers, ranges; the old one, never announced, leaves with no record), /log hears `rename N path`, Recent the file opened (the one it left is noted closed with its place, as any close), what jj answered for the file it left goes with it (jj.forget at the step; panes.teardownPane forgets a serial only when no live pane has it), and its text's revision is the left one's plus one, so a worker's parse or paint asked of the old text (both keyed by serial and revision) never lands on the new; the frame corpus (test/process/window.zig) runs under the walk default again: its file pane's Look at notes.md steps it in place and a Look at shapes.zig walks it back where it Del'd notes.md; TEST FIRST: test/behaviour/look_and_exec.zig "a reading pane that walks to another file is the same pane: its number, an open of its files reading the new text, /log's rename for it, the file it left in Recent" (on the base: expected 3, found 4); core-test 1063/1233 (170 skipped), behaviour-test 280/280, pane-test 183/184 (1 skipped); the corpus's frames under walk: in the final gate's report
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
1, SPEC §5.1 "actions", §14.1, POLISH 17): the client sent each action's title alone (lsp_client run `.code_action`), so `SPC l a` could only list them in a +Lsp, nothing to preview or apply; NOW the client writes each action's row and after it its edit of this file as `@put` records (actionEdits, sorted, sharing renameEdits' WorkspaceEdit reading as editFiles), `@elsewhere` for an edit that reaches another file or makes one (never a part of it applied), none for a command's; an action the server sent without its edit but with `data` is asked for it with codeAction/resolve when the server says resolveProvider (Caps.resolve_actions); typed where jumps walk (Ask's `ghost`, recorded at ask time as the hover's) the answer is Pick's new source `actions` in the asking pane's own tag (`␣ l a Actions`, its host the edited pane as the themes picker's), each row its digit in the key ink then the title (the query matches the title), the body moved to the edit's first line while it is under the cursor and showing its edit as ghost rows (Pick.ghosts, drawn after Prompt.ghosts by the body layer: the lines it changes on the Changes layer's deleted ground, what they become after them on the added ground, the rows below pushed down; R3, DESIGN D4 add/del; bounded by the rows shown), Enter or `1`-`9` with the field empty applies it as one undo step through Ask.applyAction (applyLspEdits, of the revision it was asked of: Pick.revision), the tag at rest first; a command's or an elsewhere edit is said, not applied; anyone else's (a 9P script) keeps the +Lsp of titles; the mock (test/lspmock.zig) answers three actions: a title alone, one with its edit (a line put in at the top), one resolved (main.rs's two `add` calls to `sum`); CodeAction's doc and the builtins json say so; TESTS: core/Pick.zig "code actions: a picker in the asking pane's tag ..." (ghost rows and grounds rendered, `3` applies, `u` undoes, a command's said), test/behaviour/language_servers.zig "SPC l a lists the server's code actions in the pane's tag by their digits ..." (through the mock end to end, resolve included; on the base `SPC l a` makes a +Lsp); core-test 1063/1233 (170 skipped), behaviour-test 279/279, shell-test's edit tests 89/89
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |/
|
|
|
|
|
| |
the user's own, so a builtin they reach routes as typed (walk UI P3 item 2, POLISH 14): Pick.asked, D's "never a 9P script's" test, read `p.fs.serving` alone, so `SPC f f` typed at /kbdin opened the query pane a script's Find opens (a +Search) where jumps walk, never the picker in the tag a user's keys open, and the S kit's screenshots of pickers had to go another way; THE FIX: the request's own flag `fs.typed` (authority-only, beside `serving`), set by ctl.writeKbdin and ctl.writeMousein for their keys and clicks, and Pick.asked is `walk and (not serving or typed)`: a script's Exec of the word still opens its +Search (whose rows it reads back), the write is still served as any (a grep the keys start runs to its end before the write is answered, as `serving` has it); TEST FIRST: test/behaviour/other_files.zig "kbdin's keys are the user's: SPC f f opens Find's picker in the pane's tag where jumps walk" (on the base: a +Search in /index); core-test 1062/1232 (170 skipped), behaviour-test 278/278
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
a +Search's +Preview promoted by Enter (Refs, Def, any list whose Enter lands by the preview) that READS (jumps walk) is the list's reader, its walk starting at the list's owner word (SPEC §6.1: a held pane's reader's trail starts `‹@pN`; the +Search is held, a listing), so its later jumps step that pane (Trail.readerOf finds it) where before it was a reading pane with no trail: Query.land sets `Trail.reader(+Search's serial, the row's path, its place)` on a promoted pane that reads with no walk yet; RUN (the test): lsp-client's golden before: gr-opened `/tmp/pardes-snap/lsp-client/cwd/main.rs Keep Save Term ...`; now `‹@p3 › /tmp/pardes-snap/lsp-client/cwd/main.rs Keep ... Refs` / ` Del` (the owner word wraps the tag to two rows, the body a row down, gr-back's N on line 5 as before), regenerated and read (lsp-client-edit unchanged); (b) the owner word stays whole out of rest (UX DESIGN.md D1; SPEC §3.4.3's fold is for the trail's steps): fsearch's nomatch keeps `‹@p1` whole, its older step folded to `·` (`^ ‹@p1 › · › /MARK/ 2/3 › ...`); its C-n step tested nothing (C-n has no job in a text prompt, §7.2: ctrln was typing's frame); it now tests the cursor moving where C-n moves one: M-Enter keeps `/MARK`'s places as a list in the tag (§7.2, D's list picker: `␣ l /MARK/ 1/3`, the three places as rows, the body previewing the first), C-n moves its cursor to the second (`2/3`, `▶ ...g.txt:6:1: MARK b`, the preview at line 6), Enter lands there as a step (`‹@p1 › g.txt:1 › /MARK/ 2/3 › .../g.txt`), n and N walk the list's rows in place (3/3, 2/3); the old case's search word `/MARK/ i/3` is the list's word now (a search word's n/N keep their core tests: Prompt.zig, Trail.zig); regenerated and read: the new snap `list`, ctrln, landed, n, N, nomatch; core-test 1062/1232 (170 skipped), the two cases 0/2 failed after their regeneration (the whole process-test with the tip's gates)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
button, inside its ring and in the underlay between its rows, and the layer-cover test meets the notice row (walk UI M4 item 3; G2's gui unit-test failures under the walk default: 1872/1878 here, those two failed, nothing else): RUN: "every pixel of a grip column is band, button or ring, and the button sits over the scrollbar" failed at gui.zig TestButtonUnderFirstRow: its pane is a test file never edited, so where jumps walk (the default since G's pumvrovu) it READS and the core paints its tag's ground the reading tint (draw.zig tagGround: chrome.tag_reading_bg, "its focus is its grip's"); the test held the column to the focused tag's or the tag's colour; made to hold it to the tag's ground, it then met what the window draws itself: gripDecor's band round the button (`grip.active ? tag_focus_bg : tag_bg`), the unfocused ring's inside (gripFill: tag_bg) and the tagline cells' underlay (emitSurfaceCell's band_base: `here.focus ? tag_focus_bg : tag_bg`, the gutters between rows a smaller tagline font leaves), none of which knew a pane reads: a window showed every reading pane's tag (most file panes, by default) with slivers of the focused or plain tag colour round its button and stripes of it between its tag rows; THE FIX: Region.reading (surface.zig, set by draw.zig on a pane's grip and tag regions: Trail.reading) and Chrome.tag_reading_bg carry it to the window; Cover.reading (coverFrame, from the grip and tag regions) picks the underlay, gripDecor's band and gripFill's ring inside take the reading tint for a reading pane (a focused ring keeps its fill, a dirty one its colour); the frames of a session whose jumps are new-pane (the frame gate's corpus) are unchanged (no pane reads); "the layer cover is the per-cell layer scan, over a core's layouts and random layers" failed at its `notices` check: line C's messages are said on the notice row (the window's foot, a tag layer of kind `notice_row`), no longer as a chip over a body (a `notice` layer is now only a pane's own prompt band: Del's question, a REPL's choice; E's prompts are in the tag), so its `Msg` made no `notice` layer in any of its 32 frames; DECIDED: it covers the notice row (some frame's tag layers hold a `notice_row` layer with rows, scanned by the cover as every other layer), its `Msg` said so; a pane's notice band keeps draw.zig's own test (core-test); TEST: both fail before (gui.zig:7232, gui.zig:7127), pass now (the grip test holds every pixel of the column, the button's row too, to the reading tint, the button, the rings and the rules); gui unit-test 1874/1878 (4 skipped, none failed; its perf step the known BaselineHarnessMismatch)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
what the array held before the read, so a damaged dump whose messages' `live_len` came back without their `live` is refused, not walked over undefined messages (walk UI M4 item 2, the fuzz panic G2's gate met: join seed 4135 on G2's tree, 6356 on this one; G2's run without this line's session lines met it at 33733): RUN: the dump fuzz at join seed 6356 panicked in its digest (tape.digestOf after the load), `index out of bounds: index 43690, len 96` at walk.zig hash: Messages.live[0]'s `src` (a Kind.Buf(96)) said 0xAAAA bytes; the load said live_len 1 and had not read `live`; THE CAUSE: a load reads the core in place (dump.zig loadKnowing, walk.Loader.into: `fields(Pardes, ..., existing = true)`, and each struct field under it in place too), and Loader.fields (walk.zig, the `held` it begins with) and Get.fields (the image's) took an in-place struct's arrays as holding ALL their slots (`maxInt`) until they were read, so pastHeld refused no length whose array the dump did not carry: a damaged dump whose Messages kept `live_len` and lost `live` (a damaged name, or a kind that changed, "left as it was") left `live_len` 1 over the fresh core's `live: [max_live]Said = undefined` (0xAA in Debug, any bytes in a release build), and the digest, the notice row, the marks and every reader of a live message read past it; THE FIX (heldNow, both readers): an in-place array holds, before the read, as far as its length said then (heldOf: a fresh core's none), and a read array as far as it was read, as before; so the length read back alone is refused when it says more (pastHeld's note: `live_len` says 1, past the 0 its buffer holds), and a length the array held before stands; a same-build dump reads every field and is not changed by it; a user restoring or joining from a damaged dump could have hit it (a release build reads that garbage as messages); TEST FIRST: walk.zig "a struct read in place holds a length read back without its array to what the array held: past it, the dump is refused" (fails before: no error), fuzz.zig's join seed 6356 pinned beside 19224 and 31554 (panics before); the fuzz at 40,000 join and 1,779 image seeds over this line's session (kept picker, recipe, search word, Help): pass (3 min 17 s); core-test 1062/1232 (170 skipped), shell-test 1279/1282 (3 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\
| |
| |
| |
| |
| |
| | |
tip wyplmmyp holds): TagState keeps G2's kinds {rest, help, describe, pick, rename, prompt}, `:` a prompt op whose arms (Prompt.key, head, takes, steps; TagState.point beside G2's pick arm) merged as E2 wrote them, and max_hits as many as the themes; THE STAND-IN GOES: Messages.zig's block from `---- a stand-in for line C's questions` to `---- the stand-in's end ----` and root.zig's allowed_vars `stub_asked` deleted, C's real Answer, waiting, waitingAnswers and answer kept, and Command.zig's test asks as C's own does (a file changed on disk under unsaved text), its @hasDecl branches gone; ONE THEME PREVIEW: `:theme ` goes through G2's colors.previewTheme as the themes picker does, its current row worn at each change of the rows and again after every step (Prompt.settle, as Pick.produceAll re-derives the picker's), off at rest (TagState.toRest, for a view that previewed the whole window), no pane dimmed while it does; DELETED: colors.wear, colors.wornChrome, TagState.worn (its replica index and isTheme), Pardes.worn_chrome (its `.derived` and kept_out entries), draw.render's wornChrome call; finishThemeInitialization keeps E2's change (the session's own theme's chrome, never a preview's: a load meanwhile); fs.zig: E2's Namespace.deinit hold (`@min(opens_len, opens.len)`) and its shell test dropped: H's `opens_len = 0` before the teardown in both load paths' errdefers (dump.zig) covers the same fault on the one path that meets it (a refused load; fuzz join seed 31554 pinned), and no other caller tears a namespace down with a count it did not hold; `:open ` IS D's FIND: the line `open ` (or `o `) hands itself to Find from this pane, as B2 on `Find <rest>` runs it (where jumps walk a Find picker in the tag, the rest of the line its query: every path, listed and scored off the loop by Names), so Command's own file rows (fileOf, firstOf, shownPath: the files the panes show) are deleted and the head's plain word for `open` is `Exec Find`; A MERGE FAULT FOUND BY A TEST FIRST: TagState.loaded (A2's) held every view's hits to the tree's leaves and the registry's words, so a view in `:theme ` on a row past bindings.flat.len + the kinds' words (the last theme, 272, is) came back from a dump at rest: a client joining a session with a view in `:theme ` would have that view at rest where the session had it in `:` (the digest's view state apart); `:`'s hits are held by Command.zig where it reads them (rowOf, theme, the preview: each bounds its index), so loaded skips the leaves' bound for a `:` view; TEST: Command.zig "a view in :theme on its last row keeps it through a dump and a load" (fails on the merge without it: the loaded view at rest); goldens: ttytaken (the conflict) regenerated and read: G2's with E2's one row (`|5: echo TAKEN''ONE`, as E2 read it); tagnav (no conflict, failed after the merge) regenerated and read: in raw tty mode the shell's prompt row 6 (`$ `) is no longer drawn at tty-on, nor taken away at column-tag: the case's `: :` in the terminal pane opens `:`'s band there, the band's rows come out of the terminal's body, its pty is resized smaller and back (the band class of item 4, A's band term), and the shell's redraw leaves that row blank (RUN: with `:`'s band held at 0 rows in a terminal pane, a temporary edit put back, tagnav matches G2's golden); a user meets it: `:` (any band) in a terminal pane resizes its pty while it is open; gates: core-test 1061/1231 (170 skipped), shell-test 1278/1281, pane-test 183/184, behaviour-test 277/277, process-test 1/146 (tagnav), then tagnav alone after its regeneration 0/1, term-test 17/17, kitty-test 45/45; the 40,000-seed fuzz meets item 2's fault (join seed 6356 here)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| | |
rows, a letter typed only filtering them and Tab or a click giving one; `:open ` lists the files the panes show; and the faults the gates met (walk UI, pick-ui SPEC.md §10.4, item 4 of line E2): with a question waiting on the pane (Messages.waitingAnswers) its answers are the names' first rows, each after its key in the key ink (`r Reload`, `k Keep mine`, `d Diff`), `answers the question` on their right, the last ruled off from the tag's words as theirs is from the commands; typing filters them as the rest (Names.match on the word), so a letter never answers (`:r` is a line, `:reflow` runs reflow); Enter gives one when the current row is an answer Tab or a click put in the field, or its whole word typed, the tag at rest first (Messages.waiting, Messages.answer); a click (B1, TagState.point) on an answer gives it at once, and on a line of C-r's history puts that line in the field (Prompt.history_row marks a history row's index: a click there was read as an index of the rows); a damaged image's cursor past the rows is held to the last (Command.current); THE STAND-IN: this tree has no questions: Messages.zig's block from `---- a stand-in for line C's questions` to `---- the stand-in's end ----` has `Answer`, `waiting`, `waitingAnswers` and `answer` in the shapes of line C's (vxmpyyst), saying none, and root.zig's allowed_vars line `Messages.zig stub_asked` its test's question: THE MERGE WITH C DELETES BOTH and keeps C's; Command.zig's test asks through the stand-in here and, by `comptime @hasDecl(Messages, "stub_asked")`, through a file changed on disk under unsaved text in C's tree (`ask`, as C's own test asks), nothing to edit; THE FAULT THE SOAK MET (item 2's): `:open ` listed the session's recent files, which are its alone (Core.zig `.authority`): random keys typed `:o ` and the session listed them where a client listed none, so the band under the tag took other rows there (pane tag_rows, rows, the view's rects: the witness's names) and a PDF pane's kind diverged after its view (rtt 30: diverged 31, the tape's answers to the addon short after); now the files the panes show, each once (Command.fileOf, firstOf: replicated, 64 at most); THE FAULT THE 40,000-SEED FUZZ MET (in no code of this line: the dump's layout moved, TagState.worn and Prompt.command, and a seed met it): a dump whose fs.Namespace `opens_len` said 98 of its 64 opens was refused (walk.holdTo), and the load's errdefer (dump.zig loadKnowing) tore the namespace down over `opens[0..opens_len]`: index out of bounds, a panic where a refusal was due; Namespace.deinit holds the length to its opens now; a user restoring a damaged dump could have hit it; TEST FIRST: Command.zig "a question waiting on the pane lists its answers first, each after its key, ruled off; a letter typed only filters them; Tab onto one and Enter gives it" (a click too), fs.zig "a namespace a refused dump left saying more opens than it holds is torn down to its last" (shell-test), item 3's test clicks a history line, item 2's lists the open file; core-test 1025/1192 (167 skipped), shell-test 1239/1242, pane-test 182/184, behaviour-test and its replay 274/277 (the failures A's, as on E's tip), process-test 5 of 146 (the base's: find, builtins, leader, tagnav, ttyhelp), term-test 17/17, kitty-test 45/45; the fuzz at 40,000 join and 1,779 image seeds over a session left in `:theme o` after a Tab (TagState.worn set): pass; THE SOAK, 5 clients, FAILS: diverged 32/0/2 at rtt 30/80/207 (seeds 0-2: a PDF pane's kind state after its view, then the tape's answers to it short; the witness names the band's host pane's and the PDF pane's tag_rows, rows and tag_lead, and the view's rects), and inputs `the mouse in a kind's pane` that may_wait does not list; with `:`'s band held at 0 rows (Command.takes, a temporary edit, put back) the same soak is clean: diverged 0 at 30/80/207, no stop off may_wait: the fault is the band's (A's layout term) in a session with a kind's pane and clients, which no input of the soak reached before `:` (typed by its random keys) opened one; not fixed here
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | |
| |
| |
| |
| |
| | |
Enter ran and C-r unrolling them before its rows (walk UI, pick-ui SPEC.md §7.2 and §8, item 3 of line E2): Up and Down bring `:`'s ring's lines into the field (Pardes.prompt_history.command, 16 lines, newest first; the search and select prompts' and the pipes' are their own), its rows made again for the line recalled (`set Wrap off` lists Wrap's values); Ctrl-r unrolls the ring as a step, the lines holding the field, now the band's FIRST step for `:` (Prompt.steps): after the rows and their doc it was placed past the doc, which takes the width the others leave, so it was never seen; `:` on the empty field gives the keyboard to the tag's own text and `:` there gives it back (item 1); Esc in a tag keeps today's meaning (Last), as four tests pin it; TEST FIRST: Command.zig ": has a history of its own: Up and Down bring back the lines Enter ran, newest first; C-r unrolls them beside the rows, filtered by the field; a search's lines are not among them" (on item 2: the band's first step was the rows, `Save in the tag` where `goto 2` was looked for); core-test 1023/1190 (167 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | |
| |
| |
| |
| |
| | |
the rest of the line the query, and `:theme ` dresses the whole window in the current row (walk UI, pick-ui SPEC.md §8, item 2 of line E2): `theme ` lists every theme (colors.themes, in the ring's order, `in use` beside the session's), `set ` and `toggle ` the settings this frontend has with their values now (the root ctl's text, ninep/ctl.zig settingsText), `set Wrap ` that setting's words (Settings.choices: `on off`, `walk new-pane`, `off cat frog`; `now` beside the one it has), `open ` the recent files (recent.zig, 200 at most, from the pane's directory, `open` beside a file a pane shows: the directory walk is the pickers' and not in this tree), `pipe ` the pipe history, newest first; filtered as the names are (Names.match, in their order), counted (`273 themes · the window wears the current one`, `2 values`, `1 recent file`), Tab and S-Tab writing the row after the command (`set Wrap off`); THE PREVIEW: colors.wear(p, index) is the one function a state that previews themes calls (agent F's Themes picker can call it as it is): the live view's TagState.worn (an index of colors.themes, in the digest and the dump, held to the themes on a load: replica `.index` isTheme) and every pane flagged previewing, so none dims; Core.theme() returns the worn theme and chromeTheme() its chrome, worked out once a theme (Pardes.worn_chrome, a cache kept out as body_chrome is, made by wear and by a frame's first step for a view that wears another), nothing loaded or set: every pane, tag and band recolours on the next frame; TagState.toRest takes it off, so Esc puts the window's own back, and Enter runs `Theme <the one worn>`; a load meanwhile works out the session's own chrome (colors.finishThemeInitialization no longer reads theme()); TagState.max_hits is at least the themes' count (273: 70 of pardes's, 203 generated) so their rows fit; test/perf.zig --search measures a key in `:` and Tab in `:theme ` with their frames; TEST FIRST: Command.zig ":theme lists the themes and the whole window wears the current one, none dimmed; Tab steps it on, Esc puts the window's own back, Enter keeps the one worn; :set lists the settings with their values, then a setting's values; :pipe the pipes typed last; :open the recent files"; item 1's test reads the theme worn for `:theme acme`; core-test 1022/1189 (167 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | |
| |
| |
| |
| |
| | |
tag's own words then the commands a helix hand types, each the pardes word it runs (walk UI, pick-ui SPEC.md §8, item 1 of line E2): `:` from a body is a text prompt of its own (Prompt.zig's `.command`, its state Command.zig in TagState.prompt.command), drawn after a `:` key cell in the tag's head, the plain word the line is (`= Exec Save`, `= Exec Theme acme`, `= Look :12`, `= Exec Edit |sort`), the count (`16 commands`, or what a command takes: `<theme>`, `⏎ runs it`); its rows in the band: the tag's own words in the tag's order (its text after the prefix but `|`, then `Kill` for a terminal whose tag has none), each `in the tag`, the last underlined as the rule off the rest, then `write w`, `quit q`, `theme`, `set`, `sort`, `reflow`, `goto g`, `open o`, `pipe`, `reload`, `toggle` with what each takes on the right (`<theme>`, `<setting>`, `<line>`, ...), filtered by the field's first word with the query pane's scorer (Names.match) in their own order, the query's bytes in the match tint, eleven around the current one; beside them the current row's doc (a builtin's from the registry, a command's own, naming the word it runs); Tab and S-Tab write the next or the last row into the field, a command with a space after it, the rows staying the line's from before so Tab steps on through them (a click on a row the same, TagState.point); Enter keeps the line in `:`'s history (Pardes.prompt_history.command) and register `:`, puts the tag at rest and runs it as B2 runs a word (exec_cmd, look_cmd): `write [path]` Save, `quit` Del, `theme X` Theme X, `set W v` the setting's word with its value (any case typed), `toggle W` the word bare, `reload` Get, `goto N` Look `:N`, `open F` Look F, `sort`, `reflow [N]` and `pipe cmd` each selection piped as `|` does (`sort`, `fmt -w N`, 80 by default; Pipe.submit, a file's text only), anything else the line Exec'd (a builtin by name, else a command pane); what cannot run is said (`goto: a line number`, `set: no such setting`); `:` on the empty field gives the keyboard to the tag's own text as `:` did before (tagline.enterTag), and `:` there gives it back; `lsp-restart` is not a command: pardes has no word that restarts a language server; Esc in a tag keeps today's meaning (Last): four tests pin it after a click in a tag (tty collapse, tty tagcmd's rename, mouse's double-click, mode's tag Exec); THE TEST SITES that typed `:` from a body to reach the tag now type `::` (44): core/Pipe.zig "| in a tag pipes the tag's own text", test/panes.zig "paste into pane commands and prompts" and "a tag that exactly fills its row", test/behaviour/tags.zig 24 (lines 28 41 53 66 84 93 95 99 108 122 128 137 139 143 156 158 160 162 173 182 194 223 253 440), test/behaviour/keys.zig 41 271 373, test/behaviour/panes.zig 253, test/process/tty_editing.zig 112 1376 1392 2379 2393 2436 2453 2459 2540 2579, tty_terminals.zig 429 453, tty_layout.zig 439; those typing `:` in a tag to come back, or window mode's `:`, are as they were; golden ttytaken: the echoed command two cells to the right (the `:` band takes the terminal's rows for a step and gives them back, so its pty shrinks and grows and bash redraws its line: A's band pushes a terminal's body as any pane's); TEST FIRST: Command.zig ": opens a field in the tag after its key cell ..." and ": on the empty field gives the keyboard to the tag's own text ..." (on the base `:` gives the tag the keyboard: no prompt); core-test 1021/1188 (167 skipped), pane-test 182/184, behaviour-test 274/277 (the failures A's, as on E's tip), shell-test 1235/1238, process-test the base's five (find, builtins, leader, tagnav, ttyhelp) and none of mine
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
keyboard where jumps walk, decided when it is asked: a 9P script's Hover gets its +Hover pane again (walk UI M3 item 4, found by the merged tree's behaviour-test, line F's hover under the jumps default walk): RUN: behaviour-test "language-servers: Hover says the signature and the documentation the index has" (a Hover written to /pane/N/ctl) failed at language_servers.zig:195, no +Hover pane to read; THE CAUSE: core/lsp/Ask.zig chose the ghost lines when the ANSWER came (`w.kind == .hover and Pick.asked(p)`), and Pick.asked says "not a script's" by `p.fs.serving`, which is false by then (the answer arrives after the 9P write was answered), so every hover under walk became ghost lines, a script's too; line F's tree had jumps new-pane by default and never met it; THE FIX: the wait remembers it when asked (`ghost`, Pick.asked at the ask, in the dump and the digest with the wait), the answer reads it; a user could hit it: a script or a tool asking Hover over 9P in a session whose jumps walk read no +Hover; TEST: the behaviour test above (fails before, passes now), lsp/Ask.zig's "a hover asked from the keyboard is ghost lines ..." still passes
; THE MERGED TREE'S GATES (walk UI M3 item 4, on this change; load 2-6 on 16 CPUs): tui core-test 1055/1225 (170 skipped, 0 failed), shell-test 1272/1275, pane-test 183/184, behaviour-test 277/277 and with --replay 277/277, process-test 0 of 146 failed (2 skipped), term-test 17/17, kitty-test 45/45; the 40,000-seed dump fuzz with a kept picker, a recipe and a search word in its session (G2/fuzz40k.sh): FAILS at join seed 4135 (and without the new session lines at join seed 33733, G2/fuzzbare.sh): `panic: index out of bounds: index 43690, len 96` in the digest after a load (walk.zig:568 hash, tape.digestOf from fuzz.zig loadSeed): a loaded live message's `Messages.Said.src` (a Kind.Buf(96)) has a length never written (0xAAAA, the safe allocator's fill), not fixed here; the named seeds 19224 and 31554 (H's opens_len fix) pass; the 5-client soak (G2/soak.sh): no double free (H's xkpmuwtz holds), corpus through a client 22 scenes the same, unequal 0, diverged 1: seed 2 rtt 207 ms client 3 "the core called pty_resize where the tape has a done (0) (tape byte 149, in step)", not fixed here; frame gate walkui-G2 against tree7: 77 frames, 77 differ, each byte-identical to line C's gate's (walkui-C: the notice row): the corpus runs under `Jumps new-pane`, so no Keep or reading tint in it and the walk UI adds nothing else to a frame at rest; gui unit-test 1865/1871, two new failures under the jumps default walk, not fixed here: gui.zig "every pixel of a grip column is band, button or ring ..." (TestButtonUnderFirstRow, gui.zig:7232) and "the layer cover is the per-cell layer scan ..." (gui.zig:7127, `notices`: its `Msg` steps make no notice band since line C's notice row and E's prompts left the band); perfab refused (the pictures differ, as line C's); perfops 35 of 121 over 0.1%, all under the round's 10% but main's deep-sel (+52.8 to +57.4%): image-frame +5.64% (the notice row drawn every frame, line C's), edit-twin +2.19 to +2.78%, render per op +1.62 to +1.74%, client-key-down +0.99 to +1.51%, open on small +0.83%, the sessions' setups +0.12 to +1.46% (small and medium, once a session)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
dump's views not live keep the ranges beside their primaries, the load no longer frees each share's `sels` that views.undumped handed to a parked view: the soak's double free), no conflict (it touches dump.zig and fuzz.zig only; fuzz.zig keeps this line's session with a kept picker, a recipe and a search word); core-test on it 1055/1225 (170 skipped, 0 failed), shell-test 1272/1275, pane-test 183/184; the gates of the merged tree are the next change's
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
loaded, each share's `sels` is the core's, which `views.undumped` gave it (or freed it, a share refused), and the load no longer frees it after: line B's ozlumvqo (the same hunks are A2's ztzvvwkk) freed everything the load made after the core's views were read (`l.shared.items[at..]`), which took each kept share's selection buffer from under the view that holds it; found by the 5-client soak on the walk UI's merged tree M1 (xvnytwqm); RUN FIRST: `zig build replicas -Dplatform=tui -- --clients 5`: `double free or corruption (out)` at seed 0 rtt 30 (glibc, in a client's replica: Replica.confirm, replayUnit, keys.handleKey, normal.textKey, edit.handleInsert, normal.replaySels, Text.setRanges, Text.setRange, Text.dropSels (Text.zig:158), rollback.Epoch.free; the core dump shows the pointer freed inside an 80x21 surface's cell buffer allocated since: a selection buffer freed before and its memory taken again); with the replica cores' allocations on a SafeAllocator over pages (a diagnostic, not kept): `Segmentation fault` reading `pane.body.sels[si]` (body_layer.zig:397, renderBody) in a client's first draw after its join (replicas.zig joined, client.zig draw, views.drawOne, Pardes.render); and dump.zig's new test, a session whose view 0 has a second cursor, dumped (byteDump, a join's) while view 1 is live and loaded: `Segmentation fault` in Text.deinit freeing the parked view's `sels` at the loaded core's deinit (freed already by the load); THE CAUSE: dump.zig:457 (loadKnowing, after `views.undumped(p, others)`) freed every allocation the read of the shares made, the containers (`others`, each `o.panes`) and each share's `pv.body.sels` alike, though `undumped` (views.zig:134) puts each kept share's PaneView, its `sels` slice with it, into `pane.pv[k]`, and frees a refused one's itself: the core's parked views held freed buffers (a draw read them, a view's keys wrote and freed them again); THE FIX: before freeing what it made, the load drops each share's `sels` allocation from that list; the containers are still freed by what the read made, not by hand (ozlumvqo's point: a damaged dump's reference to a slice the core holds is never freed here); a user could hit it: a client joining a session where another client's view (not the one live when the join's dump is made) has more than one cursor: the joining client's core holds that view's freed ranges, and its process aborts or its replica diverges once that view's input is replayed or drawn; TEST: dump.zig 'a byte dump's views not live keep the ranges beside their primaries: loaded, the core holds them, each freed once' (fails before: the segmentation fault above, passes now); the 5-client soak clean (rtt 30/80/207: diverged 0, unequal 0, quiet checks 517/0, 428/0, 611/0, stops off may_wait 0, corpus 22 of 22, no leaks; 710 s); the fuzz at 40,000 join and 1,779 image seeds green in 154 s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
word beside the reader's walk and Help (walk UI M3 item 4, the gate's setup): a list picker landed in the reading pane (Pardes.picks: its rows, query and marks kept after its Enter, its list word in the trail), `%s a` Enter (a recipe's word and its selections, Pane.recipe_sels) and `/gam` Enter (a search's word and its places), checked present before the dump is cut; at its kept counts (2048 join, 1024 image seeds) core-test's "a dump and an image cut ..." passes (11/11 with its filter); the 40,000-seed run is the merge's gate
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
WorkspaceEdit) holds the reading pane it lands in, as a typed edit does (walk UI M3, found by item 3's golden reading, pick-ui SPEC §6.5 "Editing a reading pane keeps it the same way"): RUN: process-test lsp-client-edit under jumps walk: main.rs formatted by the mock (`=`), then renamed (SPC l r), still showing `Keep` in its tag in every snapshot after the edit (formatted, unformatted, renamed, unrenamed), a reading pane the next jump would step away from its edit; THE CAUSE: Trail.edited (an edit holds the panes showing its file) is called from File.zig's splice for `how == .edit` only, and core/lsp/Ask.zig applyLspEdits puts the server's edits in as the file's new text through File.load (pushUndo, then load: one undo step), which is no `.edit`; THE FIX: applyLspEdits calls Trail.edited after the load (a reload from disk, File.load's other use, still holds nothing); a user hit it: any format or rename by a language server in a pane reading under `Jumps walk`; TEST FIRST: lsp/Ask.zig "an edit a language server sends (a format, a rename) holds the reading pane it lands in, as a typed edit does" (failed before at Ask.zig:790, the pane still reading)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
walk (walk UI M3 item 2, pick-ui SPEC §7.2, §6.3, §7.3): Alt-Enter in a search (`/ ?`) or a sam prompt (`s S K A-K`) keeps the result as a list, a row a place (`path:line:col: text`, the text's leading blanks off, cut to 160 bytes, look.parsePathLine's form so the column lands too), the first Query.max_rows (2000) and a message saying how many there were past it: where jumps walk (Pick.asked: never a 9P script's) a picker of those rows (Pick.Source.list, titled by the prompt's plain word, `/dirty/` or `Edit x/dirty/`, cut to the picker's word at a character's start) in the tag of the pane its Enter lands in, the body as it was before the prompt, its Enter the list word `/dirty/ 3/7` in the trail; under `Jumps new-pane` a search keeps E's query pane (Query.open) and a sam prompt's selections are a +Search list (Output.fillResults), where before Alt-Enter in a sam prompt did nothing; the sam prompts' hints say `M-⏎ as a list` as the search's do; one owner for n and N (§6.3: the newest list or search word, or the one Looked at): a search's places answer n while they light its word (§7.3: tinted while it is the word n walks), so a list landed in the pane (Pick.listed, after Trail.through) puts a search's tints out, n then walking the list (D's walkList already gives way to a newer search word), and Look on the search word (Prompt.lookWord) lights it and takes n back; F's colors.previewTheme stays the one theme preview (no other in the tree; it is derived each step from the live themes picker, Pick.produceAll, so E2's `:theme ` either goes through Pick.Source.themes or derives it the same way); TEST FIRST: Prompt.zig "Alt-Enter in / or s keeps the result as a list ..." (failed before: no picker, Pick.live null), Pick.zig "n and N walk the newest list or search word, or the one Looked at ..." (failed before: the search's places still lit after the list landed, Pick.zig:1912, n stepping the search); E's `?` test loses its Alt-Enter tail (now in the new test, both routings), its `s` head test reads the new hint; five Query/Stream tests about today's query pane opened by Alt-Enter in `/` set `Jumps new-pane` (G's newpane.py); goldens: selregex and msg regenerated (process-test --update), each changed row the sam prompt's hint `⏎ select · M-⏎ as a list · C-r history · esc` and nothing else; tui core-test 1053/1223 (170 skipped, 0 failed); process-test 9 of 146 failed before the two updates: those two and item 1's seven left to item 3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | | | |
| | \ \ | |
| | \ \ | |
| | \ \ | |
| |\ \ \| |
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
line F (wwqsrnol: registers, painted targets, hover and rename ghosts, the themes picker, the trail's fold), line E (tuwqwmlm: text prompts, in-body search and its word, recipes, pipes with ghost lines, Text.setRanges) and H's first fix (vxkunwvk: a refused load's rollback frees the namespace's opens once) merged, each conflict resolved by what both sides meant: TagState.Kind is {rest, help, describe, pick, rename, prompt} with D's `pick` and E's `prompt` fields both kept, its head's arms D's picker, E's prompt and F's Rename after A's describe; Band.takes and Band.of give E's prompt steps and F's rename none beside D's picker; keys.zig handleKey runs E's Prompt.keyAtRest (any key but a sam prompt's ends a recipe) before F's Esc that takes a hover away, and tagStateKey's switch has every kind (E's prompt first, unreachable after it); normal.zig's Esc is C's chain, whose first step (a search's tints) is E's first-Esc-clears-tints (the word stays in the trail, dimmed), and n/N step a search's places saying where (E's Prompt.stepped) before D's list walk (Pick.walkList); Trail.zig keeps G's lift and E's setWord, one wordOf (the step by pointer, D's and E's same fix, with F's fold count `whole`), F's `folded` and E's `spanOf` taking that count (Prompt.unlit too, so a dimmed search word is measured as the tag draws it, folded out of rest), and Look/Exec on a list word D's reopen/rerun, on a search word and a recipe E's; body_layer.zig renderBody paints F's targets in the gutter first (the ghost rows after them push them down with their lines), then C's message ghosts, F's hover ghost lines and F's rename preview, E's pipe ghosts staying after the cursor as E drew them, and keeps C's messageGhosts beside F's paintTargets, hoverGhosts, renameGhosts and their helpers; Pick.Source has G's `messages` and F's `themes`, neither among the spine's sources; root.zig exports Pick and Prompt; tests: F's registers test reads A2's single BAND_LAYER, E's echo checks read C's said message (Messages.saidBy) for the gone Pane.msg; the wire is ONE bump for the merged tree, 36 (A's 36, E's 37 to 39 and F's unbumped dump changes in one entry), test/daemon.py's WIRE 36; the five conflicting goldens regenerated (process-test --update), never hand-merged, and read against both sides (G/gkeep.py): fsearch and lookrange (E's `/` prompt in the reader's tag and its search word `/NEEDLE/ 1/2` in the trail in place of G's +Search query pane, the notice row echoing `/NEEDLE/ 2/2 · line 8`), msg (E's `s` prompt in the tag's head in place of the notice band's), pipe and selregex (E's prompts with G's Keep word and C's notice row); docs/typ/builtins-{tui,gui}.json regenerated: unchanged (the merge's are what the registry says); tui core-test 1051/1221 (170 skipped, 0 failed); process-test before the five updates 12 of 146 failed: those five, five more goldens the merge moves (tagnav, builtins, find, lsp-rename, lsp) and two cases of today's routing that now meet F's states under jumps walk (themesel: SPC t t is the themes picker; lsp-client-edit: SPC l r is F's Rename and its click lands a row up under the wrapped tag), left to item 3's reading pass
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
again: they are what the load read, freed by the rollback, and their count may be the damaged one the load refused: a refused load's teardown (`p.fs.deinit` after `l.rollback()` in loadKnowing and loadImage) walked `opens[0..opens_len]` as the dump gave them; found by the 40,000-seed fuzz on the walk UI's merged tree M1 (xvnytwqm); RUN FIRST: fuzz.zig "a dump and an image cut ..." at join seed 31554: `panic: index out of bounds: index 255, len 64` (fs.zig:1029, Namespace.deinit, from dump.zig:402's errdefer: the dump's opens_len past the 64 slots, refused by walk.holdTo, then read that far by the teardown); and dump.zig's new test, a session with a script's open holding a half-written line (`pending`) whose load is refused after the core (a mount of the same name dialled elsewhere: error.MountConflict, dump.zig:432): `panic: double free` of the open's 9 bytes, the first free `l.rollback()` (dump.zig:401), the second Open.deinit through Namespace.deinit; THE CAUSE: the errdefer of both loaders tears the namespace down for what Pardes.create made (its log, its out, its mounts), and Namespace.deinit frees its opens too, which the load had read in place: the rollback's to free; THE FIX: the errdefer sets `p.fs.opens_len = 0` before `p.fs.deinit` (both loaders); a user could hit the double free with no damage at all: a Restore or a join of a dump taken while a script held an open with something in it (a half-written line, a frozen listing, a run's output) into a process started with a mount of the same name dialled elsewhere; the index past the slots only with a damaged or hostile dump; TESTS: dump.zig 'a load refused after the core frees what a script's open held once: the rollback's, not the namespace's' (fails before: double free), fuzz.zig checks join seed 31554 by name (fails before: index out of bounds); the fuzz at 40,000 join and 1,779 image seeds green in 158 s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
over the text to the last range where a count from the top for each was a pass a range (walk UI, line E, for item 3's live s: "every key in a prompt draws its live effect in the same frame"): RUN (pardes-perf --search, ReleaseFast, a 1.08 MB file, `%s` then a pattern that finds 1024 ranges near the top): 442-451 million instructions, 25-27 ms a key and its frame; THE CAUSE: Text.zig setRanges put each range's two ends with modal.positionAt, whose row is lineAtOffset's count of every newline from the text's start (1024 ranges, two ends each, a pass each); THE FIX: the ranges are sorted and merged by then, so a Walked counter takes each end's row on from the last (positionAt's answer, from the top again for an end before the last); now 30-38 million, 1.6-2.3 ms, the no-match key (`qq`, a pass over the text) 50.8 million, 2.2-2.4 ms, `/` 1.5-2.1 million (9.7 million its first key); TEST FIRST: Text.zig "setRanges puts each range's ends where positionAt says, counting rows on from the last"; core-test 1019/1186 (167 skipped), shell-test 1233/1236, pane-test 182/184, behaviour-test 274/277, process-test A's six (the failures A's, as on item 1)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
pick-ui SPEC.md §7.4, item 4 of line E): `| A-| ! A-! $` from a body run the command as typed at each key when its first word is a known filter (`sort uniq tr cut sed awk jq column fmt fold rev head tail wc grep nl tac cat`), else the count says `<cmd> isn't a known filter · C-p runs it` and C-p runs it live all the same; the live run is a pipe request of its own, off the loop (Pipe.preview, out with the host as `wait` is; a later key's supersedes it, its answer then no one's), its command framed so that each selection's run says its stdout, its stderr and its status (Pipe.framed: sh, the runner's all-or-nothing answer kept as it is); counted `2 lines → 2 · exit 0`, `2 runs · 1 ok · 1 exit 2 <its stderr's first line>`, `keeps 4 of 6` (`$`), `⋯` while it runs; the outputs drawn in the body as ghost lines under the lines they replace (Prompt.ghosts, renderBody's last step: the replaced lines on the diff's deleted ground, each output on the added ground, `!`'s before its selection, `A-!`'s after, the rows below pushed down; drawn, never written: R3), `A-|`'s runs a band step, each `#1 exit 0` and its output; Enter over runs that failed is refused once (` — ⏎ again applies the 1 that worked`), again applies what the live run made, the selections whose runs failed left as they were (Pipe.applyLive: pipeResponse's apply split out, a run's status its verdict), and nothing when every run failed (said, the prompt open); a command not run live, and `A-|` (its point is what it does), runs on Enter as before, one request; wire 39; THE FAULTS THE 40,000-SEED FUZZ MET (each in no code of this item, each a damaged dump's): Core.PendingWrite's `off` past its bytes (dropPendingWrite's count below zero), now a `.place`, the total saturating; the prompt histories' lines undefined past a damaged count (walk.hash read a length of 0xAAAA), now empty by default; TEST FIRST: Prompt.zig "a pipe prompt runs a known filter live, a run a selection ..." and "a live run's framing says each run's output, stderr and status in a real shell" (shell-test); Pipe.zig's tests take the request the keys made last (a known filter ran live before Enter ran it); golden pipe (the count of the live run); core-test 1018/1185 (167 skipped: the framing test wants a shell), shell-test 1232/1235, pane-test 182/184, behaviour-test 274/277 (the failures A's, as on item 1), process-test A's six and none of mine, term-test 17/17, kitty-test 45/45; the fuzz at 40,000 join and 1,779 image seeds: pass; the soak, 5 clients: diverged 0, unequal 0 at rtt 30/80/207, quiet checks 590/0 484/0 700/0, the corpus 22 scenes the same, exit 0
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
show their scope and what K drops (walk UI, pick-ui SPEC.md §7.1's table, §7.5, item 3 of line E): a sam prompt (`s S K A-K | A-|`, sam's `x y g v | >`) right after another of the same pane's, no key between (Prompt.chain, ended by any key at rest but one that opens such a prompt: Prompt.keyAtRest from keys.handleKey, by a search, by `! A-! $`), extends the pane's one recipe word in its trail, the Edit line it is (`Edit x/self../ g/a/ |tr a-z A-Z`, Trail.setWord); a selecting one that found nothing adds no link; Look on the word puts back the selections its sam prompts made (Pane.recipe_sels, recipe_pri), Exec runs it as Edit (edit_cmd.run, sam's dot the primary selection: a recipe of selections alone prints its matches, as acme's Edit does); while `s S K A-K` is typed the lines the selections it began with cover are fenced `┃` in the gutter, and K's and A-K's selections that would go are dimmed and struck through (a visible line's ranges found by a binary search, never all of them a frame); wire 38; THE FAULTS THE 40,000-SEED FUZZ MET over a session holding a recipe, a search word and an open prompt (a dump or an image cut, flipped and grown loaded and used): View.focus_told's pane slot was never held to the panes (Core.zig reportFocus indexed p.panes past 64: a damaged image's), now a `.index` of its own; A's Field's caret was not held to its text (Field.insert copied past the buffer at caret 513), now a `.place`; Places.current past its places (Places.addTicks's tickOf, the prompt's count and the gutter) taken as none; a search word's `/re/` length past its text taken as its text's; a user loading a damaged Dump could have hit the first three; TEST FIRST: Prompt.zig "sam prompts one after another make one recipe word ..."; fuzz "a dump and an image cut" at 40,000 join and 1,779 image seeds (a temporary edit, put back): pass; the soak, 5 clients: diverged 0, unequal 0 at rtt 30/80/207, quiet checks 413/0 426/0 619/0, the corpus 22 scenes the same, exit 0; goldens pipe (the recipe word in the trail), selregex (the fence); core-test 1017/1183 (166 skipped), shell-test 1230/1233, pane-test 182/184, behaviour-test and its replay 274/277 (the failures A's, as on item 1), process-test A's six and none of mine (`exec` failed once under a load of 8 and passes alone), term-test 17/17, kitty-test 45/45
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SPEC.md §7.3, item 2 of line E): its places found from where it began (Places.search, the view's on the key, a frame's budget a tick after), tinted, the current one stronger and selected as soon as it is found (`?`: the last before the caret, once the text between is searched), the gutter marked in the blank after each line number (`▸` the current place's line, `▪` the others'), counted `3/7 · 5 lines` (`3/⋯` while they are found; the lines counted once, at the step they are all found, a pass to the last place), ` · wrapped` past the end from where it began, `0` for no match; a pattern that is no regex keeps the last places, dimmed (Places.paint), the reason in the count; Enter lands, the pattern in `/`, and folds the pane's one search word into its trail (`/dirty/ 3/7`, Trail.setWord: the newest back step, in place of the one it had); n and N write it again in place and echo `/dirty/ 4/7 · line 112` on the message row, ` ↻` after a step round an end, `–/7` with the selection off its places, every step (Prompt.settle beside the places'); the first Esc in normal mode clears a search's tints (SPEC §10.4's first step: C's Esc order when it lands) and the word stays, dimmed (draw.zig, Trail.spanOf); Look on the word lights its places again and selects the one it was on, Exec searches again from the caret (Trail.lookStep, execStep); `*` makes the selection's pattern the search word, no prompt and no query pane; Alt-Enter keeps the places as rows: today's query pane (Query.open .text), the body as it was; `?` is helix's backward search, a new role (modal.zig, config.zig); THE FAULTS THE TESTS MET, both B's and latent until a word step was made: Trail.wordOf returned the text of a COPY of the step (a slice of its stack frame: the word drawn as garbage), now the step's own bytes; Trail.lastCur held `cur` under `n`, though keep() leaves a held pane's at `n` (a search word alone: the dump's load moved it and the digests differed), now `n`; TEST FIRST: Prompt.zig "/ searches the body as it is typed ..." and "? searches back from the caret ..."; Places' `*` test reads the echo, Query's and Stream's `/` tests keep their query pane by Alt-Enter, Query's `*` test reads the word; test/perf.zig --search measures a key in `/` and `s` on a 1 MB file; goldens fsearch, lookrange (the prompt in the tag, the word in the trail); core-test 1016/1182 (166 skipped), shell-test 1229/1232, pane-test 182/184, behaviour-test 274/277 (the failures A's, as on item 1), process-test A's six and none of mine, term-test 17/17, kitty-test 45/45
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SPEC.md §7.1, §7.2, item 1 of line E): `s S K A-K | A-| ! A-! $` from a body are a typing state of the view's tag (TagState.Kind.prompt, its state Prompt.zig, its field A's Field), drawn after the prefix in place of the tag's own text (R1): box `^`, the prompt's key cell, the field, the plain word it stands for (`= Exec Edit x/self/`, `Edit g/re/`, `Edit |tr a-z A-Z`, `Edit >cmd`; none for `! A-! $`), its count (`2 selections in 3 lines`, `keeps 1 of 2`, `0` for no match, the selections it began with back), the hints; the live machinery as it was (normal.applySelRegex, now returning what it found; the pipe off the loop, Pipe.submit split from the notice band's submitPipe); a pattern that is no regex changes nothing, the last result drawn dimmed (body_layer) and the reason at the count's place in the error ink (TagState.Style.err, regexp's message); Up/Down recall the history inline, Ctrl-r unrolls it as a band step filtered by the field (three session histories, Pardes.prompt_history: search and select's, the pipes', the command line's, 16 lines each, in the digest and the dump); Esc and Backspace on an empty field put the body back; Enter keeps the line in its history and the pattern in `/`, the command in `|`; a paste goes into the field; a prompt for a tag's or a header's text, Save's path, a terminal's `/` still ask on the notice band; wire 37; TEST FIRST: Prompt.zig "s asks in the tag's head ..." and "Enter keeps what s found ... a pipe from the body asks in the tag and runs off the loop"; Pipe.zig's and panes.zig's prompt tests and test/behaviour/keys.zig's two read the head; goldens pipe, selregex, msg (the prompt in the tag head, no chip); core-test 1014/1180 (166 skipped), shell-test 1227/1230, pane-test 182/184 (the 1 failure A's: `SPC h ?` is Help in the tag now), behaviour-test 274/277 (the 3 failures A's: window mode's head, a struck leader key), process-test the 6 of A's report plus none of mine, term-test 17/17, kitty-test 45/45
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
each a step and its frame (a Down in the registers' level unrolled, a frame with `]`'s targets painted against one at rest, a Down in the themes picker), and the painted targets look for the spec's six alone (`f p T c g d`, pick-ui SPEC §4.4: the tree objects function, test, comment; a type's, an argument's, an entry's and an element's queries no longer run on the frame): a frame with `]` painted 18.1M instructions in Debug before, 11.7M after, against 1.17M at rest (walk UI line F, the brief's measures; the ReleaseFast counts in the report)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
in the edited pane's own body: the hover as ghost lines under the line it was asked at, no +Hover pane, Esc taking them away; Rename typed in that pane's tag (` Rename best → bester▌`, the old name struck), each whole-word place of the old name in the rows shown drawn struck with the new name after it as it is typed, Enter asking the server for it (its edits applied as before), Esc asking nothing (pick-ui SPEC §3.5, §14.1, R3, walk UI line F item 3, its hover and rename; code actions NOT done: the protocol client sends an action's title alone, no edit to preview or apply): Ask.hover (its pane, line, revision and first 1,024 bytes, in the dump; an edit of the text stops it showing), body_layer.hoverGhosts and renameGhosts (drawn after the rows as the message ghosts are, the rows below pushed down or a row's cells pushed right, never written, the rows shown alone), TagState.Kind.rename (its head; no band), Ask.openRename and renameKey, the name under the caret Ask.renamedWord (the preview is pardes's own whole-word match in view, the edit the server's on Enter); under `Jumps new-pane` or from a 9P script, +Hover and the rename prompt as before; TESTS: Ask.zig "a hover asked from the keyboard is ghost lines ..." and "SPC l r types the new name in the pane's own tag ..."; core-test 1029/1196 (167 skipped), 0 failed, load 8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
tag, the whole window wearing the theme under the cursor and no pane dimmed (every one flagged previewing), Enter wearing it, Esc putting the session's own back (pick-ui SPEC §5.1, §3.6, walk UI line F item 4): a source `themes` (Pick.Source; its rows the themes in their order, the cursor starting on the one worn; no reader, no acts, no other sources, no second row), its preview colors.previewTheme, the one function the `:theme ` argument rows can call too: Pardes.theme_preview over the session's theme in theme() and chromeTheme() (its chrome worked out once a theme, never a frame; nothing loaded, a ThemeFile and a custom theme untouched under it), set in the step of the key that moved the cursor (Pick.produceAll) and cleared at the roll-up; both fields on root.zig's kept_out list (derived from the picker's cursor, which the digest has); Themes from a 9P script or under `Jumps new-pane` opens +Themes as before; TEST: Pick.zig "SPC t t is a picker of the themes ..." (its host, the cursor on the worn theme, every pane previewing, Down wears the next with the session's unchanged, Esc, Enter); core-test 1027/1194 (167 skipped), 0 failed, load 8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
click does (Tab Execs it, as B2), and out of rest the walk folds to its newest word, its older ones `·` (pick-ui SPEC §6.3, §3.4.3, walk UI line F item 5, the gaps line B left): keys.zig handleKey's Enter-in-a-tag asks tagline.trailAt at the cursor's byte before taking the word as a builtin's operand, the keyboard back in the body as a click leaves it; Trail.folded says how many back steps a tag writes whole (shown_steps at rest, one while TagState.hostOf is its pane), which Trail.write, bytes and stepAt now take (wordOf's fold the caller's), so the name's offset (tagline.nameAt), the forward span, a click on a step, the drafted name and the name's tint all read the trail as it is drawn (nameAt, forwardSpan, onName and draw.tagTintRange take the session); TEST: Trail.zig "Enter on a word of the walk, the keyboard in the tag, goes back to its step ..." (SPC folds `‹@pN › · › rank.zig:20 ›`, Esc unfolds, Enter on rank.zig:10 goes back there); core-test 1026/1193 (167 skipped), 0 failed, load 8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
shows: `g` its first and last lines, the window's top and bottom and the last edit (`g e t b .`); `]` the next and `[` the previous function, paragraph, test, comment, change, diagnostic, type and argument (`f p T c g d t a`); browsing `m` unrolled on `a` or `i` tints the brackets' region around the caret (pick-ui SPEC §4.4, walk UI line F item 2): the keys are the level's own (bindings.level, each leaf's role), each target looked for in the rows shown alone and a target off them not painted (the tag's arrows of §15 not built): the tree objects through syntax.objectNext given the shown bytes (QueryCursor.setByteRange; the motion passes null), `]g` through jj.nextChange bounded to the shown lines (`most`; the motion unbounded), `]d` a binary search of the fed diagnostics, `]p` the shown lines, `g t`/`g b` normal.gotoWindow's rows; drawn into the body as the `gw` labels are (R3), never written; at rest one test of the view's tag state (TagState.hostOf); the tree is the one the motion reads (normal.fileTree, made once a revision), not painted while the Changes layer's lines are in the buffer; TEST: body_layer.zig "a motion root's level paints its targets in the gutter ..." (`]` p, `g` g e, `m` on i tinted, rest as before); core-test 1025/1192 (167 skipped), 0 failed, load 9
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|