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
Roberto Musso
c0619f5c4d
fix(tests): move pytest_addoption after __future__ import in conftest
...
SyntaxError: from __future__ imports must occur at the beginning of the file.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-07 14:21:50 +02:00
Roberto Musso
7fa6ad5760
feat(tests): add --preprocess-dir CLI option to pytest
...
- conftest.py: registra --preprocess-dir via pytest_addoption
- test_preprocessors.py: usa pytest_generate_tests per leggere i casi
a collection time con accesso a config; _content e _fixtures_dir
accettano path dinamico
Usage: pytest tests/test_preprocessors.py --preprocess-dir /my/folder
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-07 13:59:32 +02:00
2de67213f8
rename from checkpoint to timeline agent
2026-03-10 23:17:38 +01:00
e3c7547c75
Remove unused imports across multiple files to clean up the codebase
2026-03-03 17:21:40 +01:00
480e7ac5bd
Step 13 - completed
2026-03-03 15:14:04 +01:00
d0b303e745
Step 12 - completed
2026-03-03 14:53:34 +01:00