feat(crisis): add intake submission handler for test users #205

Closed
Rockachopa wants to merge 1 commits from step35/200-intake-submission-from-test into main
Owner

What

Adds crisis.intake module — intake submission handler for test users.

  • crisis/intake.py: handle_intake_submission() integrates with existing crisis detection
  • crisis/tests_intake.py: 9 tests (unit + integration)

Behavior

from crisis.intake import handle_intake_submission
result = handle_intake_submission("This is a test message", test=True)
# crisis_level="NONE", show_overlay=False

Testing

python3 -m pytest crisis/tests_intake.py -v   # 9 passed

Closes #200
Refs #202 #201 #203

## What Adds `crisis.intake` module — intake submission handler for test users. - `crisis/intake.py`: `handle_intake_submission()` integrates with existing crisis detection - `crisis/tests_intake.py`: 9 tests (unit + integration) ## Behavior ```python from crisis.intake import handle_intake_submission result = handle_intake_submission("This is a test message", test=True) # crisis_level="NONE", show_overlay=False ``` ## Testing ```bash python3 -m pytest crisis/tests_intake.py -v # 9 passed ``` Closes #200 Refs #202 #201 #203
Rockachopa added 1 commit 2026-04-29 23:19:45 +00:00
feat(crisis): add intake submission handler for test users
All checks were successful
Sanity Checks / sanity-test (pull_request) Successful in 5s
Smoke Test / smoke (pull_request) Successful in 6s
77fc411c63
- crisis/intake.py: handle_intake_submission() integrates with crisis detection
- crisis/tests_intake.py: 9 tests (unit + integration)
- In test mode, crisis overlays are suppressed while detection still runs

Closes #200
Refs #202 #201 #203
Timmy closed this pull request 2026-04-30 12:38:45 +00:00
All checks were successful
Sanity Checks / sanity-test (pull_request) Successful in 5s
Smoke Test / smoke (pull_request) Successful in 6s

Pull request closed

Sign in to join this conversation.