CLINICAL
SERVICE CONTRACT · VIEW: GOV
Axiom
CLINICAL governs clinical data. Every record validated. Every access audited.
Constraints
MUST: Validate every record MUST: Audit every access MUST: Comply with industry governance MUST: Every child instance at IRBS/ inherits these constraints MUST: Instance trees carry all state (CANON, INTEL, LEARNING, COVERAGE, ROADMAP, VOCAB) MUST NOT: Expose protected data to ungoverned surfaces MUST NOT: Bypass access controls MUST NOT: Nest instance directories under SERVICES/CLINICAL/ (service contract is the class, not the instance)
Capabilities
ACCESS_AUDIT, COMPLIANCE_GATE, RECORD_VALIDATE
COVERAGE: 255/255
SPEC
Purpose
CLINICAL governs clinical and operational health data.
Every health record, diagnostic output, treatment log, and wellness snapshot is governed through CLINICAL. The service enforces audit trails on every data access, ensures clinical data stays behind auth gates, and provides governed status surfaces for long-run operational visibility.
Structure
Leaf SERVICE scope. No governed child scopes. Health data lives under auth-gated instance scopes (VAULT projection).
Required closure artifacts per scope:
CANON.md, README.md, CLINICAL.md, VOCAB.md, ROADMAP.md, COVERAGE.md, LEARNING.md.
Learning lane per governed scope:
LEARNING.md at the scope root is terminal and SHALL NOT nest further LEARNING/.
Routes
web_docs: https://hadleylab.org/
web_surface: https://hadleylab.org/SERVICES/CLINICAL/
magic: magic://hadleylab.org/SERVICES/CLINICAL/
Data Contract
1. Health records are VAULT-gated by default (PRIVATE, readers-restricted)
2. Every access event is ledgered (who, when, scope, action)
3. Diagnostic outputs are governed artifacts — deterministic, timestamped
4. Clinical data stays in governed markdown — no external cloud sync
5. Aggregated health status (non-PII) may surface through SHOP projection
6. Individual records never surface through SHOP
Ecosystem Connectivity
- Upstream:
SERVICESgovernance contracts andLEDGER-CONSUMERS.mdgate rules. - Runtime: governed telemetry, health snapshots, incidents, and attestation outputs.
- Frontend: governed health status surfaces and long-run progress visibility.
- Ledger plane: consumes service ledgers + LEARNING ledger; emits governed operational truth.
Pages
| Page | Sections |
|---|---|
| Overview | Purpose, Structure |
| Data | Routes, Data Contract |
| Ecosystem | Ecosystem Connectivity |
Default: Overview.
LEARNING
Patterns
| Date | Signal | Pattern | Source | |——|——–|———|——–|
LEARNING | CLINICAL | _generated
ROADMAP
VOCAB
| Term | Definition |
|---|---|
| CLINICAL | Governed clinical and operational health data service. |
INHERITANCE CHAIN
SERVICES
SERVICES compose primitives — INTEL + CHAT + COIN. Every service governed. Every scope discovered.
MUST: Maintain TRIAD integrity (CANON.md + VOCAB.md + README.md)
MUST: Treat SPEC as scope identity (`{SCOPE}` directory), not as a file
MUST: Every SERVICE scope include ROADMAP.md, COVERAGE.md, LEARNING.md, and `{SCOPE}.md` as governed content surfaces
MUST: Discover SERVICE scopes from filesystem only (no manual catalog)
MUST: Keep http:// and magic:// on the same namespace (transport differs, scope path matches)
MUST: CANON.md = axiom + universal constraints (no service names, no paths, no implementation)
MUST: README.md = how to run the CANON (nothing else)
MUST: {SCOPE}.md = SPEC — the interface (purpose, routes, projections, ecosystem)
MUST: SHOP.md = public projection file (per scope, filesystem-discoverable)
MUST: VAULT.md = private projection file (per scope, filesystem-discoverable)
MUST: Runtime implementation remains under ~/.canonic; this workspace is governance-first
MUST NOT: Hardcode service names in CANON constraints (law speaks universals)
MUST NOT: Define ungoverned terms outside VOCAB.md
MUST NOT: Treat `{SCOPE}.md` as SPEC identity
MUST NOT: Move architecture/lifecycle into README
MUST NOT: Leak private projections to public surfaces
MUST NOT: Maintain duplicate mapping tables outside generated manifest outputs
MUST NOT: Add runtime jargon to governance contracts
MUST: Ledger-consuming services declare source ledgers, scope filters, and closure gates
MUST: Learning governance remains live — closure claims require fresh DISCOVER → GENERATE → RELINK evidence
hadleylab-canonic
HADLEYLAB ships software. Every app, book, paper, deal, and patent is PROOF that MAGIC works. COIN = WORK. LEARNING = COMPUTE.
MUST: Every app, book, paper, deal, or patent is evidence of MAGIC MUST: All scopes inherit canonic-canonic/CANONIC.md governance MUST: All users governed under USERS/ via SERVICES/USER MUST: Cross-index INTEL across users (INTEL.md) MUST: Shared events propagate to ALL affected user dashboards MUST: Maintain governance workspace purity (.md files only) MUST: Ledger all COIN (validated work) through MAGIC 255 MUST: Compile all INTEL from governed sources MUST: Keep frontend/runtime implementation under ~/.canonic (hidden runtime) MUST: Surface governed TALK, Library, and SERVICES scopes (no orphan content) MUST: Derive nav labels from governed scope names (no hardcoded strings) MUST NOT: Publish without governance (CANON.md required) MUST NOT: Duplicate primitives — compose from INTEL, CHAT, COIN MUST NOT: Silo intelligence inside a single user when multiple are affected MUST NOT: Expose VAULT contents outside NDA scope MUST NOT: Store runtime artifacts in governance workspace
canonic-canonic
SPEC is governance. `canonic-canonic/` is the spec root.
MUST: Keep this repo governance-only (.md/.pdf) MUST: Publish workspace mapping in CANONIC.git (no hardcoded repo lists) MUST: Preserve three primary lanes: FOUNDATION, INDUSTRIES, MAGIC MUST NOT: Commit runtime artifacts here (runtime belongs in ~/.canonic/) MUST: Sell MAGIC tiers — the product, not the proof (proof is hadleylab-canonic) MUST NOT: Embed beta-test app URLs in platform page content