tocmo0nlord
91d4cec0e0
Step 10: emergency workflow (12.941 pick-up/removal) — fork + attachment block
familylaw.emergency.motion (+ familylaw.emergency.attachment):
- have-order-vs-not FORK: action_seed_requirements seeds different required
attachments (existing-order path = certified copy + proposed order; no-order path =
verified motion/sworn affidavit + proposed order)
- MISSING-ATTACHMENT BLOCK: _ensure_complete raises if any required attachment is
unprovided (or no checklist seeded); action_mark_ready / action_file gated on it
- open_for_case() uses the case's open proceeding (fast-path matter from Step 2)
Wizard + views + menu; "Emergency Motion" button on the case form (shown when the
matter is_emergency). ACL added.
Tests (familylaw_step10): fork seeds differ; missing/partial blocks ready; complete
allows ready + file; file requires ready; no-checklist blocks; intake fast-path
(urgency -> is_emergency case) then motion creation; motion uses open proceeding.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>