Profa
|
d5514b2143
|
chore(release): bump version to v2.7.1 with type safety improvements
## Summary
- Reduced TypeScript `any` types from 568 to 538 (63% overall reduction from 1,470)
- Fixed all 146 TypeScript compilation errors
- Updated version to v2.7.1 across all 5 required files
- Added ErrorUtils utility for consistent error handling
- Updated GOAP plan with Phase 2 completion status
## Type Safety Improvements
- Added index signatures for SerializableValue compatibility
- Fixed memory retrieval type casts across 15+ agent files
- Added proper task payload typing in agent performTask methods
- Created shared error handling utilities
## Files Updated
- package.json, package-lock.json (version bump)
- README.md (version badge)
- CHANGELOG.md (release notes)
- src/mcp/server-instructions.ts (SERVER_VERSION)
- src/core/memory/HNSWVectorMemory.ts (version info)
- docs/plans/goap-issue-149-code-quality.md (progress tracking)
- 100+ source and test files (type safety fixes)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-29 08:00:00 +00:00 |
|
Profa
|
092dded9c3
|
fix(memory): convert async API to sync for better-sqlite3 (Issue #65)
BREAKING CHANGE: SwarmMemoryManager methods are now synchronous
## Summary
Converted misleading async API to honest synchronous API since
better-sqlite3 is intentionally synchronous for performance.
## Changes
### Core Implementation
- SwarmMemoryManager: Removed 135 unnecessary `await` calls
- Converted 70+ methods from async to sync
- Only 10 methods remain async (those with auto-initialization)
- Added sync alternatives: storeSync(), setSync(), getSync(), retrieveSync()
### Interface Updates
- IMemoryStore: Updated method signatures (Promise<T> → T)
- ISwarmMemoryManager: All sync methods now return T directly
- MemoryStoreAdapter: Rewritten for sync compatibility
### Test Fixes (6 pre-existing failures → 0)
- memory-instrumentation.test.ts: Fixed Promise expectation on sync delete()
- BaselineCollector.test.ts: Added ACCESSIBILITY_ALLY tasks, fixed assertion
- remediation-code-generator.test.ts: Fixed WCAG criterion, Playwright check
- AccessibilityAllyAgent.test.ts: Fixed .size→.length, agent code fix
### New Features
- StandardTaskSuite: Added 10 tasks for ACCESSIBILITY_ALLY agent type
## Test Results
- Build: ✅ Pass
- Tests: 1420 passed, 0 failed
Closes #65
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-16 10:37:08 +00:00 |
|
Profa
|
6b963af35c
|
feat(learning): complete Nightly-Learner system v2.3.4
Major Features:
- Complete Nightly-Learner implementation with 4 phases:
- Phase 0: Baselines (180 benchmark tasks for 19 agents)
- Phase 1: Experience Capture (automatic agent learning)
- Phase 2: Sleep Cycle (N1-N2-N3-REM processing)
- Phase 3: Dream Engine (insight generation)
- BaseAgent integration for automatic experience capture
- New CLI commands: learn, dream, transfer
Fixes:
- Process hanging in aqe init (ExperienceCapture not stopped)
- TypeScript errors in TrendAnalyzer and BaseAgent
- Removed duplicate code in dashboard/ directory
Files Added:
- src/learning/baselines/* - Performance baseline collection
- src/learning/metrics/* - Trend analysis and alerting
- src/cli/commands/dream/* - Dream engine commands
- src/cli/commands/transfer/* - Pattern transfer commands
- src/cli/init/learning-init.ts - Learning initialization
- tests/integration/learning/* - Integration tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-11 16:10:47 +00:00 |
|