ruflo-metaharness
Reviewed
at commit de924cd
Caution: Its skills pre-approve Bash and have Claude run the unpinned npm package @claude-flow/cli@latest through npx, so each new version runs without asking.
Sends data to OpenRouter (openrouter.ai), only when you set an OpenRouter key and run a redblue check with the real judge
MetaHarness integration for ruflo — surfaces score/genome/mint/mcp-scan/threat-model via skills; pairs with @metaharness/router (ADR-148/149) for cost-optimal…
0 upvotes
Log in to upvote or save- Made by
- ruvnet
- Pinned commit
-
de924cdc91347f5c5e2829ab4e5a2d7e607390ba - What we checked
-
Watches calls to ruflo's metaharness tools, refuses ones whose input looks like a secret or that promote a harness without confirmation, and writes call counters to a status file in your project; /metaharness-mod shows them. Its skills run Node scripts that install the metaharness npm packages once. New optional OpenRouter key setting: if filled in, the key is placed in the environment of every Bash command in the session.
Review details
Static review of the source at the pinned commit; not run. Delta review of the changes since 828a8d7; the rest carries over from the review at that commit. The hook module (hooks/register.ts with guard.ts, options.ts, screen.ts, unchanged) registers session.start (registers the /metaharness-mod command, writes the status file), tool.call and command.run. It uses $.session.root, $.command.register, $.tool.list, $.clock.now and $.fs.write, only for <project>/.claude-flow/metaharness-mod/status.json holding counters, the guard setting and the last five tool names, never tool input. tool.call only acts on MCP tools named metaharness_* (served by the separate ruflo MCP server, not shipped here): with the guard on (userConfig, default on) it denies calls whose input matches a secret pattern and metaharness_flywheel promote/evidence-reset without confirm: true; findings are reported by name only. The hook module makes no network, process or model calls. A sensitive, optional userConfig option openrouterApiKey and a classic shell SessionStart hook in hooks.json run node -e on scripts/_secret-env.cjs from the plugin folder; when the option is set and OPENROUTER_API_KEY is not already exported it appends export OPENROUTER_API_KEY='...' to CLAUDE_ENV_FILE (mode 0600), so the key sits in the session's environment file and in the environment of every later Bash command of the session; with the option empty the hook does nothing. scripts/_redblue.mjs passes the option as OPENROUTER_API_KEY in the child environment of the redblue run, which uses it for its real model judge; how @metaharness/redblue uses the key was not reviewed, so the OpenRouter label is from the option text. 13 skills with allowed-tools: Bash run scripts/*.mjs, which spawn node on the metaharness/harness bins and metaharness-darwin, installing them on first use with npm install --prefix ~/.ruflo/<name>-cache-<pin>; audit memory commands use a ruflo or claude-flow found on PATH, else npx @claude-flow/cli@latest; mint and evolve are dry-run unless --confirm, mint refuses to write inside the project, evolve writes variants under <repo>/.metaharness/ and runs the repo's tests in its sandbox; learn spends model calls only with --run. Changes in this version (all read in full): pin ranges move to metaharness ~0.4.20 and @metaharness/darwin ~0.14.0 (still pinned ranges, not @latest); bench.mjs verify now first imports the installed @metaharness/darwin library in-process (bare import only, no install fallback, falls back to the darwin CLI) and calls its loadSuite and verifySuite on the given suite file; JSON output gains darwinSource, upstream exit code and the last 1200 characters of stderr in degraded payloads; the degraded-detection regex now matches 404 only as a whole token; the plugin.json gains a repository URL field. No new hosts, files, commands or permissions. The npm packages (metaharness, @metaharness/darwin, @metaharness/redblue, @claude-flow/cli) were not reviewed.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
MetaHarness integration for ruflo — surfaces score/genome/mint/mcp-scan/threat-model via skills; pairs with @metaharness/router (ADR-148/149) for cost-optimal model routing; honors ADR-150's architectural constraint that MetaHarness remains an optional augmentation, never a required runtime dependency. As a mod (ADR-445): confirms flywheel promotion, keeps secrets out of inputs, /metaharness-mod, and a status file the console shows
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/ruflo-metaharness/)