Goal
End-to-end tests + docs — the milestone's demonstrable exit criterion.
Scope
- Python integration test in
test/ driving a collection.router collection with the openai client: a PII-flagged query routes to one candidate (via the pii/semantic_similarity classifiers), a short support query to another, everything else falls through to default_model. Assert route_to and inspect the returned trace.
- Dev doc (
docs/dev/) + docs/api/ update: authoring classifiers + rules in a collection.router, and the Decision/trace contract.
Acceptance
Green end-to-end test in CI; docs cover policy authoring + the trace-on-response contract. (No verdict/block in the core demo — that's the Trust milestone.)
Depends on: #2386
Goal
End-to-end tests + docs — the milestone's demonstrable exit criterion.
Scope
test/driving acollection.routercollection with theopenaiclient: a PII-flagged query routes to one candidate (via thepii/semantic_similarityclassifiers), a short support query to another, everything else falls through todefault_model. Assertroute_toand inspect the returnedtrace.docs/dev/) +docs/api/update: authoring classifiers + rules in acollection.router, and the Decision/trace contract.Acceptance
Green end-to-end test in CI; docs cover policy authoring + the trace-on-response contract. (No verdict/block in the core demo — that's the Trust milestone.)
Depends on: #2386