π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
docs: split STATUS doc + cross-link verification.md from root README
Reuven8c0d580111e4
diff --git a/README.md b/README.mdindex 220516578d..fa44e80012 100644--- a/README.md+++ b/README.md@@ -340,9 +340,15 @@ User --> Claude Code / CLI## Documentation-Full documentation including architecture, configuration, CLI reference, API usage, plugin development, and advanced topics:+Three docs for three audiences:-**[User Guide](docs/USERGUIDE.md)** -- Complete reference documentation+| Doc | When to read it |+|-----|-----------------|+| **[Status](docs/STATUS.md)** | See what currently works β capability counts, test baselines, recent fixes, what's next. The *is-it-ready* doc. |+| **[User Guide](docs/USERGUIDE.md)** | Daily reference β every command, every config flag, every plugin. The *how-do-I* doc. |+| **[Verification](verification.md)** | Cryptographically prove your installed bytes match the signed witness β `ruflo verify`. The *trust-but-verify* doc. |++User Guide section index:| Section | Topics ||---------|--------|diff --git a/docs/STATUS.md b/docs/STATUS.mdnew file mode 100644index 0000000000..baed0e92b0--- /dev/null+++ b/docs/STATUS.md@@ -0,0 +1,125 @@+# Ruflo β Overview Β· Usage Β· Status++> The complementary doc to [`USERGUIDE.md`](USERGUIDE.md) (deep reference) and [`/verification.md`](../verification.md) (cryptographic witness). This doc tells you **what Ruflo is**, **how to use it day-to-day**, and **what currently works** β without the encyclopedic reference depth.++---++## Overview++Ruflo is a multi-agent AI orchestration layer for Claude Code. It turns Claude Code from a single-context coding assistant into a coordinated swarm of agents that share memory, learn from outcomes, talk across machines, and remain auditable.++The runtime is the `ruflo` npm package. End-user surface is:++- **MCP server** β exposes 300+ tools to Claude Code (memory, agents, swarm coordination, hooks, GitHub integration, browser automation, etc.).+- **CLI** β 49 top-level commands (`ruflo agent`, `ruflo swarm`, `ruflo memory`, `ruflo hooks`, `ruflo verify`, β¦) for terminal/script use.+- **Claude Code plugins** β 32 installable plugins (`ruflo-core`, `ruflo-federation`, `ruflo-cost-tracker`, β¦) that bundle agent + skill + slash-command definitions.+- **WASM kernels** β Rust-compiled WASM for the policy engine, embeddings, and proof system; plugged into the same MCP/CLI surface.++For the "why" β coordinated swarms, self-learning memory, federated comms, enterprise security β see [`README.md`](../README.md).++## Usage at a glance++The intended day-to-day flow:++1. **Install once**:+ ```bash+ npx ruflo init --wizard+ ```+ This writes a `CLAUDE.md` with hooks and routing rules, registers the MCP server with Claude Code, and seeds `.claude-flow/` with config + memory.++2. **Just use Claude Code normally**. Hooks automatically route tasks, retrieve relevant memory patterns, and coordinate background agents. You don't have to learn the 300 MCP tools β the routing layer does.++3. **Run the CLI for orchestration tasks** that don't fit naturally into Claude Code:+ - `ruflo agent spawn -t coder --name api-worker` β long-running agent+ - `ruflo swarm init --topology hierarchical --max-agents 8` β coordinated team+ - `ruflo memory search --query "auth patterns"` β semantic search across stored knowledge+ - `ruflo doctor --fix` β diagnose & repair install+ - `ruflo verify` β confirm your installed bytes match the signed witness++4. **Install plugins as you need them**:+ ```bash+ /plugin marketplace add ruvnet/ruflo+ /plugin install ruflo-federation@ruflo+ ```++Full command reference: [`USERGUIDE.md`](USERGUIDE.md).++## Status β what currently works++**Snapshot at branch `fix/issues-may-1-3`**, last commit `52a96f3`. Latest published is `[email protected]` on npm; the branch holds 22+ unpublished commits queued for `3.6.25`.++### Test baseline++| Suite | Count | Status |+|---|---|---|+| `@claude-flow/cli` vitest | 1933 / 1933 | green, 0 failures, 46 intentionally skipped |+| `@claude-flow/plugin-agent-federation` vitest | 366 / 366 | green |+| **Combined audit-fix surface** | 76 encryption-track + 41 federation-budget + others | green |++### Capability inventory (auto-generated via [`scripts/inventory-capabilities.mjs`](../scripts/inventory-capabilities.mjs))++| Surface | Count | Verified by |+|---|---|---|+| MCP tools | **300** | `verification-inventory.json` (sidecar to `verification.md`) |+| CLI commands (top-level) | **49** | same |+| Plugins (`plugins/ruflo-*`) | **32** | same |+| Agent definitions | **43** | same |++### Recently shipped (since `[email protected]` published)++**Audit hardening β `audit_1776853149979`**:+- Command injection closed in `github-safe.js`, `statusline.js/cjs` (git calls), `github-tools` MCP (gh pr/issue/run), `update/executor` (npm install).+- Loader-hijack env vars (`LD_PRELOAD`, `NODE_OPTIONS`, `DYLD_*`) denied at the `terminal_create` boundary via `validateEnv()`.+- File mode 0600 enforced on session, terminal, memory stores via `fs-secure.writeFileRestricted`.+- MCP stdin DoS cap (10MB) on `bin/mcp-server.js` + `bin/cli.js` to prevent un-newlined-input OOM.+- Fetch timeouts on `verify` + IPFS HEAD probe.++**Encryption at rest β [ADR-096](../v3/docs/adr/ADR-096-encryption-at-rest.md), all 4 phases shipped**:+- AES-256-GCM vault module with magic-byte format (`RFE1`) for backward-compat migration.+- Opt-in via `CLAUDE_FLOW_ENCRYPT_AT_REST=1`; off-by-default preserves the 1865-test baseline.+- High-tier stores wired: `sessions/`, `terminals/`, `.swarm/memory.db` (sql.js SQLite + ONNX embeddings).+- 76 dedicated tests across vault primitives, integration, tamper detection, migration paths.++**Federation budget circuit breaker β [ADR-097](../v3/docs/adr/ADR-097-federation-budget-circuit-breaker.md), Phase 1 shipped**:+- `federation_send` accepts optional `budget`/`maxHops`/`hopCount`/`spent` metadata.+- Default `maxHops: 8` defangs recursive delegation loops even for callers that don't opt in.+- Constant-string error reasons (`HOP_LIMIT_EXCEEDED`, `BUDGET_EXCEEDED`, `INVALID_BUDGET`) β no oracle leak.+- Closes #1723 (and dup #1724).++### What's next++Tracked in the project task list (see GitHub Project / `TaskList`):++| Track | Status |+|---|---|+| ADR-096 Phase 5 β `ruflo doctor` encryption status | pending |+| ADR-096 Phase 5+ β keychain (`keytar`) + passphrase resolvers | deferred |+| ADR-097 Phase 2 β peer state machine (ACTIVE / SUSPENDED / EVICTED) | deferred |+| ADR-097 Phase 3 β `ruflo-cost-tracker` integration | deferred |+| ADR-097 Phase 4 β `ruflo doctor` peer state + `federation_breaker_status` MCP tool | deferred |+| `verification.md` per-MCP-tool witness signing | pending (task #25) |+| `verification.md` functional smoke tests for `ruflo verify --functional` | pending (task #26) |+| Batch publish `3.6.25` + witness manifest regen | pending |++### Verification++Every fix in `verification.md` is signed with Ed25519 keyed off the git commit. To verify your installed bytes match what was witnessed:++```bash+ruflo verify+```++The command fetches the manifest, recomputes SHA-256 for every cited file, re-derives the public key from the git commit, and verifies the signature. Drift in any fix produces a non-zero exit + a structured error pointing at the regressed file.++Per-capability witness signing for the full 300-tool / 49-command surface is in flight β see tasks #25 / #26.++## Where to go next++| If you want toβ¦ | Read this |+|---|---|+| Pitch / why-ruflo | [`README.md`](../README.md) |+| Day-to-day commands + config | This doc, plus [`USERGUIDE.md`](USERGUIDE.md) for depth |+| Architecture decisions | [`v3/docs/adr/`](../v3/docs/adr/) β ADR-093, ADR-095, ADR-096, ADR-097 are the recent ones |+| Cryptographic proof of build correctness | [`verification.md`](../verification.md) + [`ruflo verify`](#verification) |+| Plugin development | [`USERGUIDE.md` β Plugin section](USERGUIDE.md#-ecosystem--integrations) |+| Open issues + roadmap | [GitHub Issues](https://github.com/ruvnet/claude-flow/issues) |