Commit Graph
9342 Commits
Author SHA1 Message Date
rUv eaa2ebf2bd Merge pull request #4092 from proffesor-for-testing/fix/console-worktree-remove-fsmonitor
fix(console): worktree removal runs no fsmonitor or hooks and keeps untracked files
2026-10-12 11:49:30 -07:00
rUv 900e7d4bdd Merge pull request #4078 from nicholas-ruest/fix/cost-tracker-silent-write-failure-3227
fix(cost-tracker): log Stop-hook telemetry write failures instead of discarding them
2026-10-12 11:41:26 -07:00
rUv 51f4e4efff Merge pull request #4109 from ruvnet/batch/scripts-3
fix(scripts): umbrella identity audit, symlinked guard entrypoint, metaharness oracle pin (batch of #3993, #3994, #4005)
2026-10-12 11:41:22 -07:00
rUv 8b23593803 Merge pull request #4102 from z4forzubair/fix-analyze-diff-render
fix(cli): render analyze diff from the analyze_diff result shape (#4101)
2026-10-12 11:28:44 -07:00
rUv 1365efcb20 Merge pull request #3503 from rudycelekli/policy-envelope-metering
fix(policy): require metering for explicit envelope ceilings
2026-10-12 10:37:08 -07:00
RuFlo 241d7a9438 fix(console): worktree removal, status and diff no longer run a repository's filter drivers (console 0.43.2)
Follow-up to #4092 for #4090: filter.<name>.clean/.smudge/.process commands in a
repository's config ran under status, diff and git worktree remove. The console lists the
configured drivers (a config read) and blanks each on the command line before those
commands, and refuses the probe when a driver name cannot be blanked exactly. Real-git
tests with positive controls; fake-git fixtures answer the listing. Version 0.43.2.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 13:35:47 -04:00
randRuFlo db5f339451 chore(cost-tracker): 0.28.2 for #3227 failure log (changelog)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 13:34:53 -04:00
r f183b82e13 Merge pull request #4005 (rudycelekli) into batch 2026-10-12 13:32:49 -04:00
r 2814a10881 Merge pull request #3994 (rudycelekli) into batch 2026-10-12 13:32:49 -04:00
r aec93509e9 Merge pull request #3993 (rudycelekli) into batch 2026-10-12 13:32:49 -04:00
r f79e41be40 Merge origin/main into pr-4092 2026-10-12 13:28:20 -04:00
rUv 4f1b3e9604 Merge pull request #4104 from ruvnet/release/3.56.8
release: 3.56.8
v3.56.8
2026-10-12 10:28:11 -07:00
rUv 5594951d9b Merge pull request #4106 from ruvnet/fix/tui-pagebar-help-policytrust
fix(console,cli): ruflo tui page bar marks the AI page, help says 1-6, policy-trust path never relative (console 0.43.1)
2026-10-12 10:20:02 -07:00
r 440fcaed76 Merge main into release/3.56.8 (TUI page-bar fix #4105) 2026-10-12 13:11:19 -04:00
rUv 8c3231fd71 Merge pull request #4105 from ruvnet/fix/tui-ai-page-bar
fix(tui): the AI page highlights 6 AI in the page bar, not the page before it
2026-10-12 10:07:25 -07:00
randRuFlo 29714a9e4a fix(console,cli): ruflo tui page bar marks the AI page, help says 1-6, policy-trust path never relative to cwd (console 0.43.1)
- tui: the page bar was painted from session.state.view, which the AI page never sets, so on page 6 it kept the previous page lit; it now follows session.page (9 tests, 4 failed first)
- tui --help and the console README said keys 1-5; they are 1-6 and o c s e m a (test holds the help text)
- cli: policyTrustRoot() no longer joins an empty or relative $HOME, which put the anchor mirror and key under the working directory; falls back to the account home or refuses (2 tests, 1 failed first)
- docs: ruflo-tui-walkthrough.svg re-recorded from real frames with the AI page and its ask-first card, 6 AI marked

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 12:55:08 -04:00
r 59eaae8ffd Merge main into release/3.56.8 (README/docs #4103) 2026-10-12 12:46:09 -04:00
r 2b3a9374fa Merge origin/main into fix/tui-ai-page-bar 2026-10-12 12:44:37 -04:00
rUv f2ae86269b Merge pull request #4103 from ruvnet/docs/readme-tui
docs: mention the optional standalone ruflo tui (README, user guide, animated SVGs)
2026-10-12 09:44:23 -07:00
randRuFlo bb6ccf41e0 chore(release): 3.56.8 witness regen from a full build (117/117)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 12:36:46 -04:00
randRuFlo e6dbed3bf6 fix(tui): the AI page highlights 6 AI in the page bar, not the page before it
paint() drew the page bar from session.state.view, which the session leaves alone on the AI page (the shared console state
keeps the last non-AI page), so the bar marked Overview (started with --view ai) or the previous page (reached with 6).
It now uses session.page. Also: ruflo tui --help said keys 1-5; it is 1-6.

Test first: the new tui-nav.spec case fails without the change and passes with it; also checked in a real tmux pane on the
rebuilt bundle (started on ai, and 4 then 6: both mark 6 AI). Only tui/ changed (not hooks/), so no console version bump.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 12:09:31 -04:00
randRuFlo 78981548fa chore(release): 3.56.8 version bumps and changelog
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:58:05 -04:00
rUv 740d17f71e Merge pull request #4097 from ruvnet/fix/oct12-verified-issues
fix: accurate coverage reports and reliable SPARC/TDD workflow instructions
2026-10-12 08:56:43 -07:00
r 1ed13b37c9 Merge origin/main into docs/readme-tui 2026-10-12 11:56:41 -04:00
randRuFlo 72c3905e4d docs: mention the optional standalone ruflo tui in the README, with a user-guide section and animated SVGs
README gets a short optional pointer (npx ruflo tui, --plain) and one small animated SVG. docs/USERGUIDE.md gets a
Terminal UI (optional) section: requirements, commands, keys, exit codes, what each page shows, the AI page's ask-first
card and its Codex/OpenRouter rules, the honest limits and a pointer to the Orbital theme. Both SVGs are built from real
frames of ruflo-tui 3.56.7 in a throwaway sample project; scripts/render-tui-svg.mjs rebuilds them (CSS animation only,
no scripts or external references, prefers-reduced-motion shows the first frame).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:41:11 -04:00
rUv fe627e5ef1 Merge pull request #4100 from ruvnet/release/shared-3.0.4
fix(shared): 3.0.4 RVF tail recovery (#4031) + declared dependencies (#4091), oversized-tail and fresh-consumer coverage
2026-10-12 08:40:42 -07:00
Muhammad Zubair f7d885a580 fix(cli): render analyze diff from the analyze_diff result shape (#4101) 2026-10-12 20:36:36 +05:00
randRuFlo 2dc4bf0aec chore(lock): shared 3.0.4 resolved/integrity and its declared dependencies (npm ci --dry-run clean)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:26:26 -04:00
randRuFlo c84a6d0a18 chore(shared): 3.0.4 (RVF tail recovery + runtime dependencies), CLI/root pins, fresh-consumer smoke
Carries #4031 (rudycelekli) and #4091 (proffesor-for-testing); oversized-tail and permission-safe
recovery per rUv's review and martinvlad's fresh-consumer finding. Adds scripts/smoke-shared-fresh-consumer.mjs
(packed tarball, plain Node) and a CI step for it.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:21:58 -04:00
r c444a600ee Merge PR #4031 (RVF tail recovery) with oversized-tail and permission-safe fixes into release/shared-3.0.4 2026-10-12 11:19:40 -04:00
r d58697bcca Merge PR #4091 (shared runtime dependencies, tarball without tests) into release/shared-3.0.4 2026-10-12 11:19:40 -04:00
randRuFlo ee2f299025 Merge main into fix/rvf-truncated-tail-recovery; refuse oversized-prefix tails and oversized records
Keeps the newer serialized-record index fix (#4030) and the other RVF fixes from #4061.
An oversized length prefix is no longer accepted silently: the bytes are kept and append()
rejects explicitly (opt-in repairOversizedTail truncates). appendRecord() refuses records
replayFile() could never read back. Adds the tail-shape matrix regression tests.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:19:21 -04:00
randRuFlo c0cc3484e7 docs(#4097): receipts note describes the first validated state
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:15:57 -04:00
RuFlo b4cbd4be9f review(#4097): CI test ratchet exclusion, coverage report size cap and count clamping, sparc 0.3.5 / testgen 0.3.3, sanitize receipts
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 11:15:50 -04:00
rUv 6fe5706dfb fix: correct coverage reporting and plugin workflow contracts
Fixes #4082, #4083, #4084, #4085, #4086, #4087, #4088.

Validated on ruOS with 68 focused tests, both plugin smoke suites,
strict coverage reader type checking, and source checksums.
2026-10-12 07:40:46 -07:00
rUv ea0ea3d7e7 docs: embed compact verified Orbital SVG demo
Reduce vector replay from 29.6 MB to 3.84 MB through shared glyphs and per-cell animation. Retain 456 frames; verify SMIL timelines and img animation in Chrome.
2026-10-12 07:13:53 -07:00
rUv 2214ba3203 Revert "docs: feature latest Orbital console SVG demo in main README"
Restores the previous README and removes the oversized demo asset.
2026-10-12 07:07:52 -07:00
rUv 8c6b85de15 docs: feature latest Orbital console SVG demo in main README 2026-10-12 07:03:36 -07:00
Dragan Spiridonov 41b05582cc fix(shared): declare runtime dependencies and keep tests out of the tarball
@claude-flow/shared 3.0.1-3.0.3 declare only sql.js, but the compiled code
imports zod (core/config) and express, cors, helmet and ws (mcp transports).
They sat in devDependencies, so a clean `npm i @claude-flow/shared` cannot load
`.` or `./core` (Cannot find package 'zod') or `./mcp` (Cannot find package
'express'). ruflo users never saw it because @claude-flow/cli declares the same
packages and npm hoists them.

- Move zod, express, cors, helmet and ws to dependencies, with ranges that
  overlap what @claude-flow/cli declares so a CLI install can dedupe them.
  express is bounded to `^4.22.2 || ^5.0.0` (the patched 4.x floor the repo
  overrides to, and the 5.x the workspace runs) instead of an open `>=`.
- Move @types/ws to dependencies: dist/mcp/transport/websocket.d.ts imports
  `ws`, so a consumer type-checking with skipLibCheck off hit TS7016.
- Exclude *.test.ts / *.spec.ts / __tests__ from the build, and negate them in
  `files` so a stale local dist (composite builds do not clear old outputs)
  cannot ship them either. 3.0.3 ships 6 compiled tests that import vitest.
- HttpTransport: read `req.body ?? {}`. Under Express 5 a POST /rpc with no JSON
  body left req.body undefined and answered 500 instead of the JSON-RPC 400.
  Malformed JSON (body-parser's entity.parse.failed) now answers 400 / -32700
  Parse error instead of 500 / -32603 Internal error, under Express 4 and 5.
- Lockfile: only the shared importer block moves; ws 8.19.0 was referenced by
  nothing else and is dropped. `pnpm@8.15.0 install --frozen-lockfile` passes.
- Tests: __tests__/package-manifest.test.ts scans src/ with the TypeScript
  AST (type-only imports erased, comments/strings ignored) and fails on an
  undeclared runtime import, a missing @types/ws, or removed test exclusions;
  __tests__/mcp/http-transport-body.test.ts (transport bound to port 0) covers
  the bodiless POST and malformed JSON. Every mutant (zod, express, @types/ws,
  spec negation, tsconfig exclude, each HTTP fix reverted) is caught.

Verified: npm pack + clean `npm i <tgz>` imports all 9 exports subpaths
(origin/main and registry 3.0.3 fail on 3 of them) and ships no test files;
HTTP /health 200 and a WebSocket connect work under express 5.3.0 and 4.22.3;
a consumer tsc with skipLibCheck off reports 0 errors; shared tests pass; the
CI recursive build and the CLI type-check pass.

Not included: the version bump and the CLI's exact `@claude-flow/shared`
pin, which belong to the release.
2026-10-12 15:42:37 +02:00
Dragan Spiridonov a62c6e6ee9 fix(console): worktree removal stops running the repo's fsmonitor and hooks, and keeps untracked files
`git worktree remove` runs its own `git status` on the worktree before deleting it. On the
console's removal path (REMOVE_ARGV), measured on git 2.43.0:
- it ran the repository's core.fsmonitor. REMOVE_ARGV was the only worktree-page git call
  without `-c core.fsmonitor=false`;
- it fired a post-index-change hook, from config core.hooksPath or from a plain file in
  .git/hooks;
- with status.showUntrackedFiles=no (a normal user setting), both the console's STATUS_ARGV
  probe and git's own check read a worktree holding new, unsaved files as clean, and the
  removal deleted them without --force. Data loss.

Changes:
- REMOVE_ARGV adds `-c core.fsmonitor=false -c core.hooksPath=/dev/null
  -c status.showUntrackedFiles=normal`.
- STATUS_ARGV adds `--untracked-files=normal`, git's default, so what it counts does not
  change.
- adr-mission.ts changedFiles: `git status` adds `--no-optional-locks -c core.fsmonitor=false`.
- register.ts: `git describe --dirty` adds the same, plus `-c core.hooksPath=/dev/null`.
  describe rewrites a stale index even with --no-optional-locks, so it fired the hook.

Tests, in tests/git-config-exec.spec.ts:
- Builders: the argv builders carry the guards.
- Scan: a whitespace- and quote-tolerant scan of git array literals in hooks/ and tui/. It
  fails if an fsmonitor-running subcommand lacks the guard, if describe or removal lacks the
  hooks-off flag, or if a literal sets core.fsmonitor twice. It still misses argv built from
  a variable, a spread or a `]` inside an element.
- Real git, each case with a positive control showing the plain command does the harm:
  - REMOVE_ARGV runs neither program;
  - with showUntrackedFiles=no the probe lists the new file and REMOVE_ARGV refuses (the
    plain removal deletes it);
  - register.ts's describe literal, parsed from the source and run against the hostile repo,
    runs neither program;
  - changedFiles does not run the fsmonitor.
- Mutation: each of the 7 guards, reverted on its own, fails the spec.

Test isolation only, no product change:
- wf-security-worktrees: the stateful sequence is pinned with { shuffle: false }, and the
  real-git cases get the 60 s their header asks for;
- tui-ai-host: each release case has its own home;
- wf-send-stub: requests are counted from the case's own start, and the NONE-key case now
  asserts that a request was sent.
Shuffled seeds 2, 3 and 4 failed 3, 3 and 1 of these on main, and pass now.

Still open (documented in REMOVE_ARGV's comment):
- filter.<driver>.clean/.process commands, also on diff --numstat, as wf-drill-io.ts notes;
- lazy fetches in a partial clone (core.sshCommand, credential helpers);
- modifications hidden by index flags (assume-unchanged, skip-worktree, core.ignoreStat):
  git's own check does not see them, and `-c` cannot undo them.
2026-10-12 15:38:36 +02:00
Rudy Celekli dbdceb6184 fix(policy): keep unmetered worker ceilings opt-in
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-12 09:10:23 -04:00
Rudy Celekli edff7124ab Merge commit 'aac16fbdb3af21c0ddb989aaff4513a9ec1aaca5' into repair/ruflo3503-opt-in-20261012 2026-10-12 08:55:58 -04:00
rUv 3209ba2667 Merge pull request #4079 from ruvnet/codex/console-orbital-theme
feat(console): optional Orbital theme and Theme Studio
ruflo-console-v0.43.0
2026-10-12 05:54:51 -07:00
RuFlo d7605d24af fix(console): Orbital wide header says RUFLO, not RUVNET
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-12 08:38:16 -04:00
RuFlo 6c79bcab76 Merge branch 'codex/console-orbital-theme' of https://github.com/ruvnet/ruflo into pr-4079 2026-10-11 23:45:37 -04:00
RuFlo 79f2199367 perf(console): land mask for the Orbital globe, theme bench, adversarial theme specs
- orbitalGlobe reads a one-degree land mask built once (0.407 -> 0.268 ms at 140x24, 0.176 -> 0.120 ms at 100x16; 0.16% of globe glyphs differ along coastlines); palette parsed once per theme
- scripts/bench-theme.mjs: per-tick cost of the animated pictures, Classic vs Orbital
- tests/themes-adversarial.spec.ts: 45 specs on import, store and model-facing text

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 23:45:27 -04:00
rUv edee18c62e perf(console): exclude inactive SVG frames from rendering 2026-10-11 20:28:28 -07:00
rUv 8c3192c306 fix(console): replay header entrance motion on demo navigation 2026-10-11 20:26:40 -07:00
rUv ddadeaae6c fix(console): draw missing SVG icons and align animated glyph cells 2026-10-11 20:26:39 -07:00
RuFlo dc38c094ae chore(console): port the SVG demo exporter from Python to Node
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-11 23:25:09 -04:00