Skip to content

M4.4 — Lifespan integration #26

Description

@zestones

Note

Milestone: M4 — Sentinel + Investigator
Planning doc: docs/planning/M4-sentinel-investigator/issues.md

Scope. Modifier backend/main.py lifespan pour :

  • Démarrer sentinel_task au startup
  • L'annuler au shutdown
  • Logger les exceptions du sentinel_loop sans laisser la task mourir silencieusement
    (wrapper try/except avec re-raise contrôlé)

Acceptance.

  • docker compose up → log "Sentinel started" visible
  • docker compose down → log "Sentinel cancelled"

Metadata

Metadata

Assignees

Labels

agentTouches an Anthropic agent loop or orchestrationbackendChangement on back sidestreamingWebSocket / SSE streaming work

Projects

  • Status
    ✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions