tmux symbols broken: sessions start without a UTF-8 locale #161
Closed
opened 2026-10-11 06:58:37 +00:00 by kayg
·
26 comments
No Branch/Tag specified
main
j470b-server-mesh-rejoin
mesh-compat-382
j444b-d381-key-wins-flood
j461b-macos-utun-reader-thread
j475b-remove-host-motion
fix-reconnect-new-link
j481-d380
dev
j479-mesh-soak
fix/j476-host-facts
j475-motion-pill-split
j470-mac-node-join
root-upgrade-d376
j474-review-merge
latency-targets-120hz
nightly-suite-shards
gotatun-pin-j469
macos-utun-reader-thread
fix-flood-echo-stall
wip/j416
motion-fast-ease-out
mesh-addhost-j259
takeover-close-terminals-d368
kbd-instant-followups
fix-trust-key-double-click
nightly-suite-partial-report
appwin-icons-j207
rusqlite-slice1
swipe-content-first-d374
mesh-mtu-381
addhost-instant-open
glass-contrast-d365-mock
glass-contrast-d365
signout-followups-442
fix-startup-toast-red
research-gotatun-matrix-j317
themes-sync-j304
fix-load-flakes
fix-nix-zig-patch
fix-compute01-browser-baseline
ratchet-size-baseline-419
predict-auto-d130
revoke-coverage-d367
nightly-suite-queue-timeout
nightly-browser-suite
fix-rustsec-2026-0459
fonts-ioskeley-obel
log-retention-d375
fix-kbd-no-anim-427
fix-dev-red-specs-2
takeover-proof-305-j205
wip/j410-server-pump
ui-consistency-d372
fix-osc52-clipboard
libghostty-vt-1.0
forget-retired-host-d369
j404-merge-426
fix-setup-lock-race
fix-touch-select-426
revoke-access-report-ui
fix-predictive-echo-specs
fix-selinux-agent-exec
wip/j395-checkpoint2
wip/j395
j391-review-scratch
ui-consistency-j195-deferred-rebased
fix-rustc-paths-421
decisions-wording-341
fix-install-suite-red
fix-dev-rtt-specs
fix-pending-removal-align
fix-privileged-skip
fix-install-suite-404
review-j368
mesh-dns-j254
revoke-access-report-d356b
revoke-privilege-round5
fix-removal-confirm
review-j360
gotatun-rotation-367
deps-refresh-340
review-j354
review-J351
review-j350
addhost-takeover-d359
revoke-report-items-347
revoke-end-sessions-d362
review-j348
size-mesh-ssh-346
size-trim-337
revoke-access-diff-d356
j259-pre-rebase-b06c5a6
j305-ended-at-start-spec
addhost-sudo-consent
fix-layout-real-specs-411
fix-shell-open-411
fix-console-hosts-373
fix-shell-exit
fuzz-host-name-353
fix-host-details-410
macos-filter-j197
research-gotatun-tricks
revoke-p3-j216l
stale-state-pill
revoke-followups-j216k
revoke-progress-j216e
backup/macos01-20261106/lume/j197
backup/macos01-20261106/lume/appwin-icons-j207-stash0
backup/macos01-20261106/claude/stash-0
backup/macos01-20261106/claude/stash-1
backup/macos01-20261106/claude/J80-macos-s1
backup/macos01-20261106/claude/J80
backup/macos01-20261106/claude/J80-slice1-20261102
backup/macos01-20261106/claude/J16b-appwin-on-dev
backup/macos01-20261106/claude/appwin-launch-idle-146
backup/macos01-20261106/claude/J80-s1-run
wip/j259
trust-285-p3c
runtime-lock-j216f
mesh-ssh-p3-j175
tun-proof-p3b
trust-285-p3
terminal-polish-j271
tun-proof-p3
ssh-install-flakes-j216i
fuzz-fixes-j264
trust-285-a
trust-285-b
restart-oversized-fixture-j198
backup/macos01-20261106/lume/appwin-icons-j207
restart-bound-j216h
up-preflight-p3-j198
backup/macos01-20261106/lume/j251
up-preflight-j198
wip/up-preflight-j198-j245-p2
wip/up-preflight-j198-j245-p1
agent-fsync-offloop-j196
wip/up-preflight-j198-j245
settings-offscreen-j231
wip/up-preflight-j198-j226-inspection
wip/j103f
themes-j206
wip/up-preflight-j198-j226
flakes-j216c
backup/macos01-20261106/claude/j197
flakes-j216b
backup/macos01-20261106/claude/j197-red
wip/up-preflight-j198-review
flakes-j216
backup/macos01-20261106/claude/appwin-icons-j207
engineering-j208b
appwin-mock-j209
toast-stack-j165
engineering-j208
decisions-d351
decisions-d350
decisions-d349
appearance-presets-mock-j129
decisions-d348
docs-audit-spec
doc-coverage-baseline-raise
decisions-d347
decisions-d346b
decisions-d346
j88h-profile
ui-consistency-j195-deferred
ui-consistency-j195
engineering-practices-j194
preferred-login-ui-j166
signin-pools-263-j174
macos-node-265-s1
decisions-d345
decisions-d344
proxy-cgroup-j164
verify-quick-fuzz-329
proxy-start-io-j168
timing-flakes-j163
up-263-s1
mcp-events-j147
verify-quick-fuzz-j158
proxy-p3-j159
agent-resource-j157-detect
wip/j103d-final
remote-cancel-hang-j155
proxy-traefik-281-j62d
j149-verify-quick
proxy-traefik-281-j62b
j150-drop-unnamed
wip/j79d-red-r4
wip/j103d-d332
rootless-toast-j142
wip/j103d-head
wip/j103d
j125c-mcp
macos-build-j136
backup/macos01-20261106/claude/j136
wip/j79d-red-cli
wip/j79d-red-server
j121-link-liveness
j118c-tracer-failures
wip/j79c-head
release-desktop-j131
j124c-signed-macos
wip/j79c-red-p3
wip/j79c-red-p23
wip/j79c-red-p22
merge-j128-check
perf-deferred-j128
sidebar-toggle-260
j127-shortcut-changed-dot
j125-mcp
j118-tracer-failures
j126-account-summary
settings-sections-mock-j92
j120-pinch-lock
sidebar-292
backup/macos01-20261106/claude/j120
taste-2026-11-03
row-actions-242-215
backup/macos01-20261106/claude/stash-0-untracked
backup/macos01-20261106/claude/J80-265-s1-run
backup/macos01-20261106/claude/J80-macos-s1-20261102
j112-canvas-commands
ui-no-overshoot-scroll
fix-recovery-restart
backup/macos01-20261106/claude/stash-1-untracked
taste-2026-11-02
size-baseline-ratchet
machine-cards-structure-j108
j109-boot-copy-mockups
fix-dev-red
wip/up-263-s1
j95b-settings-rows
proxy-traefik-281
j95-option-rows
docs-human-j91
docs-keys-palette
fix-flood-1013-270-j38d
mesh-ssh-s1
mesh-ssh-s0
addhost-d291-tunnel
test-stability-load
mesh-relay-220
repro-296
shim-thp-off-24
mesh-pins-258-v2
mesh-dns
signin-d311-merged
docs-pages
ui-size-283
fix-ui-batch-specs
wip/j12b-edge-update
gate-on-arm
fix-rename-sync-293
trust-285-j60b
fix-focus-ring-clip
integ-ui-1101
edge-update-v2
signin-d311
taste-2026-11-01
layout-per-tab-250
ui-approved-splitopt-224
ui-approved-splitopt-224-on-dev
icon-text-centre-282
ui-approved-189-212-216
research-reverse-proxy
transfer-budget-320
review-mesh-pins-258-r2
sidebar-pill-259
review-mesh-relay-220
wip/j12-edge-update-v2
nix-package
status-crash-loop-237
fix-dev-test-failures
fix-fixture-socket-path
wip/mesh-relay-220-pre-dev-advance-rebase
fix-canvas-side-clip
research-head-to-head
frosted-real-256
review-mesh-pins-258
wip/mesh-relay-220-pre-final-rebase
review-layout-per-tab-250-r2
broad-suite-triage
nix-devshell
review-status-crash-loop-237-r3
wip/nix-devshell-pre-p3
taste-frosted-real
wip/code-serve-demo-2026-10-30
wip/code-serve-glass-2026-10-30
wip/code-serve-clusters-2026-10-30
wip/code-merge-release94-dev-2026-10-30
wip/rproxy-delta-scratch-2026-10-30
wip/stale-note-257-staged-2026-10-30
wip/d241-size-staged-2026-10-30
review-broad-suite-207
wip/mesh-pins-258-pre-split
wip/mesh-relay-220-pre-rebase
mesh-measure-220
plan-211-update
review-edge-autoupdate-r3
perf24-reconnect
review-stale-note-r2
release-prod-live
d241-shell-marker
review-mesh-pins-server-258
review-revocation-r3
review-setup-token-r2
review-sync-journal-r3
wip/review-mesh-pins-258-prune-review-1995fee46
frosted-scroll-256
sync-journal-r3
revocation-per-account-wip
review-tokio-asyncfd-0386
review-sync-p3s
wip/stash-8by64-stash0-2026-10-30
mesh-drag-r2
setup-token-data-wip
release-9-4
auth-busy-1013
mesh-view-overlap
sync-p3s
review-auth-busy-wake
review-readd-r8-wip
mesh-drag-bounds
audit-auth-93
app-windows-stream-start
review-authority-cap-r3
app-windows-r7-measure
readd-minimal-r6
readd-minimal-r5
app-windows-r7-soak
readd-minimal-r4
app-windows-r7
app-windows-r6
readd-minimal-r3
readd-minimal-r2
readd-minimal
merge-release8-dev
review-busy-page-liveness-r2
review-busy-page-liveness
mesh-view-trim
review-authority-read-retry-r2
review-remove-uninstall-r2
release-retry-reattach
release-retry
review-remove-uninstall
review-authority-read-retry
app-windows-ship
mesh-autoswitch-p2
mesh-ssh
mesh-relay
mesh-macos-node
screen-and-control
session-labels
review-real-logins-r5
review-real-logins-r4
review-real-logins-r3
shim-memory-r2
review-real-logins-r2
shim-memory
shadow-addhost-instant
shadow-real-logins
shadow-same-session-flood
shadow-prod-perf-fix
hosts-from-server
app-windows-real
app-windows-transport
release-prod-6w
mesh-policy-verify
quiet-close-toast
dev-merge-r4
review-mesh-agent-transport
review-app-windows-transport
settings-roundtrip
review-release-pipeline-r4
mesh-agent-transport
ended-strip-fix
review-audit-ca-update-d244
settings-rows
phone-width
signout-clear
fix-restart-tests
dev-merge-rp
signer-hardening
review-audit-ca-update
terminal-fidelity
review-audit-ca-update-wip
mesh-integrate
review-mesh-agent-transport-515d3712
review-mesh-dataplane-feec1988
mesh-dataplane
signout
research-canvas-node
wip/review-renderer-cost
wip/review-terminal-fidelity
padlock-glyph
review-release-pipeline-2e95b689
phone-polish
sidebar-polish
inbox-generic
review-mesh-dataplane-378d4055
prod-batch
ui-inbox
ui-ca-unlock
ui-machine-sections
review-mesh-dataplane-a5f744fb
tls-session-prod
session-bounds-prod
fix-dead-session
session-bounds
tls-session
palette-polish
shortcuts-d222
research-appmeta
phone-gutter
ui-centre-button
wip/ui-centre-button
wip/tls-session
review-addhost-breakit
ui-platform
renderer-cost
remote-agents
mesh-api
ssh-bootstrap
prod-hotfix2
prod-fixes
review-remote-agents
review-mesh-dataplane
session-life
research-browser
review-mesh-api
research-capture
review-mesh-api-round3
review-mesh-api-round1
gate-stability
review-gate-stability
review-relay-direct
review-mesh-api-findings
proto-sessions
font-picker
proto-addhost
proto-windows
mesh-core
latency-gate
research-bsd
research-discovery
keytray-mods
mock-core
ui-tweaks
fix-motion-sel
fix-motion
integrate2
fix-robust
t-web
t-server
vt-ghostty
fix-snap-echo
t-web-auth
review-vt2
t-agent
lane-protocol
lane-shim
lane-auth
s1-base
s1-contracts
s1-workspace
No results found.
No labels
launch-qa
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
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
kayg/infraternal#161
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner report (2026-10-11): tmux on o2, inside a canvas terminal window, does not display its symbols properly.
Finding: production terminal sessions start with
TERM=xterm-256colorbut noLANG,LC_ALLorLC_CTYPE(checked on monitor01: the session shell's environment has TERM only). Without a UTF-8 locale tmux assumes a non-UTF-8 terminal and draws borders and symbols with ASCII fallbacks. A real login (D229) would load the host's locale through PAM (pam_env, /etc/default/locale, /etc/locale.conf); until then sessions get nothing. Also check: font coverage for Nerd Font / box-drawing glyphs (#150) and whether TERM/terminfo matches what the client emulates.Starting #161 on branch terminal-fidelity, based on prod-batch at
ebcc73a0ec.Finding: terminal shell startup clears the environment in crates/infraternal-shim/src/pty.rs and sets TERM/PATH without any locale variables. The host has LANG=en_US.UTF-8 in both /etc/default/locale and /etc/locale.conf; locale -a reports the corresponding installed en_US.utf8 locale and C.utf8 fallback. The new locale selection tests reproduced four missing-locale cases before the fix (configured locale, unsupported configured locale, absent locale fallback, and rejected shell expansion); all five tests pass after the locale selector was added. A real PTY test confirms selected locale values reach the login shell while unrelated inherited variables stay cleared. Locale discovery is cached in the long-lived launcher before the per-session shim starts.
Font finding: the existing production
font-metrics.spec.tspowerline test passes (arrow 1.00, branch 0.97, house 0.72, node 0.67).fc-queryconfirms U+2500, U+2588 and U+2592 in all 10 roman font files; the dedicatednerd-symbols.woff2contains U+E0B0, U+E0A0, U+F015 and U+E718. This covers the box-drawing, block and sampled Powerline/Nerd glyphs relevant to #150. Production captures use real tmux 3.5a PTY output: C locale has ASCII borders and no prompt icons;LANG=en_US.UTF-8has UTF-8 borders and the Nerd Font prompt. PNGs are 1440x900 atapps/tracer/captures/terminal-locale/tmux-before-1440x900.pngandapps/tracer/captures/terminal-locale/tmux-after-1440x900.png.TERM finding:
infocmp -1 -x xterm-256colorreports 256 colors and standard underline/reset capabilities in 288 capability lines; it has noTc,RGB,SmulxorSetulcextensions. The client uses the pinned Ghostty VT web build. Ghostty's official terminfo note says its own terminal entry isxterm-ghosttyand thatxterm-256coloromits capabilities including colored/styled underlines: https://ghostty.org/docs/help/terminfo. The current TERM covers the tmux baseline shown in the captures, while the broader renderer capability set is under-advertised. A dedicated entry remains an owner decision; this job leaves TERM unchanged.Discovery cost: on infraternal-dev (8 cores), a weighted
systemd-run --user --scope -p CPUWeight=10000run of 21 locale-list probes measured p50 5.784 ms, p95 19.303 ms, 4,216 output bytes and 512 locale names; load average was 28.03/26.46/26.74. The long-lived launcher caches discovery once per host process. At 50 sessions that is one locale inventory, not 50; the addedLANGenvironment entry is 17 raw bytes per shell (850 bytes across 50 shells).Step complete: host locale selector and seven deterministic cases committed as
fda2cabeand pushed to terminal-fidelity. Gate:cargo test -p infraternal-shim --lib locale::tests -- --test-threads=1— test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 78 filtered out. The earlier red run had four locale-selection failures before implementation.Step complete: PTY login shells now receive the selected locale after
.env_clear(), with unrelated inherited variables still excluded. Commit0d0b320dis pushed. Gate:cargo test -p infraternal-shim --lib spawned_login_shell_receives_selected_locale_without_other_host_variables -- --test-threads=1— test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 84 filtered out; finished in 0.00s.Step complete: the host agent resolves locale once before starting each shim; commit
10f599a9is pushed. This avoids repeating the locale-list probe per PTY. Gate:cargo check -p infraternal-agent --lib— Finisheddevprofile [unoptimized + debuginfo] target(s) in 7.42s.Step complete: production-build tmux captures are committed and pushed in
43cb463b. Before (C locale): tmux status and ASCII border. After (LANG=en_US.UTF-8): tmux status, UTF-8 border and Nerd Font prompt. Both are 1440x900; the output came from real tmux 3.5a PTYs and was rendered by the production tracer build.macOS path complete in
0009d153(pushed): when inherited LANG is absent, the selector reads the current user's AppleLocale preference and maps it to UTF-8; inherited LANG/LC_* values still win. Apple documents AppleLocale as the user's region preference: https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFLocales/Articles/CFLocaleConcepts.html. The conversion test failed first (en_USwas unchanged instead of gaining.UTF-8) and now passes; locale selection is 8/8. This host is Linux, so the/usr/bin/defaultsruntime path still needs a macOS-host run.Follow-up: the macOS cfg branch in
locale.rsnow type-checks forx86_64-apple-darwinwithrustc --emit=metadata; the pure AppleLocale-to-POSIX conversion test passes on Linux. The actual/usr/bin/defaultsquery remains unrun without a macOS host.Gate finding: the first
bun test srcrun had 141 pass and 1 fail in the unrelated1,000 nodes lay out in a few millisecondswall-clock check (168.875 ms measured against <25 ms) under host load. I am rerunning that suite in the required weighted local scope; no mesh files changed in this branch.Gate follow-up: the first unweighted mesh layout timing miss reran cleanly under
systemd-run --user --scope -p CPUWeight=10000.bun test src: 142 pass, 0 fail, 10,901 expect() calls; 1,000-node layout measured 9.64 ms against <25 ms. infraternal-dev: 8 cores, load average 40.27/33.27/27.26 at start and end. No mesh code changed.Clippy cleanup committed and pushed as
9b3ea5aa: targeted shim/agent Clippy passed, locale unit tests passed 8/8, andcargo fmt --all --checkpassed. The prior full fast run also measured the x86_64 static binary at 20,084,656 bytes against the existing 16,404,816-byte cap; no budget was changed.The required real-session check found a live PTY socket and running shim (UID 1001, child present) while
host.facts.readreturnedsessionCount=0andbackgroundSessionCount=0./proc/<pid>/statwas readable with a valid birth tick, but/proc/<pid>/exewas hidden becauseharden_startup()sets the shim non-dumpable.Registry::Live::alivetherefore discarded valid sessions.process_birth_ticksalready rejects zombie/exit states; I’m removing the redundant executable-link requirement and will rerun the lifecycle test.Registry liveness now uses the authenticated socket path and matching process birth tick; the birth parser already rejects zombie states. Commit
77148b61pushed. The red-to-green real-session test now passes:local_session_counts_and_memory_refusals_follow_real_lifecycle1/1; shim/agent Clippy andcargo fmt --checkalso pass.Finished at HEAD
30011d951aon branch terminal-fidelity; all commits are pushed. Issue remains open.LANGfrom/etc/default/localeand/etc/locale.conf, checks that the locale is installed, and usesC.UTF-8only when available. ExistingLANGandLC_*values are preserved; only locale variables cross the scrubbed PTY environment. macOS reads the user'sAppleLocalesetting and maps it to UTF-8.LANGenvironment data.xterm-256colorterminfo works for the exercised tmux screen, status bar, and borders, but advertises capabilities beyond the client implementation. I recorded whether a dedicated terminfo is warranted for the owner; this task leavesTERMunchanged.The fast gate ran with
RUST_TEST_THREADS=4under host contention. Its Rust test row passed; the only failing row is the known static size overrun, with D188 unchanged. Fast-gate summary, verbatim:Production captures (1440×900):
apps/tracer/captures/terminal-locale/tmux-before-1440x900.pngapps/tracer/captures/terminal-locale/tmux-after-1440x900.pngStarting the #161 locale fix port as part of the production-batch integration on branch
release-prod-3c, based onorigin/release-prod-3bat8cff05cdeee4b43c5b7234e09fb12296fb602ad8. The terminal-fidelity source isorigin/terminal-fidelityat27db08cf8717596dee20d7de8e109ce69f03beb7; I have read this issue's history and will retain the existing production lifecycle work while merging the locale behavior.Finding from the branch comparison:
origin/release-prod-3bcheckslifecycle.rswithsymlink_metadata(...).file_type().is_symlink()and addsnondumpable_process_keeps_its_authenticated_lifetime;origin/terminal-fidelityremoves the followed/proc/<pid>/execheck because hardened shims deny following it. The production check inspects link metadata without following it, so I will retain that check and its regression test while preserving the terminal-fidelity locale and replay changes. The two script conflicts also differ: production counts the private rendezvous in/proc/<pid>/net/unix, while terminal-fidelity validates detach through a wire-level resize/ack and waits specifically forterminal.exitedafter the replay marker.Gate step:
cargo clippy --locked --all-targets --all-features -p infraternal-agent -p infraternal-shim -p infraternal-server -p infraternal -- -D warningsPASS; finished in 7m 02s.cargo fmt --all -- --checkalso PASS.Rust tests (default features) PASS after pointing existing
../../targetfixture paths through a temporary symlink into scratch: agent 34 passed/6 ignored + 2 transport; server 187 passed/14 ignored plus its integration targets; shim 73 passed/13 ignored, detach 2/2, mouse 1/1. The TF-001replay_complete_notice_is_accepted_by_embedded_serverpassed in the server suite. Initial ENOENT setup attempt is recorded above; no test was waived.Real-shim session scripts PASS against the scratch-built CLI (
INFRATERAL_TEST_STATE_ROOTunder scratch):verify-session-exit-credit.py --exit-after-detachreported “Reaped shim final output and ordered exit survive delayed credit: PASS”;verify-session-retention.pyreported “Bounded owned exit, unfunded notification, restarted reconnect status, retirement handshake race, unknown session: PASS”.Owner report 2026-10-12 (iPhone, production
1f77a449): after opening Settings and navigating back, a line of stray characters (tofu, symbols) was typed into the root shell on monitor01. Likely replayed terminal query answers on reattach (#161). Job settings-roundtrip (queued after prod-batch-4) reproduces this exact path on1f77a449and verifies the release-prod-4 fix before batch 4 deploys.Base/head result for the Settings-return terminal replay report, using matched production builds and an echo-disabled PTY fixture:
1f77a449failed on mobile 393×852 (39 → 229 accepted PTY bytes, +190) and desktop 1440×900 (39 → 199, +160) at the first Settings → Shortcuts → About → Console return.74305cc690passed both sizes across five cycles, renderer reload from cursor zero, background/foreground and network reconnect. Each stayed at 29 accepted bytes, output sequence 160, and unchanged screen text.The head test also observed one reconnect attach on each viewport. No product change was needed beyond the replay fence already merged in production batch 4.
Updated matched result with the shared DA3/extended-keyboard corpus and cleanup fixed to preserve the primary assertion: base
1f77a449accepts 200 extra PTY bytes on mobile and 180 on desktop at the first Settings return. Head f9f4b045 accepts no extra input (29→29) in either viewport through five Settings cycles, cursor-zero reload, visibilitychange and network reconnect; the screen stays unchanged. This reproduces #161 on base and verifies the existing replay fence on head. No product fix was needed.Orchestrator: DEPLOYED to production at 09:13 UTC (14:43 IST): release-prod-4 @
3aec316e= live1f77a449+ terminal fidelity (#160/#161) + ended sessions (#168) + live web fixes (3w) + settings rows (text never collides). Binaries built from61bdbd9f(later merges are web-only); sha256 prefixes x86 2af382ef / arm 8fd4d67f match on host. healthz 200, public 200, 0 errors in journal, 23 shims survived the restart. Settings round-trip evidence (#161): base1f77a449accepted 190-200 stray PTY bytes after Settings return; head 0 across five cycles, background/foreground and reconnect. Restart re-locked the CA: owner unlock needed. Perf VM latency A/B (prod-batch-4 report): p50/p99 0.57/2.25 → 0.56/2.70 ms, overlapping.Final branch head:
settings-roundtripat051d0a40c158270fdffb86bb4b87cd6d08419ac0(pushed).Base
1f77a449accepts +200 PTY input bytes on the first Settings return at 393×852 and +180 at 1440×900. On head, both viewport specs complete five Settings cycles with accepted PTY input unchanged at 29 bytes, query output sequence 164, screen unchanged, and no page errors. Cursor-zero reload and network reconnect each cause exactly one attach; the visibilitychange background/foreground path also preserves the input log and screen. The common corpus covers DA1/2/3, DSR, OSC color queries, XTVERSION,CSI ? u, DECRQM, DECRQSS and XTGETTCAP.The fixture has no real shell, vim or htop. It feeds the query output through the production canvas and mock PTY with echo disabled, then checks the server-side accepted-input log, so the test exercises the client PTY reply route without shell feedback. The base reproduces the stray-input regression; head passes it. No product fix was needed beyond #161's replay behavior.
Closed by the orchestrator during the 2026-10-28 handover (#254), on the owner's request to close finished issues. Evidence: Fixed (settings-roundtrip
051d0a40in dev and prod) and deployed in release-prod-43aec316ewith before/after evidence (0 stray PTY bytes across five cycles). Reopen if anything is still missing.kayg referenced this issue2026-10-28 17:53:55 +00:00