Commit Graph
1854 Commits
Author SHA1 Message Date
Dragan Spiridonov f18ff4c427 fix(policy): authenticate retained ledgers and stream full audits with fenced writers (#4216)
* fix(policy): preserve authenticated ledger receipts across crash recovery

* Register operator policy ledger limits in environment precedence audit

* test(policy): assert bounded retention work instead of shared-runner latency
2026-10-17 23:10:58 +01:00
961ab6c879 fix(cli): honor the no-update startup opt-out (#4251)
Co-authored-by: shuaiyafei <16618929+shuaiyafei@users.noreply.github.com>
Co-authored-by: r <r@x>
Co-authored-by: RuFlo <ruv@ruv.net>
2026-10-17 17:54:13 +01:00
他们都不玩了andshuaiyafei 64d00f4ab2 fix(cli): honor no-color before rendering help and version (#4248)
Co-authored-by: shuaiyafei <16618929+shuaiyafei@users.noreply.github.com>
2026-10-17 16:35:41 +01:00
kevin e733bda318 fix(daemon): report the running daemon's TTL in daemon status (#4238) (#4241)
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.
2026-10-17 16:35:34 +01:00
bbansandbbans ca31fc52be feat(doctor): add versioned JSON health check output (#4228)
Co-authored-by: bbans <252185257+bryanbans@users.noreply.github.com>
2026-10-17 16:35:30 +01:00
xjh bd92ac5b4c fix(intelligence): forward trajectories using the ruvllm contract (#4222)
Map outcomes and steps to the fields consumed by ruvllm pattern extraction. Add coverage for success, failure, and partial trajectories.

Refs #4199 (part A).
2026-10-17 16:35:22 +01:00
xjh f04ce8df1c fix(init): stop granting blanket execution of project helpers (#4221)
Remove the broad project helper Bash permission from generated settings while preserving hook configuration and existing user permissions.

Fixes #4205
2026-10-17 16:35:17 +01:00
rUvandr 37dd507c7a fix: bump @metaharness/darwin pin from ~0.10.2 to ~0.12.0 (#3219) (#4252)
* 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>
2026-10-17 16:35:08 +01:00
Rudy Mizrahi Celekli f429ccac53 fix: serialize learning stats read-merge-write transactions (#4240) 2026-10-17 14:59:04 +01:00
Wu Shuwen d25f333421 fix(neural): report unchanged persisted quantization storage (#4224) 2026-10-17 14:58:50 +01:00
Wu Shuwen 422e61cf03 fix(init): omit unimplemented generated hooks (#4200) (#4213)
* fix(init): omit unimplemented generated hooks (#4200)

* test(init): match quoted hook commands

* test(init): reject quoted no-op hook commands
2026-10-17 14:58:40 +01:00
Rudy Mizrahi CelekliandClaude Sonnet 5.5 f4604a0f54 fix(memory): refresh Claude memories across project and worktree roots (#4210)
* 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>
2026-10-17 14:58:05 +01:00
randRuFlo 0e9ccec084 Merge main into perf/mcp-memory-on-core; ruflo-core 0.2.11 (0.2.10 shipped)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 11:25:50 -04:00
rUv 934bf0b192 Merge pull request #3988 from socrates6969/feat/learning-pipeline
fix(learning): persist trajectory counts across processes; daemon jobs feed learning
2026-10-14 08:25:37 -07:00
randRuFlo 0aaff49bcb fix(cli): neural data dir resolves through getProjectCwd (env-var precedence audit)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 10:25:25 -04:00
randRuFlo fca96f9fc0 Merge main into perf/mcp-memory-on-core
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 10:24:16 -04:00
randRuFlo 9f5f933791 Merge main into fix/core-session-paths; ruflo-core 0.2.10 (0.2.9 shipped)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 10:23:47 -04:00
r 5f44eec2a0 Merge remote-tracking branch 'origin/main' into c4188x 2026-10-14 09:50:11 -04:00
rUv bb0a46b77b Merge pull request #4182 from ruvnet/feat/tui-pictures-looks-motion
feat(tui): ruflo tui draws the console's pictures, looks and motion (console 0.44.0)
2026-10-14 06:50:04 -07:00
rUv 966589ec8f Merge pull request #4187 from ruvnet/fix/aidefence-learn-miss-autopilot-load-4147-4146
fix(aidefence,autopilot): learn missed threats (#4147) and load autopilot learning (#4146)
2026-10-14 06:28:17 -07:00
rUv d4f7af9983 Merge pull request #4185 from ruvnet/fix/sona-neighbour-reinforcement-4134
fix(sona): reinforce the nearest existing pattern for near-identical tasks (#4134)
2026-10-14 06:10:39 -07:00
rUv 7359862715 Merge pull request #4184 from ruvnet/fix/memory-search-threshold-4129
fix(memory): calibrated default search threshold and near-miss hints (#4129)
2026-10-14 06:09:26 -07:00
randRuFlo 16e33df5ec Merge main into feat/tui-pictures-looks-motion (keep console 0.44.0 over 0.43.7)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 09:06:40 -04:00
rUv 2ec9c05104 Merge pull request #4181 from ruvnet/g3/skills-contracts
fix: skills, plugin contracts and ruvector/neural/kg surfaces (#4126 #4133 #4135 #4149 #4156 #4157 #4158 #4159 #4161)
2026-10-14 05:25:24 -07:00
rUv 9c62e91e9e Merge pull request #4179 from ruvnet/fix/3979-wasm-optional-patterns-metric
fix(cli): clear 'not installed' message for @ruvector/rvagent-wasm; count only new patterns (#3979)
2026-10-14 05:18:16 -07:00
rUv efa3011614 Merge pull request #4178 from ruvnet/g1/core-hooks
fix(core,cli): record failed tool outcomes, run hooks from the project root, keep telemetry off the tool path
2026-10-14 05:11:05 -07:00
rUv b9a9ffb398 Merge pull request #4186 from ruvnet/fix/memory-export-both-stores-4148
fix(memory): memory_export reads the CLI store as well as the AgentDB store (#4148)
2026-10-14 04:59:15 -07:00
randRuFlo b076720667 Merge main into feat/tui-pictures-looks-motion (keep console 0.44.0, add 0.43.6 entry)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 07:55:44 -04:00
rUv 7035c12a2c Merge pull request #4163 from rudycelekli/fix/ruflo-reviewer-role-claims-4123
docs(analyze): describe reviewer role suggestions accurately
2026-10-14 04:51:36 -07:00
rUv 1de58659e6 Merge pull request #4167 from rudycelekli/fix/agent-health-measured-20261013
fix(agent): derive health from observed execution outcomes
2026-10-14 04:50:58 -07:00
rUv 2862d70e8c Merge pull request #4165 from rudycelekli/fix/ruflo-diff-content-4122
fix(analyze): classify actual diff content and commit subjects
2026-10-14 04:45:48 -07:00
rUv e346a93d6e Merge pull request #4164 from rudycelekli/fix/workflow-fail-closed-20261013
fix(workflow): fail closed on invalid gates and unsupported steps
2026-10-14 04:42:52 -07:00
randRuFlo 2e12025f18 fix(cli): keep @ruvector/rvagent-wasm out of optionalDependencies (guard #2561); test the not-installed message without module mocking
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>
2026-10-14 06:32:09 -04:00
r 1377b17c1c Merge origin/main into fix/3979 2026-10-14 06:31:45 -04:00
randRuFlo e7c29326d4 feat(tui): every console view opens in ruflo tui, with a menu, a go prompt, Back and opt-in mouse (ADR-489 phase 5)
- 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>
2026-10-14 06:09:23 -04:00
rUv f09fd67d6a Merge pull request #4155 from martinvlad/fix/agentdb-bridge-creates-swarm-dir
fix(memory): create the AgentDB directory before the bridge opens it (#4132)
2026-10-14 02:47:35 -07:00
randRuFlo db2d737ffe fix(sona): reinforce the nearest existing pattern for near-identical tasks and report distance to the routing gate (#4134)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 05:46:38 -04:00
randRuFlo b3d1ec2df4 fix(memory): memory_export reads the CLI store as well as the AgentDB store (#4148)
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>
2026-10-14 05:46:38 -04:00
randRuFlo 1e8d37e03a feat(tui): ruflo tui draws the console's pictures, looks and motion (console 0.44.0, ADR-489 phase 4)
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>
2026-10-14 05:44:48 -04:00
randRuFlo c49665ce2b fix(autopilot): load agentic-flow autopilot-learning past its exports map (#4146)
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>
2026-10-14 05:43:41 -04:00
randRuFlo 26abe0b5a7 fix(aidefence): aidefence_learn can record a missed threat (#4147)
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>
2026-10-14 05:42:51 -04:00
randRuFlo 497bf91db4 fix(cli,ruflo-ruvector): embeddings_hyperbolic distance refuses off-ball points; skill stops claiming norm encodes depth (#4159)
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>
2026-10-14 05:37:35 -04:00
randRuFlo dae163aca6 fix(cli,ruflo-ruvllm): say how to install @ruvector/ruvllm-wasm when it is missing (#4149)
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>
2026-10-14 05:37:35 -04:00
randRuFlo ae13e393d2 fix(cli,ruflo-intelligence): neural_train reports empty, neural_predict has a similarity floor, nested subcommands dispatch at any depth, built-in registry fallback is honest (#4156, #4157)
ruflo-intelligence 0.4.5.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 05:37:35 -04:00
randRuFlo 866f844483 fix(cli,ruflo-knowledge-graph): causal-edge says when an edge cannot be read back under encryption at rest; kg-traverse uses the read tools (#4135, #4161)
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>
2026-10-14 05:37:35 -04:00
randRuFlo 6c5992a030 fix(memory): calibrated default search threshold (0.2) and near-miss hints when a default search is empty (#4129)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 05:33:39 -04:00
RuFlo 5c00b076ef fix(cli): declare @ruvector/rvagent-wasm optional; count only new patterns (#3979)
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>
2026-10-14 05:32:46 -04:00
randRuFlo b98935f34f fix(core,cli): record failed tool outcomes, run hooks from the project root, keep telemetry off the tool path
- #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>
2026-10-14 05:28:12 -04:00
randRuFlo 08a7231ba9 fix(cli): cap the worker error text stored as learning content (first line, 200 chars), test first
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-14 05:26:17 -04:00
r 18e5fddad5 Merge remote-tracking branch 'origin/main' into pr-3988 2026-10-14 05:25:42 -04:00