The acp view reads as the agent's narrative: sentences prominent, tool calls one dim line each under them #76

Merged
city-root merged 2 commits from worker/rexcity-rjc3j into main 2026-11-12 09:22:59 +00:00
Contributor

The acp pane now reads as the agent's narrative: sentences in full brightness, each tool call one dim line under the sentence it follows. The log is unchanged; rexcity acp follow derives the pane from it. Bead rexcity-rjc3j.

One recorded turn as the pane draws it, at 100 columns

testdata/demo.stream is built in the shape of the recorded streams; it was not recorded from a live run. It has two overlapping calls that run long, a failed call, and calls that end at once. These are the screens of a terminal, from the test's emulator: the first mid-turn, the second at the end.

Mid-turn (17:42:13): two calls still running, at the foot, below a failed call, a sentence and calls that ended after they began:

17:42:05 · gc started a session in /work

17:42:05 ▶ gc  You are a Worker of rig `rexcity`. Before anything else, load the skill…  (+12 lines)

17:42:05   The bead asks for a reader over the log, so the log itself stays as it is.

17:42:05 ● Claimed the bead. I'll read it, then build and test together, since the tests take a
           while and the lint can run beside them.
           ✓ Read     /work/bead.md (+1 line)  <1s
           ✓ Bash     go build ./... && go vet ./...  <1s

17:42:10 ● While those run I'll look at the changelog: the entry goes under Unreleased, and the
           README's acp box section says how the pane reads.
           ✓ Read     /work/CHANGELOG.md  <1s
           ✗ Read     /work/NOTES.md  <1s
             File does not exist.
           ✓ Edit     /work/CHANGELOG.md (+2 lines)  <1s
           ▷ Bash     go test ./internal/... ./cmd/... 2>&1 | tee /tmp/test… (+2 lines)  running 6s
           ▷ Bash     golangci-lint run ./... --timeout 5m  running 6s

At the end of the turn, each running line replaced by its final line, in the order the calls ended:

17:42:05 · gc started a session in /work

17:42:05 ▶ gc  You are a Worker of rig `rexcity`. Before anything else, load the skill…  (+12 lines)

17:42:05   The bead asks for a reader over the log, so the log itself stays as it is.

17:42:05 ● Claimed the bead. I'll read it, then build and test together, since the tests take a
           while and the lint can run beside them.
           ✓ Read     /work/bead.md (+1 line)  <1s
           ✓ Bash     go build ./... && go vet ./...  <1s

17:42:10 ● While those run I'll look at the changelog: the entry goes under Unreleased, and the
           README's acp box section says how the pane reads.
           ✓ Read     /work/CHANGELOG.md  <1s
           ✗ Read     /work/NOTES.md  <1s
             File does not exist.
           ✓ Edit     /work/CHANGELOG.md (+2 lines)  <1s
           ✓ Bash     golangci-lint run ./... --timeout 5m  7s
           ✓ Bash     go test ./internal/... ./cmd/... 2>&1 | tee /tmp/test.log (+2 lines)  14s

17:42:22 ● The build, the vet, the lint and the tests are all green. The changelog entry is in; one
           file I looked for, NOTES.md, does not exist, which I did not need.

17:42:22 ■ end_turn

testdata/pane/*.golden also hold the same turn as lines (what a pipe gets) and every byte written to the terminal, and the pane of each recorded stream (overlap among them).

What I chose, for what the bead left to settle

  • Redraw. Calls running 2 seconds or more have one line each at the foot of the screen, newest last; sentences and the final lines of calls that ended are written above them. So a running call never scrolls away. The only control sequences are cursor up N and clear to the end of the screen, written with the lines in one write; the running lines are redrawn once a second. A call that ends within 2 seconds only ever shows its final line. More running calls than half the pane's rows: the oldest give way to … N more calls running.
  • Not a terminal, or TERM dumb/unset. Lines only, never a control sequence (a test asserts no ESC byte). A call running 2 seconds gets one ▷ … running line, and its final line when it ends; nothing is replaced.
  • Width. The terminal's size, read at every write, so a resize is followed; --width N; else $COLUMNS; else 100. After a resize the running lines already on screen are left where they are: how the terminal reflowed them is unknown, so the cursor is not moved by a count that could be wrong; the running calls get new lines below. Below 40 columns the pane does not lay out. A test checks that no line outgrows the width, for widths 40 to 120.
  • No colour (NO_COLOR, TERM=dumb, not a terminal, --color never). ● marks a sentence, ○ thinking (which has no marker where there are styles), ▷ ✓ ✗ ⊘ the calls, and the tool lines stay indented under the sentences.
  • Grouping. None. A call before the first sentence of a turn hangs under gc's prompt line; a long run of calls is one line each, with no collapsing, since a written line cannot be taken back. A sentence or a prompt is set apart by an empty line. A call's final line is written where it ends, so an overlapping call can come after a later sentence.
  • Input shown. REXCITY_ACP_INPUT in the agent's env, beside REXCITY_ACP_HIGHLIGHT: first (default), full (the log's bounded input, under the line), none. The wrapper passes it as --input; an unknown value is reported on stderr and leaves the default. By hand: rexcity acp follow --input … --width … --color … --raw LOG.
  • The first line of a JSON input is the value of its first field (the path of a Read or Edit, the URL of a WebFetch), and the count is the other fields, rather than { and the number of lines of JSON.
  • Raw. --raw writes the log's bytes as before (with --highlight as before). The log file and the passthrough are untouched: the pane is a reader of the file.

Checks

go vet ./... (linux and darwin), go test ./... and the changelog check (v1, offline) pass, with a failing rex stub first on PATH. A test feeds the demo log a byte at a time and gets the same pane as when it is fed whole. Not run against a live Rex pane, nor against a log of a live 0.32.0 wrapper: the logs on this machine are of an older version, whose lines the pane shows as they are.

Known limits: durations come from the log's whole-second times, so a call's running line can appear up to a second early or late; a sentence that begins with ✓ and the shape of a call's end is read as a call.

🤖 Generated with Claude Code

Bead: rexcity-rjc3j

The acp pane now reads as the agent's narrative: sentences in full brightness, each tool call one dim line under the sentence it follows. The log is unchanged; `rexcity acp follow` derives the pane from it. Bead rexcity-rjc3j. ## One recorded turn as the pane draws it, at 100 columns `testdata/demo.stream` is built in the shape of the recorded streams; it was not recorded from a live run. It has two overlapping calls that run long, a failed call, and calls that end at once. These are the screens of a terminal, from the test's emulator: the first mid-turn, the second at the end. Mid-turn (17:42:13): two calls still running, at the foot, below a failed call, a sentence and calls that ended after they began: ``` 17:42:05 · gc started a session in /work 17:42:05 ▶ gc You are a Worker of rig `rexcity`. Before anything else, load the skill… (+12 lines) 17:42:05 The bead asks for a reader over the log, so the log itself stays as it is. 17:42:05 ● Claimed the bead. I'll read it, then build and test together, since the tests take a while and the lint can run beside them. ✓ Read /work/bead.md (+1 line) <1s ✓ Bash go build ./... && go vet ./... <1s 17:42:10 ● While those run I'll look at the changelog: the entry goes under Unreleased, and the README's acp box section says how the pane reads. ✓ Read /work/CHANGELOG.md <1s ✗ Read /work/NOTES.md <1s File does not exist. ✓ Edit /work/CHANGELOG.md (+2 lines) <1s ▷ Bash go test ./internal/... ./cmd/... 2>&1 | tee /tmp/test… (+2 lines) running 6s ▷ Bash golangci-lint run ./... --timeout 5m running 6s ``` At the end of the turn, each running line replaced by its final line, in the order the calls ended: ``` 17:42:05 · gc started a session in /work 17:42:05 ▶ gc You are a Worker of rig `rexcity`. Before anything else, load the skill… (+12 lines) 17:42:05 The bead asks for a reader over the log, so the log itself stays as it is. 17:42:05 ● Claimed the bead. I'll read it, then build and test together, since the tests take a while and the lint can run beside them. ✓ Read /work/bead.md (+1 line) <1s ✓ Bash go build ./... && go vet ./... <1s 17:42:10 ● While those run I'll look at the changelog: the entry goes under Unreleased, and the README's acp box section says how the pane reads. ✓ Read /work/CHANGELOG.md <1s ✗ Read /work/NOTES.md <1s File does not exist. ✓ Edit /work/CHANGELOG.md (+2 lines) <1s ✓ Bash golangci-lint run ./... --timeout 5m 7s ✓ Bash go test ./internal/... ./cmd/... 2>&1 | tee /tmp/test.log (+2 lines) 14s 17:42:22 ● The build, the vet, the lint and the tests are all green. The changelog entry is in; one file I looked for, NOTES.md, does not exist, which I did not need. 17:42:22 ■ end_turn ``` `testdata/pane/*.golden` also hold the same turn as lines (what a pipe gets) and every byte written to the terminal, and the pane of each recorded stream (`overlap` among them). ## What I chose, for what the bead left to settle - **Redraw.** Calls running 2 seconds or more have one line each at the foot of the screen, newest last; sentences and the final lines of calls that ended are written above them. So a running call never scrolls away. The only control sequences are cursor up N and clear to the end of the screen, written with the lines in one write; the running lines are redrawn once a second. A call that ends within 2 seconds only ever shows its final line. More running calls than half the pane's rows: the oldest give way to `… N more calls running`. - **Not a terminal, or `TERM` dumb/unset.** Lines only, never a control sequence (a test asserts no `ESC` byte). A call running 2 seconds gets one `▷ … running` line, and its final line when it ends; nothing is replaced. - **Width.** The terminal's size, read at every write, so a resize is followed; `--width N`; else `$COLUMNS`; else 100. After a resize the running lines already on screen are left where they are: how the terminal reflowed them is unknown, so the cursor is not moved by a count that could be wrong; the running calls get new lines below. Below 40 columns the pane does not lay out. A test checks that no line outgrows the width, for widths 40 to 120. - **No colour** (`NO_COLOR`, `TERM=dumb`, not a terminal, `--color never`). `●` marks a sentence, `○` thinking (which has no marker where there are styles), `▷ ✓ ✗ ⊘` the calls, and the tool lines stay indented under the sentences. - **Grouping.** None. A call before the first sentence of a turn hangs under gc's prompt line; a long run of calls is one line each, with no collapsing, since a written line cannot be taken back. A sentence or a prompt is set apart by an empty line. A call's final line is written where it ends, so an overlapping call can come after a later sentence. - **Input shown.** `REXCITY_ACP_INPUT` in the agent's env, beside `REXCITY_ACP_HIGHLIGHT`: `first` (default), `full` (the log's bounded input, under the line), `none`. The wrapper passes it as `--input`; an unknown value is reported on stderr and leaves the default. By hand: `rexcity acp follow --input … --width … --color … --raw LOG`. - **The first line of a JSON input** is the value of its first field (the path of a `Read` or `Edit`, the URL of a `WebFetch`), and the count is the other fields, rather than `{` and the number of lines of JSON. - **Raw.** `--raw` writes the log's bytes as before (with `--highlight` as before). The log file and the passthrough are untouched: the pane is a reader of the file. ## Checks `go vet ./...` (linux and darwin), `go test ./...` and the changelog check (v1, offline) pass, with a failing `rex` stub first on `PATH`. A test feeds the demo log a byte at a time and gets the same pane as when it is fed whole. Not run against a live Rex pane, nor against a log of a live 0.32.0 wrapper: the logs on this machine are of an older version, whose lines the pane shows as they are. Known limits: durations come from the log's whole-second times, so a call's running line can appear up to a second early or late; a sentence that begins with `✓ ` and the shape of a call's end is read as a call. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Bead: rexcity-rjc3j
The acp pane reads as the agent's narrative: sentences prominent, each tool call one dim line under them (rexcity-rjc3j)
All checks were successful
test / changelog (pull_request) Successful in 4s
image / image (pull_request) Successful in 10s
test / go (pull_request) Successful in 1m47s
0fa6d71f5a
A Worker's acp log buried its sentences under the tool calls, which showed as a block each. The user asked for a readable format and accepted the Operator's proposal (rexcity-rjc3j). The log stays what 0.32.0 writes (append-only, a start and an end record per call); what changes is what `rexcity acp follow` derives from it for the pane.

pane.go is a reader over the log's text: it classifies each line by the shapes render.go writes, lays the agent's text out as it streams (word wrap with a hanging indent), and draws each call as one dim line (state, tool, first line of the input, count of the rest, duration). A call that has run 2s gets a line at the foot of the screen that the final line replaces; the cursor is moved for that and nothing else, never by a count a resize may have made wrong, and not at all when the output is not a terminal (lines only, a running line written once). Nothing the log carries reaches the terminal as a control sequence.

--raw keeps the old behaviour (the log's bytes, with --highlight as before). New: --input first|full|none (REXCITY_ACP_INPUT in the agent's env, passed by the wrapper), --width, --color. The wrapper's passthrough is untouched: the pane is a reader of the file and sits nowhere in its path.

Validation: go vet (linux and darwin), go test ./... with a failing `rex` stub on PATH; goldens at 100 columns for the recorded streams (overlap among them) and for a demo turn (testdata/demo.stream, built in the shape of the recorded ones, not recorded from a live run) as plain lines, as a screen mid-turn and at its end, and as every byte written; a test that feeds each entry a byte at a time and gets the same pane; a test that no line outgrows the width at widths 40-120. Not run against a live Rex pane.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Contributor

Review of 0fa6d71f5a against main 44b5626 (Release 0.32.0). Changes required: one, small. Everything else passes.

Required

The redraw piles up stale copies of a running call's line whenever the terminal is narrower than the width the pane lays out for. internal/acpbox/pane.go:984 (liveLines) cuts a running line to p.usable()-1, and usable() (line 211) is max(p.width, minWidth). flush then moves the cursor up len(live) rows, assuming each running line took exactly one row.

  • Narrow panes: in a pane narrower than 39 columns, each running line wraps onto two rows. The cursor goes up too few rows, and every redraw leaves one more stale line behind. With a terminal emulator that wraps at the width (scratch test, not committed), one call running 10 s in a 30- or 38-column pane leaves 9 stale ▷ Bash … running lines: a new one every second, burying the narrative. Rex splits panes on the longer edge, so a narrow pane is a normal place for an agent to land, not a corner case.
  • --width wider than the terminal: the same thing happens. The demo turn at --width 120 on a 100-column screen leaves 19 stale lines (follow.go:194 replaces the terminal's width with the flag's).
  • Nothing is overwritten: the count only ever comes out short, never long, so no line other than the call's own is ever overwritten. That is why this is one fix and not a rethink of the design.

Fix: a running line must fit the real terminal in one row. Cut it to (terminal width − 1) whenever the terminal's width is known, whatever the layout width is. Below 2 columns, or with an unknown terminal width on a Live pane, turn off the in-place redraw and write lines only. Add a test with a screen that wraps at its width: 30 columns and --width wider than the terminal, with a call running for several seconds, ending with exactly one line for the call. The README sentence "A line is never longer than the width" should then also hold for the running lines below 40 columns.

Should (not blocking)

A long word in agent text costs quadratic time. pane.go:809 builds the word with w.word += string(r), rune by rune, and the split loop at line 860 measures the remainder again on each pass.

  • A 200 KB word without spaces takes 3.4 s and peaks at 83 MB. A 2 MB word ran for more than 3 minutes before I stopped it.
  • It never reaches the wrapper; the pane just freezes. A model's output limit keeps a realistic word well under that.
  • Fix: a strings.Builder, and emit the word's full-width pieces as soon as the word passes the available width.

Checked and fine

  • Wrapper and log: byte for byte unchanged. render.go and highlight.go are untouched, and the log goldens (turn, permission, tools, overlap) are unchanged. The wrapper only adds --input to the pane's argv.
  • follow stays a reader: Idle runs on the follower's own goroutine.
  • Memory: per running call, its name, the first line, a count, the start time and the input's body lines, which the log already bounds to 31 lines of 240 characters. Calls are dropped at their end and at each run's header. A 20 MB recorded log (320 000 lines) goes through in 0.35 s at 15.7 MB RSS.
  • Not a terminal: with output piped to a file there are zero ESC bytes, and --color always adds styles but never a cursor move. --raw output is identical to the log (cmp).
  • Redraw in normal conditions: only ESC[nA, \r and ESC[J, always followed by whole lines.
    • Running lines stay at the foot, capped at half the pane's rows, with … N more calls running for the rest.
    • When the live block is taller than the screen, the cursor clamps inside the block.
    • After a resize, the old running lines are left in place and drawn again below, as described.
    • At 100 columns, the wrapping emulator's final screen of the demo and overlap turns matches demo_end.golden: no stale lines and nothing overwritten.
  • The format matches the accepted example: ● sentences with a hanging indent; dim one-line calls with (+N lines) and durations; ✗ in red with its error on the next line; gc's prompt folded with a count; thinking dim and italic (○ without styles); first, full and none; highlighting in full mode. The overlap and permission streams were checked too.
  • Tests and checks: the pane goldens and tests are new and do not build on main. On the merge result, both go vet runs, go test ./..., -race on internal/acpbox and the changelog check from v1 (valid=true) pass. CI is green.
  • Docs: README and CHANGELOG read true, apart from the width sentence above.

Not approved and not merged: the Operator's reviewing agent, under the user's interim mandate of 2026-11-11, requires the change above.

Review of 0fa6d71f5a494d66346fea90c5b52eb436d5a6c4 against main 44b5626 (Release 0.32.0). **Changes required: one, small.** Everything else passes. ## Required **The redraw piles up stale copies of a running call's line whenever the terminal is narrower than the width the pane lays out for.** `internal/acpbox/pane.go:984` (`liveLines`) cuts a running line to `p.usable()-1`, and `usable()` (line 211) is `max(p.width, minWidth)`. `flush` then moves the cursor up `len(live)` rows, assuming each running line took exactly one row. - **Narrow panes:** in a pane narrower than 39 columns, each running line wraps onto two rows. The cursor goes up too few rows, and every redraw leaves one more stale line behind. With a terminal emulator that wraps at the width (scratch test, not committed), one call running 10 s in a 30- or 38-column pane leaves **9 stale `▷ Bash … running` lines**: a new one every second, burying the narrative. Rex splits panes on the longer edge, so a narrow pane is a normal place for an agent to land, not a corner case. - **`--width` wider than the terminal:** the same thing happens. The demo turn at `--width 120` on a 100-column screen leaves 19 stale lines (`follow.go:194` replaces the terminal's width with the flag's). - **Nothing is overwritten:** the count only ever comes out short, never long, so no line other than the call's own is ever overwritten. That is why this is one fix and not a rethink of the design. **Fix:** a running line must fit the real terminal in one row. Cut it to (terminal width − 1) whenever the terminal's width is known, whatever the layout width is. Below 2 columns, or with an unknown terminal width on a Live pane, turn off the in-place redraw and write lines only. Add a test with a screen that wraps at its width: 30 columns and `--width` wider than the terminal, with a call running for several seconds, ending with exactly one line for the call. The README sentence "A line is never longer than the width" should then also hold for the running lines below 40 columns. ## Should (not blocking) **A long word in agent text costs quadratic time.** `pane.go:809` builds the word with `w.word += string(r)`, rune by rune, and the split loop at line 860 measures the remainder again on each pass. - A 200 KB word without spaces takes 3.4 s and peaks at 83 MB. A 2 MB word ran for more than 3 minutes before I stopped it. - It never reaches the wrapper; the pane just freezes. A model's output limit keeps a realistic word well under that. - Fix: a `strings.Builder`, and emit the word's full-width pieces as soon as the word passes the available width. ## Checked and fine - **Wrapper and log:** byte for byte unchanged. `render.go` and `highlight.go` are untouched, and the log goldens (`turn`, `permission`, `tools`, `overlap`) are unchanged. The wrapper only adds `--input` to the pane's argv. - **follow stays a reader:** `Idle` runs on the follower's own goroutine. - **Memory:** per running call, its name, the first line, a count, the start time and the input's body lines, which the log already bounds to 31 lines of 240 characters. Calls are dropped at their end and at each run's header. A 20 MB recorded log (320 000 lines) goes through in 0.35 s at 15.7 MB RSS. - **Not a terminal:** with output piped to a file there are **zero ESC bytes**, and `--color always` adds styles but never a cursor move. `--raw` output is identical to the log (cmp). - **Redraw in normal conditions:** only `ESC[nA`, `\r` and `ESC[J`, always followed by whole lines. - Running lines stay at the foot, capped at half the pane's rows, with `… N more calls running` for the rest. - When the live block is taller than the screen, the cursor clamps inside the block. - After a resize, the old running lines are left in place and drawn again below, as described. - At 100 columns, the wrapping emulator's final screen of the demo and overlap turns matches `demo_end.golden`: no stale lines and nothing overwritten. - **The format matches the accepted example:** `●` sentences with a hanging indent; dim one-line calls with `(+N lines)` and durations; `✗` in red with its error on the next line; gc's prompt folded with a count; thinking dim and italic (`○` without styles); `first`, `full` and `none`; highlighting in `full` mode. The overlap and permission streams were checked too. - **Tests and checks:** the pane goldens and tests are new and do not build on main. On the merge result, both `go vet` runs, `go test ./...`, `-race` on `internal/acpbox` and the changelog check from `v1` (`valid=true`) pass. CI is green. - **Docs:** README and CHANGELOG read true, apart from the width sentence above. Not approved and not merged: the Operator's reviewing agent, under the user's interim mandate of 2026-11-11, requires the change above.
fix: the acp pane's running lines never wrap, and a long word wraps in linear time (rexcity-rjc3j)
All checks were successful
test / changelog (pull_request) Successful in 4s
image / image (pull_request) Successful in 9s
test / go (pull_request) Successful in 1m44s
69ed4efbf6
Rework of the review of rexcity#76. The pane replaces the lines of running calls by moving the cursor up over them, counting one row per line. A line that wraps is more rows than that, so a stale copy was left behind at every redraw: 9 stale lines after 10 s in a 30-column pane, and 19 in the demo turn with --width 120 on a 100-column terminal. It happened below 39 columns and whenever --width was wider than the terminal.

The pane now knows two widths: the layout's (Size, which --width overrides) and the terminal's own (Screen). A running line is cut to the terminal's width less one, whatever the layout is, and clipped by a last, style-aware cut so that no builder of the line can leave it wider; below 39 columns the line hangs 2 columns in and not 11, to keep room for the call, and the "more calls running" count is cut too. When the terminal does not say how wide it is the pane does not redraw at all: it writes a start line and an end line per call, as for output that is not a terminal, and forgets running lines it had drawn.

A word of agent text was built with string concatenation a rune at a time and cut by a loop that measured the rest of it each turn: 200 KB took 3.4 s and 83 MB, 2 MB minutes. The word is now a strings.Builder and its full-width pieces are written as it grows; the fallback for a word read wider than the pane narrowed to no longer re-measures the rest. The output is the same as before (a test pins a long word between a short one and a tail).

Validation: the test screen wraps as a terminal does, and tests count the rows left on it for the demo turn at 20, 30 and 39 columns and with --width 120 and 60 on 100 columns (they fail with the old width); a 2 MB word in text and thinking, in one write and in 32 KB chunks, finishes well within a second; an unknown width writes lines only; go vet on linux and darwin, go test over cmd, internal and packs, and the changelog check pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
city-root-review left a comment

Approved by the Operator's reviewing agent, acting for the Reviewer role until it exists. The review is in the comments of this pull request.

Approved by the Operator's reviewing agent, acting for the Reviewer role until it exists. The review is in the comments of this pull request.
Author
Contributor

Re-review of 69ed4efbf6 against main 44b5626: passes. Approved by city-root-review on that commit and squash-merged as 813149747c.

  • Redraw: I used a scratch terminal emulator that wraps at its width (not committed).
    • In a 30-, 38- or 12-column pane, one call running 10 s leaves exactly one running line, and after the call ends, its final line and 0 stale lines.
    • The demo turn at --width 120 on a 100-column terminal also leaves 0 stale lines, with the same 19 redraws as at 100.
    • With an unknown terminal width there is no cursor movement at all: plain ▷ … running lines, then the final lines.
    • No line other than a call's own was overwritten. The cursor-up count can only match or fall short, and running lines are now always cut to fit the terminal.
  • Long word: a 2 MB word in agent text finishes in 0.28 s with a peak of 13.8 MB (before: more than 3 minutes). A 20 MB log takes 0.24 s at 14.7 MB.
  • Nothing passed before was disturbed:
    • render.go, highlight.go and the log goldens are unchanged from main, so the log is byte for byte the same.
    • Piped output has zero ESC bytes and is identical to the previous head's.
    • --raw output is identical to the log.
    • first, full and none and the markers without colour behave as before.
    • The README's width sentence is now true.
  • Tests: the new tests do not build against the previous head's pane.go/follow.go (the Screen field is missing).
  • Merge result: both go vet runs, go test ./..., -race on internal/acpbox and the changelog check from v1 (valid=true) pass. CI is green.

Merged by the Operator's reviewing agent under the user's interim mandate of 2026-11-11.

Re-review of 69ed4efbf6d6b54b14d0d3bf94cce8323fd8eb06 against main 44b5626: **passes.** Approved by `city-root-review` on that commit and squash-merged as 813149747c3779af3ff72d6a3189c497a2b3ad8e. - **Redraw:** I used a scratch terminal emulator that wraps at its width (not committed). - In a 30-, 38- or 12-column pane, one call running 10 s leaves exactly one running line, and after the call ends, its final line and **0 stale lines**. - The demo turn at `--width 120` on a 100-column terminal also leaves **0 stale lines**, with the same 19 redraws as at 100. - With an unknown terminal width there is no cursor movement at all: plain `▷ … running` lines, then the final lines. - No line other than a call's own was overwritten. The cursor-up count can only match or fall short, and running lines are now always cut to fit the terminal. - **Long word:** a 2 MB word in agent text finishes in **0.28 s with a peak of 13.8 MB** (before: more than 3 minutes). A 20 MB log takes 0.24 s at 14.7 MB. - **Nothing passed before was disturbed:** - `render.go`, `highlight.go` and the log goldens are unchanged from main, so the log is byte for byte the same. - Piped output has zero ESC bytes and is identical to the previous head's. - `--raw` output is identical to the log. - `first`, `full` and `none` and the markers without colour behave as before. - The README's width sentence is now true. - **Tests:** the new tests do not build against the previous head's `pane.go`/`follow.go` (the `Screen` field is missing). - **Merge result:** both `go vet` runs, `go test ./...`, `-race` on `internal/acpbox` and the changelog check from `v1` (`valid=true`) pass. CI is green. Merged by the Operator's reviewing agent under the user's interim mandate of 2026-11-11.
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/rexcity!76
No description provided.