feat(crisis): enable image-capable intake handler for test users #207

Open
Rockachopa wants to merge 1 commits from step35/201-intake-submission-from-image into main

1 Commits

Author SHA1 Message Date
Rockachopa
30b9c0ceef feat(crisis): add image-capable intake handler for test users (closes #201)
All checks were successful
Sanity Checks / sanity-test (pull_request) Successful in 5s
Smoke Test / smoke (pull_request) Successful in 8s
Extend crisis.intake.handle_intake_submission to accept optional
image-based signals (OCR text, object labels, operator notes) and
integrate with image_screening.screen_image_signals().

Changes:
- crisis/intake.py: Image support added to intake handler
  * Optional parameters: image_ocr, image_labels, image_notes
  * Calls screen_image_signals when image data provided
  * Extends IntakeResult with image_signals and image_distress_score
  * Backward-compatible: existing text-only calls unaffected
  * Enhanced interactive CLI with [img:...] inline syntax
- Updated _log_test_intake to record image signals in test metrics

This is the smallest concrete fix for #201: image-capable
intake submission. The text-only handler already existed via PR #202.

Tests: all 8 intake tests pass (existing behavior preserved).
Smoke: manual call verifies image signals detected.
2026-04-30 10:47:42 -04:00