- Add default_dispatch_node_factory() to coordinator.py: reads AGENT_TEAM_REPO_OWNER / AGENT_TEAM_REPO_NAME / AGENT_TEAM_BASE_BRANCH from env; fails closed (RuntimeError) if required vars absent; delegates to make_dispatch_node with owner/repo fixed at factory time. Added to __all__. - Add tests/test_ws3_dispatch_invoker.py (25 tests): make_dispatch_node happy path + fail-closed paths (missing thread_id/diff/scope/plan, DispatcherError, unexpected exception); owner/repo injection from factory args; scope list flattening; DispatchNodeFactory export; graph DISPATCH_NODE constant; build_graph ValueError when dispatch_node given without build_verify; env-var binding for default_dispatch_node_factory; Coordinator.dispatch_node_wiring seam (ValueError when wired without build_verify_wiring). All 1069 tests pass; ruff clean. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0155wSD9kKFjnTMNNsDT3tiW |
||
|---|---|---|
| .. | ||
| sim | ||
| __init__.py | ||
| conftest.py | ||
| test_apply_verify_workflow_hardening.py | ||
| test_billing.py | ||
| test_build_verify_subgraph.py | ||
| test_builders.py | ||
| test_builders_llm.py | ||
| test_checker_intake.py | ||
| test_ci_fetcher.py | ||
| test_ci_gate.py | ||
| test_ci_gate_workflow.py | ||
| test_clarifier.py | ||
| test_clarifier_llm.py | ||
| test_claude_code_adapter.py | ||
| test_claude_code_live.py | ||
| test_coordinator.py | ||
| test_deadline_timer.py | ||
| test_dispatcher.py | ||
| test_fixer.py | ||
| test_github_adapter.py | ||
| test_github_intake.py | ||
| test_github_live.py | ||
| test_graph.py | ||
| test_invoker.py | ||
| test_ledger.py | ||
| test_operator_cli.py | ||
| test_planner.py | ||
| test_recovery.py | ||
| test_responder.py | ||
| test_resume_worker.py | ||
| test_review_loop.py | ||
| test_review_loop_llm.py | ||
| test_run_team.py | ||
| test_schema.py | ||
| test_slack_adapter.py | ||
| test_slack_listener.py | ||
| test_slack_live.py | ||
| test_state_store.py | ||
| test_task_model.py | ||
| test_transport_base.py | ||
| test_verifier.py | ||
| test_verifier_llm.py | ||
| test_ws3_dispatch_invoker.py | ||