feat(p7): FakeInference deterministic provider + golden eval registry

Task 7.2: FakeInference implements the InferencePort with keyword vocabulary
mirroring the P6 RuleEngine; deterministic (no clock/random) so AI artifacts are
replayable. Golden fixtures (AI_GOLDEN) + inference.spec.ts assert byte-identical
replay, abstention, and Scenario-7 (EVENT never exceeds DISCUSSION certainty).
Controls: abstain()/deny()/setCost().

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-01 16:29:51 +05:30
parent 42bb99c09f
commit e03f2f72e4
5 changed files with 252 additions and 0 deletions
+1
View File
@@ -2,3 +2,4 @@ export * from './fakes';
export * from './replay';
export { portalMessageBasic } from './fixtures/portal-message-basic';
export { emailFromUnknown } from './fixtures/email-from-unknown';
export { AI_GOLDEN, type AiGoldenCase } from './fixtures/ai-golden';