Commit Graph
1087 Commits
Author SHA1 Message Date
rUv 181a7ad59f style(console): add shaded micro-block RUFLO lettering with depth 2026-10-11 18:51:49 -07:00
rUv fd07f3b479 style(console): use solid block RUFLO wordmark 2026-10-11 18:50:33 -07:00
rUv 58f215db21 feat(console): brand Orbital intro with animated RUFLO wordmark 2026-10-11 18:48:34 -07:00
rUv d13740908f feat(console): animate Orbital headers and ASCII globe intro 2026-10-11 18:46:30 -07:00
rUv 75f3043a11 feat(console): add optional orbital telemetry theme 2026-10-11 18:32:55 -07:00
randRuFlo b870a57f85 fix(tui): compare the pinned Codex version by string, not a built regex (CodeQL js/incomplete-sanitization)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 17:28:41 -04:00
randRuFlo 9cf03b3ab9 ci(tui): build the TUI bundle for the e2e matrix with an esbuild installed on its own (RUFLO_ESBUILD_DIR)
A root npm install crashes in arborist on this workspace; the tui leg only needs esbuild. build-tui.mjs looks in the repo first, then in RUFLO_ESBUILD_DIR.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 17:04:46 -04:00
randRuFlo 7718a142b4 feat(tui): the AI page: ask Codex (read-only, pinned) or OpenRouter, each question after a card (ADR-489 phase 3)
Page 6. Reuses harness.send and the conversation bridge's sendTo, not a second harness. Host.spawn runs only the pinned Codex 0.162.0
release (never current or PATH), read-only, from a fixed argument allow-list; Host.httpSend sends only https POST to openrouter.ai or a
convoTargets host, never follows a redirect, and a key is read by variable name and never drawn. Enter shows a card of exactly what would be
sent; a lone y answers it only while it was drawn in full (#3983); spend cap from the provider-reported cost. e2e host matrix gets a tui leg
(keyless in CI, live gated). Not in this PR: the workspace-write toggle.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 16:54:16 -04:00
randRuFlo ba6f9273a3 feat(tui): Swarm, Events and Missions pages, page bar and keys, resize, and no Claude-only chrome (ADR-489 phase 2)
Five pages (Overview, Cost, Swarm, Events, Missions) with keys 1-5 / o c s e m / Tab / Shift-Tab, a page bar, a key line that
shortens with the width, clear-and-redraw on resize, a position bar under 60 columns and a notice under 40. Room is left out on
purpose (a message box and Claude sessions this host does not have).

state.isStandalone is the capability flag: on this host the shared chrome is not drawn (no tab bar, footer buttons, Launch,
Ask Claude, Claude control card); a button nobody can press is not drawn, a state chip and a section title are. Missions reads
the ADR-406 record only. Under Claude Code nothing changes. Console 0.42.7.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 16:24:56 -04:00
rUv 228d578173 Merge pull request #4072 from ruvnet/fix/memory-purge-native-4057-hooklog-4056
fix(memory,hooks): keep on-disk format on sql.js write-back (#4057); command-recording off switch, redaction, expired-row cleanup (#4056)
2026-10-11 12:40:18 -07:00
rUv f9732f1c81 Merge pull request #4073 from ruvnet/feat/mods-hardening-toast
feat(mods): doctor repairs that repair, --strict, atomic install, startup self-check (mods 0.6.0) + toast spike
2026-10-11 12:25:06 -07:00
randRuFlo 65398f5f83 feat(mods): startup self-check toast, doctor/install addenda, spike of the engine's toast text (0.6.0)
- ruflo-mods 0.6.0: selfCheck option (default on): one toast per session when an enabled ruflo plugin is missing from the marketplace clone with no cached install, fixed text with the repair; read-only, fail-open
- smoke: /ruflo-mods stays an alias of /ruflo mods; the self-check cannot write or echo repository text
- ADR-477 addendum: what Claude Code 2.1.289 draws for icons, SGR, OSC 8, OSC 0, bidi, CR (icons only; no colour; one slot)
- ADR-404 addendum: doctor/install hardening and the self-check

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:11:03 -04:00
randRuFlo 11cc8cd648 feat(cli,console): ruflo tui --plain, exit 2 without a terminal, bundle staged for publish, esbuild declared (ADR-489 A-E)
- E: `ruflo tui --plain` prints one plain frame and exits 0; without a TTY and
  without --plain it prints a one-line hint on stderr and exits 2 (no frame).
  Tests for terminal, non-terminal, --plain in a terminal, no raw mode, and
  through the command with the real bundle.
- A: esbuild is a declared root devDependency (^0.27.2, already locked).
- B: v3/@claude-flow/cli/scripts/prepare-publish.mjs builds and stages
  plugins/ruflo-console/dist/tui.mjs so a registry install runs `ruflo tui`.
  Measured: +449,345 bytes on the CLI tarball.
- ADR-489: status Accepted; section 8 records decisions A-E (C: Swarm, Events,
  Missions, Room; D: Codex read-only by default, no danger-full-access, OpenRouter
  https-only to openrouter.ai + convoTargets hosts). Repairs a corrupted table row
  that had pasted copies of the file head into the ADR.
- README: a short ruflo tui section.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:07:28 -04:00
RuFlo 18ecd8ae7b fix(memory,hooks): keep the on-disk format on sql.js write-back (#4057); command-recording off switch, redaction and a cleanup that sees expired rows (#4056)
#4057: with encryption at rest on, `memory purge`'s sql.js fallback rewrote a
plaintext native SQLite store as an RFE1 blob and still printed [OK]; the
native bridge and every SQLite reader then rejected the file. Every whole-file
read-modify-write (purge, delete, get access-count, store, schema migration,
decay) now writes the image back in the format it read (plaintext -> plaintext,
RFE1 -> RFE1) via writeDbImagePreservingFormat. applyTemporalDecay also read
the raw bytes, so it failed on encrypted stores, and wrote plaintext: both
fixed.

#4056: `hooks post-command` stored every Bash command in full with no off
switch. Add CLAUDE_FLOW_HOOKS_RECORD_COMMANDS=0 / CLAUDE_FLOW_HOOKS_ENABLED=false /
hooks.recordCommands=false (nothing is stored when off), redact common secret
shapes and cap stored text at 2000 chars (bounded patterns, linear on hostile
input). `memory cleanup --expired-only` never saw expired rows because
listEntries hides them (TTL is a read-time rule): listEntries gains
includeExpired + expiresAt, and memory_cleanup uses it. ruflo-core 0.2.8: the
Bash shim stands down when recording is off.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:07:02 -04:00
r a5a2b1b9b9 Merge main into feat/ruflo-tui-adr 2026-10-11 14:00:53 -04:00
randRuFlo 573db41d2c Merge main into plugins review A (ruflo-adr 0.5.6 over 0.5.5)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 12:30:37 -04:00
rUv 0f1a342b11 Merge pull request #4065 from ruvnet/plugins/review-group-d
fix(plugins): review of 9 plugins (group D), verified against the real CLI/MCP
2026-10-11 09:29:31 -07:00
rUv 989c2818c6 Merge pull request #4062 from ruvnet/plugins/review-group-b
fix(plugins): group B skills and agents use real CLI flags and MCP parameter names
2026-10-11 09:20:38 -07:00
rUv 518485e1e6 Merge pull request #4064 from ruvnet/review/plugins-group-c
review(plugins): group C — fix docs that don't match the real CLI/MCP/tools, harden unsafe flows
2026-10-11 09:12:09 -07:00
randRuFlo f47dc6d585 fix(ruflo-adr): sync .codex-plugin manifest version to 0.5.6 (smoke-all codex-mod-hooks)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:49:46 -04:00
randRuFlo bb6a958c53 fix(plugins): review of 9 plugins (group D) - verified against the real CLI/MCP, bump versions
Checked every CLI command, flag and MCP tool the skills tell the model to use
against ruflo 3.56.5 and the tool registry. Fixed what was false:

- workflows 0.6.6: MCP tool names with underscores that do not exist; gaia-bench
  has no --dry-run/--task-id (unknown flags are ignored, so the documented cost
  estimate started a billed run); opt-in guard for native workflows; stale smoke
- security-audit 0.3.4: non-existent `security report`, wrong `audit` usage,
  scan depth table that described phases the scanner lacks; --fix gated
- swarm 0.3.7: `swarm watch/health/shutdown` do not exist; swarm-watch.mjs poller
- rag-memory 0.3.5: `ruflo recall`/`memory bridge` do not exist; shell-quoting
  of user text in /recall
- testgen 0.3.2: tdd-repair now enforces that the test is not edited; shell
  quoting; invalid --limit
- rvf 0.3.6: export went through the public IPFS marketplace; now memory export
- ruvllm 0.3.4: provider claims and persistence claims corrected
- observability 0.3.4: no invented traces when nothing wrote spans
- plugin-creator 0.4.3: required plugin.json fields and tool existence check

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:33:24 -04:00
RuFlo 06756fbf70 review(plugins): group C — fix claims that do not match the real CLI/MCP/tools, harden unsafe flows
Verified every CLI flag, MCP tool parameter and neural-trader flag these plugins
tell the model to use against @claude-flow/cli 3.56.5 (--help and MCP schemas) and
neural-trader 2.8.11 (run offline), and fixed what was false:

- intelligence: neural_train needs modelType (no patternType/--pattern-type; CLI
  flag is --pattern), hooks_model-outcome/trajectory-end/pretrain/build-agents/
  explain parameters, mcp tool call -> mcp exec, microlora has no consolidate;
  intelligence-transfer rewritten (hooks_transfer only copies from a local
  project; marketplace is hooks transfer store ..., PINATA_API_KEY/SECRET, PII
  scan + confirmation before publish).
- loop-workers: CronCreate takes {cron,prompt,recurring} and is session-scoped
  (7-day expiry), ScheduleWakeup needs prompt, 270s heartbeat qualified by TTL.
- market-data: candles were routed to the ~11-pattern ruvllm_hnsw router;
  untrusted-feed rules; no order placement.
- neural-trader: many documented flags answer "Unknown command" in 2.8.11; several
  handlers return demo output; backtests/signals use synthetic bars without
  --live; backtest signing now refuses non-live data; live/broker path and
  circuit-breaker claims corrected; signal TTL used a non-existent expiresAt.
- iot-cognitum: pin the fleet CLI instead of @latest; confirmation gates for
  firmware deploy/advance/rollback and fleet delete.
- migrations: confirmation/dry-run/validate gates before migrate up/down.
- music: bearer token only sent to music.cognitum.one; pin cogmusic@0.1.1; token
  never enters the transcript.
- jujutsu: analyze_diff* take a ref, not diff text; gate PR merge/close/create.
- knowledge-graph: align relation weights with kg-extract.
- Removed the invalid post-task --train-neural flag everywhere in these plugins.

Plugin versions bumped (marketplace users only receive changes after a bump):
intelligence 0.4.3, loop-workers 0.3.4, market-data 0.3.4, neural-trader 0.3.5,
iot-cognitum 0.3.3, jujutsu 0.3.4, knowledge-graph 0.3.4, migrations 0.3.4,
music 0.2.4. metaharness reviewed, no change needed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:33:03 -04:00
randRuFlo fe36ff301b fix(plugins): group A review — nonexistent tools, unsafe cookie handling, wrong aidefence params, stale counts
ruflo-adr 0.5.6, ruflo-agent 0.3.3, ruflo-agentdb 0.4.8, ruflo-agntcy 0.2.4, ruflo-arena 0.2.5, ruflo-browser 0.3.5.
Each fix verified against the real tool schemas and CLI source; see the per-plugin CHANGELOG entries.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:28:42 -04:00
randRuFlo ac583cd342 fix(plugins): group B skills and agents use real CLI flags and MCP parameter names
Verified every CLI flag and MCP call example in ruflo-core, cost-tracker, daa,
ddd, deepseek-harness, docs, federation and goals against the published CLI
(3.56.5) and the tool schemas in source:

- hooks post-task has no --train-neural (8 agents/skills); neural train takes
  --pattern, not --pattern-type; hooks worker dispatch takes --context, not
  --scope (docs scoping was silently ignored).
- agentdb_* examples used non-existent parameters (semantic-route query ->
  input; causal-edge from/to/type -> sourceId/targetId/relation; hierarchical
  store/recall path/data/depth -> key/value/tier and query/topK; pattern-search
  limit -> topK; context-synthesize sources -> maxEntries); ddd skills used a
  CLI-style --parent/--child form that failed on required key/value. The
  researcher agent now follows edges with graph-query/graph-pathfinder.
- hooks_worker-status has no worker filter; cost docs now filter the result.
- dossier-collect/investigator fetch web content: add untrusted-content rules
  and AIDefence screening. deepseek skills state the data egress.
- Stale smoke/tool/command counts and four dead relative links fixed.

Patch-bumps each changed plugin with a CHANGELOG entry.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 11:26:09 -04:00
randRuFlo b662966540 chore: bump cli-core 3.7.1, shared 3.0.3, ruflo-adr 0.5.5 for the reviewed rudycelekli batch
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 10:46:01 -04:00
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
randRuFlo d9cda60ba8 fix(console): ruflo tui counts emoji and CJK as two cells, forwards CLAUDE_CONFIG_DIR, and tests stderr and the bundle's inputs (ADR-489)
- ansi.ts: width, truncation and wrapping in terminal cells (a table, no dependency), so the pane header's emoji no longer shift borders
- node-host.ts: CLAUDE_CONFIG_DIR reaches the ruflo child like the parent's reads
- tests: failing-child stderr through clean at two depths; esbuild metafile asserts register.ts is not in the bundle
- ADR-489: model-tools.ts is in the bundle for shared helpers (its tool server is never started), cell-width risk, headless note

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 09:52:44 -04:00
randRuFlo c11b5461f5 feat(cli,console): ruflo tui, the console in a terminal of its own (ADR-489, phase 1)
Adds a standalone host for the ruflo-console views: a Node Host adapter
(confined reads, CLI-only run, everything engine-bound refused), a zero
dependency terminal renderer that is also the escape/secret chokepoint, and
`ruflo tui [--view overview|cost]` which draws the mod's own paneView.
Read-only; headless prints one plain frame. No hooks/ file changed, no
version bump, publish path untouched (bundle staging is a decision in the ADR).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 09:47:49 -04: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
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
Devesh Maheshwari f7bbf344e8 fix(cost-tracker): preserve Codex usage ownership 2026-10-10 20:39:00 -05: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 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
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 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
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
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 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
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 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
Rudy Celekli e1f2937b5e fix(adr): avoid repeated directory traversal through cycles
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-10 12:48:43 -04:00