Files
ruflo/plugins/ruflo-core
chaitanya-y20 13af5f1208 chore(plugins): give every plugin manifest a repository field
44 of the 48 `plugins/*/.claude-plugin/plugin.json` manifests had no
`repository`, while the four that do already point at the repo URL their
`homepage` names. The field is what the directory listing and
`npm view` read, and its absence is invisible until something reads it.

Add it to the 44 that lack it, then make `scripts/audit-plugin-manifest.mjs`
enforce it so the next plugin cannot ship without one:

- check 6 in the script header, the violation in `auditManifest`, and the
  clean-run summary line. A manifest may carry the repository as a string or
  as an object's `url`; anything else is reported as missing, and a value that
  is not an http(s) URL is reported separately.
- the required-field lists in `create-plugin` and `validate-plugin` skills, so
  a scaffolded plugin passes the gate it is told to satisfy.

Verified with the repo's own gates:

- `node scripts/audit-plugin-manifest.mjs` scans 48 manifests, clean.
- removing the field from one manifest reports `repository field: missing or
  empty` and exits 1; setting it to `ruvnet/ruflo` reports `repository is a URL`
  and exits 1; restoring it exits 0.
- `node scripts/check-plugin-manifests.mjs` is unchanged by this diff (its two
  nested-manifest findings belong to `ruflo-ai-team/directory` and
  `ruflo-x-gateway/directory`, which this change does not touch).
- `node scripts/audit-plugin-secrets.mjs` clean, 48 manifests.

No plugin version is bumped: the installed artifact's behaviour does not change
and no user-visible surface reads the field from an installed copy, so there is
nothing for a version bump to deliver. The `Plugin version bump` workflow will
flag the 44 manifests it sees as shipped files, and this PR needs the
`skip-plugin-version-check` label rather than 44 unrelated version bumps that
would collide with each plugin's own release cadence.

Closes #4774
2026-11-05 09:25:38 +05:30
..

ruflo-core

Foundation plugin. Registers the ruflo MCP server (314 tools), provides three generalist agents (coder, researcher, reviewer), three first-run helpers (init-project, ruflo-doctor, discover-plugins), and a curated catalog covering all 32 sibling plugins.

Install

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-core@ruflo

What's Included

  • MCP Server: 380+ tools (run npx @claude-flow/cli@latest mcp tools for the live list) via @claude-flow/cli (memory, agentdb, embeddings, hooks, neural, autopilot, browser, aidefence, agent, swarm, system, terminal, github, daa, coordination, performance, workflow, …)
  • CLI Commands: dozens of commands and subcommands for agent orchestration (run npx @claude-flow/cli@latest --help)
  • 3-Tier Model Routing: Agent Booster (WASM), Haiku, Sonnet/Opus with automatic cost optimization
  • Session Management: Persistent sessions with cross-conversation learning
  • Hooks: PreToolUse / PostToolUse / PreCompact / Stop wired to claude-flow's auto-routing + learning loop. Defined at plugins/ruflo-core/hooks/hooks.json so the per-plugin loader picks them up on /plugin install ruflo-core@ruflo (per-plugin layout — fixes #1748 Issue 1; the marketplace-root copy at .claude-plugin/hooks/hooks.json is preserved for claude --plugin-dir <repo-root> users).

User-invoked skills (ADR-507)

These skills carry disable-model-invocation: true: Claude does not pick them on its own, and they cost nothing in the per-turn skill listing. Type them to run them. One-shot project setup and a status dashboard.

Skill Run it with
init-project /ruflo-core:init-project
ruflo-status /ruflo-core:ruflo-status

Configuration

The MCP server starts automatically when this plugin is active. Its launcher uses a built @claude-flow/cli from the project, an ancestor node_modules, or a global npm install reachable from PATH before falling back to npx @latest. Set RUFLO_MCP_CLI_OVERRIDE to a built @claude-flow/cli/bin/cli.js for a nonstandard install; an invalid override fails instead of running another version. Set RUFLO_MCP_SKIP_NPX=1 to refuse the unpinned fallback. Override environment variables in .mcp.json as needed.

Compatibility

  • CLI: .mcp.json invokes the launcher above. Its resolved local or global CLI determines the version; @latest is the fallback only when no built install resolves.
  • Verification: bash plugins/ruflo-core/scripts/smoke.sh is the contract.

MCP server contract

The registered ruflo MCP server exposes 314 tools across these families. Runtime truth is mcp tool call mcp_status:

Family Notable tools Plugin documenting it
memory_* memory_store, _search, _search_unified, _import_claude, _bridge_status ruflo-rag-memory
agentdb_* 15 tools for hierarchical / pattern / causal storage ruflo-agentdb
embeddings_* 10 tools incl. RaBitQ 32× quantization ruflo-agentdb, ruflo-ruvector
hooks_* (incl. hooks_intelligence_*) 19+ tools — routing, learning, transfer, metrics, explain ruflo-intelligence, ruflo-autopilot
aidefence_* 6 tools — PII / prompt-injection / sanitization ruflo-aidefence
neural_* 6 tools — train, predict, patterns, compress ruflo-intelligence
autopilot_* 10 tools — autonomous loops + learning ruflo-autopilot
browser_* (+ new browser_session_*) 23 + 5 = 28 tools — Playwright + RVF lifecycle ruflo-browser
ruvllm_sona_* / ruvllm_microlora_* 4 tools — adaptive learning ruflo-intelligence, ruflo-ruvllm
agent_*, swarm_* spawn, list, status, orchestrate ruflo-swarm
system_*, terminal_* system + terminal session ops this plugin

For every other plugin's tool surface, see its docs/adrs/0001-*.md.

Sibling contracts

This foundation plugin defers to seven sibling ADRs that own specific cross-cutting contracts. New plugins (and consumers of ruflo-core) should reference these instead of re-deriving:

Contract Owner
Pinning + smoke as contract (general pattern) ruflo-ruvector ADR-0001
Namespace convention (<plugin-stem>-<intent>, reserved namespaces) ruflo-agentdb ADR-0001
Session-as-skill architecture (RVF + trajectory + 3 AIDefence gates) ruflo-browser ADR-0001
4-step intelligence pipeline (RETRIEVE → JUDGE → DISTILL → CONSOLIDATE) ruflo-intelligence ADR-0001
3-gate AIDefence pattern (PII pre-storage, sanitization, prompt-injection) ruflo-aidefence ADR-0001
270s cache-aware /loop heartbeat ruflo-autopilot ADR-0001
ADR plugin contract (token-optimization via REFERENCE.md) ruflo-adr ADR-0001

Verification

bash plugins/ruflo-core/scripts/smoke.sh
# Expected: "11 passed, 0 failed"

Architecture Decisions