Commit Graph
16 Commits
Author SHA1 Message Date
rUvandClaude Opus 4.5 c38d56b60e fix(memory): support namespace in delete command (#981)
* fix(memory): add missing 'type' column to schema migration

Fixes #977 - Memory store command failed with "table memory_entries has
no column named type" on older databases that were missing this column.

Changes:
- Add 'type' column to ensureSchemaColumns() migration list
- Fix .gitignore to use rooted paths (/memory/ instead of memory/) to
  prevent accidentally ignoring src/memory/ source code

The ensureSchemaColumns() function now properly adds the 'type' column
when upgrading databases from older schema versions.

Co-Authored-By: claude-flow <ruv@ruv.net>

* chore: bump version to 3.0.0-alpha.153

Published to npm with fix for issue #977.

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(memory): support namespace in delete command

Fixes #980 - CLI memory delete now properly supports namespaced entries.

Changes:
- Add `deleteEntry()` function to memory-initializer.ts
- Add `--key` and `--namespace` options to delete command
- Support both positional argument and flag for key
- Use consistent pattern with retrieve command

Usage:
  memory delete --key "mykey" --namespace "myns" -f
  memory delete mykey -f  (uses default namespace)

Co-Authored-By: claude-flow <ruv@ruv.net>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T15:55:06Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(ci): update pnpm-lock.yaml for @claude-flow/browser

Updates the lockfile to include dependencies for the browser package
that were causing CI failures with frozen-lockfile mode.

Co-Authored-By: claude-flow <ruv@ruv.net>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T16:05:21Z
- Changes: 11 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T16:05:27Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T16:10:09Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T16:10:16Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T16:16:14Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T16:16:24Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/issue-980-memory-delete-namespace
- Timestamp: 2026-01-22T16:16:37Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 11:27:16 -05:00
rUvandClaude Opus 4.5 ec403f7ebf fix(neural): Implement pattern persistence to disk (#961) (#964)
* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/neural-pattern-persistence
- Timestamp: 2026-01-17T21:18:43Z
- Changes: 5 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/neural-pattern-persistence
- Timestamp: 2026-01-17T21:20:22Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/neural-pattern-persistence
- Timestamp: 2026-01-17T21:20:35Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/neural-pattern-persistence
- Timestamp: 2026-01-17T21:20:59Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/neural-pattern-persistence
- Timestamp: 2026-01-17T21:22:30Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/neural-pattern-persistence
- Timestamp: 2026-01-17T21:24:19Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: fix/neural-pattern-persistence
- Timestamp: 2026-01-17T21:26:02Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(neural): Implement pattern persistence to disk (#961)

- Add JSON persistence to ReasoningBank in intelligence.ts
- Patterns persist to .claude-flow/neural/patterns.json
- Stats persist to .claude-flow/neural/stats.json
- Load patterns from disk on initialization
- Debounced saving (100ms) prevents excessive I/O
- Update neural train command to flush on completion
- Update neural patterns to use getAllPatterns()
- Export new persistence API (getAllPatterns, flushPatterns, etc.)
- Update documentation in neural-train.md and neural-patterns.md

Published:
- @claude-flow/cli@3.0.0-alpha.123
- claude-flow@3.0.0-alpha.86

Closes #961

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: Update pnpm lockfile for CI compatibility

- Regenerate pnpm-lock.yaml with @claude-flow/aidefence deps
- Fixes frozen-lockfile CI error

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 17:38:47 -05:00
rUvandClaude Opus 4.5 d8c7882085 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-13T00:06:11Z
- Changes: 8 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 00:06:11 +00:00
rUvandClaude Opus 4.5 a4b5e52c5d Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-12T23:00:40Z
- Changes: 4 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 23:00:40 +00:00
rUvandClaude Opus 4.5 b7a1e1fdf8 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-12T19:45:07Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 19:45:07 +00:00
rUvandClaude Opus 4.5 a14f8d5924 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T20:08:08Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 20:08:08 +00:00
rUvandClaude Opus 4.5 37368b6b33 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T19:26:29Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 19:26:29 +00:00
rUvandClaude Opus 4.5 e300bb55eb Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T19:04:42Z
- Changes: 19 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 19:04:42 +00:00
rUvandClaude Opus 4.5 41686c1fcf Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T05:00:31Z
- Changes: 3 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 05:00:31 +00:00
rUvandClaude Opus 4.5 8e663bcda3 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T04:59:28Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:59:28 +00:00
rUvandClaude Opus 4.5 0852a46c20 feat(cli): Add Node.js worker daemon system for V3
- Add WorkerDaemon service with EventEmitter-based scheduling
- Add daemon CLI command (start/stop/status/trigger/enable)
- Integrate daemon auto-start with SessionStart hooks
- Add daemon config to v3 init settings.json generator
- Update root package.json to link claude-flow@v3alpha to V3 CLI
- Update all commands to use claude-flow@v3alpha package name

Workers (5 enabled by default):
- map (5min): Codebase structure mapping
- audit (10min): Security vulnerability scanning
- optimize (15min): Performance optimization
- consolidate (30min): Memory consolidation
- testgaps (20min): Test coverage analysis

Documentation:
- Update ADR-014 with Node.js Daemon extension
- Update README with V3 daemon documentation
- Bump version to 3.0.3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 03:23:16 +00:00
rUvandClaude Opus 4.5 6ad7a378d0 fix(hooks): Fix checkpoint hooks to handle plain file paths
- Updated standard-checkpoint-hooks.sh to accept both JSON and plain paths
- Fixed pre-edit and post-edit functions to detect input format
- Fixed v3 CLI hook flags (-f -> --file, -c -> --command, etc.)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 02:54:48 +00:00
rUvandClaude Opus 4.5 bad2be3919 feat(claims): Complete ADR-016 claims module implementation
- Add @claude-flow/claims package with 161 passing tests
- Implement ClaimService, WorkStealingService, LoadBalancer
- Add domain types, events, rules per ADR-016 spec
- Create 17 MCP tools for claiming, stealing, load balancing
- Add CLI commands for issue management
- Fix type errors: ClaimStatus, status transitions, exports
- Enable auto-commit and auto-push in settings.json
- Update v3 packages and configurations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 22:38:00 +00:00
rUvandClaude Sonnet 4 7900aea3b7 checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-06 15:17:29 +00:00
rUvandClaude Sonnet 4 5dbe8ec3a5 checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-06 15:11:12 +00:00
rUvandClaude Sonnet 4 dfe6f3a5f7 feat(v3): implement complete cross-platform helper system with automated development workflow
## Major V3 Enhancements

### 🆕 Cross-Platform Helper System (v3/helpers/)
- **Universal Automation**: Linux, macOS, Windows PowerShell support
- **Master Interface**: claude-flow-v3.sh/.ps1 with unified commands
- **Progress Tracking**: Real-time domain/agent/performance metrics
- **Auto-Checkpointing**: Git-based session management
- **Environment Validation**: Comprehensive setup verification

### 🎨 Enhanced V3-Focused Statusline
- **Colorful Dashboard**: Real-time V3 development progress
- **Domain Tracking**: 5 DDD bounded contexts visualization
- **Swarm Monitoring**: 15-agent deployment status
- **Performance Targets**: 2.49x-7.47x Flash Attention tracking
- **Security Status**: CVE tracking with color-coded alerts

### 🔧 Comprehensive Settings Integration
- **GitHub Capabilities**: Auto-commit, PR tracking, issue management
- **Checkpoint Manager**: Automated progress preservation
- **Hook System**: Pre/post tool execution automation
- **V3 Configuration**: Complete domain/swarm/performance framework

### 📚 Complete Documentation
- **Installation Guides**: Platform-specific setup instructions
- **Usage Examples**: Cross-platform command references
- **Customization Guides**: Hook integration and extension patterns
- **Troubleshooting**: Platform-specific issue resolution

## Implementation Details

### Helper System Structure
```
v3/helpers/
├── claude-flow-v3.sh      # Master helper (Linux/macOS)
├── claude-flow-v3.ps1     # Master helper (Windows)
├── templates/             # Helper script templates
└── docs/                  # Complete documentation
```

### Key Capabilities
- ✅ Cross-platform compatibility (Linux/macOS/Windows)
- ✅ Automated progress tracking and visualization
- ✅ Git-based checkpointing and session management
- ✅ Environment validation and setup verification
- ✅ GitHub integration with PR/issue automation
- ✅ Customizable hook system for workflow automation

### Updated Components
- Enhanced .claude/statusline.sh with V3-specific metrics
- Comprehensive .claude/settings.json with GitHub/checkpoint integration
- Complete .claude/helpers/ system with validation and progress tools
- Updated v3/README.md with helper system integration
- Cross-platform helper templates and documentation

## Usage Examples
```bash
# Linux/macOS
./v3/helpers/claude-flow-v3.sh init
./v3/helpers/claude-flow-v3.sh status
./v3/helpers/claude-flow-v3.sh update domain 3

# Windows
.\v3\helpers\claude-flow-v3.ps1 init
.\v3\helpers\claude-flow-v3.ps1 status
.\v3\helpers\claude-flow-v3.ps1 update domain 3
```

## Impact
Transforms claude-flow v3 from development framework into complete automated development platform with professional-grade cross-platform tooling and real-time progress tracking.

🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-04 17:05:56 +00:00