Implements the three Rich panels required by specification.md §"agents session export"
(lines 1987–2115) that were missing from the export_session() command.
Changes:
- Add _render_export_panels() helper that renders three spec-required panels:
* "Session Export" panel: session ID, output path, message count, file size, format
* "Contents" panel: messages, plan references, metadata keys, actor config, schema version
* "Integrity" panel: checksum (sha256:xxxx...xxxx), encrypted flag
- Fix success message from "Session exported to {output}" to "Export completed"
- Fix stdout export path to also render Rich panels (previously only printed raw JSON)
- Keep --format and --force options (useful extensions, do not break spec compliance)
- Update Behave scenarios in features/session_cli.feature to verify panel rendering
- Update Robot Framework helper and test file with new export panel assertions
ISSUES CLOSED: #3424
- A2A JSON-RPC 2.0 migration: updated 3 robot helpers still using the
old API (operation= → method=, resp.status/resp.data → resp.result):
helper_m6_autonomy_acceptance.py, helper_wf03_plan_prompt_confidence.py,
wf02_test_generation_artifacts.py
- Session CLI: updated 'Session Details' → 'Session Summary' panel title
assertion in helper_session_cli.py to match current CLI output
- Audit wiring: fixed container_wiring test to create DB tables via
Base.metadata.create_all() and disable async mode for deterministic
verification (container's in-memory DB had no schema)
- Missing migration: added m9_001_session_name_column.py to add the
'name' column to sessions table (ORM model had it, Alembic migration
was missing, causing 'session create' to fail after 'agents init')
All 1908 integration tests now pass (0 failed, 0 skipped).
ISSUES CLOSED: #2597