daemon status printed config.ttlMs of the default-config WorkerDaemon it
builds in the status process, so a background daemon started with
--ttl 0 showed 'TTL: 12h (self-shutdown)'. Read ttlMs from
daemon-state.json when the background daemon is running, as is already
done for aiWorkersEnabled and for daemon status --all.
Map outcomes and steps to the fields consumed by ruvllm pattern extraction. Add coverage for success, failure, and partial trajectories.
Refs #4199 (part A).
* fix: bump @metaharness/darwin pin from ~0.10.2 to ~0.12.0 (#3219)
npm published 0.11.0 and 0.12.0 after the last pin bump, leaving the
optionalDependencies range, MH_DARWIN_PIN, and the plugin helper's
DARWIN_PIN_VERSION all stale. scripts/check-metaharness-pins.mjs now
reports clean (was: STALE), and the metaharness-pin-drift CI gate,
which runs on every PR touching these files, was failing repo-wide
as a result.
Verified: check-metaharness-pins.mjs exits 0; plugin test-pin-alignment.mjs
(12/12) and test-no-tool-time-npx.mjs (26/26) pass against the new pin.
Co-Authored-By: RuFlo <ruv@ruv.net>
* fix: update v3/pnpm-lock.yaml for the @metaharness/darwin ~0.12.0 bump
Minimal surgical patch (specifier/version + the resolution block's
version/integrity), not a full pnpm regen — a full `pnpm install
--no-frozen-lockfile` here also drags in unrelated transitive bumps
(ruvector 0.2.27->0.2.41, vite 7.3.0->8.3.4, etc.) that don't belong
in a pin-drift fix. Verified with `pnpm install --frozen-lockfile`.
Co-Authored-By: RuFlo <ruv@ruv.net>
---------
Co-authored-by: r <r@x>
* fix(memory): memory_import_claude re-imports edited files and says why one failed (#4197)
The section writes did not pass upsert, so any key already in the store was
rejected and the catch only counted skipped++, returning success:false with no
reason. Upsert like memory_store, and list the first errors.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* fix(memory): resolve Claude import roots across Git worktrees
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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>
- 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>
agentdb_causal-edge returns readable:false plus a warning when graph_edges is RFE1-encrypted;
k-hop names the encrypted store instead of a generic unavailable backend; kg-traverse and
graph-navigator use agentdb_graph-query / agentdb_graph-pathfinder and stop calling
context-synthesize on entity records. ruflo-knowledge-graph 0.3.6.
Co-Authored-By: RuFlo <ruv@ruv.net>
Item 1: dist/src/ruvector/agent-wasm.js imports @ruvector/rvagent-wasm but the CLI never declared it,
so a global install never fetched it and every wasm_gallery/agent tool failed with a raw
ERR_MODULE_NOT_FOUND trace. It is now an optional dependency (^0.1.0, 620 KB, no install scripts,
MIT/Apache) and initAgentWasm() reports a missing package as 'not installed' with the install command.
Item 4: 'patterns learned' always equalled trajectories because recordTrajectory() bumped the counter
for every successful step even when LocalReasoningBank.store() merged it into an existing pattern.
store() now returns whether a new pattern was added and only that is counted.
Tests first: __tests__/patterns-learned-dedup-3979.test.ts (13 identical successes counted 13) and
__tests__/agent-wasm-not-installed-3979.test.ts both fail on main. pnpm-lock.yaml: only the two
rvagent-wasm hunks (frozen-lockfile clean).
Co-Authored-By: RuFlo <ruv@ruv.net>
- #4127: PostToolUseFailure registered for Bash and Write|Edit|MultiEdit and forwarded with -s false and the real exit code (builds on #4170 by @rudycelekli; payload shape verified against Claude Code 2.1.289)
- #4176: the hook shim starts the CLI from CLAUDE_PROJECT_DIR; the CLI only adopts a proven config in a directory that carries ruflo init's markers, not a bare .claude/ that Claude Code created
- #4128: the shim starts the CLI detached and returns at once (about 25 ms instead of 0.2-4 s per hook), bounded to 4 concurrent telemetry CLIs per project, Stop never dropped, RUFLO_HOOK_SYNC=1 for the old path
- ruflo-core 0.2.9
Co-Authored-By: RuFlo <ruv@ruv.net>