7855 Commits
Author SHA1 Message Date
rUv 27982983ea Merge pull request #3611 from ruvnet/release/3.50.0
release 3.50.0: Claude Code mods (ruflo-mods, swarm pane, ruflo-ruos)
v3.50.0
2026-10-01 20:18:50 -04:00
ruv 7634d7a01e release 3.50.0: re-sign helper manifest, regenerate witness manifests
- helpers.manifest.json re-signed for 3.50.0
- verification/{linux,macos,windows}/manifest.md.json regenerated on a clean,
  fully built tree: 117/117 verified each, os field stamped per manifest

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 19:56:41 -04:00
ruv 519709a290 release 3.50.0: bump train to 3.50.0
Ships the Claude Code mods integration (ADR-404: ruflo mods CLI, doctor
component, init --mods, $.ruflo noun), the ruflo-swarm pane mod and the
ruflo-ruos plugin (ADR-405). No @claude-flow/* leaf source changed since
v3.49.0, so only the train moves.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 19:56:04 -04:00
rUv b470828bd9 Merge pull request #3605 from ruvnet/feat/ruflo-ruos
feat(ruflo-ruos): run swarm agents on your own ruOS desktops (ADR-405)
2026-10-01 19:55:04 -04:00
ruv d3a3979ae6 Merge origin/main into feat/ruflo-ruos
Resolves .claude-plugin/marketplace.json and scripts/ci-test-baseline.txt
after #3608/#3607 merged: both sides appended entries, so the resolution
keeps both (ruflo-mods + ruflo-ruos marketplace entries; all baseline blocks).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 19:29:44 -04:00
rUv fbaeca0695 Merge pull request #3607 from ruvnet/feat/claude-code-mods-swarm-ui
feat(ruflo-swarm): live swarm pane mod for Claude Code (function hooks)
2026-10-01 19:28:45 -04:00
rUv 89a33bf9af Merge pull request #3608 from ruvnet/feat/claude-code-mods
feat(mods): ruflo as a Claude Code mod — function hooks, opt-in (ADR-404)
2026-10-01 19:28:25 -04:00
ruv 969dcb2125 fix(mods): CI — keep metaharness last in doctor help; RUFLO_MODS_OWNS escape hatch; self-contained plugin tsconfigs
- doctor --component help lists 'mods' before 'metaharness': the
  ruflo-metaharness smoke step 17h greps 'metaharness)' (smoke-all,
  smoke-without-metaharness).
- audit-env-var-precedence: RUFLO_MODS_OWNS is the ADR-404 handshake set
  by the running mod, read by hook scripts with no CLI-flag surface
  (Plugin package install-safety job).
- plugins/ruflo-mods and the mod template tsconfigs no longer extend the
  gitignored .claude-plugin/types/tsconfig.json: vite/esbuild loads the
  nearest tsconfig for every transformed module, so in CI (types absent)
  root vitest failed to transform the six mods suites that import plugin
  code (TSCONFIG_ERROR: Tsconfig not found). typeRoots points at the
  generated folder instead; tsc still checks against it where present.

Verified: ruflo-metaharness smoke 125/125; env-var audit clean; root vitest
on the mods suites 99/99 with the generated types moved aside (as in CI);
tsc clean for mod and template; kit 16/16 + 1/1; validate passes.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 19:01:00 -04:00
ruv c150ac7582 fix(ruflo-ruos): jobs API 400 is non-retryable; cancelled (exit 143) is a stop
From the ruOS lane's live e2e of ADR-105 (fleet 64261be):
- 400 (e.g. a Lite machine target) maps to invalid-input, never retried
- DELETE 200 ends the job cancelled with exit 143 and keeps prior output;
  the adapter drains output for up to 15 s after a cancel and reports
  cancelled as stopped, never failed (exec-poll: a runner we killed is
  stopped, not lost)
- ADR-405: ruOS validated the contract live; ruflo's JobsApiTransport is
  contract-tested against it, not called live by ruflo

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:51:53 -04:00
ruv 1dd984d04a fix(ruflo-ruos): align JobsApiTransport with the live ADR-105 jobs API
ruos-desktop #380 (fleet 64261be) is live. Contract deltas applied:
- POST 202 new / 200 idempotent_replay (reuse job_id) / 409 same key with a
  different request = client bug, surfaced, never retried / 429 cap with no
  server queue -> swarm-side backoff; timeout_secs clamped to 21600
- GET with wait_ms=20000 long-poll (adapter skips its own sleep, guarded
  against instant answers); 503 retried 1s/2s/4s; running=true while queued
- exited carries any exit code: only 0 is completed
- tests mock the exact live codes and fields; ADR-405 says JobsApi is
  contract-tested against the live spec but not exercised live (no
  control-scoped token; would need spend approval)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:39:25 -04:00
ruv fd35a49cbc chore(helpers): re-sign helpers manifest for the mods hook-handler handshake (ADR-404)
hook-handler.cjs changed for the RUFLO_MODS_OWNS ownership handshake, so its
signed hash moves to 8876b17d…. Signed via the ruflo-helpers-signing-key secret.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:25:43 -04:00
ruv 6bd7b2ff70 docs(ruflo-swarm): allow-list note for the ruflo-mods refuse-risky trust gate
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:23:36 -04:00
ruv b1a6f1cb18 docs(plugin-creator): create-mod allow-lists by plugin id, not name
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:23:08 -04:00
ruv a0c4f99c2e fix(mods): trust gate allow-list by provenance, no name-keyed self-exemption; fs.write is risky; strip CSI/OSC from segments
A module's name is its manifest's own word: a Claude-written mod calling
itself 'ruflo-mods' walked past the gate under refuse-risky. The gate now
has no self-exemption (a module only judges those admitted after it) and
modTrustAllow matches the loader-keyed provenance (name@marketplace).
fs.write joins the risky calls (any path: settings/hooks persistence).
Segments lose ANSI CSI/OSC sequences, not just their ESC byte.

Kit 16/16 on 2.1.287 (inline provenance is <name>@claude-plugin-test);
vitest 99/99.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:22:57 -04:00
ruv f0a5d66c56 docs(adr): ADR-404 — 2.1.287 facts, $.ruflo contract, trust gate, live evidence, scaffold
Correction: 2.1.282 needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 (live: 'not
turned on' without it); the earlier 'loads unset' observation was on the
already-upgraded 2.1.287 binary. 2.1.287 loads by default; on both the
server-side rollout switch can hold mods off.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:19:29 -04:00
ruv c957086f3b feat(ruflo-ruos): mod part — ruos status segment via $.ruflo.segment
ruflo-mods landed the flat segment API (#3608, ADR-404). The ruflo-ruos mod
reads only .claude-flow/ruos/hosts.json and sets $.ruflo.segment({id:'ruos',
text}) on session start, each prompt and every 15 s; try/catch, no feature
detection, no network, no $.ruos dependency. Vendored $.ruflo type with a
parity test; claude plugin validate + 3 claude plugin tests pass; smoke runs
them when the claude CLI is present. CI baseline lists the two new test files.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:13:29 -04:00
ruv 707977d2bc feat(plugin-creator): scaffold governed Claude Code mods (create-mod + templates/mod, ADR-404)
A working template mod, validated and kit-tested on Claude Code 2.1.287 and
live-loaded with --plugin-dir: hybrid hooks.json (classic UserPromptSubmit
fallback that exits while the module runs, via MY_MOD_ACTIVE), a host
adapter over literal $ calls, refusal-tolerant status drawing, a namespaced
command, userConfig, engine-kit tests and a tsconfig extending the
generated types. create-mod skill carries the rules (tighten-only
tool.check, no process/http from event input, state in $.store/$.state,
namespaced commands) and the validate/test/typecheck loop.

ruflo-plugin-creator 0.2.1 -> 0.3.0 (smoke sentinel + step 11).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:13:02 -04:00
ruv c84c559189 feat(mods): doctor reports which claude runs, mods-by-default from 2.1.287, stale/mixed installs (ADR-404)
findClaudeInstalls walks PATH (plus ~/.local/bin) in order, de-duplicated by
real path; judgeInstalls reads the first: >= 2.1.287 mods on by default,
2.1.277..2.1.286 need CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1, older predates
mods; any other installed version is flagged as a possible shadow (e.g. a
2.1.107 npm-global beside a 2.1.287 native install).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:10:59 -04:00
ruv 8a1e11f3bd feat(mods): $.ruflo noun, status segments, mod trust gate, refusal-tolerant $ (ADR-404)
- engine.create adds a flat $.ruflo noun (types/index.d.ts, plugin.json
  "types"): segment({id,text}), lastRoute(), snapshot(). Other mods (ruOS,
  ruflo-ruos) contribute status segments instead of drawing a second bar.
  Segments are untrusted: id token, control/bidi stripped, 48 chars, max 8,
  sorted by id. One drawer for the status line, from the $ beneath.
- plugin.register trust gate: names what a later-registering user-tier mod
  can do (process.run, http.fetch, env.set; tool.check, tool.call, *,
  classic.*, plugin.register, prompt.compose), from the host scan.
  userConfig modTrust: observe (default) | refuse-risky | off, plus
  modTrustAllow. Under refuse-risky a gate failure refuses.
- every ui.status/log/toast call tolerates refusal (admins can withhold $)
- tsconfig extends the types Claude Code >= 2.1.287 writes on load
- kit tests: 15/15 on Claude Code 2.1.287, incl. two tighten-only tool.check
  mods composing, trust refusal at load, budget ladder with options
- vitest: 95/95 (noun/segment and trust suites added)
- CI ratchet baseline: the four engine-kit files (claude-code/testing is not
  resolvable by root vitest), as #3605/#3607 do

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:09:25 -04:00
ruv b928e71ef1 chore(ruflo-ruos): marketplace entry (handed over by integration owner); ADR mod contract
- .claude-plugin/marketplace.json: ruflo-ruos entry, must land with the
  plugin dir (validate-marketplace checks the source exists)
- ADR-405: deferred mod part uses the flat contract
  $.ruflo.segment({id:'ruos', text}) and $.ruos.* (try/catch, vendored types)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:03:50 -04:00
ruv e1bf696d1a fix(ruflo-ruos): echo-proof nonce markers, CI ratchet entries, ISO heartbeat
- every remote command gets a fresh 64-bit nonce; markers print as
  RUOS<nonce>_NAME via printf 'RUOS%s_NAME' '<nonce>', so the token never
  appears in the command or its desktop_exec echo; parsers accept only
  whole lines with that command's nonce (test replays raw echoes that
  contain every marker name)
- test that poll command + 2 KiB slice fit the ~4 KiB cap, echo counted
- pid file holds digits only; audit hash masks the nonce (stable)
- scripts/ci-test-baseline.txt: the 6 node:test files (run by smoke.sh)
  that root vitest reports as 'No test suite found' (lead-authorized)
- hosts.json heartbeatAt is ISO for the swarm pane (#3607)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 18:02:46 -04:00
ruv db6f422163 ci: list ruflo-swarm engine-kit tests in the root vitest baseline
They import 'claude-code/testing', which exists only under
`claude plugin test plugins/ruflo-swarm`; root vitest cannot resolve it
(same pattern as ruflo-x-gateway). The pure readers still run under root
vitest via tests/parse.spec.ts.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:59:42 -04:00
ruv 8ceed8810b feat(ruflo-swarm): show ruOS-hosted agents and hosts (ruflo-ruos contract); keep pane state per folder
Reads agents[id].config.host (kind ruos), .claude-flow/ruos/hosts.json and the
tail of .claude-flow/ruos/events.jsonl as agreed with the ruflo-ruos lane:
ids checked, names cleaned and bounded, free text (error, lastResult) never
read, an event log past 2 MB not read. The router pick and selection held in
$.store are now keyed by working directory, and the router line says the
pick's age, after a live 2.1.287 run showed a pick from another folder.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:58:23 -04:00
ruv 24c9c4a8d8 fix(mods): handshake in the generated helper; ENOENT-only missing; doctor reports the rollout switch (ADR-404)
- generateHookHandler() carries the same RUFLO_MODS_OWNS handshake, so a
  helper written by the refresh fallback still hands route/post-edit over
- isMissing matches ENOENT only: a misread error must fail the guard
  closed, never read as 'no policy'
- doctor: the server-side rollout switch decides whether the mod loads
  (observed live: loads with the enable variable unset while served on, not
  with it set while served off); the variable is reported, never sufficient
- bin-level tests for init --mods, doctor --component mods, mods status
- ADR: live-run evidence, final counts; README: where options are read

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:58:22 -04:00
ruv 30cd360b6b feat(ruflo-ruos): JobTransport (exec-poll + ruOS jobs API), live-run fixes, ruOS design rules
Live E2E on rUv's Work Desktop (2026-10-01) found that desktop_exec echoes
the command it ran and head-caps stdout at ~4 KiB:
- strip the exec frame and match every marker as a whole line (the echo
  contains the marker names and would always false-match)
- poll slices drop to 2 KiB

Design rules from the ruOS lane:
- JobTransport with ExecPollTransport (now) and JobsApiTransport (ADR-105,
  feature-detected; run id = idempotency key; 404 never retried; capacity
  backoff), adaptive 1s->10s polling, attach to re-read after a restart
- fleet MCP is stateless and the only external transport; SSH :2222 is
  in-tenant only; credentials from env or @cognitum/ruos file, redacted;
  read-only tokens degrade with insufficient-scope
- never issue desktop_delete/secret_delete (runtime guard + static test)
- llm_route_get before launch; per-run audit record; Lite browsers filtered;
  128-bit run ids; 23:00 stopAt recorded in swarm state; deploy read-only
- ADR-405 updated incl. TOFU accepted risk and live evidence

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:58:01 -04:00
ruv 6302b6715e fix(ruflo-swarm): never pass a dash-led task text to the router as an argv value
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:52:51 -04:00
ruv e54319573d docs(adr): ADR-404 ruflo as a Claude Code mod (function hooks)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:51:14 -04:00
ruv 5c74f1ecc3 test(mods): declaration-faithful harness, parity and no-double-fire suites, latency bench (ADR-404)
84 vitest tests: router/ranked-context parity with router.cjs and the real
hook-handler.cjs route output; tool.check never-loosen property and fail-
closed paths; ruleMatches parity with @claude-flow/security (10k+ cases);
exactly-once routing/edit records against the real hook-handler.cjs and
ruflo-core ruflo-hook.cjs; recordEdit format; budget.mjs ladder; CLI
install/uninstall/probe/projection incl. the real policy runtime.

scripts/bench-mods-latency.ts: classic spawn vs handed-over spawn vs the
in-process handler, median/p95.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:51:14 -04:00
ruv 73f530e908 feat(cli): ruflo mods install|uninstall|status|doctor|sync-policy, init --mods, doctor check (ADR-404)
- mods install writes enabledPlugins, the ruflo marketplace and the
  early-access switch to .claude/settings.local.json (default) and records
  what it added; uninstall removes only that. Classic hooks are untouched.
- status/doctor: plugin enabled, function hooks + cached rollout switch,
  allowManagedModsOnly refusal, helper handshake support (project and
  $HOME copies), policy projection, last mod start (heartbeat).
- policy-runtime writes .claude-flow/policy/claude-code.json after each
  successful state write: mode + rules naming claude-code.* actions only,
  for the mod's tighten-only tool.check. Never fails the state write; never
  touches receipts or the ledger anchor (#3602 unchanged).
- doctor: warn-only 'mods' component in the default run.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:51:14 -04:00
ruv c335261199 feat(helpers): hand route/post-edit to the ruflo mod via RUFLO_MODS_OWNS (ADR-404)
hook-handler.cjs (both copies) returns before any work for route or
post-edit when the ruflo mod, running in the same Claude Code process, has
named them in RUFLO_MODS_OWNS. Guards (pre-bash) and session hooks never
hand over, whatever the variable says. ruflo-core's ruflo-hook.cjs stands
down for post-edit likewise, so an edit is recorded exactly once.

hook-handler.cjs content changed: the helpers manifest must be re-signed at
release (helper-signing.test.ts fails on the hash until then).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:51:02 -04:00
ruv d48897fb34 feat(mods): ruflo-mods plugin — ruflo as a Claude Code mod (ADR-404)
An opt-in hooks module (Claude Code function hooks, early access) with
in-process equivalents of the classic per-event hooks:

- prompt.submit: router.cjs routing + ranked-memory context, text identical
  to hook-handler.cjs route; #3567 no-match semantics
- tool.check: tighten-only (stricter of chain and ruflo), pre-bash list and
  the claude-code.* rules of ruflo policy; fails closed by one step
- tool.call/turn.complete/session.end: edit records in recordEdit's format
- session.measure/agent.spawn: cost-tracker budget ladder (opt-in)
- session.start: ownership handshake (RUFLO_MODS_OWNS), /ruflo-mods

Owns route/post-edit only where the classic hook-handler hands them over.
Kit tests (claude plugin test, 7/7 in the real engine), static security
smoke (9/9), marketplace entry.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:51:02 -04:00
ruv 869101ec1c feat(ruflo-swarm): label teammates by name and unknown loops honestly; document the mod
Live run on 2.1.282 showed a named Agent call runs as an in-process teammate
listed as type 'teammate', and a loop whose tool calls reach the hooks with no
spawn or listing. Name the first, call the second a subagent by id suffix.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:50:42 -04:00
ruv 8ab1703158 fix(ruflo-ruos): merge hosts.json, detect a killed runner, never skip bytes on a truncated poll
- hosts.json is read-merge-write: discovery keeps agent placements and a
  run keeps the other hosts; finished agents are removed
- poll reports runner liveness (kill -0); a dead runner without an exit
  code fails fast instead of waiting out the timeout
- only whole base64 quanta are decoded, so a truncated tool result never
  advances the offset past bytes it did not deliver
- the 23:00 auto-stop window applies to cloud desktops only

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:44:40 -04:00
ruv 56e847b79e feat(ruflo-ruos): README, local overhead benchmark, typecheck in smoke
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:39:26 -04:00
ruv 92ff48b7b5 feat(ruflo-ruos): commands, skill, agent, smoke contract, deploy-info, ADR-405
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:38:09 -04:00
ruv bd228c68ad feat(ruflo-ruos): host adapter, audited command builder, fleet MCP + SSH transports
Optional plugin core for running ruflo swarm agents on the user's own ruOS
desktops (ADR-405). Fleet MCP (tenant-authenticated) and per-tenant SSH :2222
only; the :17870 executor is never contacted. Swarm state flows through
ruflo's existing agent_* and claims_* tools in-process.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:34:38 -04:00
ruv 5004131263 test(ruflo-swarm): hostile-text readers, vitest parser spec, render/refresh benchmark at 8/32/100 agents
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:33:08 -04:00
ruv f1d1fffa03 test(ruflo-swarm): controller actions, refusal tolerance, spawn note and audit options
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:31:30 -04:00
ruv 77e5262537 test(ruflo-swarm): engine-kit tests for register and pane over a real ruflo run
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:28:58 -04:00
ruv 5c133697ee feat(ruflo-swarm): swarm mod skeleton: readers, members, pane view, actions, commands
Function-hooks module for the ruflo-swarm plugin: reads ruflo's swarm,
agent, task, claims and hive-mind files via $.fs, merges Claude Code's own
subagents, draws a live Pane, and acts through fixed-argv ruflo CLI calls
with confirm-on-destructive and verify-on-disk.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 17:26:11 -04:00
ruflo-bot 6cfd88654f chore(data): clone snapshot #15 — 0 clones (14d)
Auto-generated by .github/workflows/clone-tracker.yml.
Source: GitHub Traffic API (14-day rolling window).

Co-Authored-By: ruflo-bot <ruflo-bot@users.noreply.github.com>
2026-10-01 06:48:38 +00:00
rUv 0bd8e3142e Merge pull request #3585 from ruvnet/release/3.49.0
release 3.49.0 (+ @claude-flow/security 3.0.1)
v3.49.0
2026-09-30 20:03:16 -04:00
ruv 4b5e0e8231 release 3.49.0: re-sign helper manifest, regenerate witness manifests
- helpers.manifest.json re-signed for 3.49.0
- verification/{linux,macos,windows}/manifest.md.json regenerated on a clean,
  fully built tree: 117/117 verified each, os field stamped per manifest

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-09-30 19:51:39 -04:00
ruv 35cf4a49ea release 3.49.0: bump train to 3.49.0, @claude-flow/security to 3.0.1
security 3.0.1 carries the #3568 policy-ledger truncation fix (bundled into
the train and published standalone). codex's security pin relaxes to ^3.0.0
so the workspace keeps linking the local security package; codex source is
unchanged.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-09-30 19:50:50 -04:00
rUv d8e4d9535e Merge pull request #3583 from ruvnet/fix/3555-3565-helpers
fix(helpers): ship CommonJS helpers as .cjs so they load in ESM projects (#3555)
2026-09-30 19:47:19 -04:00
rUv 77befe1d90 Merge pull request #3582 from ruvnet/fix/3566-sibling-disclosure
fix(memory): disclose the sibling AgentDB store on partial hits too (#3566)
2026-09-30 19:19:09 -04:00
rUv 747d074833 Merge pull request #3571 from drakeo338/claude/3570-fix
fix(memory): validate namespace on memory store and memory import
2026-09-30 19:16:50 -04:00
rUv 63c041f766 Merge pull request #3581 from ruvnet/fix/3567-route-abstain
fix(hooks): route no longer reports its highest confidence when nothing matched (#3567)
2026-09-30 19:09:34 -04:00
rUv bf2c7b463f Merge pull request #3584 from ruvnet/fix/3573-3575-session
fix(session): import round-trips and save actually includes memory (#3573, #3575)
2026-09-30 19:06:56 -04:00
ruvandNick Ruest c1d425fafc Merge origin/main into fix/3555-3565-helpers
Resolves the helper-refresh.ts import conflict with #3576 (Nick Ruest's
post-install integrity re-check) by keeping both imports, and runs
ensureCommonJsCompanions after the #3565 heal path rewrites helpers too,
so a healed install also gets its .cjs companions (#3555).

Co-Authored-By: Nick Ruest <nicholas-ruest@users.noreply.github.com>
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-09-30 19:06:24 -04:00