Roberto
105cf52083
refactor(schemas): rename Agent* schemas and WS frame types to Scout*
...
Rename all Pydantic models referring to the scout subsystem:
AgentConfig → ScoutConfig, ContentTypeConfig → ScoutContentTypeConfig,
AgentCatalogItem → ScoutCatalogItem, AgentCreationCheckRequest/Response →
ScoutCreationCheckRequest/Response, AgentTriggerRequest → ScoutTriggerRequest,
AgentRunLogResponse → ScoutRunLogResponse.
LLM-helper agent schemas in app/agents/* are untouched.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-16 00:58:14 +02:00
Roberto
b92e72b685
refactor(routes): rename /agents and /agent-setup to /scouts and /scout-setup
...
Rename routes/agents.py → routes/scouts.py and routes/agent_setup.py →
routes/scout_setup.py. Update APIRouter prefix/tags in scouts.py to
/scouts and scouts. Update main.py router registration, device_ws.py
import, and test_journey_v2.py import/patch paths to use scout_setup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-16 00:00:07 +02:00
Roberto Musso
c0aef71141
refactor(tests): remove non-deterministic journey eval cases 4.2–4.5
...
Keep only 4.1 (first reply contains question) as automated eval.
Multi-turn cases (4.2–4.5) are non-deterministic and tested manually
with results tracked in Langfuse.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 09:41:43 +02:00
Roberto Musso
d8add7e8cb
feat(local-agent-v2): step 4 — journey produces structured AgentConfig JSON
...
Replace freeform prompt_template output with validated AgentConfig JSON:
- agent_setup.py: new system prompt (journey_system_v2), AGENT_CONFIG_START/END
markers, _extract_agent_config() with Pydantic validation, updated handlers
returning agent_config key; import AgentConfig from schemas
- tests/test_journey_v2.py: 6 unit tests + 5 parametrized LLM eval cases
following test_agent_runner_v2.py pattern; _run_journey uses
set_client_executor/clear_client_executor mirroring device_ws
- tests/fixtures/journey_v2/: cases.yaml + email_action.html + email_info.html
- tests/conftest.py: add --journey-dir CLI option; remove S3/plugin fixtures
(cleanup from microservices migration, already present in working tree)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 00:23:58 +02:00