Some ptys report a size of 0 (docker exec without -t, CI `script` wrappers).
`columns ?? 100` keeps the 0, so paint() took the too-narrow branch and
sliced its notice to max(1, 0) = 1 character: the tui printed "T" on every
redraw. A 0 or missing size now means "unknown" and uses the defaults
(100x30), for columns and rows, in paint, --plain and paging.
Refs #4115
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMjr52YGVk9fkqtNvb5jg2
kitForSurface treated an unnamed surface (an older Claude Code) as a non-terminal, which would
have taken the terminal's Rasters away. It is the terminal now, with a test; version and changelog.
Co-Authored-By: RuFlo <ruv@ruv.net>
CI's all-plugins-smoke runs build-codex-mod-hooks.mjs --check (esbuild 0.25.0) and found the generated
codex-hook.cjs files drifted from the shared screen they bundle. Regenerated with the same esbuild version;
codex-mod-hooks tests 26/26, every all-plugins-smoke workflow step reproduced locally.
Co-Authored-By: RuFlo <ruv@ruv.net>
Every Skills action ran `npx -y skills`, which downloads and executes
whatever the `skills` package's `latest` tag points at that moment,
with the person's permissions and write access to their agents' skill
folders. Opening the page runs `skills ls` straight away. The AI page
already pins Codex (PINNED_CODEX) for the same reason.
Pin the CLI as PINNED_SKILLS = '1.7.2' (current latest, vercel-labs/
skills) and build every argv from it. A new spec checks that each
builder starts with `npx -y skills@<pin>`; it fails on main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMjr52YGVk9fkqtNvb5jg2
The real-CLI cases spawn node bin/cli.js from the vitest worker; in the full parallel suite on the CI runner that spawn fails with ENOMEM on all five attempts (runs 38290339354, 38291176206) while it passes alone and on a large host. Rather than hide the whole file, only those two cases move to hive-mind-real-cli-auth.test.ts, which is listed in KNOWN_FAILING (expires 2026-12-01 with the rest). The no-prior-init case now asserts a real non-zero exit instead of 'not 0', which a failed spawn (-1) would also have satisfied.
Co-Authored-By: RuFlo <ruv@ruv.net>
Run 38290339354 failed 'real CLI-process integration' with 'spawnSync node ENOMEM': the runner was briefly out of memory while hundreds of forked test files ran. Retry up to four times with 0.5-2 s back-off; a real defect fails every attempt, and the final report names the signal/code/message.
Co-Authored-By: RuFlo <ruv@ruv.net>
Run 38265587493's 'real CLI-process integration' failure on the full parallel suite reported status=undefined with an empty signal, so it is not a signal kill. Surface errno/message so the cause is visible, and retry once since a real defect repeats.
Co-Authored-By: RuFlo <ruv@ruv.net>
- v3/vitest.config.ts: drop plugins-upgrade-trust-gate and plugins-install-scripts-3557 from KNOWN_FAILING (both pass alone and under the root config; they guard the plugin upgrade trust gate); make the config refuse to load after 2026-12-01 so the quarantine has to be triaged instead of lasting forever.
- hive-mind-spawn-broadcast-shutdown-auth: runCli reports the signal and retries once when a child is killed by a signal (run 38265587493 failed 'real CLI-process integration' with exit -1); assertions now print the child output.
Co-Authored-By: RuFlo <ruv@ruv.net>
Independent review of #4096 (issues #4093-#4095). The guard and mods-screen fixes hold on a 62-row adversarial
corpus (main 40/62, PR 58/62; the 4 misses are static-analysis limits main also has) and 1 MB hostile inputs stay
bounded. Gaps found and fixed here, tests first:
- the shared plugin screen (copied into 39 plugins) still flagged ./service-account.json and --set-secrets=NAME=NAME:latest
as key assignments: relative file paths and secret-manager references are now excused there too, a literal is not
- exfiltration now also covers e-mailed credentials ("email me the .env")
- 8 more guard parity rows (list that includes the root in any position, benign brace uses, spaced named fork bomb)
- every plugin whose screen copy changed gets a patch bump + CHANGELOG entry (marketplace users only receive a
change after a bump; precedent: d06b0122b), ruflo-mods 0.6.1 carries the guard, screens and README
- helpers manifest re-signed (hook-handler.cjs changed)
Co-Authored-By: RuFlo <ruv@ruv.net>
On Claude Code Desktop every picture was missing: no banner, no title
art, no topology, map, gauge or chart, and not even the text lines meant
to stand in for them. The host completes every resolved table with every
element name, and on the desktop its Raster draws an empty fragment, so
`kit.Raster !== undefined` always held and the console drew empty boxes.
- kitForSurface(): the terminal gets its Raster and no Svg; every other
surface (desktop, vscode, mobile) gets Svg and no Raster. Applied to the
Pane and the band. On the terminal nothing changes: the same Rasters,
keys, text and fallbacks.
- gfx/svg.ts: the same Grid as one SVG document. Every Block Elements
glyph (U+2580 to U+259F) and every braille glyph is drawn as
rectangles; other glyphs are placed cell by cell (a control character,
a value past Unicode or a character XML cannot hold is a blank cell);
colours are kept, the default background stays transparent, text is
escaped. A picture that would pass the host's 131,072-character Svg
limit is not sent, so one large picture cannot invalidate the whole
tree; it then falls back as on a surface with no pictures (its text line
where it has one).
- A surface that draws Svg gets still frames, since nothing blits an Svg:
nothing strikes in and the motion stops, as with fps 0, and the
decorative light (the header's sweep, the title's shimmer, the palette's
sweep) is off instead of caught mid-way. The boot keeps its real time so
its progress shows, and a picture of data is drawn as of the render. The
terminal keeps its moving light, with fps 0 too.
- art(): one helper for every picture site (header, title art, boot,
Orbital art, picture(), learning, memmap, palette). An Svg's alt is the
picture's fallback line without "needs a terminal".
- The frame loop runs while the view has pictures, as before, so the
menu entry and the Learning pulse still move on the desktop; it only
rebuilds and blits when a Raster is mounted, so the desktop no longer
rebuilds every picture per frame and blits keys that were never mounted.
The band's mark animates on the terminal only.
- tests: svg-pictures.spec.ts (vitest) for the writer, the kit, the still
frames (on every page in every look: header, title and palette the same
at any moment, every other picture equal to fps 0's) and the frame loop
by surface; surface-pictures.test.ts mounts the 33 main views and the
agent drill-down of a fixture agent in the bbs, plain and orbital looks
on terminal and desktop (7 tests, all fail on the parent commit). It
imports claude-code/testing, so it is listed in
scripts/ci-test-excluded.txt with the console's other kit tests. The old desktop test only asserted "no Raster",
which held while every picture was gone; it now asserts the Svgs arrive.
Fixes#4111
Co-Authored-By: Ruflo & AQE
On Node 20 (end of life since 2026-04-30) an import that throws while its
module graph evaluates still raises an unhandled rejection after the caller
has caught it. sharp is never built in this workspace, so agentic-flow's
reasoningbank import fails that way and run 38265587493 reported 12
unhandled errors that are not defects in the code under test. Node 22 and 24
keep the caught failure caught.
Follow-up to #4092 for #4090: filter.<name>.clean/.smudge/.process commands in a
repository's config ran under status, diff and git worktree remove. The console lists the
configured drivers (a config read) and blanks each on the command line before those
commands, and refuses the probe when a driver name cannot be blanked exactly. Real-git
tests with positive controls; fake-git fixtures answer the listing. Version 0.43.2.
Co-Authored-By: RuFlo <ruv@ruv.net>