Overview
Onboarding a new family involves creating their directory structure, configuring phone routing, setting up member profiles, and establishing initial communication. Each family is a self-contained workspace underfork/workspace/families/.
The
family_id becomes the directory name (e.g., kano) and is used throughout the system to identify this care network.Directory Structure
Each family follows a consistent structure:Key Files
Maps phone numbers to family members. The runtime uses this to identify who’s texting and what access level they have.
Central care coordination document containing care recipient info, care team roster, schedule, medications, and operational notes. Split into Current (always loaded) and Reference (loaded on demand) sections.
Individual member profiles that personalize agent interactions. Starts sparse and grows through conversation.
Onboarding Steps
Create Family Directory
Create the directory structure for the new family:Choose a meaningful
family_id (typically last name in lowercase, e.g., kano).Create routing.json
Set up phone number mapping with at least one member (typically the primary caregiver):
The
chat_id field is populated automatically after the first message exchange. Leave it empty during initial setup.Create family.md from Template
Use the template at Update the frontmatter with family-specific details:
fork/workspace/families/template/family.md to create the family’s operational document:Establish Initial Chat
Send an initial message via Linq CLI to establish the The command will return a
chat_id:chat_id (UUID format).Phone Resolution Flow
When a message arrives, the system resolves the sender:The
chat_id resolution is preferred because phone numbers can change or be shared. Always establish chat_id for reliable member identification.Cold Start Philosophy
CareSupport uses a “cold start” approach for new families:- Minimal data entry during onboarding
- Care details learned naturally through conversation
- Agent updates profiles and family.md via
member_updatesfield - Reduces upfront friction and captures real-world context
Verification Checklist
After onboarding, verify:- Directory structure exists:
families/{family_id}/members/ -
routing.jsonhas at least one member with valid phone -
family.mdhas correct frontmatter (family_id, primary_caregiver) - Member profile(s) created in
members/directory - Initial message sent and
chat_idobtained -
chat_idadded to member’s routing.json entry - Member can send/receive messages successfully
Next Steps
Add Family Members
Learn how to add additional family members, caregivers, and supporters to the care team.
Configure Phone Routing
Deep dive into routing.json schema and phone number mapping.
Set Access Controls
Configure role-based access levels to protect sensitive information.