Skip to content

[Router] End-to-end tests + docs #2388

Description

@ramkrishna2910

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

Metadata

Metadata

Labels

area::ciCI / GitHub Actions / self-hosted runner infrastructuredocumentationImprovements or additions to documentation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions