carefold 0.5.0b1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- carefold-0.5.0b1/.gitignore +266 -0
- carefold-0.5.0b1/PKG-INFO +282 -0
- carefold-0.5.0b1/README.md +233 -0
- carefold-0.5.0b1/hatch_build.py +40 -0
- carefold-0.5.0b1/pyproject.toml +100 -0
- carefold-0.5.0b1/src/carefold/__init__.py +304 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/document-extractor/README.md +14 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/document-extractor/agent.yaml +27 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/document-extractor/persona.md +12 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/document-extractor/starters.json +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/orchestrator/README.md +13 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/orchestrator/agent.yaml +24 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/orchestrator/persona.md +17 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/orchestrator/starters.json +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/quality-reviewer/README.md +39 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/quality-reviewer/agent.yaml +35 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/quality-reviewer/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/quality-reviewer/persona.md +18 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/quality-reviewer/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/skill-generator/README.md +10 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/skill-generator/agent.yaml +23 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/skill-generator/persona.md +16 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/skill-generator/starters.json +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/suggestion-generator/agent.yaml +22 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/suggestion-generator/persona.md +10 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/suggestion-generator/starters.json +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/triage-auditor/README.md +46 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/triage-auditor/agent.yaml +35 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/triage-auditor/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/triage-auditor/persona.md +18 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_system/triage-auditor/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_template/README.md +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_template/agent.yaml +25 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_template/evals/golden.jsonl +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_template/metadata.yaml +38 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_template/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/_template/starters.json +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/benefits-guide/README.md +30 -0
- carefold-0.5.0b1/src/carefold/_content/agents/benefits-guide/agent.yaml +26 -0
- carefold-0.5.0b1/src/carefold/_content/agents/benefits-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/benefits-guide/metadata.yaml +37 -0
- carefold-0.5.0b1/src/carefold/_content/agents/benefits-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/benefits-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/cardiology-guide/agent.yaml +28 -0
- carefold-0.5.0b1/src/carefold/_content/agents/cardiology-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/cardiology-guide/metadata.yaml +42 -0
- carefold-0.5.0b1/src/carefold/_content/agents/cardiology-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/cardiology-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/claims-appeals-guide/agent.yaml +28 -0
- carefold-0.5.0b1/src/carefold/_content/agents/claims-appeals-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/claims-appeals-guide/metadata.yaml +39 -0
- carefold-0.5.0b1/src/carefold/_content/agents/claims-appeals-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/claims-appeals-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/derma-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/derma-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/derma-guide/metadata.yaml +43 -0
- carefold-0.5.0b1/src/carefold/_content/agents/derma-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/derma-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/endocrinology-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/endocrinology-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/endocrinology-guide/metadata.yaml +44 -0
- carefold-0.5.0b1/src/carefold/_content/agents/endocrinology-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/endocrinology-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ent-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ent-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ent-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ent-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ent-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/eye-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/eye-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/eye-guide/metadata.yaml +42 -0
- carefold-0.5.0b1/src/carefold/_content/agents/eye-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/eye-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/formulary-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/formulary-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/formulary-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/formulary-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/formulary-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/gastro-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/gastro-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/gastro-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/gastro-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/gastro-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/habit-companion/README.md +30 -0
- carefold-0.5.0b1/src/carefold/_content/agents/habit-companion/agent.yaml +25 -0
- carefold-0.5.0b1/src/carefold/_content/agents/habit-companion/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/habit-companion/metadata.yaml +35 -0
- carefold-0.5.0b1/src/carefold/_content/agents/habit-companion/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/habit-companion/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/hematology-guide/agent.yaml +31 -0
- carefold-0.5.0b1/src/carefold/_content/agents/hematology-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/hematology-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/hematology-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/hematology-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/nephrology-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/nephrology-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/nephrology-guide/metadata.yaml +45 -0
- carefold-0.5.0b1/src/carefold/_content/agents/nephrology-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/nephrology-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/neurology-guide/agent.yaml +28 -0
- carefold-0.5.0b1/src/carefold/_content/agents/neurology-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/neurology-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/neurology-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/neurology-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oncology-navigator/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oncology-navigator/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oncology-navigator/metadata.yaml +42 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oncology-navigator/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oncology-navigator/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oral-health-guide/agent.yaml +31 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oral-health-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oral-health-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oral-health-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/oral-health-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ortho-guide/agent.yaml +28 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ortho-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ortho-guide/metadata.yaml +43 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ortho-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/ortho-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/podiatry-guide/agent.yaml +31 -0
- carefold-0.5.0b1/src/carefold/_content/agents/podiatry-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/podiatry-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/podiatry-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/podiatry-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/prior-auth-navigator/agent.yaml +28 -0
- carefold-0.5.0b1/src/carefold/_content/agents/prior-auth-navigator/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/prior-auth-navigator/metadata.yaml +40 -0
- carefold-0.5.0b1/src/carefold/_content/agents/prior-auth-navigator/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/prior-auth-navigator/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/pulmonology-guide/agent.yaml +28 -0
- carefold-0.5.0b1/src/carefold/_content/agents/pulmonology-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/pulmonology-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/pulmonology-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/pulmonology-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/records-coordinator/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/records-coordinator/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/records-coordinator/metadata.yaml +42 -0
- carefold-0.5.0b1/src/carefold/_content/agents/records-coordinator/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/records-coordinator/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/rheuma-guide/agent.yaml +29 -0
- carefold-0.5.0b1/src/carefold/_content/agents/rheuma-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/rheuma-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/rheuma-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/rheuma-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/urology-guide/agent.yaml +28 -0
- carefold-0.5.0b1/src/carefold/_content/agents/urology-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/urology-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/urology-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/urology-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/vascular-guide/agent.yaml +31 -0
- carefold-0.5.0b1/src/carefold/_content/agents/vascular-guide/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/vascular-guide/metadata.yaml +41 -0
- carefold-0.5.0b1/src/carefold/_content/agents/vascular-guide/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/vascular-guide/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/agents/visit-steward/README.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/agents/visit-steward/agent.yaml +27 -0
- carefold-0.5.0b1/src/carefold/_content/agents/visit-steward/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/agents/visit-steward/metadata.yaml +36 -0
- carefold-0.5.0b1/src/carefold/_content/agents/visit-steward/persona.md +5 -0
- carefold-0.5.0b1/src/carefold/_content/agents/visit-steward/starters.json +7 -0
- carefold-0.5.0b1/src/carefold/_content/skills/_template/SKILL.md +70 -0
- carefold-0.5.0b1/src/carefold/_content/skills/_template/evals/golden.jsonl +5 -0
- carefold-0.5.0b1/src/carefold/_content/skills/_template/references/README.md +13 -0
- carefold-0.5.0b1/src/carefold/_content/skills/benefits-explainer/SKILL.md +74 -0
- carefold-0.5.0b1/src/carefold/_content/skills/benefits-explainer/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/benefits-explainer/references/EOB_explanation.md +84 -0
- carefold-0.5.0b1/src/carefold/_content/skills/benefits-explainer/references/checklist.md +82 -0
- carefold-0.5.0b1/src/carefold/_content/skills/benefits-explainer/references/coinsurance.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/benefits-explainer/references/glossary.md +42 -0
- carefold-0.5.0b1/src/carefold/_content/skills/cardiology-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/cardiology-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/cardiology-prep/references/cardiology_visit_agenda.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/cardiology-prep/references/hypertension_log_template.md +34 -0
- carefold-0.5.0b1/src/carefold/_content/skills/cardiology-prep/references/red_flag_warning_protocol.md +20 -0
- carefold-0.5.0b1/src/carefold/_content/skills/claims-appeals-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/claims-appeals-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/claims-appeals-prep/references/appeal_letter_structure_and_evidence_checklist.md +49 -0
- carefold-0.5.0b1/src/carefold/_content/skills/claims-appeals-prep/references/claim_denial_code_interpreter.md +40 -0
- carefold-0.5.0b1/src/carefold/_content/skills/claims-appeals-prep/references/erisa_and_external_appeal_timeline_guide.md +48 -0
- carefold-0.5.0b1/src/carefold/_content/skills/clinical-safety-boundaries/SKILL.md +66 -0
- carefold-0.5.0b1/src/carefold/_content/skills/clinical-safety-boundaries/evals/golden.jsonl +5 -0
- carefold-0.5.0b1/src/carefold/_content/skills/clinical-safety-boundaries/references/non_clinical_boundaries.md +20 -0
- carefold-0.5.0b1/src/carefold/_content/skills/clinical-safety-boundaries/references/prescribing_and_dosage_safeguards.md +18 -0
- carefold-0.5.0b1/src/carefold/_content/skills/derma-prep/SKILL.md +77 -0
- carefold-0.5.0b1/src/carefold/_content/skills/derma-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/derma-prep/references/dermatology_body_map_worksheet.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/derma-prep/references/lesion_abcde_tracking_guide.md +23 -0
- carefold-0.5.0b1/src/carefold/_content/skills/derma-prep/references/rash_and_flareup_documentation_protocol.md +34 -0
- carefold-0.5.0b1/src/carefold/_content/skills/emergency-red-flags/SKILL.md +66 -0
- carefold-0.5.0b1/src/carefold/_content/skills/emergency-red-flags/evals/golden.jsonl +5 -0
- carefold-0.5.0b1/src/carefold/_content/skills/emergency-red-flags/references/acute_red_flags_directory.md +27 -0
- carefold-0.5.0b1/src/carefold/_content/skills/emergency-red-flags/references/emergency_escalation_protocol.md +13 -0
- carefold-0.5.0b1/src/carefold/_content/skills/endocrinology-prep/SKILL.md +77 -0
- carefold-0.5.0b1/src/carefold/_content/skills/endocrinology-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/endocrinology-prep/references/cgm_and_glucose_log_summary.md +28 -0
- carefold-0.5.0b1/src/carefold/_content/skills/endocrinology-prep/references/endocrinology_visit_checklist.md +24 -0
- carefold-0.5.0b1/src/carefold/_content/skills/endocrinology-prep/references/thyroid_and_metabolic_question_bank.md +38 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ent-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ent-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ent-prep/references/sinusitis_and_nasal_symptom_tracker.md +40 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ent-prep/references/tinnitus_and_hearing_test_prep_guide.md +32 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ent-prep/references/vertigo_and_dizziness_episode_log.md +35 -0
- carefold-0.5.0b1/src/carefold/_content/skills/formulary-navigation/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/formulary-navigation/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/formulary-navigation/references/copay_assistance_and_foundation_directory.md +41 -0
- carefold-0.5.0b1/src/carefold/_content/skills/formulary-navigation/references/formulary_tier_and_cost_breakdown_guide.md +27 -0
- carefold-0.5.0b1/src/carefold/_content/skills/formulary-navigation/references/generic_and_therapeutic_alternative_discussion_agenda.md +37 -0
- carefold-0.5.0b1/src/carefold/_content/skills/gastro-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/gastro-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/gastro-prep/references/colonoscopy_endoscopy_prep_checklist.md +24 -0
- carefold-0.5.0b1/src/carefold/_content/skills/gastro-prep/references/gi_consultation_questions.md +18 -0
- carefold-0.5.0b1/src/carefold/_content/skills/gastro-prep/references/ibs_ibd_food_symptom_journal.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/habit-checkin/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/habit-checkin/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/hematology-prep/SKILL.md +79 -0
- carefold-0.5.0b1/src/carefold/_content/skills/hematology-prep/evals/golden.jsonl +8 -0
- carefold-0.5.0b1/src/carefold/_content/skills/hematology-prep/references/anemia_symptom_log.md +33 -0
- carefold-0.5.0b1/src/carefold/_content/skills/hematology-prep/references/hematology_visit_agenda.md +55 -0
- carefold-0.5.0b1/src/carefold/_content/skills/hematology-prep/references/infusion_followup_log.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/hematology-prep/references/red_flag_warning_protocol.md +24 -0
- carefold-0.5.0b1/src/carefold/_content/skills/nephrology-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/nephrology-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/nephrology-prep/references/fluid_and_sodium_tracking_worksheet.md +35 -0
- carefold-0.5.0b1/src/carefold/_content/skills/nephrology-prep/references/nephrology_appointment_agenda.md +27 -0
- carefold-0.5.0b1/src/carefold/_content/skills/nephrology-prep/references/renal_lab_interpretation_guide.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/neurology-prep/SKILL.md +77 -0
- carefold-0.5.0b1/src/carefold/_content/skills/neurology-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/neurology-prep/references/cognitive_symptom_timeline.md +25 -0
- carefold-0.5.0b1/src/carefold/_content/skills/neurology-prep/references/migraine_headache_diary_template.md +28 -0
- carefold-0.5.0b1/src/carefold/_content/skills/neurology-prep/references/neurological_exam_prep_checklist.md +23 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oncology-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oncology-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oncology-prep/references/chemotherapy_side_effect_tracker.md +51 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oncology-prep/references/clinical_trial_discussion_checklist.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oncology-prep/references/multidisciplinary_tumor_board_agenda.md +37 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oral-health-prep/SKILL.md +78 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oral-health-prep/evals/golden.jsonl +8 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oral-health-prep/references/daily_oral_care_log.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oral-health-prep/references/oral_health_visit_agenda.md +49 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oral-health-prep/references/red_flag_warning_protocol.md +22 -0
- carefold-0.5.0b1/src/carefold/_content/skills/oral-health-prep/references/symptom_tracking_log.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ortho-prep/SKILL.md +77 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ortho-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ortho-prep/references/joint_mobility_and_pain_tracker.md +42 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ortho-prep/references/orthopedic_surgery_consultation_guide.md +28 -0
- carefold-0.5.0b1/src/carefold/_content/skills/ortho-prep/references/physical_therapy_progress_log.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/podiatry-prep/SKILL.md +78 -0
- carefold-0.5.0b1/src/carefold/_content/skills/podiatry-prep/evals/golden.jsonl +8 -0
- carefold-0.5.0b1/src/carefold/_content/skills/podiatry-prep/references/diabetic_foot_check_log.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/podiatry-prep/references/gait_mobility_log.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/podiatry-prep/references/podiatry_visit_agenda.md +57 -0
- carefold-0.5.0b1/src/carefold/_content/skills/podiatry-prep/references/red_flag_warning_protocol.md +21 -0
- carefold-0.5.0b1/src/carefold/_content/skills/preventive-care/SKILL.md +84 -0
- carefold-0.5.0b1/src/carefold/_content/skills/preventive-care/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/preventive-care/references/adult_uspstf.yaml +177 -0
- carefold-0.5.0b1/src/carefold/_content/skills/preventive-care/references/pediatric_immunisations.yaml +303 -0
- carefold-0.5.0b1/src/carefold/_content/skills/prior-auth-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/prior-auth-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/prior-auth-prep/references/peer_to_peer_preparation_sheet.md +35 -0
- carefold-0.5.0b1/src/carefold/_content/skills/prior-auth-prep/references/prior_authorization_checklist.md +30 -0
- carefold-0.5.0b1/src/carefold/_content/skills/prior-auth-prep/references/step_therapy_appeal_workflow.md +30 -0
- carefold-0.5.0b1/src/carefold/_content/skills/pulmonology-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/pulmonology-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/pulmonology-prep/references/asthma_copd_action_plan_guide.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/pulmonology-prep/references/dyspnea_symptom_tracker.md +34 -0
- carefold-0.5.0b1/src/carefold/_content/skills/pulmonology-prep/references/inhaler_technique_and_adherence_checklist.md +23 -0
- carefold-0.5.0b1/src/carefold/_content/skills/records-management/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/records-management/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/records-management/references/hipaa_records_request_template.md +60 -0
- carefold-0.5.0b1/src/carefold/_content/skills/records-management/references/longitudinal_lab_trend_worksheet.md +38 -0
- carefold-0.5.0b1/src/carefold/_content/skills/records-management/references/multiprovider_clinical_dossier_structure.md +37 -0
- carefold-0.5.0b1/src/carefold/_content/skills/rheuma-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/rheuma-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/rheuma-prep/references/autoimmune_flare_log_template.md +51 -0
- carefold-0.5.0b1/src/carefold/_content/skills/rheuma-prep/references/biologic_therapy_monitoring_guide.md +36 -0
- carefold-0.5.0b1/src/carefold/_content/skills/rheuma-prep/references/morning_stiffness_and_fatigue_timer.md +38 -0
- carefold-0.5.0b1/src/carefold/_content/skills/urology-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/urology-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/urology-prep/references/prostate_health_and_psa_discussion_guide.md +32 -0
- carefold-0.5.0b1/src/carefold/_content/skills/urology-prep/references/urology_appointment_checklist.md +36 -0
- carefold-0.5.0b1/src/carefold/_content/skills/urology-prep/references/voiding_diary_and_volume_chart.md +41 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vascular-prep/SKILL.md +78 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vascular-prep/evals/golden.jsonl +8 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vascular-prep/references/claudication_log_template.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vascular-prep/references/leg_swelling_log.md +31 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vascular-prep/references/red_flag_warning_protocol.md +21 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vascular-prep/references/vascular_visit_agenda.md +49 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vision-prep/SKILL.md +76 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vision-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vision-prep/references/amsler_grid_and_vision_change_log.md +38 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vision-prep/references/cataract_and_eye_surgery_prep_guide.md +39 -0
- carefold-0.5.0b1/src/carefold/_content/skills/vision-prep/references/glaucoma_pressure_and_drop_tracker.md +45 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/SKILL.md +89 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/evals/golden.jsonl +6 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/appointment_questions.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/asthma_checklist.md +27 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/checklist.md +25 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/coinsurance_vs_copay.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/hydration_checklist.md +27 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/hypertension_appointment_questions.md +26 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/questions_guide.md +34 -0
- carefold-0.5.0b1/src/carefold/_content/skills/visit-prep/references/symptom_log_template.md +80 -0
- carefold-0.5.0b1/src/carefold/agents/__init__.py +16 -0
- carefold-0.5.0b1/src/carefold/agents/registry.py +284 -0
- carefold-0.5.0b1/src/carefold/api/__init__.py +16 -0
- carefold-0.5.0b1/src/carefold/api/activity.py +189 -0
- carefold-0.5.0b1/src/carefold/api/admin.py +392 -0
- carefold-0.5.0b1/src/carefold/api/agents.py +948 -0
- carefold-0.5.0b1/src/carefold/api/appointments.py +30 -0
- carefold-0.5.0b1/src/carefold/api/approvals.py +417 -0
- carefold-0.5.0b1/src/carefold/api/attachments.py +675 -0
- carefold-0.5.0b1/src/carefold/api/audit.py +212 -0
- carefold-0.5.0b1/src/carefold/api/auth.py +332 -0
- carefold-0.5.0b1/src/carefold/api/chat.py +369 -0
- carefold-0.5.0b1/src/carefold/api/companion.py +30 -0
- carefold-0.5.0b1/src/carefold/api/connections.py +703 -0
- carefold-0.5.0b1/src/carefold/api/coordinated.py +30 -0
- carefold-0.5.0b1/src/carefold/api/deps.py +32 -0
- carefold-0.5.0b1/src/carefold/api/email_drafts.py +480 -0
- carefold-0.5.0b1/src/carefold/api/handover.py +30 -0
- carefold-0.5.0b1/src/carefold/api/health.py +133 -0
- carefold-0.5.0b1/src/carefold/api/i18n.py +134 -0
- carefold-0.5.0b1/src/carefold/api/imports.py +30 -0
- carefold-0.5.0b1/src/carefold/api/memory.py +458 -0
- carefold-0.5.0b1/src/carefold/api/models.py +154 -0
- carefold-0.5.0b1/src/carefold/api/notes.py +1318 -0
- carefold-0.5.0b1/src/carefold/api/prep_pack.py +30 -0
- carefold-0.5.0b1/src/carefold/api/preventive.py +30 -0
- carefold-0.5.0b1/src/carefold/api/profiles.py +1388 -0
- carefold-0.5.0b1/src/carefold/api/reminders.py +829 -0
- carefold-0.5.0b1/src/carefold/api/router.py +134 -0
- carefold-0.5.0b1/src/carefold/api/routines.py +376 -0
- carefold-0.5.0b1/src/carefold/api/school_forms.py +30 -0
- carefold-0.5.0b1/src/carefold/api/search.py +131 -0
- carefold-0.5.0b1/src/carefold/api/skills.py +762 -0
- carefold-0.5.0b1/src/carefold/api/vitals.py +30 -0
- carefold-0.5.0b1/src/carefold/audit/__init__.py +30 -0
- carefold-0.5.0b1/src/carefold/audit/hash_chain.py +258 -0
- carefold-0.5.0b1/src/carefold/audit/logger.py +418 -0
- carefold-0.5.0b1/src/carefold/audit/redaction.py +38 -0
- carefold-0.5.0b1/src/carefold/clinical/__init__.py +122 -0
- carefold-0.5.0b1/src/carefold/clinical/activity.py +449 -0
- carefold-0.5.0b1/src/carefold/clinical/appointments.py +374 -0
- carefold-0.5.0b1/src/carefold/clinical/bmi.py +204 -0
- carefold-0.5.0b1/src/carefold/clinical/email_drafts.py +25 -0
- carefold-0.5.0b1/src/carefold/clinical/handover.py +475 -0
- carefold-0.5.0b1/src/carefold/clinical/notes.py +234 -0
- carefold-0.5.0b1/src/carefold/clinical/prep_pack.py +620 -0
- carefold-0.5.0b1/src/carefold/clinical/preventive.py +1016 -0
- carefold-0.5.0b1/src/carefold/clinical/reminders.py +23 -0
- carefold-0.5.0b1/src/carefold/clinical/routines.py +20 -0
- carefold-0.5.0b1/src/carefold/clinical/school_forms.py +687 -0
- carefold-0.5.0b1/src/carefold/clinical/school_ics.py +507 -0
- carefold-0.5.0b1/src/carefold/clinical/smart_scheduling.py +332 -0
- carefold-0.5.0b1/src/carefold/clinical/undo.py +562 -0
- carefold-0.5.0b1/src/carefold/clinical/vitals.py +434 -0
- carefold-0.5.0b1/src/carefold/companion/__init__.py +50 -0
- carefold-0.5.0b1/src/carefold/companion/pairing.py +483 -0
- carefold-0.5.0b1/src/carefold/companion/sync.py +888 -0
- carefold-0.5.0b1/src/carefold/config.py +332 -0
- carefold-0.5.0b1/src/carefold/conformance/__init__.py +27 -0
- carefold-0.5.0b1/src/carefold/conformance/fixtures/__init__.py +28 -0
- carefold-0.5.0b1/src/carefold/conformance/fixtures/health_fixture.py +125 -0
- carefold-0.5.0b1/src/carefold/conformance/fixtures/synthetic_finance.py +140 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/__init__.py +55 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/base.py +40 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_01_orm.py +144 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_02_cas.py +121 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_03_fts5.py +104 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_04_memory.py +103 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_05_vault.py +133 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_06_tool_gate.py +95 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_07_prompt.py +66 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_08_api.py +95 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_09_export.py +73 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_10_audit.py +109 -0
- carefold-0.5.0b1/src/carefold/conformance/layers/layer_11_redaction.py +76 -0
- carefold-0.5.0b1/src/carefold/conformance/models.py +58 -0
- carefold-0.5.0b1/src/carefold/conformance/protocol.py +37 -0
- carefold-0.5.0b1/src/carefold/conformance/runner.py +193 -0
- carefold-0.5.0b1/src/carefold/connectors/__init__.py +58 -0
- carefold-0.5.0b1/src/carefold/connectors/calendar.py +428 -0
- carefold-0.5.0b1/src/carefold/connectors/ehr_smart_v2.py +604 -0
- carefold-0.5.0b1/src/carefold/connectors/epic_smart.py +352 -0
- carefold-0.5.0b1/src/carefold/connectors/gmail_mcp.py +762 -0
- carefold-0.5.0b1/src/carefold/connectors/lifecycle.py +859 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/athenahealth.yaml +76 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/caldav.yaml +66 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/cms_blue_button.yaml +65 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/epic_smart.yaml +101 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/google_calendar.yaml +70 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/google_health.yaml +62 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/google_workspace_gmail.yaml +91 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/microsoft_graph.yaml +64 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/oracle_health.yaml +76 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/oura.yaml +60 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/withings.yaml +62 -0
- carefold-0.5.0b1/src/carefold/connectors/manifests/zocdoc.yaml +71 -0
- carefold-0.5.0b1/src/carefold/connectors/mcp_remote.py +441 -0
- carefold-0.5.0b1/src/carefold/connectors/oauth.py +643 -0
- carefold-0.5.0b1/src/carefold/connectors/relay.py +249 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/__init__.py +30 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/calendar.py +428 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/ehr_smart_v2.py +604 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/epic_smart.py +352 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/athenahealth.yaml +76 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/caldav.yaml +66 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/cms_blue_button.yaml +65 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/epic_smart.yaml +101 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/google_calendar.yaml +70 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/google_health.yaml +62 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/google_workspace_gmail.yaml +91 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/microsoft_graph.yaml +64 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/oracle_health.yaml +76 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/oura.yaml +60 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/withings.yaml +62 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/manifests/zocdoc.yaml +71 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/wearables_v2.py +830 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/withings.py +412 -0
- carefold-0.5.0b1/src/carefold/connectors/starters/zocdoc.py +350 -0
- carefold-0.5.0b1/src/carefold/connectors/sync.py +590 -0
- carefold-0.5.0b1/src/carefold/connectors/wearables_v2.py +830 -0
- carefold-0.5.0b1/src/carefold/connectors/withings.py +412 -0
- carefold-0.5.0b1/src/carefold/connectors/zocdoc.py +350 -0
- carefold-0.5.0b1/src/carefold/constants/__init__.py +197 -0
- carefold-0.5.0b1/src/carefold/constants/agents.py +145 -0
- carefold-0.5.0b1/src/carefold/constants/api.py +205 -0
- carefold-0.5.0b1/src/carefold/constants/defaults.py +152 -0
- carefold-0.5.0b1/src/carefold/constants/extraction.py +128 -0
- carefold-0.5.0b1/src/carefold/constants/models.py +117 -0
- carefold-0.5.0b1/src/carefold/constants/paths.py +117 -0
- carefold-0.5.0b1/src/carefold/db/__init__.py +110 -0
- carefold-0.5.0b1/src/carefold/db/base.py +26 -0
- carefold-0.5.0b1/src/carefold/db/health_migrations/__init__.py +12 -0
- carefold-0.5.0b1/src/carefold/db/health_migrations/env.py +111 -0
- carefold-0.5.0b1/src/carefold/db/health_migrations/versions/health_0001_baseline.py +280 -0
- carefold-0.5.0b1/src/carefold/db/migrations/env.py +132 -0
- carefold-0.5.0b1/src/carefold/db/migrations/script.py.mako +41 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0001_baseline_schema.py +352 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0002_autonomy_foundations.py +186 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0003_household_profiles_and_audit.py +147 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0004_policy_gate_and_vault.py +234 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0005_clinical_domain_records.py +196 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0006_preventive_and_school_forms.py +137 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0007_connectors_and_consent.py +161 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0008_routines_mcp_and_drafts.py +229 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0009_companion_and_handover.py +103 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0010_i18n_and_locale_storage.py +165 -0
- carefold-0.5.0b1/src/carefold/db/migrations/versions/0011_scopes.py +282 -0
- carefold-0.5.0b1/src/carefold/db/models.py +106 -0
- carefold-0.5.0b1/src/carefold/db/scoped_session.py +185 -0
- carefold-0.5.0b1/src/carefold/db/seeding.py +308 -0
- carefold-0.5.0b1/src/carefold/db/session.py +730 -0
- carefold-0.5.0b1/src/carefold/dossiers/__init__.py +20 -0
- carefold-0.5.0b1/src/carefold/dossiers/clinical_visit.py +46 -0
- carefold-0.5.0b1/src/carefold/dossiers/insurance_benefits.py +54 -0
- carefold-0.5.0b1/src/carefold/engine/__init__.py +40 -0
- carefold-0.5.0b1/src/carefold/engine/agent_factory.py +125 -0
- carefold-0.5.0b1/src/carefold/engine/builder.py +899 -0
- carefold-0.5.0b1/src/carefold/engine/graph.py +575 -0
- carefold-0.5.0b1/src/carefold/engine/job_runner.py +1370 -0
- carefold-0.5.0b1/src/carefold/engine/prompt_builder.py +118 -0
- carefold-0.5.0b1/src/carefold/engine/runner.py +91 -0
- carefold-0.5.0b1/src/carefold/engine/safety_policy.py +153 -0
- carefold-0.5.0b1/src/carefold/engine/service.py +1342 -0
- carefold-0.5.0b1/src/carefold/engine/tool_exec.py +30 -0
- carefold-0.5.0b1/src/carefold/engine/tool_registry.py +1572 -0
- carefold-0.5.0b1/src/carefold/evals/golden.jsonl +43 -0
- carefold-0.5.0b1/src/carefold/i18n/__init__.py +54 -0
- carefold-0.5.0b1/src/carefold/i18n/catalog.py +366 -0
- carefold-0.5.0b1/src/carefold/i18n/locale.py +222 -0
- carefold-0.5.0b1/src/carefold/importers/__init__.py +72 -0
- carefold-0.5.0b1/src/carefold/importers/apple_health.py +683 -0
- carefold-0.5.0b1/src/carefold/importers/ccda.py +438 -0
- carefold-0.5.0b1/src/carefold/importers/fhir_bundle.py +326 -0
- carefold-0.5.0b1/src/carefold/importers/fhir_converter.py +507 -0
- carefold-0.5.0b1/src/carefold/importers/iis_pdf.py +308 -0
- carefold-0.5.0b1/src/carefold/importers/service.py +538 -0
- carefold-0.5.0b1/src/carefold/importers/smart_health_card.py +683 -0
- carefold-0.5.0b1/src/carefold/loaders/__init__.py +56 -0
- carefold-0.5.0b1/src/carefold/loaders/agent_loader.py +499 -0
- carefold-0.5.0b1/src/carefold/loaders/context_loader.py +146 -0
- carefold-0.5.0b1/src/carefold/loaders/frontmatter.py +85 -0
- carefold-0.5.0b1/src/carefold/loaders/skill_loader.py +326 -0
- carefold-0.5.0b1/src/carefold/loaders/union.py +64 -0
- carefold-0.5.0b1/src/carefold/logging.py +127 -0
- carefold-0.5.0b1/src/carefold/main.py +169 -0
- carefold-0.5.0b1/src/carefold/middleware/__init__.py +30 -0
- carefold-0.5.0b1/src/carefold/middleware/clinical_safety.py +231 -0
- carefold-0.5.0b1/src/carefold/middleware/skills.py +152 -0
- carefold-0.5.0b1/src/carefold/migration/__init__.py +16 -0
- carefold-0.5.0b1/src/carefold/migration/runtime_migrator.py +579 -0
- carefold-0.5.0b1/src/carefold/model/__init__.py +98 -0
- carefold-0.5.0b1/src/carefold/model/client.py +168 -0
- carefold-0.5.0b1/src/carefold/model/egress.py +295 -0
- carefold-0.5.0b1/src/carefold/model/factory.py +511 -0
- carefold-0.5.0b1/src/carefold/model/providers/__init__.py +117 -0
- carefold-0.5.0b1/src/carefold/model/providers/anthropic_provider.py +191 -0
- carefold-0.5.0b1/src/carefold/model/providers/base.py +119 -0
- carefold-0.5.0b1/src/carefold/model/providers/custom_provider.py +207 -0
- carefold-0.5.0b1/src/carefold/model/providers/google_provider.py +179 -0
- carefold-0.5.0b1/src/carefold/model/providers/ollama_provider.py +231 -0
- carefold-0.5.0b1/src/carefold/model/providers/openai_provider.py +190 -0
- carefold-0.5.0b1/src/carefold/model/types.py +68 -0
- carefold-0.5.0b1/src/carefold/models/__init__.py +32 -0
- carefold-0.5.0b1/src/carefold/models/health.py +856 -0
- carefold-0.5.0b1/src/carefold/pack.yaml +161 -0
- carefold-0.5.0b1/src/carefold/packaging/__init__.py +28 -0
- carefold-0.5.0b1/src/carefold/packaging/service.py +178 -0
- carefold-0.5.0b1/src/carefold/platform/__init__.py +62 -0
- carefold-0.5.0b1/src/carefold/platform/email_drafts.py +295 -0
- carefold-0.5.0b1/src/carefold/platform/reminders.py +567 -0
- carefold-0.5.0b1/src/carefold/platform/routines.py +743 -0
- carefold-0.5.0b1/src/carefold/resources/__init__.py +31 -0
- carefold-0.5.0b1/src/carefold/resources/db_tools.yaml +506 -0
- carefold-0.5.0b1/src/carefold/resources/disclaimers.yaml +54 -0
- carefold-0.5.0b1/src/carefold/resources/errors.yaml +189 -0
- carefold-0.5.0b1/src/carefold/resources/loader.py +557 -0
- carefold-0.5.0b1/src/carefold/resources/locales/ar-SA.json +371 -0
- carefold-0.5.0b1/src/carefold/resources/locales/en-US.json +371 -0
- carefold-0.5.0b1/src/carefold/resources/locales/es-ES.json +371 -0
- carefold-0.5.0b1/src/carefold/resources/locales/fr-FR.json +371 -0
- carefold-0.5.0b1/src/carefold/resources/locales/hi-IN.json +371 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/extraction/clinical_visit.md +7 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/extraction/generic_document.md +4 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/extraction/grounding_validation.md +1 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/extraction/insurance_benefits.md +8 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/orchestrator/system_prompt.md +29 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/reflection/system_prompt.md +9 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/safety/safety_preamble.md +19 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/suggestions/generation.md +18 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/suggestions/suggestions.yaml +328 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/system/capabilities_section_header.md +1 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/system/persona_section_header.md +1 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/system/scaffold.yaml +6 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/system/skill_section_format.md +2 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/system/skills_section_header.md +1 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/system/tools_summary_none.md +1 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/system/tools_summary_sandboxed.md +1 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/templates/agent_execution_prompt.hbs +70 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/templates/orchestrator_routing_prompt.hbs +12 -0
- carefold-0.5.0b1/src/carefold/resources/prompts/templates/system_prompt.hbs +30 -0
- carefold-0.5.0b1/src/carefold/resources/prompts.yaml +47 -0
- carefold-0.5.0b1/src/carefold/resources/refusal_patterns.yaml +350 -0
- carefold-0.5.0b1/src/carefold/resources/routing_patterns.yaml +140 -0
- carefold-0.5.0b1/src/carefold/resources/vitals_thresholds.yaml +112 -0
- carefold-0.5.0b1/src/carefold/routers/__init__.py +57 -0
- carefold-0.5.0b1/src/carefold/routers/appointments.py +733 -0
- carefold-0.5.0b1/src/carefold/routers/companion.py +483 -0
- carefold-0.5.0b1/src/carefold/routers/coordinated.py +411 -0
- carefold-0.5.0b1/src/carefold/routers/handover.py +217 -0
- carefold-0.5.0b1/src/carefold/routers/imports.py +296 -0
- carefold-0.5.0b1/src/carefold/routers/prep_pack.py +218 -0
- carefold-0.5.0b1/src/carefold/routers/preventive.py +327 -0
- carefold-0.5.0b1/src/carefold/routers/school_forms.py +453 -0
- carefold-0.5.0b1/src/carefold/routers/vitals.py +676 -0
- carefold-0.5.0b1/src/carefold/safety/__init__.py +47 -0
- carefold-0.5.0b1/src/carefold/safety/classifier.py +241 -0
- carefold-0.5.0b1/src/carefold/safety/emergency.py +184 -0
- carefold-0.5.0b1/src/carefold/safety/policy.py +86 -0
- carefold-0.5.0b1/src/carefold/safety/prompt.py +53 -0
- carefold-0.5.0b1/src/carefold/safety/template.py +52 -0
- carefold-0.5.0b1/src/carefold/safety/vitals.py +561 -0
- carefold-0.5.0b1/src/carefold/schemas/__init__.py +34 -0
- carefold-0.5.0b1/src/carefold/schemas/activity.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/audit.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/chat.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/health.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/manifest.py +46 -0
- carefold-0.5.0b1/src/carefold/schemas/memory.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/notes.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/plan.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/profiles.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/routing.py +30 -0
- carefold-0.5.0b1/src/carefold/schemas/tool.py +30 -0
- carefold-0.5.0b1/src/carefold/search/__init__.py +57 -0
- carefold-0.5.0b1/src/carefold/search/adapters/__init__.py +35 -0
- carefold-0.5.0b1/src/carefold/search/adapters/spector.py +31 -0
- carefold-0.5.0b1/src/carefold/search/adapters/sqlite.py +31 -0
- carefold-0.5.0b1/src/carefold/search/base.py +30 -0
- carefold-0.5.0b1/src/carefold/search/chunker.py +471 -0
- carefold-0.5.0b1/src/carefold/search/factory.py +30 -0
- carefold-0.5.0b1/src/carefold/search/reranker.py +185 -0
- carefold-0.5.0b1/src/carefold/storage/__init__.py +46 -0
- carefold-0.5.0b1/src/carefold/storage/adapters/__init__.py +16 -0
- carefold-0.5.0b1/src/carefold/storage/adapters/local_adapter.py +540 -0
- carefold-0.5.0b1/src/carefold/storage/cas.py +197 -0
- carefold-0.5.0b1/src/carefold/storage/extract.py +548 -0
- carefold-0.5.0b1/src/carefold/storage/factory.py +124 -0
- carefold-0.5.0b1/src/carefold/storage/ports/__init__.py +30 -0
- carefold-0.5.0b1/src/carefold/storage/ports/storage_port.py +262 -0
- carefold-0.5.0b1/src/carefold/templates/__init__.py +26 -0
- carefold-0.5.0b1/src/carefold/templates/engine.py +183 -0
- carefold-0.5.0b1/src/carefold/templates/helpers.py +90 -0
- carefold-0.5.0b1/src/carefold/tools/__init__.py +98 -0
- carefold-0.5.0b1/src/carefold/tools/appointments.py +531 -0
- carefold-0.5.0b1/src/carefold/tools/attach_read.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/attachments.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/connectors.py +287 -0
- carefold-0.5.0b1/src/carefold/tools/delegation_tools.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/extraction_tools.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/imports.py +240 -0
- carefold-0.5.0b1/src/carefold/tools/mcp_db_toolbox.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/notes.py +270 -0
- carefold-0.5.0b1/src/carefold/tools/prep_pack.py +132 -0
- carefold-0.5.0b1/src/carefold/tools/preventive.py +283 -0
- carefold-0.5.0b1/src/carefold/tools/record_vitals.py +265 -0
- carefold-0.5.0b1/src/carefold/tools/registry.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/reminders.py +33 -0
- carefold-0.5.0b1/src/carefold/tools/sandbox.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/school_forms.py +256 -0
- carefold-0.5.0b1/src/carefold/tools/search_records.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/skill_docs.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/web_search.py +30 -0
- carefold-0.5.0b1/src/carefold/tools/workspace_note.py +30 -0
- carefold-0.5.0b1/src/carefold/vault/__init__.py +66 -0
- carefold-0.5.0b1/src/carefold/vault/crypto.py +108 -0
- carefold-0.5.0b1/src/carefold/vault/dek.py +422 -0
- carefold-0.5.0b1/src/carefold/vault/errors.py +42 -0
- carefold-0.5.0b1/src/carefold/vault/kek.py +220 -0
- carefold-0.5.0b1/src/carefold/workflows/__init__.py +40 -0
- carefold-0.5.0b1/src/carefold/workflows/dispatcher.py +335 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/__init__.py +56 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/agent.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/agent_execution_node.py +577 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/agent_node.py +190 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/audit.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/audit_node.py +104 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/base.py +209 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/error.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/error_node.py +78 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/input_guardrail.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/input_guardrail_node.py +222 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/orchestrator_node.py +1155 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/output_guardrail.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/output_guardrail_node.py +114 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/reflection.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/reflection_node.py +73 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/refusal.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/refusal_node.py +59 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/response_synthesizer_node.py +302 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/skill_generator_node.py +591 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/suggestion.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/suggestion_node.py +165 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/supervisor.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/supervisor_node.py +45 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/tool.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/tool_execution.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/tool_node.py +471 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/tool_validator.py +16 -0
- carefold-0.5.0b1/src/carefold/workflows/nodes/tool_validator_node.py +92 -0
- carefold-0.5.0b1/src/carefold/workflows/state.py +352 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/__init__.py +47 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/extraction/__init__.py +51 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/extraction/dossiers.py +48 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/extraction/graph.py +30 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/extraction/grounding.py +30 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/extraction/sanitizer.py +30 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/extraction/subgraph.py +30 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/extraction/tool.py +30 -0
- carefold-0.5.0b1/src/carefold/workflows/subgraphs/supervisor.py +460 -0
- carefold-0.5.0b1/tests/__init__.py +12 -0
- carefold-0.5.0b1/tests/conftest.py +268 -0
- carefold-0.5.0b1/tests/connectors/fixtures/__init__.py +16 -0
- carefold-0.5.0b1/tests/connectors/fixtures/dummy_connector.py +179 -0
- carefold-0.5.0b1/tests/connectors/test_manifest.py +145 -0
- carefold-0.5.0b1/tests/connectors/test_protocol.py +128 -0
- carefold-0.5.0b1/tests/connectors/test_scoped_http.py +122 -0
- carefold-0.5.0b1/tests/e2e/__init__.py +19 -0
- carefold-0.5.0b1/tests/e2e/conftest.py +233 -0
- carefold-0.5.0b1/tests/e2e/contracts_clinical_domain.py +1139 -0
- carefold-0.5.0b1/tests/e2e/test_boundaries.py +510 -0
- carefold-0.5.0b1/tests/e2e/test_clinical_domain_e2e.py +1609 -0
- carefold-0.5.0b1/tests/e2e/test_context_and_safety_gating.py +433 -0
- carefold-0.5.0b1/tests/e2e/test_expansion_specialties.py +1193 -0
- carefold-0.5.0b1/tests/e2e/test_features.py +1962 -0
- carefold-0.5.0b1/tests/e2e/test_generic_provisioning.py +471 -0
- carefold-0.5.0b1/tests/e2e/test_interactions.py +176 -0
- carefold-0.5.0b1/tests/e2e/test_multi_agent_execution.py +461 -0
- carefold-0.5.0b1/tests/e2e/test_persona_purity.py +385 -0
- carefold-0.5.0b1/tests/e2e/test_response_synthesis.py +354 -0
- carefold-0.5.0b1/tests/e2e/test_scenarios.py +213 -0
- carefold-0.5.0b1/tests/e2e_autonomy/__init__.py +12 -0
- carefold-0.5.0b1/tests/e2e_autonomy/conftest.py +96 -0
- carefold-0.5.0b1/tests/e2e_autonomy/contracts.py +663 -0
- carefold-0.5.0b1/tests/e2e_autonomy/test_tier1_policy_approvals_runner.py +470 -0
- carefold-0.5.0b1/tests/e2e_autonomy/test_tier1_vault_tool_registry.py +267 -0
- carefold-0.5.0b1/tests/e2e_autonomy/test_tier2_boundaries_security.py +430 -0
- carefold-0.5.0b1/tests/e2e_autonomy/test_tier3_pairwise_interactions.py +374 -0
- carefold-0.5.0b1/tests/e2e_autonomy/test_tier4_real_world_scenarios.py +339 -0
- carefold-0.5.0b1/tests/fixtures/__init__.py +35 -0
- carefold-0.5.0b1/tests/fixtures/fake_model.py +1249 -0
- carefold-0.5.0b1/tests/health/test_isolated_pack_import.py +108 -0
- carefold-0.5.0b1/tests/health/test_tool_entry_resolution.py +181 -0
- carefold-0.5.0b1/tests/integration/__init__.py +12 -0
- carefold-0.5.0b1/tests/integration/test_ollama_multiturn.py +371 -0
- carefold-0.5.0b1/tests/packaging/test_health_wheel_contents.py +135 -0
- carefold-0.5.0b1/tests/penetration_suite.py +596 -0
- carefold-0.5.0b1/tests/test_activity_api.py +528 -0
- carefold-0.5.0b1/tests/test_activity_timeline.py +707 -0
- carefold-0.5.0b1/tests/test_admin_api.py +328 -0
- carefold-0.5.0b1/tests/test_admin_auth_chat_security.py +666 -0
- carefold-0.5.0b1/tests/test_admin_rbac_security.py +520 -0
- carefold-0.5.0b1/tests/test_admin_specialties.py +525 -0
- carefold-0.5.0b1/tests/test_admin_specialties_stress.py +425 -0
- carefold-0.5.0b1/tests/test_agent_registry.py +192 -0
- carefold-0.5.0b1/tests/test_agent_registry_stress.py +393 -0
- carefold-0.5.0b1/tests/test_agents_crud_api.py +196 -0
- carefold-0.5.0b1/tests/test_alembic_migrations.py +954 -0
- carefold-0.5.0b1/tests/test_api.py +751 -0
- carefold-0.5.0b1/tests/test_api_approvals.py +944 -0
- carefold-0.5.0b1/tests/test_api_attachments_storage.py +152 -0
- carefold-0.5.0b1/tests/test_api_notes_db.py +166 -0
- carefold-0.5.0b1/tests/test_api_profiles_invites.py +347 -0
- carefold-0.5.0b1/tests/test_api_routes_advanced.py +565 -0
- carefold-0.5.0b1/tests/test_api_search.py +352 -0
- carefold-0.5.0b1/tests/test_api_system_agents.py +196 -0
- carefold-0.5.0b1/tests/test_api_versioning_dual_mount.py +347 -0
- carefold-0.5.0b1/tests/test_appointments.py +607 -0
- carefold-0.5.0b1/tests/test_attachment_migrations.py +132 -0
- carefold-0.5.0b1/tests/test_attachment_models.py +140 -0
- carefold-0.5.0b1/tests/test_attachments_api.py +119 -0
- carefold-0.5.0b1/tests/test_audit.py +143 -0
- carefold-0.5.0b1/tests/test_audit_chain_reranker_and_packaging.py +386 -0
- carefold-0.5.0b1/tests/test_audit_logging.py +554 -0
- carefold-0.5.0b1/tests/test_auth_api.py +345 -0
- carefold-0.5.0b1/tests/test_auth_endpoints_security.py +466 -0
- carefold-0.5.0b1/tests/test_auth_ports.py +618 -0
- carefold-0.5.0b1/tests/test_backend_security_stress.py +217 -0
- carefold-0.5.0b1/tests/test_candidate_boundaries_stress.py +274 -0
- carefold-0.5.0b1/tests/test_catalog_api_fuzzing.py +681 -0
- carefold-0.5.0b1/tests/test_catalog_evals.py +430 -0
- carefold-0.5.0b1/tests/test_catalog_port.py +464 -0
- carefold-0.5.0b1/tests/test_catalog_routing.py +1042 -0
- carefold-0.5.0b1/tests/test_category_tree.py +590 -0
- carefold-0.5.0b1/tests/test_client_keys_validation.py +424 -0
- carefold-0.5.0b1/tests/test_clinical_chunker.py +189 -0
- carefold-0.5.0b1/tests/test_clinical_imports.py +550 -0
- carefold-0.5.0b1/tests/test_clinical_models.py +629 -0
- carefold-0.5.0b1/tests/test_clinical_safety_boundaries.py +497 -0
- carefold-0.5.0b1/tests/test_clinical_safety_middleware_stress.py +457 -0
- carefold-0.5.0b1/tests/test_clinical_safety_stress.py +2659 -0
- carefold-0.5.0b1/tests/test_companion_and_handover.py +811 -0
- carefold-0.5.0b1/tests/test_connection_lifecycle_and_consent.py +644 -0
- carefold-0.5.0b1/tests/test_connectors_framework.py +552 -0
- carefold-0.5.0b1/tests/test_contextual_suggestions.py +246 -0
- carefold-0.5.0b1/tests/test_core_organs.py +501 -0
- carefold-0.5.0b1/tests/test_core_organs_stress.py +570 -0
- carefold-0.5.0b1/tests/test_data_scoping.py +510 -0
- carefold-0.5.0b1/tests/test_data_scoping_security.py +643 -0
- carefold-0.5.0b1/tests/test_database_concurrency.py +897 -0
- carefold-0.5.0b1/tests/test_db_models.py +430 -0
- carefold-0.5.0b1/tests/test_db_session.py +232 -0
- carefold-0.5.0b1/tests/test_deepagents_progressive_disclosure_e2e.py +1014 -0
- carefold-0.5.0b1/tests/test_docker_compose_config.py +167 -0
- carefold-0.5.0b1/tests/test_document_extraction.py +957 -0
- carefold-0.5.0b1/tests/test_engine.py +607 -0
- carefold-0.5.0b1/tests/test_engine_builder_service.py +409 -0
- carefold-0.5.0b1/tests/test_engine_registry_stress.py +400 -0
- carefold-0.5.0b1/tests/test_engine_security_hardening.py +819 -0
- carefold-0.5.0b1/tests/test_engine_store_lifecycle.py +580 -0
- carefold-0.5.0b1/tests/test_eval_refusal_fixes.py +145 -0
- carefold-0.5.0b1/tests/test_evals_safety_golden.py +183 -0
- carefold-0.5.0b1/tests/test_expansion_verification.py +360 -0
- carefold-0.5.0b1/tests/test_extended_specialties.py +489 -0
- carefold-0.5.0b1/tests/test_extended_specialties_stress.py +450 -0
- carefold-0.5.0b1/tests/test_extraction_provider_hardening.py +831 -0
- carefold-0.5.0b1/tests/test_extraction_subgraph.py +456 -0
- carefold-0.5.0b1/tests/test_extraction_tools.py +775 -0
- carefold-0.5.0b1/tests/test_fake_model_integration.py +177 -0
- carefold-0.5.0b1/tests/test_fts_catalog.py +979 -0
- carefold-0.5.0b1/tests/test_generic_loader_and_templates.py +309 -0
- carefold-0.5.0b1/tests/test_gmail_drafts_and_school_imports.py +592 -0
- carefold-0.5.0b1/tests/test_grounding_validator.py +586 -0
- carefold-0.5.0b1/tests/test_guardrail_nodes_stress.py +471 -0
- carefold-0.5.0b1/tests/test_guardrail_refusal_stress.py +506 -0
- carefold-0.5.0b1/tests/test_guardrails_boundary_stress.py +394 -0
- carefold-0.5.0b1/tests/test_health_pack_migrations.py +210 -0
- carefold-0.5.0b1/tests/test_home_isolation_security.py +269 -0
- carefold-0.5.0b1/tests/test_home_paths.py +199 -0
- carefold-0.5.0b1/tests/test_i18n_storage_data_and_api.py +436 -0
- carefold-0.5.0b1/tests/test_index_freshness.py +494 -0
- carefold-0.5.0b1/tests/test_job_runner.py +1570 -0
- carefold-0.5.0b1/tests/test_langgraph_interrupt_resume.py +208 -0
- carefold-0.5.0b1/tests/test_loaders.py +851 -0
- carefold-0.5.0b1/tests/test_logout_lifecycle_security.py +208 -0
- carefold-0.5.0b1/tests/test_manifest_loader_stress.py +360 -0
- carefold-0.5.0b1/tests/test_mcp_db_toolbox.py +338 -0
- carefold-0.5.0b1/tests/test_mcp_remote_and_routines.py +692 -0
- carefold-0.5.0b1/tests/test_memory_adapter_stress.py +539 -0
- carefold-0.5.0b1/tests/test_memory_api.py +1011 -0
- carefold-0.5.0b1/tests/test_memory_factory.py +143 -0
- carefold-0.5.0b1/tests/test_memory_fallback.py +719 -0
- carefold-0.5.0b1/tests/test_memory_fidelity.py +661 -0
- carefold-0.5.0b1/tests/test_memory_namespace.py +605 -0
- carefold-0.5.0b1/tests/test_memory_ports.py +347 -0
- carefold-0.5.0b1/tests/test_migrations_and_invites.py +959 -0
- carefold-0.5.0b1/tests/test_model.py +527 -0
- carefold-0.5.0b1/tests/test_model_factory_validation.py +596 -0
- carefold-0.5.0b1/tests/test_model_providers_stress.py +408 -0
- carefold-0.5.0b1/tests/test_model_vault_egress.py +345 -0
- carefold-0.5.0b1/tests/test_multi_turn_chat_regression.py +161 -0
- carefold-0.5.0b1/tests/test_neutral_words_scan.py +150 -0
- carefold-0.5.0b1/tests/test_notes_api.py +326 -0
- carefold-0.5.0b1/tests/test_notes_crud_api.py +129 -0
- carefold-0.5.0b1/tests/test_notes_db_isolation.py +723 -0
- carefold-0.5.0b1/tests/test_oauth_broker_and_refresh.py +335 -0
- carefold-0.5.0b1/tests/test_orchestrator_node.py +296 -0
- carefold-0.5.0b1/tests/test_persona_decomposition_stress.py +313 -0
- carefold-0.5.0b1/tests/test_persona_purity_stress.py +236 -0
- carefold-0.5.0b1/tests/test_pii_sanitization.py +434 -0
- carefold-0.5.0b1/tests/test_policy_gate.py +695 -0
- carefold-0.5.0b1/tests/test_policy_gate_and_vault_e2e.py +1604 -0
- carefold-0.5.0b1/tests/test_prep_pack.py +670 -0
- carefold-0.5.0b1/tests/test_preventive_care.py +580 -0
- carefold-0.5.0b1/tests/test_profile_cascade_and_scoping.py +1189 -0
- carefold-0.5.0b1/tests/test_profile_scoping.py +517 -0
- carefold-0.5.0b1/tests/test_prompt_extraction.py +80 -0
- carefold-0.5.0b1/tests/test_prompt_token_reduction_stress.py +417 -0
- carefold-0.5.0b1/tests/test_reference_synthesis_stress.py +357 -0
- carefold-0.5.0b1/tests/test_refusal_patterns_stress.py +294 -0
- carefold-0.5.0b1/tests/test_reminders.py +700 -0
- carefold-0.5.0b1/tests/test_resource_loader.py +501 -0
- carefold-0.5.0b1/tests/test_response_synthesis_nodes.py +337 -0
- carefold-0.5.0b1/tests/test_response_synthesis_stress.py +420 -0
- carefold-0.5.0b1/tests/test_routing_integration.py +706 -0
- carefold-0.5.0b1/tests/test_routing_registry.py +518 -0
- carefold-0.5.0b1/tests/test_runtime_migrator_stress.py +687 -0
- carefold-0.5.0b1/tests/test_runtime_security_hardening.py +579 -0
- carefold-0.5.0b1/tests/test_safety.py +208 -0
- carefold-0.5.0b1/tests/test_sandbox_security_deep.py +665 -0
- carefold-0.5.0b1/tests/test_schema_migrations.py +233 -0
- carefold-0.5.0b1/tests/test_school_forms.py +553 -0
- carefold-0.5.0b1/tests/test_scope_conformance.py +141 -0
- carefold-0.5.0b1/tests/test_scoped_attachments.py +475 -0
- carefold-0.5.0b1/tests/test_search_factory.py +114 -0
- carefold-0.5.0b1/tests/test_search_index.py +314 -0
- carefold-0.5.0b1/tests/test_search_spector_adapter.py +335 -0
- carefold-0.5.0b1/tests/test_settings_port_security.py +396 -0
- carefold-0.5.0b1/tests/test_settings_ports.py +221 -0
- carefold-0.5.0b1/tests/test_shc_and_android_companion.py +688 -0
- carefold-0.5.0b1/tests/test_skill_generator.py +303 -0
- carefold-0.5.0b1/tests/test_skills_crud_api.py +199 -0
- carefold-0.5.0b1/tests/test_spector_store_adapter.py +504 -0
- carefold-0.5.0b1/tests/test_sql_auth_adapter_security.py +496 -0
- carefold-0.5.0b1/tests/test_sql_declarative_schema.py +624 -0
- carefold-0.5.0b1/tests/test_sqlite_concurrency_stress.py +373 -0
- carefold-0.5.0b1/tests/test_sse_events_isolation.py +946 -0
- carefold-0.5.0b1/tests/test_start_script.py +276 -0
- carefold-0.5.0b1/tests/test_starter_connectors.py +368 -0
- carefold-0.5.0b1/tests/test_stealth_evasion_stress.py +364 -0
- carefold-0.5.0b1/tests/test_storage_concurrency_stress.py +506 -0
- carefold-0.5.0b1/tests/test_storage_port.py +326 -0
- carefold-0.5.0b1/tests/test_storage_subsystem_stress.py +523 -0
- carefold-0.5.0b1/tests/test_supervisor_dispatch.py +550 -0
- carefold-0.5.0b1/tests/test_symlink_security.py +351 -0
- carefold-0.5.0b1/tests/test_system_agents.py +475 -0
- carefold-0.5.0b1/tests/test_system_agents_discovery.py +423 -0
- carefold-0.5.0b1/tests/test_taxonomy.py +952 -0
- carefold-0.5.0b1/tests/test_tool_exec.py +268 -0
- carefold-0.5.0b1/tests/test_tool_loop.py +610 -0
- carefold-0.5.0b1/tests/test_tool_search_records.py +451 -0
- carefold-0.5.0b1/tests/test_tools.py +483 -0
- carefold-0.5.0b1/tests/test_two_hop_orchestration_stress.py +953 -0
- carefold-0.5.0b1/tests/test_two_hop_orchestrator.py +623 -0
- carefold-0.5.0b1/tests/test_two_hop_scalability.py +651 -0
- carefold-0.5.0b1/tests/test_typed_notes.py +540 -0
- carefold-0.5.0b1/tests/test_undo.py +578 -0
- carefold-0.5.0b1/tests/test_v2_connectors_and_scheduling.py +843 -0
- carefold-0.5.0b1/tests/test_vault_salt_pin.py +79 -0
- carefold-0.5.0b1/tests/test_vitals_api.py +692 -0
- carefold-0.5.0b1/tests/test_vitals_pipeline.py +199 -0
- carefold-0.5.0b1/tests/test_vitals_red_flags.py +505 -0
- carefold-0.5.0b1/tests/test_web_search.py +224 -0
- carefold-0.5.0b1/tests/test_workflow_resilience_recovery.py +608 -0
- carefold-0.5.0b1/tests/test_workflows_nodes.py +365 -0
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
/MANIFEST
|
|
27
|
+
backend/MANIFEST
|
|
28
|
+
!packages/runner/src/manifest/
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
# Usually these files are written by a python script from a template
|
|
32
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
+
*.manifest
|
|
34
|
+
*.spec
|
|
35
|
+
|
|
36
|
+
# Installer logs
|
|
37
|
+
pip-log.txt
|
|
38
|
+
pip-delete-this-directory.txt
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.nox/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.cache
|
|
47
|
+
nosetests.xml
|
|
48
|
+
coverage.xml
|
|
49
|
+
*.cover
|
|
50
|
+
*.py.cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
cover/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Database & SQLite files:
|
|
60
|
+
*.log
|
|
61
|
+
*.db
|
|
62
|
+
*.db-*
|
|
63
|
+
*.db-shm
|
|
64
|
+
*.db-wal
|
|
65
|
+
*.sqlite
|
|
66
|
+
*.sqlite3
|
|
67
|
+
*.sqlite3-journal
|
|
68
|
+
catalog.db*
|
|
69
|
+
checkpoints.db*
|
|
70
|
+
local_settings.py
|
|
71
|
+
|
|
72
|
+
# Flask stuff:
|
|
73
|
+
instance/
|
|
74
|
+
.webassets-cache
|
|
75
|
+
|
|
76
|
+
# Scrapy stuff:
|
|
77
|
+
.scrapy
|
|
78
|
+
|
|
79
|
+
# Sphinx documentation
|
|
80
|
+
docs/_build/
|
|
81
|
+
|
|
82
|
+
# PyBuilder
|
|
83
|
+
.pybuilder/
|
|
84
|
+
target/
|
|
85
|
+
|
|
86
|
+
# Jupyter Notebook
|
|
87
|
+
.ipynb_checkpoints
|
|
88
|
+
|
|
89
|
+
# IPython
|
|
90
|
+
profile_default/
|
|
91
|
+
ipython_config.py
|
|
92
|
+
|
|
93
|
+
# pyenv
|
|
94
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
95
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
96
|
+
# .python-version
|
|
97
|
+
|
|
98
|
+
# pipenv
|
|
99
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
100
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
101
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
102
|
+
# install all needed dependencies.
|
|
103
|
+
# Pipfile.lock
|
|
104
|
+
|
|
105
|
+
# UV
|
|
106
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
107
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
108
|
+
# commonly ignored for libraries.
|
|
109
|
+
# uv.lock
|
|
110
|
+
|
|
111
|
+
# poetry
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
113
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
114
|
+
# commonly ignored for libraries.
|
|
115
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
116
|
+
# poetry.lock
|
|
117
|
+
# poetry.toml
|
|
118
|
+
|
|
119
|
+
# pdm
|
|
120
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
121
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
122
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
123
|
+
# pdm.lock
|
|
124
|
+
# pdm.toml
|
|
125
|
+
.pdm-python
|
|
126
|
+
.pdm-build/
|
|
127
|
+
|
|
128
|
+
# pixi
|
|
129
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
130
|
+
# pixi.lock
|
|
131
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
132
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
133
|
+
.pixi
|
|
134
|
+
|
|
135
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
136
|
+
__pypackages__/
|
|
137
|
+
|
|
138
|
+
# Celery stuff
|
|
139
|
+
celerybeat-schedule
|
|
140
|
+
celerybeat.pid
|
|
141
|
+
|
|
142
|
+
# Redis
|
|
143
|
+
*.rdb
|
|
144
|
+
*.aof
|
|
145
|
+
*.pid
|
|
146
|
+
.carefold.pids
|
|
147
|
+
|
|
148
|
+
# RabbitMQ
|
|
149
|
+
mnesia/
|
|
150
|
+
rabbitmq/
|
|
151
|
+
rabbitmq-data/
|
|
152
|
+
|
|
153
|
+
# ActiveMQ
|
|
154
|
+
activemq-data/
|
|
155
|
+
|
|
156
|
+
# SageMath parsed files
|
|
157
|
+
*.sage.py
|
|
158
|
+
|
|
159
|
+
# Environments
|
|
160
|
+
.env
|
|
161
|
+
.envrc
|
|
162
|
+
.venv
|
|
163
|
+
env/
|
|
164
|
+
venv/
|
|
165
|
+
ENV/
|
|
166
|
+
env.bak/
|
|
167
|
+
venv.bak/
|
|
168
|
+
|
|
169
|
+
# Spyder project settings
|
|
170
|
+
.spyderproject
|
|
171
|
+
.spyproject
|
|
172
|
+
|
|
173
|
+
# Rope project settings
|
|
174
|
+
.ropeproject
|
|
175
|
+
|
|
176
|
+
# mkdocs documentation
|
|
177
|
+
/site
|
|
178
|
+
|
|
179
|
+
# mypy
|
|
180
|
+
.mypy_cache/
|
|
181
|
+
.dmypy.json
|
|
182
|
+
dmypy.json
|
|
183
|
+
|
|
184
|
+
# Pyre type checker
|
|
185
|
+
.pyre/
|
|
186
|
+
|
|
187
|
+
# pytype static type analyzer
|
|
188
|
+
.pytype/
|
|
189
|
+
|
|
190
|
+
# Cython debug symbols
|
|
191
|
+
cython_debug/
|
|
192
|
+
|
|
193
|
+
# IDEs and Editors
|
|
194
|
+
.idea/
|
|
195
|
+
.vscode/
|
|
196
|
+
*.swp
|
|
197
|
+
*.swo
|
|
198
|
+
*~
|
|
199
|
+
tempCodeRunnerFile.py
|
|
200
|
+
|
|
201
|
+
# Multi-Agent & Teamwork Runtime Artifacts
|
|
202
|
+
.agents/
|
|
203
|
+
.teamwork/
|
|
204
|
+
teamwork/
|
|
205
|
+
|
|
206
|
+
# Test Outputs & Coverage
|
|
207
|
+
tests/e2e/results.json
|
|
208
|
+
results.json
|
|
209
|
+
.pytest_cache/
|
|
210
|
+
backend/.pytest_cache/
|
|
211
|
+
|
|
212
|
+
# Ruff stuff:
|
|
213
|
+
.ruff_cache/
|
|
214
|
+
|
|
215
|
+
# PyPI configuration file
|
|
216
|
+
.pypirc
|
|
217
|
+
|
|
218
|
+
# Marimo
|
|
219
|
+
marimo/_static/
|
|
220
|
+
marimo/_lsp/
|
|
221
|
+
__marimo__/
|
|
222
|
+
|
|
223
|
+
# Streamlit
|
|
224
|
+
.streamlit/secrets.toml
|
|
225
|
+
|
|
226
|
+
# Node.js & Package Managers
|
|
227
|
+
node_modules/
|
|
228
|
+
.pnpm-store/
|
|
229
|
+
npm-debug.log*
|
|
230
|
+
yarn-debug.log*
|
|
231
|
+
yarn-error.log*
|
|
232
|
+
pnpm-debug.log*
|
|
233
|
+
.pnpm-debug.log*
|
|
234
|
+
|
|
235
|
+
# TypeScript & Build Outputs
|
|
236
|
+
dist/
|
|
237
|
+
build/
|
|
238
|
+
*.tsbuildinfo
|
|
239
|
+
.tsbuildinfo/
|
|
240
|
+
out/
|
|
241
|
+
.turbo/
|
|
242
|
+
|
|
243
|
+
# Next.js
|
|
244
|
+
.next/
|
|
245
|
+
apps/web/.next/
|
|
246
|
+
apps/web/out/
|
|
247
|
+
|
|
248
|
+
# Carefold Local Runtime Workspace (User Data & Logs)
|
|
249
|
+
/logs/
|
|
250
|
+
/attachments/
|
|
251
|
+
/chats/
|
|
252
|
+
/chat/
|
|
253
|
+
/notes/
|
|
254
|
+
/workspace/
|
|
255
|
+
carefold.config.json
|
|
256
|
+
|
|
257
|
+
# Environment variables
|
|
258
|
+
.env*.local
|
|
259
|
+
|
|
260
|
+
# OS Artifacts
|
|
261
|
+
.DS_Store
|
|
262
|
+
Thumbs.db
|
|
263
|
+
|
|
264
|
+
# UI Redesign assets & mockups
|
|
265
|
+
/assets/carefold-ui-redesign/
|
|
266
|
+
/assets/carefold-autonomy
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: carefold
|
|
3
|
+
Version: 0.5.0b1
|
|
4
|
+
Summary: Carefold local-first AI and agentic runtime backend
|
|
5
|
+
Requires-Python: >=3.12
|
|
6
|
+
Requires-Dist: aiosqlite>=0.20.0
|
|
7
|
+
Requires-Dist: alembic>=1.13.0
|
|
8
|
+
Requires-Dist: argon2-cffi>=23.1.0
|
|
9
|
+
Requires-Dist: asyncpg>=0.29.0
|
|
10
|
+
Requires-Dist: cryptography>=43.0.0
|
|
11
|
+
Requires-Dist: deepagents>=0.7
|
|
12
|
+
Requires-Dist: defusedxml>=0.7.1
|
|
13
|
+
Requires-Dist: fastapi>=0.115.0
|
|
14
|
+
Requires-Dist: fhir-resources>=8.0.0
|
|
15
|
+
Requires-Dist: httpx>=0.27.0
|
|
16
|
+
Requires-Dist: jinja2>=3.1.0
|
|
17
|
+
Requires-Dist: keyring>=24.0.0
|
|
18
|
+
Requires-Dist: langchain-anthropic>=0.3.0
|
|
19
|
+
Requires-Dist: langchain-core>=0.3.0
|
|
20
|
+
Requires-Dist: langchain-google-genai>=2.0.0
|
|
21
|
+
Requires-Dist: langchain-ollama>=1.1.0
|
|
22
|
+
Requires-Dist: langchain-openai>=0.3.0
|
|
23
|
+
Requires-Dist: langgraph-checkpoint-sqlite>=2.0.0
|
|
24
|
+
Requires-Dist: langgraph>=0.2.0
|
|
25
|
+
Requires-Dist: pwdlib[argon2]>=0.2.0
|
|
26
|
+
Requires-Dist: pydantic-handlebars>=0.2.1
|
|
27
|
+
Requires-Dist: pydantic-settings>=2.4.0
|
|
28
|
+
Requires-Dist: pydantic>=2.8.0
|
|
29
|
+
Requires-Dist: pypdf>=4.0.0
|
|
30
|
+
Requires-Dist: python-multipart>=0.0.18
|
|
31
|
+
Requires-Dist: pyyaml>=6.0.2
|
|
32
|
+
Requires-Dist: spector-client>=0.1.0a4
|
|
33
|
+
Requires-Dist: sqlalchemy[asyncio]>=2.0.35
|
|
34
|
+
Requires-Dist: sse-starlette>=2.1.0
|
|
35
|
+
Requires-Dist: structlog>=24.1.0
|
|
36
|
+
Requires-Dist: uvicorn[standard]>=0.30.0
|
|
37
|
+
Requires-Dist: yarvelle-core>=0.1.0
|
|
38
|
+
Provides-Extra: dev
|
|
39
|
+
Requires-Dist: build>=1.2.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: hatchling>=1.25.0; extra == 'dev'
|
|
41
|
+
Requires-Dist: import-linter>=2.0; extra == 'dev'
|
|
42
|
+
Requires-Dist: licenseheaders>=0.8.8; extra == 'dev'
|
|
43
|
+
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
|
|
44
|
+
Requires-Dist: pytest>=8.3.0; extra == 'dev'
|
|
45
|
+
Provides-Extra: ocr
|
|
46
|
+
Requires-Dist: pillow>=10.0.0; extra == 'ocr'
|
|
47
|
+
Requires-Dist: pytesseract>=0.3.10; extra == 'ocr'
|
|
48
|
+
Description-Content-Type: text/markdown
|
|
49
|
+
|
|
50
|
+
<!--
|
|
51
|
+
Carefold — Healthcare AI Agent Marketplace & Runtime
|
|
52
|
+
Copyright 2026 Spectrayan (https://spectrayan.com)
|
|
53
|
+
|
|
54
|
+
Licensed under the PolyForm Noncommercial License 1.0.0 and the
|
|
55
|
+
Carefold Additional Terms (see LICENSE and ADDITIONAL-TERMS.md).
|
|
56
|
+
Personal and household local use only. Commercial use, hosted service
|
|
57
|
+
offering, rebranding, white-labeling, and redistribution of modified
|
|
58
|
+
forks are prohibited without a written commercial license from Spectrayan.
|
|
59
|
+
|
|
60
|
+
Required Notice: Copyright 2026 Spectrayan (https://spectrayan.com)
|
|
61
|
+
-->
|
|
62
|
+
|
|
63
|
+
<h1 align="center">Carefold</h1>
|
|
64
|
+
|
|
65
|
+
<p align="center">
|
|
66
|
+
<strong>Local-First Personal & Family Health AI Companion & Specialist Runtime.</strong>
|
|
67
|
+
</p>
|
|
68
|
+
|
|
69
|
+
<p align="center">
|
|
70
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-PolyForm_Noncommercial_+_Additional_Terms-047857.svg?style=for-the-badge" alt="License" /></a>
|
|
71
|
+
<a href="https://www.python.org/"><img src="https://img.shields.io/badge/Python-3.12-3776AB.svg?style=for-the-badge&logo=python&logoColor=white" alt="Python" /></a>
|
|
72
|
+
<a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node.js-22_LTS-339933.svg?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="Node" /></a>
|
|
73
|
+
<a href="https://nextjs.org/"><img src="https://img.shields.io/badge/Next.js-16_Turbopack-000000.svg?style=for-the-badge&logo=nextdotjs&logoColor=white" alt="Next.js" /></a>
|
|
74
|
+
<a href="https://fastapi.tiangolo.com/"><img src="https://img.shields.io/badge/FastAPI-0.115-009688.svg?style=for-the-badge&logo=fastapi&logoColor=white" alt="FastAPI" /></a>
|
|
75
|
+
<a href="docker/docker-compose.yml"><img src="https://img.shields.io/badge/Docker-Compose-2496ED?style=for-the-badge&logo=docker&logoColor=white" alt="Docker Compose" /></a>
|
|
76
|
+
<a href="https://github.com/spectrayan/carefold/actions"><img src="https://img.shields.io/github/actions/workflow/status/spectrayan/carefold/ci.yml?branch=main&style=for-the-badge" alt="Build" /></a>
|
|
77
|
+
<a href="https://spectrayan.github.io/carefold/"><img src="https://img.shields.io/badge/Docs-MkDocs-blue?logo=materialformkdocs&style=for-the-badge" alt="Docs" /></a>
|
|
78
|
+
</p>
|
|
79
|
+
|
|
80
|
+
<p align="center">
|
|
81
|
+
<em>"Great care starts with prepared patients and supported families. Carefold brings local-first AI to your household—helping you organize records, prepare thoughtful questions for your care team, and navigate coverage with clarity and privacy."</em>
|
|
82
|
+
</p>
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
**Carefold** is a source-available, local-first personal and family health AI companion and specialist agent runtime. Designed to work alongside your doctors, care teams, and health plans, Carefold runs on your own hardware (or private household instance) to help you prepare for clinical visits, organize health records and vitals across family members, track preventive screenings and pediatric school forms, and understand health insurance benefits.
|
|
87
|
+
|
|
88
|
+
It pairs a **5-phase LangGraph orchestration engine** with **23 specialist clinical and administrative navigators**, **24 modular skill packs**, multi-profile household care with per-profile AES-256-GCM envelope encryption, scoped health and calendar connectors (`Epic SMART on FHIR`, `Withings`, `Google Calendar`, `CalDAV`, `Apple Health`, `FHIR R4`, `C-CDA`), multilingual support (`en-US`, `es-ES`, `fr-FR`, `hi-IN`, `ar-SA` with `RTL`), and a two-tier clinical safety guardrail system.
|
|
89
|
+
|
|
90
|
+
<details>
|
|
91
|
+
<summary>📸 <strong>Preview Carefold Web Marketplace UI</strong> (Click to expand)</summary>
|
|
92
|
+
<br />
|
|
93
|
+
<p align="center">
|
|
94
|
+
<img src="assets/carefold-marketplace-preview.png" alt="Carefold Web Marketplace UI" width="100%" />
|
|
95
|
+
</p>
|
|
96
|
+
</details>
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## ⚡ 30-Second Quickstart
|
|
101
|
+
|
|
102
|
+
Get a local Carefold runtime and household companion running in seconds:
|
|
103
|
+
|
|
104
|
+
### 1. Instant Launch via Prebuilt Docker Container
|
|
105
|
+
Run Carefold with a single command using the published multi-architecture image (supports Apple Silicon `arm64` and Intel/AMD `amd64` automatically):
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
# Pull and start the all-in-one container (Next.js UI on :3000, FastAPI backend on :8000)
|
|
109
|
+
docker pull ghcr.io/spectrayan/carefold:latest
|
|
110
|
+
|
|
111
|
+
# Run container (connecting to local Ollama on your host machine)
|
|
112
|
+
docker run -d \
|
|
113
|
+
--name carefold \
|
|
114
|
+
-p 3000:3000 \
|
|
115
|
+
-p 8000:8000 \
|
|
116
|
+
-e OLLAMA_URL=http://host.docker.internal:11434/v1 \
|
|
117
|
+
-v carefold-data:/data \
|
|
118
|
+
ghcr.io/spectrayan/carefold:latest
|
|
119
|
+
```
|
|
120
|
+
Visit `http://localhost:3000` to browse specialist helpers and launch private household consultations.
|
|
121
|
+
|
|
122
|
+
> [!TIP]
|
|
123
|
+
> - **Connecting to Ollama on host**: On Docker Desktop (macOS / Windows), use `-e OLLAMA_URL=http://host.docker.internal:11434/v1` so the container can reach your host machine's Ollama instance.
|
|
124
|
+
> - **Legacy tags on Apple Silicon**: If pulling older single-architecture tags (e.g. `0.3.0-beta.1`), append `--platform linux/amd64` to `docker pull` and `docker run`.
|
|
125
|
+
|
|
126
|
+
### 2. Launch via Docker Compose (Build from Source)
|
|
127
|
+
Images can also be built locally from [`docker/Dockerfile`](docker/Dockerfile):
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
# From the repository root: build and start the FastAPI backend (:8000) and Next.js UI (:3000)
|
|
131
|
+
docker compose -f docker/docker-compose.yml up -d --build
|
|
132
|
+
|
|
133
|
+
# Or also start a local Ollama container for on-device LLM inference:
|
|
134
|
+
docker compose -f docker/docker-compose.yml --profile ollama up -d --build
|
|
135
|
+
|
|
136
|
+
# Pull the default model into the Ollama container (first run only)
|
|
137
|
+
docker compose -f docker/docker-compose.yml exec ollama ollama pull llama3.2
|
|
138
|
+
```
|
|
139
|
+
Visit `http://localhost:3000` to browse specialist helpers and launch private consultations.
|
|
140
|
+
|
|
141
|
+
### 3. Local Monorepo Development
|
|
142
|
+
|
|
143
|
+
**Prerequisites**: Python 3.12+ (tested on 3.12 and 3.14), Node.js 22 LTS, and `pnpm` (>=9.0.0).
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
# Clone repository
|
|
147
|
+
git clone https://github.com/spectrayan/carefold.git
|
|
148
|
+
cd carefold
|
|
149
|
+
|
|
150
|
+
# Install frontend dependencies
|
|
151
|
+
pnpm install
|
|
152
|
+
|
|
153
|
+
# Set up backend environment
|
|
154
|
+
python3 -m venv backend/.venv
|
|
155
|
+
source backend/.venv/bin/activate
|
|
156
|
+
pip install -e backend
|
|
157
|
+
pip install -r backend/requirements-dev.txt
|
|
158
|
+
|
|
159
|
+
# Start backend server (Terminal 1)
|
|
160
|
+
uvicorn carefold.main:app --host 127.0.0.1 --port 8000 --reload
|
|
161
|
+
|
|
162
|
+
# Start Next.js UI (Terminal 2)
|
|
163
|
+
pnpm --filter web dev
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 🏥 Specialist Agent Topology
|
|
169
|
+
|
|
170
|
+
Carefold features a modular catalog of 23 specialist clinical and administrative navigators, organized into three core domains:
|
|
171
|
+
|
|
172
|
+
- **Clinical Organ & Specialty Navigators (`clinical_assist`)**: Dedicated navigators for Cardiology, Pulmonology, Gastroenterology, Oncology, Neurology, Nephrology, Dermatology, Endocrinology, Orthopedics, Rheumatology, Urology, ENT, Vision, Hematology, Podiatry, Vascular Medicine, Oral Health, and General Visit Preparation. Each specialist helps you organize symptoms, review lab trends and vital signs, and prepare clear, prioritized questions to discuss with your clinician.
|
|
173
|
+
- **Administrative & Insurance Stewards (`admin`)**: Stewards for Health Insurance Benefits & Coverage explanation, Prior Authorization preparation, Claims & Denials Appeals, Prescription Drug Formularies, and Multi-Provider Medical Records coordination.
|
|
174
|
+
- **Wellness & Habit Companions (`wellness`)**: Daily companions for chronic care routines, hydration tracking, sleep hygiene, and lifestyle check-ins.
|
|
175
|
+
|
|
176
|
+
### Exploring Available Agents
|
|
177
|
+
|
|
178
|
+
You can explore, search, and interact with all specialist agents through:
|
|
179
|
+
- **Web Consultation Studio**: Launch the web app (`pnpm dev:web` at `http://localhost:3000`) to browse and chat with any specialist helper.
|
|
180
|
+
- **Living Documentation Catalog**: Read [`docs/agents/catalog.md`](docs/agents/catalog.md) for detailed descriptions, taxonomy classifications, and key capabilities.
|
|
181
|
+
- **Carefold CLI & API**: Run `carefold list` or query `GET /api/agents` to inspect the runtime catalog programmatically.
|
|
182
|
+
|
|
183
|
+
### System Infrastructure Agents (`agents/_system`)
|
|
184
|
+
* **`orchestrator`**: Two-hop intent classification, dynamic skill provisioning, and multi-topology dispatch.
|
|
185
|
+
* **`document-extractor`**: Ingestion sandbox, PII sanitization, structured Pydantic extraction, and numerical grounding validation.
|
|
186
|
+
* **`quality-reviewer`**: Clinical safety boundary audit, tone inspection, and persona alignment verification.
|
|
187
|
+
* **`triage-auditor`**: Compliance logging, risk tagging, and clinical safety telemetry.
|
|
188
|
+
* **`skill-generator`**: Synthesis of dynamic skill manifests and validation templates from clinical guidelines.
|
|
189
|
+
* **`suggestion-generator`**: Context-aware follow-up suggestion chips presented in the client UI.
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## 🧠 Cognitive Memory, Hybrid Retrieval & Household Isolation
|
|
194
|
+
|
|
195
|
+
Carefold implements a hexagonal architecture for memory, search, and household data isolation:
|
|
196
|
+
|
|
197
|
+
* **Per-Profile Household Scoping & Envelope Encryption**: Every family member profile (`Self`, `Child`, `Parent`, `Spouse`) is isolated at the database, Content-Addressed Storage (`CAS`), and cryptographic levels using per-profile `HKDF-SHA256` / `AES-256-GCM` Data Encryption Keys (`ADR-0005`, `ADR-0007`).
|
|
198
|
+
* **`MemoryPort` & 3-Tier Consolidation**: Cognitive memory interface supporting working, episodic, and semantic memory tiers with salience ranking and decay (`ADR-0002`).
|
|
199
|
+
* **Hybrid `SearchIndex`**: Combines SQLite `FTS5` lexical BM25 search with `sqlite-vec` dense embeddings, Reciprocal Rank Fusion (`RRF`), and Maximal Marginal Relevance (`MMR`).
|
|
200
|
+
* **End-to-End Internationalization (`ADR-0009`)**: Supports `en-US`, `es-ES`, `fr-FR`, `hi-IN`, and `ar-SA` (`RTL`) with IETF BCP 47 locale negotiation, Unicode UAX #15 `NFC` canonical storage normalization, HL7 FHIR R4 language-neutral clinical coding, and localized safety disclaimers.
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## 🛡️ Two-Tier Clinical Safety, Policy Gates & Sandboxed Security
|
|
205
|
+
|
|
206
|
+
Carefold enforces strict safety invariants to protect families and ensure non-clinical boundaries:
|
|
207
|
+
|
|
208
|
+
### 1. Two-Tier Clinical Boundary System
|
|
209
|
+
* **Tier 1 (Multilingual Emergency Red Flags)**: Instant termination with `911`/`988`/`112` emergency escalation when acute symptoms are detected across supported languages (e.g., crushing chest pain, acute stroke FAST symptoms, anaphylaxis, severe respiratory distress, or active self-harm crisis).
|
|
210
|
+
* **Tier 2 (Collaborative Clinical Preparation)**: Helps patients organize questions and records for their licensed healthcare providers while never diagnosing conditions, prescribing medications, or adjusting dosages.
|
|
211
|
+
|
|
212
|
+
### 2. Four-Tier Policy Gate & Zero-Trust Sandbox (`ADR-0004`)
|
|
213
|
+
* **4-Tier Tool Execution Gate**: Classifies every tool into `read`, `write_local`, `write_external`, or `irreversible` across user-selectable autonomy levels (`A0` Manual, `A1` Assisted, `A2` Routine) with monotone taint tracking (`UntrustedResult`) and SHA-256 hash-chained `audit_events`.
|
|
214
|
+
* **Path Traversal & Symlink Shield**: Strict lexical normalization and containment checks preventing `../` traversal, null bytes, and symlink escapes across `attachments/` and `workspace/notes/`.
|
|
215
|
+
* **47-Attack Penetration Test Suite**: Automated security verification covering path traversal, command injection, symlink overwrites, and unauthorized skill access.
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## 🚀 Quality Gates & Verification Matrix
|
|
220
|
+
|
|
221
|
+
Carefold maintains rigorous verification standards across all code changes:
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
# 1. Spectrayan License Header Check
|
|
225
|
+
pnpm run check:licenses
|
|
226
|
+
|
|
227
|
+
# 2. Backend Pytest Suite
|
|
228
|
+
PYTHONPATH=backend/src:libs/connectors backend/.venv/bin/pytest backend/tests/ libs/connectors/tests/
|
|
229
|
+
|
|
230
|
+
# 3. Security Penetration Suite (47 Attack Vectors)
|
|
231
|
+
PYTHONPATH=backend/src backend/.venv/bin/python backend/tests/penetration_suite.py
|
|
232
|
+
|
|
233
|
+
# 4. Frontend Typecheck
|
|
234
|
+
pnpm --filter web typecheck
|
|
235
|
+
|
|
236
|
+
# 5. Frontend Unit & Component Tests
|
|
237
|
+
pnpm --filter web test --exclude "**/api/**"
|
|
238
|
+
|
|
239
|
+
# 6. Frontend Production Build
|
|
240
|
+
pnpm --filter web build
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 📜 Architecture Decision Records (ADRs)
|
|
246
|
+
|
|
247
|
+
Carefold documents all major architectural decisions in [`docs/adr/`](docs/adr/):
|
|
248
|
+
* [ADR 0001: Orchestrator-Driven Agent Architecture](docs/adr/0001-orchestrator-driven-agent-architecture.md)
|
|
249
|
+
* [ADR 0002: Hexagonal Memory and Catalog Ports](docs/adr/0002-hexagonal-memory-and-catalog-ports.md)
|
|
250
|
+
* [ADR 0003: Progressive Disclosure & Skill Context Management](docs/adr/0003-progressive-disclosure-skill-context-management.md)
|
|
251
|
+
* [ADR 0004: Tool Execution Gate, 4-Tier Risk Approvals & Taint Propagation](docs/adr/0004-tool-execution-gate-and-taint-propagation.md)
|
|
252
|
+
* [ADR 0005: Keyring Vault & Per-Profile Envelope Encryption](docs/adr/0005-keyring-vault-and-envelope-encryption.md)
|
|
253
|
+
* [ADR 0006: Deployment Modes (Mode L Local vs Mode S Shared Household)](docs/adr/0006-deployment-modes-and-security-posture.md)
|
|
254
|
+
* [ADR 0007: Partitioned Content-Addressed Storage & Hybrid Search Index](docs/adr/0007-partitioned-cas-and-hybrid-search.md)
|
|
255
|
+
* [ADR 0008: Scoped Connectors, OAuth Bounce Relay & Taint Tracking](docs/adr/0008-scoped-connectors-and-taint-tracking.md)
|
|
256
|
+
* [ADR 0009: End-to-End Internationalization & Multilingual Architecture](docs/adr/0009-internationalization-and-multilingual-architecture.md)
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## 👥 Contributors
|
|
261
|
+
|
|
262
|
+
Thank you to all the contributors who help build and improve Carefold!
|
|
263
|
+
|
|
264
|
+
<p align="left">
|
|
265
|
+
<a href="https://github.com/spectrayan/carefold/graphs/contributors">
|
|
266
|
+
<img src="https://contrib.rocks/image?repo=spectrayan/carefold" alt="Carefold Contributors" />
|
|
267
|
+
</a>
|
|
268
|
+
</p>
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## 📄 License, Personal/Household Terms & Trademarks
|
|
273
|
+
|
|
274
|
+
Carefold is **source-available** software licensed under the **[PolyForm Noncommercial License 1.0.0](LICENSE)** together with the **[Carefold Additional Terms](ADDITIONAL-TERMS.md)** and the **[Carefold Trademark Policy](TRADEMARKS.md)**:
|
|
275
|
+
|
|
276
|
+
- **Permitted (Free Personal & Household Local Use)**: You may install, run, study, and modify Carefold for **personal and family use** on your own local hardware or private household instance, and contribute improvements back to the official repository under the **[Carefold Individual CLA](CLA.md)**.
|
|
277
|
+
- **Prohibited Without a Commercial License**: Selling, reselling, offering Carefold as a hosted service (SaaS/API/portal), deploying inside any business or healthcare organization, **rebranding or white-labeling**, removing Carefold/Spectrayan attribution, or redistributing modified forks outside your household is strictly prohibited.
|
|
278
|
+
- **Commercial Licensing**: For commercial, clinical, enterprise, or OEM licensing inquiries, contact `licensing@spectrayan.com`.
|
|
279
|
+
|
|
280
|
+
See [`LICENSE`](LICENSE), [`ADDITIONAL-TERMS.md`](ADDITIONAL-TERMS.md), [`TRADEMARKS.md`](TRADEMARKS.md), [`CLA.md`](CLA.md), and [`NOTICE`](NOTICE) for full terms.
|
|
281
|
+
|
|
282
|
+
Required Notice: Copyright © 2026 Spectrayan (https://spectrayan.com). All rights reserved.
|