Files
4822a236cc feat(ai): describe your experience and the Protector application fills in (ai-kit + ai-forms) (#29)
One AI-assisted form, by decision: the Protector application, where a person
describes their OWN professional background. Bookings, assessments,
preferences, reports, incidents and complaints carry location or incident
data and are not registered (src/config/ai-forms.ts), and a model never
matches, dispatches or judges anyone.

- @bitbaum/ai-kit freeChain across vendors; a vendor joins only when its key
  is set. With none, the form says so and works by hand.
- POST /api/ai/form-assist: signed-in only, then configured, then rate-limited
  (FORM_ASSIST, 20/h per person). The body is rebuilt from the form registry,
  so only declared fields reach a model.
- Certificate numbers and expiry dates are never model-filled.
- A disclosure above the box says what leaves Skif; every filled field is
  marked "check it". The model never submits.
- /api/health reports ai: configured | unconfigured from the env alone.

Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 04:45:46 -07:00
..