Commit Graph
3282 Commits
Author SHA1 Message Date
r ffd66d59fc Merge branch 'pr-4028' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 29b5574fd0 Merge branch 'pr-4025' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 78cd445550 Merge branch 'pr-4024' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 33af710814 Merge branch 'pr-4023' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 096643f123 Merge branch 'pr-4033' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r 18ed76d3e0 Merge branch 'pr-4032' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r af5b6b92c6 Merge branch 'pr-4022' into batch/rudycelekli-fixes 2026-10-11 10:45:19 -04:00
r cc44e3248c Merge branch 'pr-4021' into batch/rudycelekli-fixes 2026-10-11 10:45:18 -04:00
r 2940c91fcd Merge branch 'pr-4020' into batch/rudycelekli-fixes 2026-10-11 10:45:18 -04:00
rUv 37d78d6a17 Merge branch 'main' into fix/json-memory-expired-key-reuse-20261010 2026-10-11 06:31:48 -07:00
rUv f7f7a81471 Merge branch 'main' into fix/json-memory-substring-results-20261010 2026-10-11 06:31:46 -07:00
rUv 3ab24929e3 Merge branch 'main' into fix/rvf-zero-limit-pagination-20261010 2026-10-11 06:31:39 -07:00
rUv 13a72e50ef Merge branch 'main' into fix/output-colored-header-widths-20261010 2026-10-11 06:31:38 -07:00
rUv fd35e71d8a Merge branch 'main' into fix/output-table-padding-width-20261010 2026-10-11 06:31:35 -07:00
rUv 19c59a2a40 Merge pull request #4051 from ruvnet/fix/3662-stepful-trajectory-feedback-indexing
fix(hooks): index trajectory-end feedback even when steps were recorded (#3662)
2026-10-11 06:31:35 -07:00
rUv 3450d0ce13 Merge branch 'main' into fix/output-empty-progress-20261010 2026-10-11 06:31:33 -07:00
rUv 715b80f0bd Merge branch 'main' into fix/json-memory-utf8-size-20261010 2026-10-11 06:31:31 -07:00
rUv b5ad35cb9c Merge branch 'main' into fix/json-memory-entry-envelope-20261010 2026-10-11 06:31:29 -07:00
rUv 342ad839bb Merge branch 'main' into fix/json-memory-transaction-snapshots-20261010 2026-10-11 06:31:28 -07:00
ClaudeandRuFlo 68dc046a2a fix(hooks): index trajectory-end feedback even when steps were recorded (#3662)
#2351 fixed trajectory-end feedback being dropped, but only for step-less
trajectories (`!hasSteps` gate). The common start -> step -> end path that
real agents use recorded SONA state via `processTrajectoryOutcome`, but the
non-empty `feedback` string was never promoted to the `pattern` namespace,
so it was unreachable through `hooks_intelligence_pattern-search`.

Remove the `!hasSteps` restriction so feedback is promoted whenever it is
non-empty, regardless of whether steps were recorded. `patternsExtracted`
and the `feedbackDistilled` response field already handled both cases
generically, so no other call sites change behavior.

Adds a regression test driving the full trajectory-start -> step -> end ->
pattern-search path, which fails on current main and passes with this fix.

Note: this addresses only the "indexed when steps are present" half of
#3662. The issue's other claim — that `hooks_route` never consults a
persisted SONA `getRoutingSuggestion()` pattern — is real (verified:
`getSuggestion`/`getRoutingSuggestion` have no callers outside
sona-optimizer.ts) but requires an architectural decision (precedence vs.
the AgentDB/semantic routing paths, the confidence threshold, and new
response fields distinguishing "persisted" from "eligible for inference")
that is out of scope for this fix.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01QFyyphjiSXRE1TS2rRnEwU
2026-10-11 05:22:04 +00:00
randRuFlo 19fb5a71de chore(release): 3.56.5 (cli graph header sniff keeps SQLite locks, #4040/#4044); witness regen from a full build
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:52:14 -04:00
rUv fe703f0734 Merge pull request #4046 from ruvnet/fix/integration-no-publishconfig-tag
fix(integration): drop publishConfig.tag (3.0.1 landed on v3alpha, not latest)
2026-10-10 18:25:27 -07:00
randRuFlo 7dc07480ff fix(integration): drop publishConfig.tag so a stable publish lands on latest
3.0.1 was published with tag v3alpha and latest stayed on 3.0.0.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:09:49 -04:00
r 5b53336c97 Merge remote-tracking branch 'origin/main' into fix/graph-header-sniff-4040 2026-10-10 21:09:17 -04:00
r 9715c50fb7 Merge main into release/3.56.4 2026-10-10 20:30:01 -04:00
rUv 21953adcb0 Merge pull request #4019 from rudycelekli/fix/mcp-inflight-resource-cache-20261010
fix(mcp): fence stale resource cache writes after invalidation
2026-10-10 17:11:22 -07:00
randRuFlo 41fe2242e5 fix(memory): read the RFE1 header in a bounded child so the sniff cannot drop live SQLite locks (#4040)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:59:36 -04:00
rUv ef13569934 Merge pull request #3999 from proffesor-for-testing/fix/security-scan-false-positives
fix(security): scan code patterns without the false positives seen on a real tree
2026-10-10 15:56:52 -07:00
randRuFlo 762400a3a4 chore(release): 3.56.4 version bumps, changelog, helpers re-signed
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:56:17 -04:00
rUv ebea43a793 Merge pull request #3990 from ruvnet/sec/helper-cli-from-helper-root
fix(helpers): resolve the ruflo CLI from the helper root, not the project (replaces #3953)
2026-10-10 15:54:07 -07:00
rUv 7047b8b030 Merge pull request #3949 from ruvnet/fix/helper-module-root-and-session-path
fix(helpers): resolve modules from the helper root and keep session writes in the project
2026-10-10 15:54:03 -07:00
rUv 570392602a Merge pull request #3952 from ruvnet/fix/user-settings-pin-home-helpers
fix(init): pin user-level hook and statusline commands to $HOME helpers (security review in PR comments)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 11:54:50 -07:00
rUv fce696e51e Merge pull request #3948 from ruvnet/fix/plugin-registry-trust-fail-closed
fix(plugins): fail closed when the plugin registry is not verified (security review in PR comments)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 11:54:46 -07:00
rUv 3a03b524c2 Merge pull request #3969 from rudycelekli/fix/active100-mcp-task-cancel-20261010
fix(mcp): preserve cancellation when an aborted executor resolves
2026-10-10 11:50:02 -07:00
rUv 3d2c16dd23 Merge pull request #3986 from ruvnet/sec/optional-modules-own-install
fix(cli,plugins): resolve executed optional modules from the tool's own install (replaces #3954; security review in PR body)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 11:44:57 -07:00
rUv 559ccedc34 Merge pull request #3977 from ruvnet/dream/2026-10-10-performance
dream(performance): #3976 fallbackLouvain() communityTotal O(n²)→O(n·deg) incremental fix (evaluated, ACCEPT)
2026-10-10 10:20:24 -07:00
Rudy Celekli 35c87de121 fix(memory): allow expired JSON keys to be reused
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:47:51 -04:00
Rudy Celekli f48cb26035 fix(memory): omit nonmatching JSON substring results
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:47:08 -04:00
Rudy Celekli ec0ae3dcda fix(events): honor zero RVF query limits
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:41:28 -04:00
Rudy Celekli bca48964ac fix(cli-core): measure visible widths for colored headers
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:29:08 -04:00
Rudy Celekli 695dcf027f fix(cli-core): include table padding in width constraints
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:27:34 -04:00
Rudy Celekli 7b718959bf fix(cli-core): honor progress output controls and empty totals
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:25:41 -04:00
Rudy Celekli c7314d700a fix(cli-core): measure JSON memory size in UTF-8 bytes
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:24:20 -04:00
Rudy Celekli 627e1a5b2b fix(cli-core): reject invalid JSON memory entry containers
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:23:08 -04:00
Rudy Celekli 2d32d9d4a2 fix(cli-core): commit owned JSON memory snapshots atomically
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:21:44 -04:00
rUv c252cb676f Merge pull request #3980 from Devesh-Maheshwari/fix/status-agents-list
fix(cli): show registered agents in status agents
2026-10-10 09:19:14 -07:00
Dragan SpiridonovandRuflo & AQE 58604dabce fix(security): keep the old command-injection reach; bound the comment stripper
Adversarial review of the first commit (a Claude devil's-advocate agent and three
Codex rounds) found inputs main reports that it dropped, a ReDoS, and quadratic paths.

- Command injection is main's rule again (child_process ... exec), tested after
  comment stripping, so execSync is reported and no execFile shape is exempt: env,
  node -e, python -c, bash.exe, options variables and exec passed as a value were all
  bypasses. The execFile callback regex that backtracked catastrophically is gone.
- Carried block comments continue only through comment-looking lines; regex literals
  are read as code (bounded to 200 chars); '://' is never a comment. Lines are built
  from parts with a 12-char tail, so the stripper is linear.
- SQL placeholders: only param/placeholder names, params/values/args.length, numbers
  and loop letters, in value position, outside single- or double-quoted SQL text, in
  one left-to-right pass that skips escapes. pageNum, userIdx, req.body.length and
  quoted placeholders are reported.
- Spec: 26 tests, including every reviewer input and linear-time checks; each of ten
  source mutations fails at least one test.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 18:13:04 +02:00
Rudy Celekli 9c23f9f298 fix(mcp): fence cache writes after resource invalidation
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-10 11:33:00 -04:00
Dragan SpiridonovandRuflo & AQE 3b4b91fcd5 fix(security): scan code patterns without the false positives seen on a real tree
`ruflo security scan --depth deep` on a 10-repo checkout reported 10 high findings,
all false: `child_process.execFile` named in comments, numbered pg placeholders
(`$${paramCount}`) as SQL injection, and a Playwright report bundle. Mediums
included "retrieval (" read as eval and istanbul/Playwright assets.

- eval needs a word start; window.eval still matches.
- Command injection is any exec/execSync/execFile use (call, ?.(), .call/.apply/
  .bind, ['exec'], passed as a value), except execFile of a literal non-shell
  program with a literal argv and no shell or options variable. execSync, which
  `exec[^S]` skipped, is now reported.
- A counter-shaped pg placeholder where SQL takes a value, outside SQL quotes, is
  not interpolation; quoted or value-shaped `$${...}` still is. The SQL test runs in
  linear time.
- Comment text is stripped before matching (strings respected); a block comment
  carries only from a line-start opener that closes later.
- istanbul prettify/sorter/block-navigation/lcov-report next to a coverage marker,
  and Playwright trace/data next to index.html, are skipped. Folder names are looked
  up in a Map.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 17:30:34 +02:00
rUv ca74bd4f79 Merge pull request #3967 from rudycelekli/fix/active100-ruflo-screen-20261010
fix(tasks): synchronize workers when task_update reassigns a task
2026-10-10 08:03:12 -07:00