Files
ruflo/archive
rUv 02976fcb9d fix(skills): prune duplicate skill sources to fix truncation (closes #1834) (#1836)
The repo carried 367 SKILL.md files across 5 locations, with 5–6x
duplicates of common skills (pair-programming, swarm-orchestration,
sparc-methodology, etc). Claude Code's session-start truncation
warning showed `pair-programming` listed twice in the dropped-skills
list — exactly the kind of duplication this PR removes.

Three structural changes:

1. **Rename `archive/v2/.claude/` → `archive/v2/_v2_claude_snapshot/`**
   The legacy v2 directory shouldn't be discovered as a `.claude/`
   config. 3.9k file renames, all under archive/, no behavior change
   for live code.

2. **Delete `v3/@claude-flow/mcp/.claude/skills/` (29 files)**
   100% duplicates of root `.claude/skills/`. The mcp package's
   `package.json#files` doesn't even include `.claude` — these were
   never published, pure local cruft.

3. **Delete `v3/@claude-flow/cli/.claude/skills/` (37 dups + 3 stray
   `.yaml`/`.md` files at the wrong level), migrate the cli-only
   `browser/` skill up to `.claude/skills/browser/`.**
   The umbrella `claude-flow` package ships `.claude/skills/` from
   the repo root, so end-users still get the canonical set. The
   stray `aidefence.yaml`, `aidefence-scan.md`, `secure-review.md`
   files weren't valid skills anyway (Claude Code expects
   `<name>/SKILL.md`, not loose `.yaml` / `.md` files at the skills
   root) — they were orphaned.

Net result on the developer's session:
  - SKILL.md count: 367 → 196 (-47%)
  - Duplicate `.claude/skills` paths: 5 → 1 (only root)
  - Truncation warning: gone (verified in-session before this commit)

Refs #1834.
2026-05-07 12:57:36 -04:00
..

archive/

Frozen snapshots of older Ruflo / Claude-Flow code that is no longer built, tested, or published from this repo. Kept under git so history remains attributable, but not part of the active codebase — nothing here is wired into builds, tests, or npm publishes.

Contents

Path What it is Last live version Status
v2/ Pre-split claude-flow codebase claude-flow@2.7.47 Superseded by v3/@claude-flow/cli
agents-root/ Five YAML agent stubs from an early-2026 prototype 2026-01-07 Never wired into builds — superseded by .claude/agents/ (33 md) + plugins/*/agents/ (44 md)

agents-root (root-level agents/ directory, 2026-01)

Five 10-11 line YAML files (architect, coder, reviewer, security-architect, tester) sketched out an early agent registration format. The format never got consumer code — no .ts / .mjs / .json import in the entire repo references this folder. Real agent definitions migrated to markdown frontmatter at .claude/agents/*.md (project-level) and plugins/*/agents/*.md (plugin-shipped).

Moved to archive/agents-root/ rather than deleted to preserve the prototype's provenance — anyone wanting to see the original yaml schema can git log archive/agents-root/.

v2 (claude-flow 2.x line)

The original monolithic claude-flow package — single npm artifact at claude-flow@2.x, with its own CLI, agents, MCP tools, hooks, and docs. Replaced in v3 by the workspace split under v3/@claude-flow/* (cli, cli-core, codex, embeddings, hooks, memory, security, guidance, …).

If you're looking for current code:

Want… Now lives in
CLI entry point v3/@claude-flow/cli/bin/cli.js
Agent definitions .claude/agents/ (project-level) and plugins/*/agents/
MCP tools v3/@claude-flow/cli/src/mcp-tools/
Hooks v3/@claude-flow/hooks/
Memory + AgentDB v3/@claude-flow/memory/

Why archive instead of delete?

  • The 2.x line was published to npm as claude-flow@2.x and is still installable by anyone who pinned that range. Keeping the source in-tree means the published artifact's provenance is auditable.
  • Some downstream forks and templates reference 2.x file paths; archiving (rather than deleting) gives them a stable URL.
  • Migration questions like "how did 2.x do X?" are easier to answer when the code is one git log archive/v2/ away.

Don't…

  • …add new code here. Everything new goes into v3/ or plugins/.
  • …expect tests to run against this. CI ignores archive/ entirely.
  • …import from here in active code paths.

If you need to revive something out of v2/, copy the relevant file into v3/, port its imports to the current module structure, and add tests — don't try to wire archive/v2/ back into builds.