Purpose
SERVICES is CANONIC.
Defines the structural contract for SERVICES. Scope is the directory name.
For this directory:
scope = SERVICES
This contract defines:
- structure,
- interface,
- ecosystem connectivity.
CANON then governs this scope here-and-now under that contract.
SPEC + TRIAD
Canonical LANGUAGE contract:
SPEC = {SCOPE}
TRIAD = CANON.md + VOCAB.md + README.md
SPEC + TRIAD = BUSINESS
SPEC is the fixed point (scope identity). {SCOPE}.md is governed content at the scope, not SPEC identity.
Structure
Root service domains:
AUTH/, BLOG/, BOOK/, CALENDAR/, DEAL/, DECK/, EMAIL/, FINANCIALS/, FORECASTS/, HEALTH/, IMESSAGE/, INTEL/, KYC/, LEARNING/, LEDGER/, LINKEDIN/, MAGIC/, PAPER/, PATENT/, PLAYBOOKS/, RESERVES/, SHOP/, TALK/, VAULT/, VITAE/.
Services define schemas and contracts. Instances live at USER level (see Instance Pattern below).
Required closure artifacts per scope:
CANON.md, README.md, {SCOPE}.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/.
Tier Template
This scope inherits MAGIC tier algebra; service shapes are cumulative:
COMMUNITY = TRIAD
BUSINESS = SPEC + TRIAD
ENTERPRISE = BUSINESS + COVERAGE.md + ROADMAP.md
AGENT = ENTERPRISE + LEARNING.md
MAGIC = FULL (255)
Economic Architecture
Primitives: CHAT, INTEL, COIN.
Services compose primitives. Projections connect services.
Economic events and rules are governed by VOCAB and the services that own them.
Lifecycle
DISCOVER -> GOVERN -> RUN -> LEDGER -> CLOSE -> LEARN
DISCOVER: find governed scopes by path.GOVERN: apply CANON constraints and route contracts.RUN: compile runtime surfaces from governance.LEDGER: append WORK and economic events.CLOSE: reconcile monthly economics and publish summary state.LEARN: backprop patterns into LEARNING artifacts.
Routes
Every governed service scope MUST declare a https:// frontend and a magic:// native route in its {SCOPE}.md contract.
Minimum required declaration:
web_docs(canonical SPA root):https://{org-user}.github.io/web_surface(this scope within the SPA):https://{org-user}.github.io/{PATH}/magic(canonical native URL):magic://{org-user}.github.io/{PATH}/(same namespace as web, different transport)
Optional (recommended when applicable):
web_app(interactive UI):https://{org-user}.github.io/{APP_PATH}/
All routes MUST be deterministic and stable across deploys.
For this scope (SERVICES):
web_docs: https://hadleylab-canonic.github.io/
web_surface: https://hadleylab-canonic.github.io/SERVICES/
magic: magic://hadleylab-canonic.github.io/SERVICES/
Fleet Mapping
Single governed mapping source:
~/.canonic/services-manifest.json.
Fleet mapping rules:
- Service discovery source is
DEXTER/SERVICES/**/CANON.md(path-discovered). - Instance discovery source is
DEXTER/{PLURAL}/**/CANON.md(path-discovered). - Fleet/catalog scope mapping MUST be generated from the manifest
scopes[].scope. - Frontend/runtime surfaces MUST consume the generated mapping; no second hand-curated mapping table.
- Catalog sync gate MUST fail if a governed scope required for frontend accessibility is missing from fleet mapping output.
- Runtime projection MUST remain a thin wrapper over
magic.cvalidation (min code, max governance).
Instance Pattern
Services that produce artifacts MUST declare an Instance Pattern in their {SCOPE}.md.
SERVICE (schema): SERVICES/{SINGULAR}/ ← contract, routes, spec
INSTANCE (content): {USER}/{PLURAL}/ ← artifacts, projections, instance governance
Instance directories carry their own governance triad + projection file:
{USER}/{PLURAL}/
{PLURAL}.md ← instance spec
CANON.md ← instance governance
SHOP.md ← public projection (or VAULT.md for private)
COVERAGE.md ← compliance
LEARNING.md ← learning trail
README.md ← scope readme
ROADMAP.md ← scope roadmap
VOCAB.md ← scope vocabulary
Reference implementation: SERVICES/VITAE/VITAE.md → DEXTER/VITAE/.
Projections
Projections follow instances, not services. Projection files live at instance level:
{USER}/{PLURAL}/SHOP.md— public projection{USER}/{PLURAL}/VAULT.md— private projection (auth-gated)
Discovery: walk {USER}/**/SHOP.md and {USER}/**/VAULT.md.
Aggregation: compiler builds unified surfaces from discovered projections.
Instance: a service projected through user governance context. Computed, not duplicated.
Ecosystem Connectivity
- Upstream:
DEXTERgovernance roots andDEXTER/PATENTS/learning evidence. - Runtime:
~/.canonicservices/generator outputs and attestations. - Frontend: governed catalog sync; all governed scopes must be surfaced.
- Ledger plane: services consume ledgered artifacts through declared consumer gates.
Pages
| Page | Sections |
|---|---|
| Overview | Purpose, SPEC + TRIAD, Structure, Tier Template |
| Architecture | Economic Architecture, Lifecycle, Projections |
| Operations | Fleet Mapping, Routes |
| Ecosystem | Ecosystem Connectivity |
Default: Overview.
| *SERVICES | SPEC | SERVICES* |
Service Catalog
28 governed services. Every one audit-ready.
| Service | Purpose |
|---|---|
| AUTH | AUTH gates scope access. GitHub identity is KYC anchor. Scope-level readers/writers. |
| BLOG | BLOG publishes governed content. Deterministic. Drift-gated. |
| BOOK | BOOK publishes governed content. Deterministic. Drift-gated. |
| CALENDAR | CALENDAR extracts governed intelligence from external sources. |
| COIN | COIN is the economic shadow of WORK. Every mint ledgered. Every burn evidenced. |
| DEAL | DEAL governs relationships. Every deal ledgered. Every stage evidenced. |
| DECK | DECK publishes governed content. Deterministic. Drift-gated. |
| FINANCIALS | FINANCIALS governs the economic record. Every event ledgered. Every close reconciled. |
| FORECASTS | FORECASTS projects governed economics. Every projection evidenced. |
| HEALTH | HEALTH governs clinical data. Every record validated. Every access audited. |
| IMESSAGE | IMESSAGE extracts governed intelligence from external sources. |
| KYC | KYC validates identity and compliance. Every claim verified. |
| LATEX | LATEX IS A COMPILED SURFACE. GOVERNANCE LIVES IN MARKDOWN. NO RAW LATEX IN GOV LAYER. |
| LEARNING | DEXTER LEARNING: governed discovery extraction for health AI + cross-axiom intelligence network. Every gradient evidenced. |
| LEDGER | LEDGER is the append-only truth. Every economic event recorded. No erasure. |
| LINKEDIN extracts governed intelligence from external sources. | |
| MAGIC | MAGIC enforces governance at runtime. Every request validated. Every response governed. |
| NOTIFIER | NOTIFIER delivers governed cross-scope messages. Every delivery ledgered. Every route declared. |
| OMICS | OMICS governs multi-omic intelligence. Every signature evidenced. Every variant classified. Every analysis ledgered. |
| PAPER | PAPER publishes governed content. Deterministic. Drift-gated. |
| PATENT | PATENT governs intellectual property. Every filing evidenced. Every disclosure tracked. |
| PLAYBOOKS | PLAYBOOKS governs operational procedures. Every playbook validated. |
| RESERVES | RESERVES holds governed capital. Every allocation evidenced. |
| SHOP | SHOP compiles the public aggregate. Composable. Deterministic. Drift-gated. |
| TALK | TALK governs conversation. Every session governed. Every response sourced. |
| VAULT | VAULT compiles the private aggregate. Auth-gated. Ledger-backed. |
| VITAE | VITAE governs professional identity. Every claim evidenced. |
| WHATSAPP extracts governed intelligence from WhatsApp group and direct messages. |