mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
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
100 lines
4.8 KiB
Plaintext
100 lines
4.8 KiB
Plaintext
# Test files the root vitest run (scripts/ci-test-ratchet.mjs) does not run, because vitest cannot run them. They are NOT failures hidden
|
|
# from the baseline: each has its own runner, and that runner is a CI gate.
|
|
# - plugins/*/tests/*.test.ts import `claude-code/testing`, which only exists inside Claude Code: `claude plugin test <dir>` runs them
|
|
# (every plugin's scripts/smoke.sh, and .github/workflows/all-plugins-smoke.yml).
|
|
# - the .mjs files use node:test: `node --test` runs them (all-plugins-smoke.yml and the plugin smokes).
|
|
# A listed file that no longer exists fails the ratchet, so this list cannot go stale silently. Never add a file here to make a real
|
|
# regression green: a file that vitest CAN run belongs in scripts/ci-test-baseline.txt (and that file may only shrink).
|
|
|
|
plugins/ruflo-adr/tests/mod.test.ts
|
|
plugins/ruflo-agentdb/tests/fold.test.ts
|
|
plugins/ruflo-agentdb/tests/guard-scan.test.ts
|
|
plugins/ruflo-agentdb/tests/import.test.ts
|
|
plugins/ruflo-agentdb/tests/register.test.ts
|
|
plugins/ruflo-agentdb/tests/screen.test.ts
|
|
plugins/ruflo-agentdb/tests/textsof.test.ts
|
|
plugins/ruflo-agent/tests/mod.test.ts
|
|
plugins/ruflo-agntcy/tests/mod.test.ts
|
|
plugins/ruflo-aidefence/tests/mod.test.ts
|
|
plugins/ruflo-ai-team/tests/mod.test.ts
|
|
plugins/ruflo-arena/tests/mod.test.ts
|
|
plugins/ruflo-autopilot/tests/mod.test.ts
|
|
plugins/ruflo-bbs-federation/tests/register.test.ts
|
|
plugins/ruflo-browser/tests/register.test.ts
|
|
plugins/ruflo-business-pods/tests/register.test.ts
|
|
plugins/ruflo-chatgpt-federation/tests/register.test.ts
|
|
plugins/ruflo-daa/tests/mod.test.ts
|
|
plugins/ruflo-ddd/tests/mod.test.ts
|
|
plugins/ruflo-deepseek-harness/tests/mod.test.ts
|
|
plugins/ruflo-docs/tests/mod.test.ts
|
|
plugins/ruflo-federation/tests/mod.test.ts
|
|
plugins/ruflo-goals/tests/register.test.ts
|
|
plugins/ruflo-graph-intelligence/hooks/tests/register.test.ts
|
|
plugins/ruflo-intelligence/tests/register.test.ts
|
|
plugins/ruflo-iot-cognitum/tests/register.test.ts
|
|
plugins/ruflo-jujutsu/tests/register.test.ts
|
|
plugins/ruflo-jujutsu/tests/textsof.test.ts
|
|
plugins/ruflo-knowledge-graph/tests/register.test.ts
|
|
plugins/ruflo-knowledge-graph/tests/textsof.test.ts
|
|
plugins/ruflo-loop-workers/tests/register.test.ts
|
|
plugins/ruflo-loop-workers/tests/textsof.test.ts
|
|
plugins/ruflo-market-data/tests/register.test.ts
|
|
plugins/ruflo-market-data/tests/textsof.test.ts
|
|
plugins/ruflo-metaharness/tests/register.test.ts
|
|
plugins/ruflo-metaharness/tests/textsof.test.ts
|
|
plugins/ruflo-migrations/tests/migrations-mod.test.ts
|
|
plugins/ruflo-mods/tests/attention.test.ts
|
|
plugins/ruflo-mods/tests/agents.test.ts
|
|
plugins/ruflo-mods/tests/compact.test.ts
|
|
plugins/ruflo-mods/tests/delivery.test.ts
|
|
plugins/ruflo-mods/tests/describe.test.ts
|
|
plugins/ruflo-mods/tests/grounding.test.ts
|
|
plugins/ruflo-mods/tests/probe.test.ts
|
|
plugins/ruflo-mods/tests/ranked-context.test.ts
|
|
plugins/ruflo-mods/tests/rollup.test.ts
|
|
plugins/ruflo-mods/tests/toast.test.ts
|
|
plugins/ruflo-music/tests/music-mod.test.ts
|
|
plugins/ruflo-neural-trader/tests/trader-mod.test.ts
|
|
plugins/ruflo-observability/tests/observe-mod.test.ts
|
|
plugins/ruflo-plugin-creator/templates/mod/tests/status.test.ts
|
|
plugins/ruflo-plugin-creator/tests/creator.test.ts
|
|
plugins/ruflo-rag-memory/tests/rag.test.ts
|
|
plugins/ruflo-rag-memory/tests/textsof.test.ts
|
|
plugins/ruflo-ruvector/tests/ruvector.test.ts
|
|
plugins/ruflo-ruvector/tests/textsof.test.ts
|
|
plugins/ruflo-ruvllm/tests/ruvllm.test.ts
|
|
plugins/ruflo-ruvllm/tests/textsof.test.ts
|
|
plugins/ruflo-rvf/tests/rvf.test.ts
|
|
plugins/ruflo-rvf/tests/textsof.test.ts
|
|
plugins/ruflo-security-audit/tests/mod.test.ts
|
|
plugins/ruflo-security-audit/tests/textsof.test.ts
|
|
plugins/ruflo-sparc/tests/mod.test.ts
|
|
plugins/ruflo-sparc/tests/textsof.test.ts
|
|
plugins/ruflo-testgen/tests/mod.test.ts
|
|
plugins/ruflo-workflows/tests/mod.test.ts
|
|
plugins/ruflo-workflows/tests/textsof.test.ts
|
|
plugins/ruflo-x-gateway/tests/mod.test.ts
|
|
plugins/ruflo-x-gateway/tests/textsof.test.ts
|
|
scripts/check-adr-links.test.mjs
|
|
tests/plugins/codex-mod-hooks.test.mjs
|
|
tests/plugins/codex-swarm-hook-manifest.test.mjs
|
|
scripts/__tests__/guard-label.test.mjs
|
|
scripts/__tests__/mod-capability-matrix.test.mjs
|
|
tests/check-guard-tool-names.test.mjs
|
|
tests/check-status-forwarding.test.mjs
|
|
plugins/ruflo-console/tests/result-display.test.ts
|
|
plugins/ruflo-console/tests/toasts.test.ts
|
|
plugins/ruflo-console/tests/full-text.test.ts
|
|
plugins/ruflo-console/tests/whatsnew.test.ts
|
|
plugins/ruflo-console/tests/adrs.test.ts
|
|
plugins/ruflo-console/tests/surface-pictures.test.ts
|
|
plugins/ruflo-protector/tests/corpus.test.ts
|
|
plugins/ruflo-protector/tests/mod.test.ts
|
|
plugins/ruflo-protector/tests/rules.test.ts
|
|
plugins/ruflo-swarm/tests/toast.test.ts
|
|
plugins/ruflo-mods/tests/protector.test.ts
|
|
plugins/ruflo-mods/tests/selfcheck.test.ts
|
|
plugins/ruflo-testgen/scripts/tdd-repair/tdd-repair.test.mjs
|
|
plugins/ruflo-core/scripts/command-recording-switch.test.cjs
|
|
tests/regression/oct12-coverage.test.cjs
|