ยง NEW ยท Unified Identity Architecture

@dosfi.ai โ€” The Secure Identity Fabric

One identity. One login origin. Cryptographically hardened across DOSFI.ai, MeshInfer.AI, MeshNativeExchange, DOSFI Academy, DOSFI University, mesh-native apps, agents, enterprise nodes, and every 20-node mesh participant. This is not an email service. It is the identity fabric woven into every system.

F.1

What the identity fabric is โ€” and is not

The @dosfi.ai Identity Fabric is a single, cryptographically-hardened identity layer. Every principal in the Distributed Intelligence Stack โ€” users, agents, devices, mesh nodes, and enterprise organizations โ€” is issued an identity by one authority: the DOSFI Identity Service at identity.dosfi.ai.

There are no sub-systems with their own login. There are no separate identity stores per platform. There is no re-registration when moving between DOSFI, MeshInfer, Academy, or University. One identity creation event propagates everywhere, immediately and atomically.

What this is not
@dosfi.ai addresses are identity tokens โ€” not email addresses. There is no webmail, no IMAP/POP3, and no general-purpose inbox. System notifications are outbound-only from authenticated DOSFI services. No passwords are ever entered outside identity.dosfi.ai.

Identity principals

Principal typeIdentity formatIssued byScope
Human userusername@dosfi.aiDOSFI Identity Service on account creationAll five platforms, mesh apps, agents, nodes
AI agentagentname@dosfi.aiIdentity Service on agent deployment (MFA-gated)Scoped to owner UserID; signs all outbound messages
Enterprise memberuser@company.dosfi.aiOrg admin provisioning flowScoped to org namespace; inherits org routing policies
Enterprise orgOrgID: org_{slug}_{env}Identity Service on enterprise onboardingGoverns all members, nodes, and DIU wallet of the org
Mesh nodeNodeID: node_{uuid4}MeshInfer Coordinator on registrationBound to DeviceID + UserID; tied to DIU wallet
DeviceDeviceID: did:mesh:{hash}Identity Service on device bindingEd25519 keypair in secure enclave; one active NodeID per device
F.2

Identity creation โ€” the full provisioning sequence

Identity creation is a single atomic event that propagates across all five systems in under 500 ms. No manual provisioning step is required on any downstream platform.

User identity creation

sequence
  Browser / App            identity.dosfi.ai          All five systems
        โ”‚                           โ”‚                          โ”‚
        โ”‚โ”€โ”€ POST /signup โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚                          โ”‚
        โ”‚   { email, display_name } โ”‚                          โ”‚
        โ”‚                           โ”‚โ”€โ”€ generate username@dosfi.ai
        โ”‚                           โ”‚โ”€โ”€ generate UserID (uuid4)
        โ”‚                           โ”‚โ”€โ”€ issue Ed25519 keypair (stored securely)
        โ”‚                           โ”‚โ”€โ”€ sign UserID certificate (24h TTL, auto-renew)
        โ”‚                           โ”‚                          โ”‚
        โ”‚                           โ”‚โ”€โ”€ PROPAGATE โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚
        โ”‚                           โ”‚   event: user_created    โ”‚
        โ”‚                           โ”‚   { user_id, email,      โ”‚
        โ”‚                           โ”‚     identity: username   โ”‚
        โ”‚                           โ”‚     @dosfi.ai }          โ”‚
        โ”‚                           โ”‚                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚                           โ”‚                    โ”‚  Each system registers โ”‚
        โ”‚                           โ”‚                    โ”‚  the identity via its  โ”‚
        โ”‚                           โ”‚                    โ”‚  OIDC service webhook  โ”‚
        โ”‚                           โ”‚                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        โ”‚โ—„โ”€โ”€ 201 Created โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚
        โ”‚   { identity: username@dosfi.ai,
        โ”‚     access_token (15 min),
        โ”‚     refresh_token (30 days) }

What propagates to each system at creation

SystemReceivesCreates locallyNotes
DOSFI.aiuser_created event (UserID, identity)Runtime session context, privacy tier defaultsDOSFI Runtime authorized immediately
MeshInfer.AIuser_created eventDefault routing policy, Subscription record (developer tier)Routing permissions gated by subscription tier from token claims
MeshNativeExchangeuser_created eventRequester DIU wallet (initially empty)Wallet address linked to UserID; no balance until funded
DosfiAcademy.comuser_created eventStudent account, enrolled_courses[] = []Course access claims added to token on enrollment
DosfiUniversity.comuser_created eventCandidate profile, certification_tier: noneArchitect tier claim added to token on exam pass
Mesh nodesNot propagated at creationNothing โ€” nodes await explicit registrationNode identity issued separately via Phase I (G.1)

Device binding โ€” required before node participation

sequence
  Device (daemon)             identity.dosfi.ai
        โ”‚                               โ”‚
        โ”‚โ”€โ”€ generate Ed25519 keypair    โ”‚
        โ”‚   (in OS Keychain/Keystore/   โ”‚
        โ”‚    WebCrypto โ€” private key    โ”‚
        โ”‚    never leaves device)       โ”‚
        โ”‚                               โ”‚
        โ”‚โ”€โ”€ POST /devices/bind โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚
        โ”‚   { user_id, pub_key,          โ”‚
        โ”‚     device_type, platform,     โ”‚
        โ”‚     device_fingerprint_hash }  โ”‚
        โ”‚                               โ”‚โ”€โ”€ verify UserID token
        โ”‚                               โ”‚โ”€โ”€ issue DeviceID (did:mesh:{hash})
        โ”‚                               โ”‚โ”€โ”€ sign DeviceCert (Ed25519, 24h TTL)
        โ”‚โ—„โ”€โ”€ { device_id, device_cert } โ”€โ”‚
        โ”‚                               โ”‚
        โ”‚   Store device_cert securely  โ”‚
        โ”‚   โ†’ used for mTLS in G.3      โ”‚
F.3

Identity propagation โ€” cross-system consistency

The DOSFI OIDC token is the single credential that all five systems accept. It is never re-issued per-platform. All system-specific authorizations are claims embedded within the token โ€” not separate sessions.

Token claim structure

json
// DOSFI OIDC Access Token โ€” decoded payload
{
  "sub":                "usr_a1b2c3...",          // UserID
  "identity":           "alice@dosfi.ai",
  "org_id":             "org_acme_prod",           // null for personal accounts
  "device_id":          "did:mesh:abc123",          // null if no device bound
  "node_id":            "node_f9a3e2b1...",         // null if no active node
  "subscription_tier":  "growth",                  // developer|startup|growth|enterprise
  "privacy_policy":     "mesh_ok",                 // local_only|mesh_ok|cloud_ok
  "enrolled_courses":   ["msi-101", "msi-102"],     // DosfiAcademy claims
  "certification_tier": "professional_architect",  // DosfiUniversity claims
  "agent_ids":          ["agnt_home..."],           // deployed agents
  "routing_permissions": ["local", "mesh"],         // derived from subscription_tier
  "iat": 1751808000,
  "exp": 1751808900,                               // 15-min TTL
  "iss": "https://identity.dosfi.ai",
  "aud": ["meshinfer.ai", "meshnativeexchange.com",
          "dosfiacademy.com", "dosfiuniversity.com"]
}

How each system uses the token

SystemToken claims consumedEnforcement action
DOSFI.ai Runtimesub, privacy_policy, subscription_tierGates model execution tier; enforces privacy policy before any I/O
MeshInfer.AI Gatewaysub, subscription_tier, routing_permissions, privacy_policy, node_id, device_idValidates identity chain; gates routing tier; enforces privacy gate synchronously before dispatch
MeshInfer.AI Billing Metersub, org_id, subscription_tierAttributes all metering events and DIU spend to the correct identity + wallet
MeshNativeExchangesub, org_idDebit/credit DIU wallet by UserID/OrgID; settlement logs carry identity metadata
DosfiAcademy.comenrolled_courses, subscription_tierGates course content access; lab environments provisioned per identity
DosfiUniversity.comcertification_tier, org_idGates certification exam access; org-level architect credentials enforced
Mesh node (daemon)sub, org_id, privacy_policy, node_idVerifies task is authorized by a valid identity before executing; privacy tier enforced before decryption
No platform-specific sessions
Navigating from MeshInfer.AI to DosfiAcademy.com to DosfiUniversity.com involves zero additional login events. The OIDC token is presented by the browser (HttpOnly cookie, domain-locked) and verified by each platform independently against the DOSFI JWKS endpoint. The user is never prompted to log in again.
F.4

Identity verification โ€” per-request enforcement

Every API call, inference request, DIU event, and node heartbeat is verified against the DOSFI OIDC token. Verification is synchronous, cryptographic, and never cached beyond the token TTL.

Verification steps โ€” every request

sequence
  Request arrives at any system boundary
        โ”‚
        โ”œโ”€ 1. Extract Bearer token from Authorization header or HttpOnly cookie
        โ”‚
        โ”œโ”€ 2. Fetch current JWKS from identity.dosfi.ai/.well-known/jwks.json
        โ”‚      (cached up to token exp; invalidated on key rotation event)
        โ”‚
        โ”œโ”€ 3. Verify JWT signature (Ed25519) against matching kid in JWKS
        โ”‚      โœ— invalid sig โ†’ 401 Unauthorized; log to AuditLog (action: auth_failure)
        โ”‚
        โ”œโ”€ 4. Verify iat, exp, iss, aud claims
        โ”‚      โœ— expired โ†’ 401; client must refresh via refresh_token
        โ”‚      โœ— wrong aud โ†’ 403; token not intended for this system
        โ”‚
        โ”œโ”€ 5. Check device_id claim (if node operation)
        โ”‚      โœ— device_id missing or not registered โ†’ 403
        โ”‚      โœ— node_id mismatch โ†’ 403 + AuditLog (action: node_id_mismatch)
        โ”‚
        โ”œโ”€ 6. Enforce privacy_policy claim (if inference request)
        โ”‚      local_only + route โ‰  local โ†’ 403 (privacy_policy_violation)
        โ”‚
        โ”œโ”€ 7. Enforce subscription_tier claim (if routing / feature access)
        โ”‚      tier insufficient โ†’ 402 (subscription_upgrade_required)
        โ”‚
        โ””โ”€ 8. Proceed with request; all events attributed to sub + org_id

Identity verification across all 20 nodes

Token presentationEvery task dispatch envelope from the Coordinator includes the requester's identity token (encrypted, node-bound). The node daemon verifies the token before decrypting the prompt.
Node cert verificationOn every heartbeat, the Coordinator verifies the heartbeat signature against the DeviceID-bound Ed25519 public key stored at registration. Mismatched signature โ†’ immediate node eviction + AuditLog.
mTLS (node โ†” Coordinator)All node-Coordinator communication uses mTLS. The client certificate is the DOSFI-signed DeviceCert. Expired certs (24h TTL) are auto-renewed; renewal failure โ†’ node enters "cert_expired" state and stops receiving tasks.
Verification sampling2% of all completed inference tasks are re-dispatched by the Coordinator as verification tasks. The result hash is compared against the original. Hash mismatch = identity-bound reputation penalty + investigation flag.
F.5

Identity revocation โ€” immediate, cascading, irrevocable

Revocation is the most critical identity operation. The DOSFI Identity Service propagates a revocation event to all five systems within 5 seconds. Every principal downstream of the revoked identity is simultaneously invalidated.

Revocation cascade

identity-chain
  REVOKE UserID: usr_a1b2c3
    โ”‚
    โ”œโ”€ access_token invalidated immediately (added to revocation list)
    โ”œโ”€ refresh_token revoked โ€” no new access tokens issuable
    โ”œโ”€ DeviceID โ†’ DeviceCert revoked โ€” mTLS connections dropped within 5 s
    โ”‚   โ””โ”€ NodeID removed from routing pool immediately
    โ”‚       โ””โ”€ DIU wallet: pending unsettled events held 24h for review
    โ”‚           โ””โ”€ settled DIU is final and accessible post-review
    โ”œโ”€ AgentIDs revoked โ€” agent signing key invalidated
    โ”œโ”€ OrgID membership revoked (if member) โ€” org policies no longer apply
    โ”œโ”€ DosfiAcademy session invalidated โ€” content access blocked
    โ””โ”€ DosfiUniversity session invalidated โ€” exam tokens voided

Revocation triggers and actors

TriggerActorTargetTTL to full effect
User-initiated logoutUser via identity.dosfi.ai/securityCurrent session only (access_token)Immediate (< 1 s)
User-initiated revoke allUser via identity.dosfi.ai/securityAll sessions, all devices< 5 s across all systems
Admin revoke (org scope)Org admin via org admin portalSpecific user within org< 5 s
Platform security breachDOSFI security teamSpecific UserID or OrgID< 5 s; user notified by email
Node security breachCoordinator (automated)NodeID only (not UserID)Immediate for NodeID; DeviceID cooling-off 72 h
Agent anomalyIdentity Service anomaly detectorAgentID only< 5 s; owner notified
Subscription cancellationBilling systemsubscription_tier claim only โ†’ degraded to developerNext token refresh (โ‰ค 15 min)
Single revocation point
Revoking a UserID at identity.dosfi.ai is the only action required to fully deactivate a principal across all five systems, all mesh nodes, all agents, and all enterprise contexts. There is no need to manually invalidate sessions in each downstream system.
F.6

Identity recovery โ€” verified, phased, audited

Recovery flow

sequence
  User requests recovery โ†’ identity.dosfi.ai/recover
        โ”‚
        โ”œโ”€ 1. Email ownership verification
        โ”‚      โ†’ one-time signed link (15-min TTL, single-use) sent to registered email
        โ”‚      โ†’ link click proves domain ownership; no password requested
        โ”‚
        โ”œโ”€ 2. MFA verification (if enrolled)
        โ”‚      โ†’ TOTP or WebAuthn passkey challenge
        โ”‚      โ†’ Required for accounts with active mesh nodes or enterprise org membership
        โ”‚
        โ”œโ”€ 3. Recovery scope selection
        โ”‚      โ†’ Recover session only (new tokens, existing devices intact)
        โ”‚      โ†’ Recover + revoke all devices (new tokens + all DeviceIDs invalidated)
        โ”‚      โ†’ Full recovery (all of above + new Ed25519 keypair issued)
        โ”‚
        โ”œโ”€ 4. New tokens issued
        โ”‚      โ†’ New access_token (15 min) + refresh_token (30 days)
        โ”‚      โ†’ Propagated to all five systems via user_recovered event
        โ”‚
        โ””โ”€ 5. Recovery event written to AuditLog
               { action: "identity_recovered", user_id, scope, timestamp }

Recovery constraints

MFA-gated operations post-recoveryRe-linking mesh nodes, re-deploying agents, and accessing enterprise org admin functions all require fresh MFA challenge after recovery, even within the same session.
NodeID post-recoveryExisting NodeIDs are suspended for 1 hour post-recovery (safety window). Nodes auto-resume if no anomaly is detected. Manual resume available via Coordinator admin.
DIU walletDIU wallet access is restored immediately on successful recovery. Pending unsettled DIU remains in held state until the node safety window clears.
No recovery without email accessIf the registered email account is also compromised, recovery requires identity.dosfi.ai support. This is a deliberate security property โ€” no backdoor recovery path exists.
F.7

Privacy tier enforcement โ€” structural, not policy

Privacy tiers are claims in the DOSFI identity token. Every system in the stack enforces them structurally โ€” before any network I/O, not as a logging filter applied after the fact.

Privacy tier definitions

local_onlyInference executes exclusively on the requester's own device. No prompt data leaves the device. AbortController fires before any mesh or cloud dispatch attempt. Enforced synchronously in the SDK before any outbound call.
mesh_okInference may execute on peer mesh nodes within the same OrgID's permitted routing pool. Prompts are end-to-end encrypted (AES-256-GCM, ephemeral session key per task). Peer nodes see only ciphertext.
cloud_okInference may fall back to cloud providers when local and mesh capacity is insufficient. Cloud providers receive the plaintext prompt under their own data processing agreements.

Enforcement architecture โ€” three layers

Privacy is enforced at three independent layers, each of which must be defeated for a violation to occur:

Layer 1 โ€” SDK (client-side)Before any network call, the SDK reads the privacy policy from the token. For local-only requests, the SDK verifies a local runtime is available and executes locally โ€” the Coordinator is never contacted. No network dispatch can fire.
Layer 2 โ€” Gateway (server-side, synchronous)On every request, the Gateway evaluates the privacy policy claim from the token. If the policy forbids the requested route (e.g., local-only with a non-local route, or mesh-ok with a cloud route), the request is rejected with a 403 before any dispatch.
Layer 3 โ€” Node daemon (node-side, before decryption)Before decrypting the task envelope, the node verifies the requester's privacy policy. If the node's local configuration conflicts with the requester's policy (e.g., a local-only node receiving a cross-org task), the node NACKs the task without decrypting it. The plaintext result is encrypted before transmission.
F.8

Identity-bound compute metering & DIU economics

Every metering event, DIU spend record, DIU issuance event, and settlement log carries the full identity chain of the requesting identity and serving node. There is no anonymous inference in the Distributed Intelligence Stack.

Identity fields in every metering event

Every metering event carries the full identity chain of both the requester and the serving node. The requester fields include the user identity, org ID, subscription tier, and privacy policy. The serving node fields include the node ID, device ID, owner identity, and DIU wallet reference. Economic fields record the DIU spend and issuance amounts. All fields are required and verified โ€” there is no anonymous inference in the Distributed Intelligence Stack.

Identity-bound DIU spend rules

Spend attributionDIU spend is always debited from the requester's OrgID wallet (or personal wallet for solo users). The identity in the token is the billing identity โ€” not the caller's IP or API key.
Spend cap enforcementIf subscription_tier == "developer", spend is capped at 500 DIU/month. Exceeding the cap blocks dispatch (402). Cap is checked synchronously at the Gateway using the token's subscription_tier claim.
OverageGrowth/Enterprise tiers may configure overage: additional DIU debited beyond plan cap at overage rate. Overage is attributed to the identity, not the API key.

Identity-bound DIU issuance rules

Issuance attributionDIU is always issued to the NodeID's owner UserID DIU wallet. If the node is org-operated, DIU flows to the org wallet (OrgID-bound).
Sybil preventionA single UserID cannot own an unbounded number of NodeIDs simultaneously (enforced by Identity Service). This prevents artificial reputation inflation via self-dealing.
Self-dealing preventionWhen the requester is also the serving node owner, the quality multiplier is capped (no elite bonus for self-served tasks).
F.9

Cross-system identity flow map

topology

  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚                    DOSFI IDENTITY SERVICE                                  โ”‚
  โ”‚              identity.dosfi.ai  ยท  OAuth 2.0 + OIDC                       โ”‚
  โ”‚                                                                            โ”‚
  โ”‚  Authorities: UserID ยท DeviceID ยท NodeID ยท AgentID ยท OrgID                โ”‚
  โ”‚  Endpoints:   /signup ยท /devices/bind ยท /agents/deploy ยท /recover          โ”‚
  โ”‚  Protocols:   Ed25519 JWT ยท DPoP (RFC 9449) ยท mTLS ยท PKCE                 โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ”‚  OIDC token propagated to all systems
         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
         โ”‚                โ”‚                                        โ”‚
         โ–ผ                โ–ผ                                        โ–ผ
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚  DOSFI.ai    โ”‚  โ”‚        MeshInfer.AI                    โ”‚  โ”‚ MeshNative   โ”‚
  โ”‚              โ”‚  โ”‚                                        โ”‚  โ”‚ Exchange     โ”‚
  โ”‚  Runtime     โ”‚  โ”‚  Gateway  โ†’ verifies sub, device_id,  โ”‚  โ”‚              โ”‚
  โ”‚  Scheduler   โ”‚  โ”‚             node_id, privacy_policy    โ”‚  โ”‚  DIU wallet  โ”‚
  โ”‚  Identity    โ”‚  โ”‚  Router   โ†’ enforces subscription_tier โ”‚  โ”‚  debited by  โ”‚
  โ”‚    gate      โ”‚  โ”‚  Meter    โ†’ attributes spend to sub    โ”‚  โ”‚  org_id from โ”‚
  โ”‚  Privacy     โ”‚  โ”‚  Issuer   โ†’ attributes issuance to     โ”‚  โ”‚  token       โ”‚
  โ”‚    model     โ”‚  โ”‚             node owner sub             โ”‚  โ”‚              โ”‚
  โ”‚  Storage     โ”‚  โ”‚  Settlement โ†’ carries full identity    โ”‚  โ”‚  Issuance    โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚              chain in every log record โ”‚  โ”‚  credited to โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚  node_id     โ”‚
                                                                โ”‚  owner sub   โ”‚
         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚                                                โ”‚
         โ–ผ                                                โ–ผ
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚  DosfiAcademy.com        โ”‚                  โ”‚  DosfiUniversity.com       โ”‚
  โ”‚                          โ”‚                  โ”‚                            โ”‚
  โ”‚  sub โ†’ student account   โ”‚                  โ”‚  sub โ†’ candidate profile   โ”‚
  โ”‚  enrolled_courses โ†’ gate โ”‚                  โ”‚  certification_tier โ†’ gate โ”‚
  โ”‚  Lab environments tied   โ”‚                  โ”‚  Architect claims added    โ”‚
  โ”‚  to sub; DIU metering    โ”‚                  โ”‚  to token on exam pass     โ”‚
  โ”‚  in SDK labs uses same   โ”‚                  โ”‚  Enterprise org certs      โ”‚
  โ”‚  identity + wallet       โ”‚                  โ”‚  scoped to OrgID claim     โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

         โ†• All 20 Mesh Nodes
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚  MESH NODE LAYER (20 nodes)                                                โ”‚
  โ”‚                                                                            โ”‚
  โ”‚  Each node:                                                                โ”‚
  โ”‚  โ”œโ”€ Presents DeviceCert (DOSFI-signed Ed25519) on mTLS connect            โ”‚
  โ”‚  โ”œโ”€ Verifies incoming task token against DOSFI JWKS before execution       โ”‚
  โ”‚  โ”œโ”€ Enforces privacy_policy claim before decrypting prompt                 โ”‚
  โ”‚  โ”œโ”€ Signs heartbeats with DeviceID Ed25519 private key                     โ”‚
  โ”‚  โ”œโ”€ Attributes all earned DIU to NodeID โ†’ owner UserID wallet              โ”‚
  โ”‚  โ””โ”€ Writes settlement + health events with full identity metadata          โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        
F.10

Agent identity security

Agents are first-class identity principals. Each deployed agent receives a dedicated @dosfi.ai identity and is authorized to invoke MeshInfer inference under its owner's privacy and tier policy.

Agent identity binding

AgentID formatagentname@dosfi.ai (personal) ยท agentname@company.dosfi.ai (enterprise)
Deployment gateAgent deployment requires MFA confirmation from the owning UserID. No agents can be deployed without explicit human authorization.
Inference authorityAgents inherit the owner's subscription_tier and privacy_policy claims. An agent cannot request routing or privacy tiers exceeding those of its owner.
SigningEvery alert, summary, and inference result produced by an agent is signed with the agent's Ed25519 private key. Recipients can verify the signature offline using the published agent public key at identity.dosfi.ai/agents/{agentname}.
RevocationOwner can revoke any agent identity at identity.dosfi.ai/agents. Revocation propagates to all five systems within 5 s. All in-flight agent inference requests are cancelled.

Agent DIU accounting

Spend attributionAgent inference spend is debited from the owner UserID's DIU wallet. Agents do not have independent wallets.
Spend visibilityThe metering event records both the AgentID and the owner UserID, so per-agent spend can be reported separately in the usage dashboard.
AuditEvery agent action is written to AuditLog with agent_id and owner_user_id. Agents cannot perform unattributed operations.
F.11

Enterprise identity โ€” org-scoped namespaces

Org namespace provisioning

sequence
  Enterprise admin               identity.dosfi.ai         All five systems
        โ”‚                               โ”‚                          โ”‚
        โ”‚โ”€โ”€ Hardware MFA challenge โ”€โ”€โ”€โ”€โ”€โ–บโ”‚                          โ”‚
        โ”‚โ—„โ”€โ”€ challenge signed โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚                          โ”‚
        โ”‚                               โ”‚โ”€โ”€ provision OrgID namespace:
        โ”‚                               โ”‚   company.dosfi.ai
        โ”‚                               โ”‚โ”€โ”€ create admin@company.dosfi.ai
        โ”‚                               โ”‚โ”€โ”€ issue org root Ed25519 keypair
        โ”‚                               โ”‚โ”€โ”€ register org DIU wallet (OrgID-bound)
        โ”‚                               โ”‚                          โ”‚
        โ”‚                               โ”‚โ”€โ”€ PROPAGATE โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚
        โ”‚                               โ”‚   event: org_created     โ”‚
        โ”‚                               โ”‚   { org_id, admin_id,    โ”‚
        โ”‚                               โ”‚     org_namespace }      โ”‚
        โ”‚โ—„โ”€โ”€ org provisioned โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚                          โ”‚

Enterprise permission mapping โ€” across all systems

RoleIdentity formatMeshInfer permissionsExchange permissionsAcademy/University
Org adminadmin@company.dosfi.aiFull fleet management; can approve node registrations; access all RoutingLogsFull org DIU wallet access; can view all settlement recordsCan provision all org member accounts; view all certification records
Team memberuser@company.dosfi.aiSubmit inference requests; view own UsageRecords; no node managementView own DIU spend; cannot access org walletFull course access per subscription_tier; personal certification
Certified architectarchitects@company.dosfi.aiCan create and modify org routing policies; access fleet analyticsCan view org-level settlement reportsUnlocked advanced University courses; certification_tier โ‰ฅ professional
Enterprise nodenode_{uuid}@company.dosfi.ai (via NodeID)Operates under org routing policies; tasks scoped to org unless mesh_okDIU issuance flows to org wallet (if org-operated node)N/A

Cross-org request boundary

DefaultAll inference requests from an OrgID are isolated to that org's routing pool. Cross-org task dispatch is blocked at the Gateway.
mesh_ok overrideOrg admin can enable mesh_ok policy at the org level. This allows any org member's requests to be served by any mesh node โ€” still encrypted end-to-end.
Cryptographic enforcementOrg boundary is enforced by the OrgID claim in the OIDC token. Forging an org boundary crossing requires forging an Ed25519-signed JWT โ€” computationally infeasible.
F.12

Compliance properties

PropertyImplementationCompliance standard
Single login originAll auth flows served exclusively from identity.dosfi.ai. Verified by HSTS preloading + CSP.NIST SP 800-63B (phishing resistance)
Phishing resistanceDPoP-bound tokens (RFC 9449). Login tokens are device-bound โ€” replay on different device = 401.NIST SP 800-63B AAL2
MFA for high-risk opsNode linking, agent deployment, API key creation, enterprise node access all require MFA.SOC 2 CC6.1
Audit trail7-year immutable AuditLog. Every identity event (creation, propagation, verification, revocation, recovery) is written with identity_chain metadata.SOC 2 CC7.2, HIPAA ยง164.312(b)
Data minimizationIdentity tokens contain only the claims necessary for the requested operation. No PII in routing or metering events โ€” only opaque sub (UserID).GDPR Art. 5(1)(c)
Right to erasureUserID deletion: all identity claims removed within 24 h. Metering/settlement records retain pseudonymous UserID hash only.GDPR Art. 17
Zero prompt retentionCoordinator and Billing Meter never store prompt content. Metering events record only token counts and hashes.HIPAA Safe Harbor, GDPR Art. 25