Files
ruflo/.gitignore
T
ruv 36ef4922e7 fix(ruflo-core): commit .mcp.json + exempt plugin-shipped templates from gitignore
The ruflo-core smoke contract step 2 ("registers a 'ruflo' MCP server")
fails on CI because plugins/ruflo-core/.mcp.json is gitignored by the
two repo-level `.mcp.json` rules (lines 67 + 128). The file exists
locally for everyone who has run smoke, but CI does a fresh clone and
never sees it.

Plugin-shipped .mcp.json templates are part of the plugin's contract
(they declare which MCP server the plugin registers). They MUST be
tracked. User-specific .mcp.json at the repo root or other paths
remains ignored for security (no secret leakage).

Fix is two-part:

  1. .gitignore — add `!plugins/*/.mcp.json` negation after both
     `.mcp.json` rules so the plugin templates escape the ignore.

  2. Force-add plugins/ruflo-core/.mcp.json (the only file currently
     matching the new exemption). Contents are the standard registration:

        {
          "mcpServers": {
            "ruflo": {
              "command": "npx",
              "args": ["-y", "@claude-flow/cli@latest"],
              "env": { "CLAUDE_FLOW_MCP_TRANSPORT": "stdio" }
            }
          }
        }

Smoke locally: 10/10 PASS (unchanged — file always existed locally).
Smoke under CI conditions (fresh clone): was 9/10, now 10/10 once
this commit lands.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-17 10:12:09 -04:00

171 lines
2.7 KiB
Plaintext

!/memory/agents/README.md
!/memory/sessions/README.md
!bin/claude-flow
!v3/@claude-flow/
# Binaries
# Build outputs
# Claude-Flow specific
# Dependencies
# Development
# Dot folders to ignore (except .claude, .claude-plugin, .git, .github, .githooks)
# Environment
# Exclude @claude-flow module directories from ignore patterns
# IDE
# Logs
# MCP/Swarm
# OS
# Python
# Removed Windows wrapper files
# SPARC/Roo files (not used)
# SQLite Database Files
# Temp files
# Temporary files
# Test artifacts
# Test outputs
# Testing
# memory/
# sessions/
*$py.class
*.db
*.db-journal
*.db-wal
*.egg
*.egg-info/
*.exe
*.lcov
*.log
*.pid
*.pid.lock
*.py[cod]
*.seed
*.so
*.sqlite
*.sqlite-journal
*.sqlite-wal
*.swo
*.swp
*.temp
*.tmp
*.tsbuildinfo
*~
./claude/checkpoints/
.DS_Store
.Python
.agentic-flow/
.cache/
.claude-flow/
.claude/settings.local.json
.deno/
.env
.env.*.local
.env.local
.hive-mind/
.hive-mind/hive.db*
.idea/
.mcp.json
# Plugin-shipped .mcp.json templates are part of the plugin contract (smoke
# step "registers a 'ruflo' MCP server" asserts they're committed). Exempt
# them from the repo-level .mcp.json ignore. User-specific .mcp.json at
# the repo root or other paths stays ignored.
!plugins/*/.mcp.json
.nyc_output/
.pnpm-debug.log*
.pnpm-store/
.research/
.roo/
.roomodes
.ruv-swarm/
.swarm/
.swarm/memory.db*
.turbo/
.vscode/
/coordination/
/memory/
/memory/agents/*
/memory/claude-flow-data.json
/memory/sessions/*
Thumbs.db
__pycache__/
analyzing
api-project/
bin/claude-flow-*
build/
claude-flow
claude-flow-mcp-wrapper
claude-flow.config.json
claude-flow.db
coordination/memory_bank/*
coordination/orchestration/*
coordination/subtasks/*
coverage/
dist-cjs/
dist/
hive-mind-prompt-*.txt
init-output.log
lerna-debug.log*
logs/
mcp-server.log
memory/backups/
node_modules/
npm-debug.log*
out/
output/
package
pnpm-debug.log*
swarm-debug.log
swarm-runs
test-full-init
test-init
test-output/
test-reports/
tests/logs/
tests/results/
the
tmp/
ui_*.log
yarn-debug.log*
yarn-error.log*
# Claude Flow generated files
.claude/settings.local.json
.mcp.json
!plugins/*/.mcp.json
claude-flow.config.json
.swarm/
.hive-mind/
.claude-flow/
/memory/
/coordination/
/memory/claude-flow-data.json
/memory/sessions/*
!/memory/sessions/README.md
/memory/agents/*
!/memory/agents/README.md
/coordination/memory_bank/*
/coordination/subtasks/*
/coordination/orchestration/*
*.db
*.db-journal
*.db-wal
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
# Codex local configuration
.codex/
# Claude Flow runtime data
.claude-flow/data/
.claude-flow/logs/
# Environment variables — block ALL .env variants except .example templates
.env
.env.*
!.env.example
!.env.*.example