Commit Graph
9267 Commits
Author SHA1 Message Date
rUv 38da0805a8 feat(console): stage boot reveal and animate Swarm Control routing motif 2026-10-11 19:03:58 -07:00
rUv a43f0baa27 feat(console): choreograph Orbital logo radar and verification motion 2026-10-11 19:00:50 -07:00
rUv 2fbc8dab6f feat(console): animate actual module integrity checks in Orbital boot 2026-10-11 18:59:14 -07:00
rUv 655c747d65 style(console): refine globe coastlines lighting and orbital arc 2026-10-11 18:57:24 -07:00
rUv 9e64f5fbeb feat(console): add tilted globe lighting and sparse starfield 2026-10-11 18:55:42 -07:00
rUv 4310bc52a8 style(console): match original logo to Orbital palette 2026-10-11 18:54:26 -07:00
rUv 5fdb43462a style(console): reuse original BBS logo renderer in Orbital intro 2026-10-11 18:53:11 -07:00
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
rUv aac16fbdb3 Merge pull request #4077 from ruvnet/release/3.56.7
release: 3.56.7
v3.56.7
2026-10-11 15:43:20 -07:00
randRuFlo 10f5c6fa19 chore(release): 3.56.7 witness regen after merging main (TUI phases 2-3); changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 18:30:42 -04:00
r bb7067587f Merge main into release/3.56.7 (TUI phases 2-3) 2026-10-11 18:29:21 -04:00
rUv 0209a8c1bc Merge pull request #4076 from ruvnet/feat/tui-phase3
feat(tui): the AI page — ask Codex (read-only, pinned) or OpenRouter, each question after a card (ADR-489 phase 3)
2026-10-11 15:26:40 -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 291fed8ee7 chore(lock): pnpm importer specifier follows the codex 3.0.4 pin
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 17:16:49 -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 30a2336377 chore(release): 3.56.7 (ruflo tui, MCP resources, auto-memory/purge fixes, doctor native-addon check, mods hardening, safe init --dual); codex 3.0.4 pin; witness regen from a full build
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 16:57:22 -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
rUv 87e6d32716 Merge pull request #4075 from ruvnet/feat/tui-phase2
feat(tui): Swarm, Events and Missions pages, page bar and keys, resize, no Claude-only chrome (ADR-489 phase 2)
2026-10-11 13:54:09 -07:00
rUv 741619b5bf Merge pull request #4070 from ruvnet/fix/codex-dual-safe-defaults
fix(codex): safe default .codex/config.toml; permissive mode needs --codex-trust full
2026-10-11 13:50:57 -07: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 bd9119dde8 Merge pull request #4074 from ruvnet/fix/doctor-4055-pr-number
fix(doctor): cite nodejs/node#65943 (not #65946) in the native-addon warning (#4055)
2026-10-11 12:56:28 -07: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 dd62f06485 Merge pull request #4071 from ruvnet/fix/auto-memory-hooks-4058
fix(auto-memory): hooks deliver their subcommand, sync sees learnings, worktrees share main memory dir, atomic store writes (#4058)
2026-10-11 12:36:32 -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
rUv 17a8b86256 Merge pull request #4059 from ruvnet/feat/ruflo-tui-adr
feat(cli,console): ruflo tui, the console in a terminal of its own (ADR-489, phase 1)
2026-10-11 12:16:32 -07:00
randRuFlo 212e63ea22 Merge main into fix/codex-dual-safe-defaults; record the ADR-490 advisory as resolved
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 15:03:54 -04:00
rUv 7fca18f86e Merge pull request #4068 from ruvnet/feat/e2e-host-matrix
feat(e2e): three-host integration loop (Claude Code, Codex, OpenRouter) + fixes + ADR-490/491
2026-10-11 11:56:45 -07:00
randRuFlo 9c4d9be656 fix(doctor): cite the right Node PR (#65943) in the native-addon workaround text (#4055)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:55:40 -04:00
rUv 4cafc682cc Merge pull request #4069 from ruvnet/fix/doctor-node24-sqlite-4055
feat(doctor): flag better-sqlite3 built against Node 24.19+ headers on Node 24.19-24.21 (#4055)
2026-10-11 11:55:09 -07:00
RuFlo 5061ae1ef0 chore(ci): list the node:test shim test in ci-test-excluded (it has its own runner)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:25:59 -04:00
randRuFlo 3111685d37 fix(auto-memory): snapshot store ids before dedup so id-less entries are not re-added by the merge (#4058)
CI caught it: #2920 consolidate() assigns an ID to an ID-less entry in place, so the
ids captured at write time no longer matched the on-disk copy and the merge appended
it again. Capture ids when the store is read, and never treat an id-less on-disk
entry as one another writer added. Helpers re-signed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:25:37 -04:00
randRuFlo f9e10b90f7 chore(codex): sync VERSION const with package.json 3.0.4 (audit-codex-integration)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:14:26 -04:00
randRuFlo 33cbdc76fe chore(ci): keep the new ruflo-mods kit test out of the root vitest
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:12:33 -04: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 e1c9d75590 feat(mods): doctor names each broken state with a one-line repair, --strict, atomic install with rollback
- probe: a plugin set to false is reported as disabled with 'claude plugin enable', not 'ruflo mods install' (which never flips it); installed-but-not-enabled; partial install (some mod plugins, no marketplace, record drift)
- every non-passing finding carries a one-line fix; headless -p fresh-config caveat named
- doctor --strict exits 1 on a warning too
- install writes settings and record as one operation: a failing record write restores the settings

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:07:52 -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
randRuFlo ceed62b1b4 fix(auto-memory): hooks deliver their subcommand, sync sees learnings, worktrees share the main memory dir, writes are atomic (#4058)
- Upgrade-written import/sync hooks used `node -e "...import(file)" import`, which
  leaves the subcommand in process.argv[1]; the helper read argv[2], so both hooks
  only printed the status banner. They now use helperHookCommand like every other
  helper hook, and the helper also accepts the argv[1] shape so settings.json files
  already written keep working.
- Hook timeouts were written as 6000/8000 (and 8000/10000 from init) but Claude Code
  reads them in seconds; the auto-memory hooks now use 30.
- JsonFileBackend.query treated MemoryQuery.type (a query mode: hybrid, semantic...)
  as an entry type, so the bridge's learnings query matched nothing and sync always
  reported 0. It now treats modes as modes and honours tags, updatedAfter, key,
  keyPrefix and memoryType. The "Curated MEMORY.md index" line is no longer printed
  when the bridge emitted index:skipped.
- In a git worktree the memory dir is keyed by the main checkout (resolved with
  `git rev-parse --git-common-dir`, no shell) to match Claude Code.
- auto-memory-hook.mjs and intelligence.cjs both read-modify-write
  auto-memory-store.json: writes are atomic (temp + rename), serialised by a short
  fail-open directory lock, and keep entries another writer added since the read.
- Not changed: autoAssignOnIdle/autoAssign are false on purpose (#3031).

Helpers re-signed. Regression: __tests__/auto-memory-hooks-4058.test.ts (10 of 11
failed before; the 8-writer race kept 6 of 8 entries).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:04:41 -04:00
randRuFlo a6b563c60f fix(codex): safe default .codex/config.toml, explicit --codex-trust full opt-in
init, init --dual and @claude-flow/codex init wrote a gitignored
.codex/config.toml with sandbox_mode = danger-full-access,
approval_policy = never and web_search = live. Default is now standard
trust (workspace-write, on-request, cached); the permissive file needs
--codex-trust full (or RUFLO_CODEX_TRUST=full). init prints which level
it wrote, an existing .codex/config.toml is never rewritten (not even
with --force) and a kept permissive file is flagged. Unknown levels are
rejected on the CLI and fall back to standard from the environment.

Found by the three-host e2e run (ADR-490). @claude-flow/codex 3.0.4
(bundled: ships with the next train).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:04:07 -04:00
randRuFlo f38576e125 feat(doctor): flag better-sqlite3 copies built against Node 24.19+ headers on 24.19-24.21 (#4055)
Read-only check: reads build/config.gypi of each better-sqlite3 copy in the
resolved tree (never loads an addon), warns when a locally compiled copy used
24.19+ headers while the runtime is 24.19-24.21 (nodejs/node#65446), with the
documented workarounds. Prebuilt copies carry no config.gypi and pass.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 14:03:35 -04:00
r a5a2b1b9b9 Merge main into feat/ruflo-tui-adr 2026-10-11 14:00:53 -04:00
r ce29a72db1 Merge remote-tracking branch 'origin/main' into feat/e2e-host-matrix 2026-10-11 13:53:54 -04:00
randRuFlo 2bf5b1c9c9 chore(e2e): report the CI-only init observation as flaky with evidence; record it in ADR-490
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 13:40:10 -04:00
randRuFlo e8adb06a11 chore(e2e): replay the initializer's exact which-codex call in the sandbox env
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 13:35:40 -04:00
randRuFlo 4f00df535a chore(e2e): allow one row to carry long evidence
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 13:28:17 -04:00
randRuFlo 7e30957a32 chore(e2e): include the tail of init output in the failing plugin-install row
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 13:28:07 -04:00