Commit Graph
3 Commits
Author SHA1 Message Date
JuanandClaude Opus 4.7 f475e66694 test(integration): HITL approve/reject + bloqueo por PII (NIF, email)
- test_invoke_hitl: escenario SIP real → awaiting_approval; approve devuelve
  status=completed con approved_actions; reject deja status=failed con
  error=rejected_by_human.
- test_invoke_pii_block: input con NIF español y email → status=blocked_by_guardrail
  y violación DetectPII con blocked=True.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 09:27:01 +02:00
JuanandClaude Opus 4.7 1f2bf24a66 test(integration): happy path end-to-end con escenario MOS sin HITL
Invoca el agente real incident_analyzer (assets del repo, LLM mock) vía
TestClient y comprueba status=completed, final_output y que el decision_path
recorre los seis nodos del grafo. Añade conftest con la fixture
integration_client (env apuntando a agents/ y policies/ del repo, caches DI
limpiadas).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 08:28:26 +02:00
JuanandClaude Opus 4.7 62536766e6 chore: scaffolding inicial del repo (pyproject, requirements, Makefile)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 10:08:48 +02:00