v3.52.0 added plugins/ruflo-goals/scripts/research-list.mjs (ADR-438). It
spawns `npx -y @claude-flow/cli@latest` once for the namespace listing and
once more for every research record. Installed from the marketplace there
is no CLI beside the plugin, so every /goals or deep-research listing
resolved `latest` through the registry and could read a different CLI and
memory store than the one deep-research wrote with: the same class as
cost-tracker, adr and metaharness in this PR.
scripts/lib/ruflo-cli.mjs is ruflo-adr's resolver (built CLI that ships
the plugin or a repo checkout, then `ruflo`/`claude-flow` on PATH), with
goals' own fallback kept exactly as before: `npx -y @claude-flow/cli@latest`.
Test: test-cli-resolution-3558.mjs (hermetic marketplace-cache copy, fake
ruflo/npx on PATH): installed ruflo serves list + retrieve with no npx; no
ruflo falls back to npx -y @latest; RUFLO_PLUGIN_SKIP_PATH_CLI=1 forces npx.
It fails on the v3.52.0 script and passes here; wired into smoke.sh as
step 12b (16/16). test-research-list.mjs unchanged (5/5).
Co-Authored-By: ruflo <ruv@ruv.net>
The walker dropped input past its node, character and per-string budgets
silently, so 32 guards passed a secret placed after the cap. textsOf now
appends a TRUNCATED marker; names/hasSecretIn treat it as a finding. Regenerated
the 38 copies, bumped the 39 plugins, emptied the known-holes baseline.
Co-Authored-By: RuFlo <ruv@ruv.net>
Extend scripts/sync-mod-screen.mjs to a second kit: the flag() helper in hooks/options.ts of 38 mods now sits between SHARED FLAG markers and is
rewritten/checked from ruflo-agentdb. Drift, a lost marker or zero copies fails --check. Bump the 39 touched plugin versions and their version pins.
Co-Authored-By: RuFlo <ruv@ruv.net>
Tighten-only guards on each plugin's own tools (secrets; dossier ID numbers;
intelligence reset confirm + public-transfer email screen; destructive
cognitum-iot confirm), /<short>-mod local commands, status files, tests and
smoke steps. Minor version bumps.
Co-Authored-By: RuFlo <ruv@ruv.net>
full-system-test surfaced 23/32 plugin smoke contracts failing on a
single drifted assertion: the smoke gate greps ADR-0001 for
`status: Proposed`, but those ADRs were long since promoted to
`Accepted` without updating the gate. Flip the assertion (label, grep,
message) Proposed -> Accepted only where the ADR is genuinely Accepted.
ruflo-core additionally had a stale version assertion (0.2.0 -> 0.2.2).
Left untouched: ruflo-adr, ruflo-browser, ruflo-intelligence — their
ADR-0001 is genuinely Proposed, so their smokes correctly assert it.
No plugin source or ADR changed — only the drifted test assertions.
All 32 plugin smoke contracts now pass; full-system-test is 4/4 green.
Co-Authored-By: RuFlo <ruv@ruv.net>