Skip to main content

Module wellfair

Module wellfair 

Source

Re-exports§

pub use host_state::demo_host_snapshot;
pub use host_state::fixture_host_snapshot;
pub use host_state::WellfairHostSnapshot;
pub use import_samsung::ingest_companion_health_bundle;
pub use import_samsung::parse_csv_named_content;
pub use import_samsung::SamsungFileReport;
pub use import_samsung::SamsungImportReport;
pub use snapshot::build_host_snapshot;

Modules§

accessibility_prefs
Owner accessibility preferences — persisted under storage root.
anatomy_assets
S5.8 — the asset cache + real-mesh acquisition path (user-triggered).
anatomy_body
Compile a model’s organ meshes into the .10d body — the ingestion entry point (S5.4).
anatomy_dyad
The maternal–fetal dyad: a maternal body coupled to a developmental (fetal) body at a gestational age, positioned at the maternal host structure (the uterus). This is the consideration made explicit — the fetus modelled as part of the female-anatomy picture, not scoped out: two coupled bodies across space and the developmental t-axis (reproductive-continuum plan §2/§3.3).
anatomy_pack
Producer for a curated .hmc anatomy asset pack (ships in the release / web demo). Native-only (blocking network I/O against the HRA endpoints). Produce a shippable curated .hmc anatomy asset pack for a model.
anatomy_render
S5.7 — the render surface for the 3D Anatomy Qapp (interim visual).
anatomy_view
S4b (host) — turn a person’s WellFair records into an AnatomyViewReport for the Anatomy Qapp.
api
backup
Portable backup / restore of the WellFair data subtree (T3.3 release-hardening slice).
blob_store
Content-addressed blob store for WellFair payloads (master plan §5).
body_constitution
The person’s declared body constitution — measurements, characteristics, attributes.
bodyparts3d_ontology
The BodyParts3D anatomy ONTOLOGY emitter → .q42 (OBO FMA IRIs + house aliases, is-a + part-of + system + geometry). The addressable semantic backbone the .10d mesh library is cited by. Define the BodyParts3D anatomy as an addressable ontology and serialise it to a .q42 graph — the semantic backbone the .10d mesh library is addressed by (Timothy 2026-07-12: “define an ontology … store the info in a q42 file, with a library of d10 files produced via converting the files”).
bodyparts3d_resolver
Ingest BodyParts3D (FMA-keyed, CC-BY-SA) — the muscles/bones/glands/nerves that complete the body CCF/HRA (viscera-only) cannot. Pure part-of→system mapping + a native fetch/pack producer. Ingest the BodyParts3D FMA-keyed anatomy meshes — the open library that completes the body the CCF/HRA reference organs cannot: 437 individual muscles, 251 bones, 99 nerves, endocrine + sense-organ glands. Where CCF is viscera-only, BodyParts3D fills the muscular / skeletal / nervous / endocrine / sensory systems.
bookmarks
Hypermedia bookmarks (QLink index + Library purpose filter).
ccf_resolver
Discover the CCF/HRA reference-organ GLB assets from the Human Reference Atlas SPARQL endpoint (the scalable, canonical source — no repo clone, no Git-LFS pointers). The HRA Knowledge Graph registers each reference organ as linked data; the GLB lives as a foaf:depiction xsd:anyURI pointing at cdn.humanatlas.io (the real binary). The CDN path encodes organ, sex, and version, so the discovered filename (e.g. 3d-vh-m-liver.glb) feeds straight into body_system_for_organ and compile_body.
checkpoint_store
Durable WellFair checkpoint metadata, DAG history, and .q42 volume snapshots.
cml_context
Rust-native CML context graph + COF HTML+RDFa for the hypermedia Library.
companion_tests
Companion ingest path — phone bundle → journal (§8.1 step 4, Phase 2 closeout).
consent_store
Persisted owner consent grants evaluated by PolicyDecisionService.
export_package
Standards-readable health export package (§8.1 step 9).
fetal_stages
Developmental (embryonic/fetal) assets — the CC-BY Carnegie human-embryo series from NIH 3D, keyed by gestational age = the .10d t-axis coordinate. This is the first concrete consumer of the t-axis (reproductive-continuum plan §2): geometry as a function of developmental time.
graph_query
Bounded graph query — map journal record IDs to materialized quin counts.
graph_store
Materialized graph quins — append-only projection of checkpointed WAL commits.
host_state
Host operating-state DTOs consumed by the WellFair shell (Workstream 2).
hypermedia_store
Persistent hypermedia asset library — ingest documents/assets, and find them by meaning (topic / depiction / time / place / project / purpose), never by folder.
import_samsung
Samsung Health import — companion bundle (primary) and folder scan (dev fallback).
ingest_guardian
Guardian notification on flagged ingest — the guardianship hook of the hypermedia semantic library (Timothy, 2026-07-07: “if there’s a guardianship relation, it might notify the guardian if the content raises particular flags”).
journal
Append-only WellFair record journal (human-readable projection over WAL commits).
legislation_ingest
Native legislation structure parse → hypermedia Library ingest.
live_share
Pending companion live-section requests and usage agreements (owner approval gate).
med_reminders
Local medication reminder prefs and due-slot computation (Q6 MED-01..13).
perception_catalog
Perception assets catalogue — seed models and ontologies into the hypermedia Library (Software / Tools shelves) with honest labels.
personal_profile
Personal Core persisted fields (PRO-01..08) — emergency contacts and profile extensions.
physiology_prefs
The person’s own physiological-state declaration — where they are on the reproductive continuum.
policy
qapp_catalog
Studio academic QApp catalogue — seeded into the hypermedia Library Software section.
qapp_publish
WP2 — Package & Publish: turn a QappManifest into an installable PWA bundle on disk.
receipt
Typed policy receipts appended after durable WAL commits.
sanctuary
Sanctuary vault state — setup, lock, decoy session (SAF-01..20; no destructive PIN).
sanctuary_vault
Encrypted-at-rest Sanctuary store with an independent decoy lane (master plan §6).
scorecard_prefs
The person’s own score-card weight model — their authorship of how their body is read.
snapshot
Derive WellfairHostSnapshot from live host services (not Dioxus signals).
sync_outbox
Durable sync outbox: queued record commits awaiting upstream acknowledgement.
sync_protocol
Versioned, replay-safe sync-operation protocol and quarantined inbox.
sync_relay_server
A minimal HTTP relay for the sync transport (T3.1) — the server counterpart to HttpRelayTransport.
sync_transport
Sync transport (T3.1) — moves SyncOperations between this node and a peer/relay.
vault
vault_container
Sanctuary vault v2 on-disk container (S3) — CBOR-native, additive; not yet wired into the vault.
workshop_ingest
Compile a local anatomy-workshop export/ directory into a sealed .hmc pack.