- tui: the page bar was painted from session.state.view, which the AI page never sets, so on page 6 it kept the previous page lit; it now follows session.page (9 tests, 4 failed first)
- tui --help and the console README said keys 1-5; they are 1-6 and o c s e m a (test holds the help text)
- cli: policyTrustRoot() no longer joins an empty or relative $HOME, which put the anchor mirror and key under the working directory; falls back to the account home or refuses (2 tests, 1 failed first)
- docs: ruflo-tui-walkthrough.svg re-recorded from real frames with the AI page and its ask-first card, 6 AI marked
Co-Authored-By: RuFlo <ruv@ruv.net>
paint() drew the page bar from session.state.view, which the session leaves alone on the AI page (the shared console state
keeps the last non-AI page), so the bar marked Overview (started with --view ai) or the previous page (reached with 6).
It now uses session.page. Also: ruflo tui --help said keys 1-5; it is 1-6.
Test first: the new tui-nav.spec case fails without the change and passes with it; also checked in a real tmux pane on the
rebuilt bundle (started on ai, and 4 then 6: both mark 6 AI). Only tui/ changed (not hooks/), so no console version bump.
Co-Authored-By: RuFlo <ruv@ruv.net>
README gets a short optional pointer (npx ruflo tui, --plain) and one small animated SVG. docs/USERGUIDE.md gets a
Terminal UI (optional) section: requirements, commands, keys, exit codes, what each page shows, the AI page's ask-first
card and its Codex/OpenRouter rules, the honest limits and a pointer to the Orbital theme. Both SVGs are built from real
frames of ruflo-tui 3.56.7 in a throwaway sample project; scripts/render-tui-svg.mjs rebuilds them (CSS animation only,
no scripts or external references, prefers-reduced-motion shows the first frame).
Co-Authored-By: RuFlo <ruv@ruv.net>
Carries #4031 (rudycelekli) and #4091 (proffesor-for-testing); oversized-tail and permission-safe
recovery per rUv's review and martinvlad's fresh-consumer finding. Adds scripts/smoke-shared-fresh-consumer.mjs
(packed tarball, plain Node) and a CI step for it.
Co-Authored-By: RuFlo <ruv@ruv.net>
Keeps the newer serialized-record index fix (#4030) and the other RVF fixes from #4061.
An oversized length prefix is no longer accepted silently: the bytes are kept and append()
rejects explicitly (opt-in repairOversizedTail truncates). appendRecord() refuses records
replayFile() could never read back. Adds the tail-shape matrix regression tests.
Co-Authored-By: RuFlo <ruv@ruv.net>
Reduce vector replay from 29.6 MB to 3.84 MB through shared glyphs and per-cell animation. Retain 456 frames; verify SMIL timelines and img animation in Chrome.
@claude-flow/shared 3.0.1-3.0.3 declare only sql.js, but the compiled code
imports zod (core/config) and express, cors, helmet and ws (mcp transports).
They sat in devDependencies, so a clean `npm i @claude-flow/shared` cannot load
`.` or `./core` (Cannot find package 'zod') or `./mcp` (Cannot find package
'express'). ruflo users never saw it because @claude-flow/cli declares the same
packages and npm hoists them.
- Move zod, express, cors, helmet and ws to dependencies, with ranges that
overlap what @claude-flow/cli declares so a CLI install can dedupe them.
express is bounded to `^4.22.2 || ^5.0.0` (the patched 4.x floor the repo
overrides to, and the 5.x the workspace runs) instead of an open `>=`.
- Move @types/ws to dependencies: dist/mcp/transport/websocket.d.ts imports
`ws`, so a consumer type-checking with skipLibCheck off hit TS7016.
- Exclude *.test.ts / *.spec.ts / __tests__ from the build, and negate them in
`files` so a stale local dist (composite builds do not clear old outputs)
cannot ship them either. 3.0.3 ships 6 compiled tests that import vitest.
- HttpTransport: read `req.body ?? {}`. Under Express 5 a POST /rpc with no JSON
body left req.body undefined and answered 500 instead of the JSON-RPC 400.
Malformed JSON (body-parser's entity.parse.failed) now answers 400 / -32700
Parse error instead of 500 / -32603 Internal error, under Express 4 and 5.
- Lockfile: only the shared importer block moves; ws 8.19.0 was referenced by
nothing else and is dropped. `pnpm@8.15.0 install --frozen-lockfile` passes.
- Tests: __tests__/package-manifest.test.ts scans src/ with the TypeScript
AST (type-only imports erased, comments/strings ignored) and fails on an
undeclared runtime import, a missing @types/ws, or removed test exclusions;
__tests__/mcp/http-transport-body.test.ts (transport bound to port 0) covers
the bodiless POST and malformed JSON. Every mutant (zod, express, @types/ws,
spec negation, tsconfig exclude, each HTTP fix reverted) is caught.
Verified: npm pack + clean `npm i <tgz>` imports all 9 exports subpaths
(origin/main and registry 3.0.3 fail on 3 of them) and ships no test files;
HTTP /health 200 and a WebSocket connect work under express 5.3.0 and 4.22.3;
a consumer tsc with skipLibCheck off reports 0 errors; shared tests pass; the
CI recursive build and the CLI type-check pass.
Not included: the version bump and the CLI's exact `@claude-flow/shared`
pin, which belong to the release.
- orbitalGlobe reads a one-degree land mask built once (0.407 -> 0.268 ms at 140x24, 0.176 -> 0.120 ms at 100x16; 0.16% of globe glyphs differ along coastlines); palette parsed once per theme
- scripts/bench-theme.mjs: per-tick cost of the animated pictures, Classic vs Orbital
- tests/themes-adversarial.spec.ts: 45 specs on import, store and model-facing text
Co-Authored-By: RuFlo <ruv@ruv.net>
- boot log + self-check area + help guide for the themes view; nav test lists it as by-name
- bump console to 0.43.0 (plugin.json UTF-8 restored, CHANGELOG, version.ts, smoke pin)
- remove render-theme-demo.py (repo rule: no Python); README points at frames.json
- generate-console-theme skill: allowed-tools: Read
- split pane icons and startup loads out of pane.ts/controller.ts (both back under 500 lines)
Co-Authored-By: RuFlo <ruv@ruv.net>