mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
8663df13b7
PatternNullStore: recordNull with ON CONFLICT consolidation, getNullSummaries batch fetch, and the pure applyNullDiscount ranking helper (context-matched nulls discount 5x harder than remote ones; 0.25 floor keeps patterns retrievable — nulls inform, never erase). ExperienceCaptureService: appliedPatterns on TaskExperience (patterns that GUIDED the task), setNullRecorder following the setWitnessChain convention, and null capture in completeCapture — failure = negative reward when a signal exists, else !success; recorder errors never break capture; context fingerprint = domain:agent (v1, per ADR). Verified: 11/11 tests run locally (London-school mocked backend — no native deps) incl. reward-overrides-success, per-pattern fan-out, recorder-throw survival, and discount floor/ordering; tsc clean. Remaining for ADR-110: retrieval-time discount wiring in PatternStore search, arena losing-strategy persistence, composition-root recorder wiring. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>