chore: Improve .gitignore - remove tracked runtime files
Enhanced .gitignore to properly exclude all runtime and temporary files from version control. ## Changes Made ### Files Removed from Tracking - .claude-flow/metrics/*.json (runtime metrics) - .swarm/memory.db (swarm state database) These files were previously tracked but should never be versioned as they contain runtime state that changes frequently. ### .gitignore Improvements **Removed Duplicate:** - .swarm/ was listed twice (lines 6 and 64) **Added Patterns:** - npm-debug.log*, yarn-debug.log*, yarn-error.log* (npm/yarn logs) - test-results/ (Playwright test outputs) - playwright-report/ (Playwright HTML reports) - playwright/.cache/ (Playwright browser cache) - *.spec.js.snap (Jest snapshots for E2E tests) - .npm/ (npm cache directory) - .eslintcache (ESLint cache file) - *.tsbuildinfo (TypeScript build info) **Reorganized Sections:** - Clearer section headers - Removed redundant .swarm/ entry - Better categorization of patterns ## Benefits ✅ No more runtime files cluttering git status ✅ Cleaner git history (no metric/state changes) ✅ Better Playwright test support ✅ Comprehensive npm/yarn log exclusion ✅ Organized and maintainable .gitignore ## Verification After this commit: - git status should be clean - Runtime files (.db, metrics) no longer tracked - All test artifacts properly excluded 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
5ad0700b41
commit
2dd2439662
@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@ -1,87 +0,0 @@
|
|||||||
{
|
|
||||||
"startTime": 1763888626731,
|
|
||||||
"sessionId": "session-1763888626731",
|
|
||||||
"lastActivity": 1763888626731,
|
|
||||||
"sessionDuration": 0,
|
|
||||||
"totalTasks": 1,
|
|
||||||
"successfulTasks": 1,
|
|
||||||
"failedTasks": 0,
|
|
||||||
"totalAgents": 0,
|
|
||||||
"activeAgents": 0,
|
|
||||||
"neuralEvents": 0,
|
|
||||||
"memoryMode": {
|
|
||||||
"reasoningbankOperations": 0,
|
|
||||||
"basicOperations": 0,
|
|
||||||
"autoModeSelections": 0,
|
|
||||||
"modeOverrides": 0,
|
|
||||||
"currentMode": "auto"
|
|
||||||
},
|
|
||||||
"operations": {
|
|
||||||
"store": {
|
|
||||||
"count": 0,
|
|
||||||
"totalDuration": 0,
|
|
||||||
"errors": 0
|
|
||||||
},
|
|
||||||
"retrieve": {
|
|
||||||
"count": 0,
|
|
||||||
"totalDuration": 0,
|
|
||||||
"errors": 0
|
|
||||||
},
|
|
||||||
"query": {
|
|
||||||
"count": 0,
|
|
||||||
"totalDuration": 0,
|
|
||||||
"errors": 0
|
|
||||||
},
|
|
||||||
"list": {
|
|
||||||
"count": 0,
|
|
||||||
"totalDuration": 0,
|
|
||||||
"errors": 0
|
|
||||||
},
|
|
||||||
"delete": {
|
|
||||||
"count": 0,
|
|
||||||
"totalDuration": 0,
|
|
||||||
"errors": 0
|
|
||||||
},
|
|
||||||
"search": {
|
|
||||||
"count": 0,
|
|
||||||
"totalDuration": 0,
|
|
||||||
"errors": 0
|
|
||||||
},
|
|
||||||
"init": {
|
|
||||||
"count": 0,
|
|
||||||
"totalDuration": 0,
|
|
||||||
"errors": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"performance": {
|
|
||||||
"avgOperationDuration": 0,
|
|
||||||
"minOperationDuration": null,
|
|
||||||
"maxOperationDuration": null,
|
|
||||||
"slowOperations": 0,
|
|
||||||
"fastOperations": 0,
|
|
||||||
"totalOperationTime": 0
|
|
||||||
},
|
|
||||||
"storage": {
|
|
||||||
"totalEntries": 0,
|
|
||||||
"reasoningbankEntries": 0,
|
|
||||||
"basicEntries": 0,
|
|
||||||
"databaseSize": 0,
|
|
||||||
"lastBackup": null,
|
|
||||||
"growthRate": 0
|
|
||||||
},
|
|
||||||
"errors": {
|
|
||||||
"total": 0,
|
|
||||||
"byType": {},
|
|
||||||
"byOperation": {},
|
|
||||||
"recent": []
|
|
||||||
},
|
|
||||||
"reasoningbank": {
|
|
||||||
"semanticSearches": 0,
|
|
||||||
"sqlFallbacks": 0,
|
|
||||||
"embeddingGenerated": 0,
|
|
||||||
"consolidations": 0,
|
|
||||||
"avgQueryTime": 0,
|
|
||||||
"cacheHits": 0,
|
|
||||||
"cacheMisses": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"id": "cmd-hooks-1763888626774",
|
|
||||||
"type": "hooks",
|
|
||||||
"success": true,
|
|
||||||
"duration": 4.419415999999998,
|
|
||||||
"timestamp": 1763888626778,
|
|
||||||
"metadata": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
18
.gitignore
vendored
18
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
# Claude Flow generated files
|
# Claude Flow & Swarm Coordination
|
||||||
.claude/settings.local.json
|
.claude/settings.local.json
|
||||||
.mcp.json
|
.mcp.json
|
||||||
claude-flow.config.json
|
claude-flow.config.json
|
||||||
@ -23,10 +23,9 @@ coordination/orchestration/*
|
|||||||
*.sqlite-journal
|
*.sqlite-journal
|
||||||
*.sqlite-wal
|
*.sqlite-wal
|
||||||
claude-flow
|
claude-flow
|
||||||
# Removed Windows wrapper files per user request
|
|
||||||
hive-mind-prompt-*.txt
|
hive-mind-prompt-*.txt
|
||||||
|
|
||||||
# Chess game specific ignores
|
# Project specific
|
||||||
# Dependencies
|
# Dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
@ -34,11 +33,18 @@ package-lock.json
|
|||||||
# Testing
|
# Testing
|
||||||
coverage/
|
coverage/
|
||||||
.nyc_output/
|
.nyc_output/
|
||||||
|
test-results/
|
||||||
|
playwright-report/
|
||||||
|
playwright/.cache/
|
||||||
|
*.spec.js.snap
|
||||||
|
|
||||||
# Build outputs
|
# Build outputs
|
||||||
dist/
|
dist/
|
||||||
build/
|
build/
|
||||||
*.log
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
.vscode/
|
.vscode/
|
||||||
@ -61,6 +67,10 @@ Thumbs.db
|
|||||||
*.temp
|
*.temp
|
||||||
|
|
||||||
# CI/CD artifacts
|
# CI/CD artifacts
|
||||||
.swarm/
|
|
||||||
quality-report.md
|
quality-report.md
|
||||||
release/
|
release/
|
||||||
|
|
||||||
|
# Runtime & Cache
|
||||||
|
.npm/
|
||||||
|
.eslintcache
|
||||||
|
*.tsbuildinfo
|
||||||
|
|||||||
BIN
.swarm/memory.db
BIN
.swarm/memory.db
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user