v9.0.16

thedotmack/claude-memv9.0.16Feb 5, 2026by thedotmack

AI Summary

This is a bug fix release addressing a critical worker startup timeout issue. The fix changes the health check endpoint from `/api/readiness` (which waits for full initialization including MCP connections) to `/api/health` (which returns 200 as soon as the HTTP server is listening), resolving the 15-second timeout error that prevented hooks from communicating with the worker service.

Key Highlights

  • Fixed Worker Startup Timeout error (#811, #772, #729) - hooks can now communicate with worker service
  • Changed health check from `/api/readiness` to `/api/health` endpoint
  • Worker now accepts requests while background initialization continues in the background
  • Updated related test expectations in health-monitor.test.ts
  • PR #820 merged with full verification pipeline

Full Release Notes

## Bug Fixes

### Fix Worker Startup Timeout (#811, #772, #729)

Resolves the "Worker did not become ready within 15 seconds" timeout error that could prevent hooks from communicating with the worker service.

**Root cause:** `isWorkerHealthy()` and `waitForHealth()` were checking `/api/readiness`, which returns 503 until full initialization completes — including MCP connection setup that can take 5+ minutes. Hooks only have a 15-second timeout window.

**Fix:** Switched to `/api/health` (liveness check), which returns 200 as soon as the HTTP server is listening. This is sufficient for hook communication since the worker accepts requests while background initialization continues.

**Files changed:**
- `src/shared/worker-utils.ts` — `isWorkerHealthy()` now checks `/api/health`
- `src/services/infrastructure/HealthMonitor.ts` — `waitForHealth()` now checks `/api/health`
- `tests/infrastructure/health-monitor.test.ts` — Updated test expectations

### PR Merge Tasks
- PR #820 merged with full verification pipeline (rebase, code review, build verification, test, manual verification)