openclaw-knowledge-engine/test
Claudia 8964d93c60 feat: knowledge-engine v0.1.0 — all Cerberus findings fixed
- 83/83 tests passing (was 32/45)
- New: src/http-client.ts (shared HTTP/HTTPS client, fixes C2+H1)
- Fixed: proper_noun regex exclusions (C6)
- Fixed: shutdown hooks registered in hooks.ts (C3)
- Fixed: all timers use .unref() (H6)
- Fixed: resolveConfig split into smaller functions (C4)
- Fixed: extract() split with processMatch helper (C5)
- Fixed: FactStore.addFact isLoaded guard (H3)
- Fixed: validateConfig split (H2)
- Fixed: type-safe config merge, removed as any (H4)
- Added: http-client tests, expanded coverage (H5)
- Fixed: LLM batch await (S1), fresh RegExp per call (S2)
- 1530 LOC source, 1298 LOC tests, strict TypeScript
2026-02-17 16:10:13 +01:00
..
config.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
embeddings.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
entity-extractor.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
fact-store.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
hooks.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
http-client.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
llm-enhancer.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
maintenance.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
patterns.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00
storage.test.ts feat: knowledge-engine v0.1.0 — all Cerberus findings fixed 2026-02-17 16:10:13 +01:00