Skip to main content

Crate wellfare_core

Crate wellfare_core 

Source

Modules§

anatomy
3D Anatomy Qapp — factor / body-system model (the domain core both audience lenses build on).
assessment
Self-report wellbeing assessment instruments (T2.2) — a data-driven scoring engine plus the two canonical, freely-usable instruments: PHQ-9 (depression) and GAD-7 (anxiety), both by Spitzer, Kroenke & Williams (Pfizer), which are free to reproduce and use without permission.
asset_aspects
Asset aspect graphs — sub-graphs for assets at spatial locations with multiple temporal assertions (T71+ / user request 2026-08-20).
authority_attestation
Authority attestation — the general domain model of which a “government letter” is one preset.
clinical
Clinical documents / pathology — Restricted, records-first clinical entries.
companion_pairing
JSON wire protocol for companion WebSocket pairing (Ed25519 challenge-response).
companion_sync
Phone → desktop health bundle transport (Samsung CSV exports from companion WASM).
conditions
Self-reported conditions and allergies — Restricted profile records for the WellFair vault.
credentials
Verifiable-credential status cache and presentation building — Restricted vault records.
finance
Single source of truth for record envelopes, double-entry finance, and cooperative projects. Personal and cooperative double-entry finance ledger — signed, replay-safe entries with derived balances, integer banker’s rounding, and multi-book journal envelopes.
guardianship
Guardianship approval escrow — M-of-N co-signature for proxy actions.
life_records
Life events, welfare cases, and case tasks (LIF-01..17 records-first).
live_share
JSON wire protocol for companion live section share (usage agreement + request/decision).
medication
Medication, administration, and diet record builders for WellFair Phase 2 (MED-01..13).
mental_wellbeing
Mental wellbeing observations and therapy notes (MHT — no licensed instruments).
models
n3_rules
parser
personal_records
Personal Core extensions — disputed diagnoses and housing/safety (PRO-01..08).
projects
Single source of truth for record envelopes, double-entry finance, and cooperative projects. Cooperative projects (audit COP-01..19) — Restricted records for shared work, membership, contributions, and the obligations derived from them.
qualia_bindings
rdf
record
Single source of truth for record envelopes, double-entry finance, and cooperative projects.
shapes
sleep_analytics
Transparent sleep analytics for Phase 2 (SLP-01..10).
store
webizen
welfare_support
Welfare support — assistance needs, welfare streams, and government letters.

Structs§

DurationBridge
Re-export the T71 bridge types so consumers can use them without qualifying through record::. Lightweight duration bridge (T71).
InstantBridge
Re-export the T71 bridge types so consumers can use them without qualifying through record::. Lightweight nanosecond-resolution instant bridge (T71).

Type Aliases§

AssertedTime
Legacy coarse Unix timestamp (T71). To be replaced with vibe::value::Instant in a future migration. Until then, this is the bridge type. Do not add new uses — use Instant where possible.