Commit Graph
9125 Commits
Author SHA1 Message Date
rUv 325ee58359 Merge pull request #4050 from ruvnet/fix/codex-swarm-hook-manifest-3688
fix(ruflo-swarm): add host-specific no-op manifest for native Codex hook discovery
2026-10-11 07:44:33 -07:00
rUv dfb5f63554 Merge pull request #4048 from Devesh-Maheshwari/fix/codex-ledger-attribution
fix(cost-tracker): preserve Codex usage ownership
2026-10-11 07:33:38 -07:00
rUv 71b58843a8 Merge pull request #4034 from rudycelekli/fix/adr-directory-cycle-scan-20261010
fix(adr): visit each real directory once during scanning
2026-10-11 06:32:33 -07:00
rUv 4ccab79df0 Merge pull request #4027 from rudycelekli/fix/adr-context-end-anchor-20261010
fix(adr): preserve end-of-file context and literal Z characters
2026-10-11 06:31:59 -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
randRuFlo 57c71dbbd1 test: exclude the node:test codex-swarm manifest test from root vitest
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 09:30:22 -04: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
ClaudeandRuFlo 6048331860 fix(ruflo-swarm): add host-specific no-op manifest for native Codex hook discovery
ruflo-swarm's hooks/hooks.json declares a Claude Code function-hook
module (modules: ["./register.ts"]) for the live swarm pane. Codex's
native plugin hook-manifest loader accepts only description and hooks
at the top level and hard-fails with `unknown field "modules"`,
dropping the plugin's hook registration entirely (#3688).

Add plugins/ruflo-swarm/.codex-plugin/plugin.json, the native override
Codex already prefers over .claude-plugin/plugin.json (same convention
used by ruflo-adr/ruflo-ddd/ruflo-sparc), pointing at a new
hooks/codex-hooks.json with an explicit no-op (`hooks: {}`). ruflo-swarm's
function hooks are a pure UI pane with no guard/security logic to port,
so an explicit no-op — not invented command hooks — is the correct
fix, matching the issue's own proposed resolution.

The Claude Code manifest and register.ts module are untouched.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01QFyyphjiSXRE1TS2rRnEwU
2026-10-11 05:19:25 +00:00
rUv 72255a2f49 Merge pull request #4049 from ruvnet/release/3.56.5
release: 3.56.5 (cli graph header sniff keeps SQLite locks)
v3.56.5
2026-10-10 19:05:52 -07: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 435deabd04 Merge pull request #3992 from ruvnet/fix/console-qa-3979
fix(console): Plugin Catalog names synced mods, changelog WIP lines dropped (part of #3979)
2026-10-10 18:50:20 -07:00
rUv c5e738c02b Merge pull request #3991 from ruvnet/fix/console-confirm-binding-3983
fix(console): bind every confirm route to the card the person saw (fixes #3983)
2026-10-10 18:50:11 -07:00
Devesh Maheshwari f7bbf344e8 fix(cost-tracker): preserve Codex usage ownership 2026-10-10 20:39:00 -05: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
rUv 1ab960ceea Merge pull request #4044 from ruvnet/fix/graph-header-sniff-4040
fix(memory): header sniff no longer drops live SQLite locks (#4040)
2026-10-10 18:22:48 -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
randRuFlo 4fce7223f1 chore(console): 0.42.6 version and changelog for #3979
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:00:18 -04:00
randRuFlo ee79a98501 fix(console): Plugin Catalog names a mod loaded by sync whose plugin is not installed; drop work-in-progress and merge lines from the console and mods changelogs (#3979)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 21:00:18 -04:00
randRuFlo 91aa4eef59 fix(console): bind every confirm route to the card the person saw (#3983), version 0.42.5
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:58:55 -04:00
randRuFlo ec1541fb1b fix(console): bind every confirm route to the card the person saw (#3983)
A typed /ruflo yes answers only the card shown to the person or the card it names (/ruflo yes <id>); Enter again in the terminal, skills and automate fields answers the card the field raised, by id; a Claude call settles only the card it started.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:58:55 -04:00
rUv f6781f1aa7 Merge pull request #4042 from ruvnet/release/3.56.4
release: 3.56.4 (plugin-trust + helper security, MCP/task fixes, Node 24 sqlite)
v3.56.4
2026-10-10 17:58:42 -07:00
randRuFlo 32418ae160 chore(release): regen linux witness from a fully built tree (117/117 verified, no regression)
CI builds every v3 package before verifying and gates on the history diff, so
the manifest must be regenerated from a full build, not a source checkout or a
partial build.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:48:04 -04:00
rUv 9c1750c03a Merge pull request #3985 from proffesor-for-testing/fix/console-stale-confirm
fix(console): expire unanswered confirm cards at 30 s, let Claude withdraw its own ask
2026-10-10 17:38:31 -07:00
randRuFlo 3ad2f4508f chore(release): regen linux witness from a source checkout (18 verified, as CI sees it)
The earlier built-tree regen marked 101 verified; CI checks out source only, so those
markers regressed. Carry forward the same unattested dist entries as 3.56.3.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:30:38 -04:00
randRuFlo 0c7d506029 docs(changelog): 3.56.4 adds #4019 and #3999
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 20:30:17 -04:00
r 9715c50fb7 Merge main into release/3.56.4 2026-10-10 20:30:01 -04:00
rUv ba26d996bb Merge pull request #4038 from ruvnet/docs/compact-live-validation
docs(mods): compactCarry live canary evidence + ADR-488 compactKeep design
2026-10-10 17:24:01 -07: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
rUv 97eeb315b9 Merge pull request #3982 from proffesor-for-testing/fix/console-session-workspace
fix(console): session workspace keeps transcript paths out of text answers and reads failures by ADR-486's rules
2026-10-10 17:08:28 -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
randRuFlo 46dac203d6 chore(release): 3.56.4 linux witness regen from a built tree (101/117 verified)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:58:26 -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
randRuFlo c5e4d40e36 chore(console): 0.42.4 version and changelog for #3984
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 18:09:17 -04:00
Dragan SpiridonovandRuflo & AQE bde274f845 fix(console): expire unanswered confirm cards at 30 s, let Claude withdraw its own ask
An unanswered confirm card never expired: the Room showed "155s of 30s",
every later Claude console action was refused as "already waiting", Claude
could not withdraw its own ask, and a late Yes was refused anyway ("the
confirm came more than 30 s after the ask").

- A card is cleared at PENDING_TTL_MS (30 s) by a timer registered in
  state.timers (torn down with the controller) or at the next ask/call; one
  Events entry, lastResult "expired: ask again", the Room says expired. The
  window and gates are unchanged; expiry runs nothing; a later Yes is still
  refused.
- ask-withdraw clears only a write-class card Claude raised in its own
  direct console_run (origin id recorded at raise); never the person's,
  deferred, follow-up, spend, install, network or delete cards; at most
  3 withdraws a minute and a 10 s same-label re-ask cooldown.
- A typed /ruflo yes is refused within 3 s of a Claude-raised card or 10 s
  of an expiry/withdraw (press the card itself).
- ADR and skills palette hints say which page to open and how many numbers
  an entry needs.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 18:09:17 -04:00
randRuFlo 9ff0ae3d69 fix(scripts): unbiased canary id generation in the compact live driver (CodeQL)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 17:48:37 -04:00
randRuFlo f9627d8f3b docs(mods): live canary evidence for compactCarry (ADR-451 item 7) and ADR-488 compactKeep design
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 17:48:37 -04:00
Rudy Celekli b4c9a9c45a test: run focused regressions with the repository Vitest runner
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 15:35:06 -04:00
Rudy Celekli 27ff12a65b test: run focused regressions with the repository Vitest runner
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 15:35:03 -04:00
randRuFlo 02a0bb4bfa chore(console,mods): console 0.42.3 and mods 0.5.1 versions and changelogs for #3981
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 15:19:36 -04:00
randRuFlo 851c2baa13 test(console): adversarial no-leak check for the session workspace over every view, console_state, palette and failure path (#3981)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-10 15:19:36 -04:00
Dragan SpiridonovandRuflo & AQE 7c37095729 fix(console): session workspace keeps transcript paths out of text answers and reads failures by ADR-486's rules
- Text answers (console_state, ask-Claude) no longer carry other projects'
  cwd or git branch from session transcripts; group labels use the
  placeholder titles already use. A branch name could carry
  instruction-shaped text into Claude's context.
- "failed" follows ADR-486 §2.3: raised only after the quiet period; a
  permission refusal (Claude Code's exact refusal results) and a Codex
  interrupt are not failures; a seen failure is keyed on the error record's
  own time, so metadata appends do not re-raise it.
- Timestamps are clamped (<= file mtime, <= now + 5 min); stores with future
  stamps or baselines are repaired once on load.
- The 12 MB read budget is one per pass, shared and taken in turns by all
  adapters, reserved before each read and charged the bytes read; never-read
  files are read first-come first-served, then least recently read, so no
  session starves.
- attention.json is rewritten at least every 5 min while the workspace runs,
  failed writes back off (30 s to 5 min), and /ruflo-mods marks an old
  summary stale.
- "Who is here" lists the main session and active or busy agents first, not
  the whole agent store.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_01CGoza3gyxBjpaiMPhGHcHs
2026-10-10 15:19:36 -04:00
rUv ce18551073 Merge pull request #3943 from proffesor-for-testing/fix/console-leftovers-3822-3823
fix(console): bound CLI numbers at the reader, keep unreadable counts visible, and a resume by Claude keeps hand-out counts
2026-10-10 12:19:26 -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