Files
ruflo/v3/@claude-flow
ruv dcceb32585 feat(mods): default-on in ruflo init, init upgrade --mods, three mod plugins (ADR-404 amendment 1)
- ruflo init enables the mods by default (--no-mods opts out) in the
  committed .claude/settings.json: enabledPlugins for MOD_PLUGINS
  (ruflo-mods, ruflo-swarm, ruflo-console), extraKnownMarketplaces.ruflo and
  CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1, then refreshes the marketplace and
  `claude plugin install`s each plugin at project scope (--no-plugin-install
  skips; skipped under VITEST/CI; manual commands printed on failure).
- ruflo init upgrade --mods applies the same merge + install to an existing
  project; --add-missing and --settings imply it. Never clobbers: only absent
  keys are added (a plugin set to false stays false and is never installed,
  since `claude plugin install` would flip it), each addition is reported.
- MOD_PLUGINS is the one list; `required: false` marks a plugin not yet in
  the marketplace (ruflo-console): reported as pending, never a failure.
- Install record v2 per settings file; v1 (3.50.0) records are read; mods
  uninstall reverses exactly what was added in every file.
- Detection corrected from live evidence: an interactive trusted session
  loads plugins straight from the marketplace clone with no install record,
  so the clone decides. A stale clone (the field report, reproduced live:
  "Unknown command: /ruflo-mods") fails doctor; no clone yet is a warning.
- scripts/e2e-mods-init.sh: built CLI + real claude, isolated HOME and
  CLAUDE_CONFIG_DIR per scenario; E2E_LIVE=1 adds a live tmux session.
- ADR-404 Amendment 1, with where the "safe default" argument stops
  (ruflo-swarm's commands/skills load regardless; modTrust stays observe).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-01 22:05:16 -04:00
..