Files
ruflo/scripts
ruv d79f51b74d fix(ci): 3 last newly-visible failures — env-var audit, wizard cli path, root npm ci
After the YAML break (#2267) and pnpm-lock refresh, the remaining 3
audit/smoke failures were each independent. All three fixed here:

Plugin package install-safety — env-var-precedence audit (5 violations)
  Registered 3 distinct env vars as escape hatches in
  scripts/audit-env-var-precedence.mjs (each with rationale):
  • RUFLO_STATUSLINE_COST_SYMBOL / RUFLO_STATUSLINE_HIDE_COST —
    statusline is invoked via hook config, has no CLI surface for a flag
  • CLAUDE_FLOW_MAX_UNCERTAINTY — operator-tuned routing threshold; no
    single CLI invocation owns the router's lifetime
  • CLAUDE_FLOW_MEMORY_SEARCH_NAMESPACES — already has param-level
    precedence via the `namespaces[]` MCP tool param (ADR-089 / #2246);
    env is the documented operator fallback

Wizard init regression guard (#2206) — wrong cli entry path
  Guard 2 ran `node "$WS/v3/@claude-flow/cli/dist/cli.js" init --force`
  but the cli entry has always been at bin/cli.js (per package.json
  `"cli": "./bin/cli.js"`). The dist/ path never existed — the guard was
  probably copy-pasted from a TS package that emits dist/cli.js. Two
  occurrences fixed in v3-ci.yml; the YAML still parses to 53 jobs.

witness verify precondition smoke (#1880) — root package-lock stale
  `npm ci --legacy-peer-deps` at repo root errored:
    Invalid: lock file's agentdb@3.0.0-alpha.15 does not satisfy ^3.0.0-alpha.16
    Invalid: lock file's @ruvector/rvf-node@0.1.7 does not satisfy ^0.1.8
    Invalid: lock file's @ruvector/rvf-solver@0.1.7 does not satisfy ^0.1.8
    Invalid: lock file's ruvector@0.1.100 does not satisfy ^0.2.27
    Missing: js-beautify@1.15.4, ...
  Regenerated root package-lock.json via `npm install --package-lock-only
  --legacy-peer-deps`. Same drift pattern as v3/pnpm-lock.yaml (3.10.34
  follow-up).

Local: all 4 audits + 2 regression smokes + root `npm ci --dry-run` pass.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-02 04:31:06 -04:00
..
2026-01-04 19:30:59 +00:00