chore: Improve .gitignore - remove tracked runtime files
Some checks failed
CI Pipeline / Code Linting (push) Failing after 13s
CI Pipeline / Run Tests (push) Failing after 18s
CI Pipeline / Build Verification (push) Has been skipped
CI Pipeline / Generate Quality Report (push) Failing after 5s

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:
Christoph Wagner 2025-11-23 10:14:29 +01:00
parent 5ad0700b41
commit 2dd2439662
5 changed files with 14 additions and 102 deletions

View File

@ -1 +0,0 @@
{}

View File

@ -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
}
}

View File

@ -1,10 +0,0 @@
[
{
"id": "cmd-hooks-1763888626774",
"type": "hooks",
"success": true,
"duration": 4.419415999999998,
"timestamp": 1763888626778,
"metadata": {}
}
]

18
.gitignore vendored
View File

@ -1,5 +1,5 @@
# Claude Flow generated files
# Claude Flow & Swarm Coordination
.claude/settings.local.json
.mcp.json
claude-flow.config.json
@ -23,10 +23,9 @@ coordination/orchestration/*
*.sqlite-journal
*.sqlite-wal
claude-flow
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
# Chess game specific ignores
# Project specific
# Dependencies
node_modules/
package-lock.json
@ -34,11 +33,18 @@ package-lock.json
# Testing
coverage/
.nyc_output/
test-results/
playwright-report/
playwright/.cache/
*.spec.js.snap
# Build outputs
dist/
build/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# IDE
.vscode/
@ -61,6 +67,10 @@ Thumbs.db
*.temp
# CI/CD artifacts
.swarm/
quality-report.md
release/
# Runtime & Cache
.npm/
.eslintcache
*.tsbuildinfo

Binary file not shown.