forked from cleveragents/cleveragents-core
c2b18f3689
Rewrite robot/e2e/wf09_session.robot — E2E test for Workflow Example 9 (Session-Driven Interactive Exploration). The test exercises the full session lifecycle with zero mocking: - Creates a temp git repo with a sample multi-module Python project (src/auth.py, src/routes.py, src/models.py, README.md) using unique names with UUID suffix for parallel CI safety - Registers the repo as a resource and creates a project - Creates a session via session create with a dynamically selected actor - Sends three conversational queries via session tell: codebase overview, auth module deep-dive, and action creation request (per spec Example 9) - Verifies accumulated session history via session show - Exports the conversation to JSON via session export - Validates the exported JSON structure with hard assertions (session_id, messages keys) Uses Skip If No LLM Keys for graceful degradation when API keys are absent. Extracts reusable keywords (Create Sample Project Fixture, Create Session With Actor, Verify Session Tell Response, Verify Session History, Verify Session Export) to reduce test case size and improve maintainability. Uses Safe Parse Json Field from common_e2e.resource instead of custom JSON parsing. Removes redundant library imports already provided by common_e2e.resource. ISSUES CLOSED: #755