#4147: stub the optional @claude-flow/aidefence engine (CI does not build it, so the handlers returned error
JSON and 'safe' was undefined); the known-miss store under test stays real.
#4146: the bare-subpath precondition accepts ERR_MODULE_NOT_FOUND as well as ERR_PACKAGE_PATH_NOT_EXPORTED
(an agentic-flow install without that file fails the bare import differently).
Co-Authored-By: RuFlo <ruv@ruv.net>
The old assertion pinned exactly one searchEntries call. Since #4129 an empty default-threshold search is
followed by one near-miss probe (threshold 0). The guard now asserts the real search runs first with the
caller's query and that at most the single documented probe follows.
Co-Authored-By: RuFlo <ruv@ruv.net>
The bloat guard no-cli-optdep-bloat-2561 deliberately forbids this package in the CLI's
optionalDependencies, so the packaging half of #3979 item 1 is dropped: the clear
'not installed, install with npm i ...' message stays. The message mapping is now an exported
function tested directly (the CI run showed the mock-factory error wrapping dropped the error
code), covering code-carrying, code-less wrapper and unrelated-package errors. package.json and
pnpm-lock.yaml return to main's.
Co-Authored-By: RuFlo <ruv@ruv.net>
The ADR-404 parity test (mods-route) compares the mod's route context with hook-handler.cjs.
#4172 changed intelligence.cjs scoring (inflection variants, IDF weights, coverage >= 0.15),
leaving the mod's trigram-Jaccard copy behind, so the parity job failed. Same algorithm now in
plugins/ruflo-mods/hooks/route/ranked-context.ts; ruflo-mods 0.6.1 -> 0.6.2.
Co-Authored-By: RuFlo <ruv@ruv.net>
The go prompt (: or /) takes an action as well as a page. A name is matched
literally against the console's palette entries (id, or name containing the
typed words, or a text command keyword), never fuzzily. A read runs at once
through Host.run (ruflo CLI by argv only); a change raises the console's own
state.pending card, pinned under the page bar, and runs only on a lone y while
every row of the card is on screen (state.shownCard). Paste, Enter, "yes", a
card too tall for the window or a replaced card run nothing; n/Esc drops it.
The console's own verdict on the run is pinned for 20 s.
- tui/pinned.ts: the card and result rows
- session: palette(), answer(), pending(), cardShown(), pinned()
- parity table wording, ADR-489 phase 6, guide; key line says "ask first"
- tests/tui-actions.spec.ts with a CLI stand-in recording the argv
Co-Authored-By: RuFlo <ruv@ruv.net>
- tui/parity.ts: a recorded decision for each of the console's views
(same / partial / equivalent / claude-only); tests/tui-parity.spec.ts fails
when a view in VIEWS has no decision or no row in ADR-489
- 0 opens the main menu (its keys open entries), : or / goes to a page by
name, Esc/Backspace is Back, --view takes any page; the console terminal
opens the AI page and the Room says on one screen that it needs Claude Code
- terminal renderer: a Box's width is honoured (the board's two groups side by
side) and the board's entry labels are drawn (they were blank)
- --mouse (opt-in, SGR): click a page chip, wheel scrolls; off by default,
switched off on exit, report bytes ignored without the flag
- CLI: --view validates against the loaded bundle's page list, --mouse flag
Co-Authored-By: RuFlo <ruv@ruv.net>
Merges both stores by namespace+key (newest updatedAt wins), reports per-store
counts, and warns instead of silently exporting a partial set.
Co-Authored-By: RuFlo <ruv@ruv.net>
The standalone terminal UI now leads each page with the same title art and
pictures the console draws, as coloured cells (Raster in the terminal kit),
in the console's looks (Classic BBS default, Orbital, plain), moving at
--fps with only the changed rows redrawn.
- tui/ansi.ts: Raster; control/escape/invisible/wide code points become
spaces, malformed or oversized cells draw nothing
- looks: --look, t key; --boot; --fps, --no-anim, --no-pictures
- focus reporting pauses the animation clock; NO_COLOR, dumb terminals,
and widths under 44 fall back to the words
- guide: flags, looks, the t key; corrects the confirm-card sentence
- ADR-489: phase 4 recorded, parity table skeleton
- README/guide SVGs regenerated from real frames (leak-checked)
Co-Authored-By: RuFlo <ruv@ruv.net>
The bare subpath import threw ERR_PACKAGE_PATH_NOT_EXPORTED and the catch
swallowed it. Resolve the package root via its exported entry and import by
file URL; autopilot_learn now reports the real load error.
Co-Authored-By: RuFlo <ruv@ruv.net>
A false negative gave learnFromDetection no threat to store yet returned
success. Record a hash of the normalised input as a known miss, flag it in
scan/is_safe, and report learned:0 honestly when nothing was learned.
Co-Authored-By: RuFlo <ruv@ruv.net>
Verified: convert gives every unit-norm input tanh(0.5)=0.4621171572, and
distance on unit-norm/off-ball points was acosh of a NaN or huge value that
serialised to null with success:true. Distance now uses the curvature-correct
formula and returns success:false outside the ball.
Co-Authored-By: RuFlo <ruv@ruv.net>
ruvllm_status now carries wasm.hint and the init error names the install
command; verified on a throwaway global ruflo 3.56.9 that
npm i -g @ruvector/ruvllm-wasm makes ruvllm_chat_format work.
Co-Authored-By: RuFlo <ruv@ruv.net>
0.2.25 ships without dist/core/onnx/pkg, so embed text failed and the
ruvector-onnx-embeddings-wasm remedy never fixed it. Verified in a throwaway
prefix that 0.3.3 embeds 384 dims with no add-on; refreshed the limitation
tables against 0.3.3 and bumped the plugin to 0.3.6.
Co-Authored-By: RuFlo <ruv@ruv.net>