mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 08:56:21 +02:00
Add 96 tests covering the orchestrator's aggregation, provenance, routing, and explainability parsing. These verify the supervisor fan-out/fan-in lifecycle, the new RDF provenance types (Decomposition, Finding, Plan, StepResult, Synthesis), and their round-trip through the wire format. Unit tests (84): - Aggregator: register, record completion, peek, build synthesis, cleanup - Provenance triple builders: types, provenance links, goals/steps, labels - Explainability parsing: from_triples dispatch, field extraction for all new entity types, precedence over existing types - PatternBase: is_subagent detection, emit_subagent_completion message shape - Completion dispatch: detection logic, full aggregator integration flow, synthesis request not re-intercepted as completion - MetaRouter: task type identification, pattern selection, valid_patterns constraints, fallback on LLM error or unknown response Contract tests (12): - Orchestration fields on AgentRequest round-trip correctly - subagent-completion and synthesise step types in request history - Plan steps with status and dependencies - Provenance triple builder → wire format → from_triples round-trip for all five new entity types |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_agent_service_non_streaming.py | ||
| test_agent_step_arguments.py | ||
| test_aggregator.py | ||
| test_completion_dispatch.py | ||
| test_conversation_state.py | ||
| test_explainability_parsing.py | ||
| test_mcp_tool_auth.py | ||
| test_meta_router.py | ||
| test_pattern_base_subagent.py | ||
| test_provenance_triples.py | ||
| test_react_processor.py | ||
| test_reasoning_engine.py | ||
| test_tool_coordination.py | ||
| test_tool_filter.py | ||
| test_tool_service.py | ||
| test_tool_service_lifecycle.py | ||