Files
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
..