schema: lattice.agents/concepts/v1
concepts:
  - id: access-gate
    name: "Access gate"
    category: identity
    definition: "An access gate is the fail-closed authorization seam consulted before data and control operations mutate or reveal protected state."
    packages:
      - "Orleans.Lattice.Auth"
    capability_boundary:
      in_scope:
        - statement: "Authorizes data-plane and facade operations before the implementation touches engine state."
          source: "docs/lattice.api.replication/README.md"
      out_of_scope:
        - statement: "Does not authenticate credentials by itself."
          source: "docs/lattice.membership/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/security.md"
      - "docs/lattice.auth/README.md"
  - id: administration-seam
    name: "Administration seam"
    category: seam
    definition: "The administration seam groups operator control surfaces around tree, tenant, schema, backup, and restore operations."
    packages:
      - "Orleans.Lattice.Api.Backup"
      - "Orleans.Lattice.Api.TenantAdmin"
      - "Orleans.Lattice.Api.TreeAdmin"
    capability_boundary:
      in_scope:
        - statement: "Exposes control facades for tree administration, tenant administration, and backup operations."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not replace the ILattice data path for normal reads and writes."
          source: "README.md"
    operational_envelope:
      limits: []
    sources:
      - "PACKAGES.md"
      - "docs/lattice.api.treeadmin/README.md"
  - id: api-auth-facade
    name: "Auth API facade"
    category: api
    definition: "The auth facade administers membership and authorization policy and explains access decisions."
    packages:
      - "Orleans.Lattice.Api.Auth"
    capability_boundary:
      in_scope:
        - statement: "ExplainAsync consults the same access gate the data plane consults."
          source: "docs/lattice.api.auth/README.md"
      out_of_scope:
        - statement: "Ships no transport of its own."
          source: "docs/lattice.api.auth/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.auth/README.md"
  - id: api-backup-facade
    name: "Backup API facade"
    category: api
    definition: "The backup facade drives backup capture, catalog listing, accept-then-poll operation tracking, restore, revert, and health operations through a transport-agnostic contract."
    packages:
      - "Orleans.Lattice.Api.Backup"
    capability_boundary:
      in_scope:
        - statement: "Catalog listing is cursor-resumable and page-bounded."
          source: "docs/lattice.api.backup/README.md"
        - statement: "Backup and restore start verbs return operation handles and expose status, list, and cancel through ILatticeBackupOperations."
          source: "docs/lattice.api.backup/operations.md"
        - statement: "Backup health check, catalog rebuild, and catalog scrub start verbs also return operation handles through ILatticeBackupOperations."
          source: "src/lattice.api.abstractions/Backup/ILatticeBackupOperations.cs#ILatticeBackupOperations"
      out_of_scope:
        - statement: "Capability probes are advisory and do not replace per-operation authorization."
          source: "docs/lattice.api.backup/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.backup/README.md"
      - "docs/lattice.api.backup/operations.md"
  - id: api-data-facade
    name: "Data API facade"
    category: api
    definition: "The data facade exposes external write-capable point, range, CRDT, and atomic batch operations."
    packages:
      - "Orleans.Lattice.Api.Data"
    capability_boundary:
      in_scope:
        - statement: "Every operation routes through the gated ILattice surface."
          source: "docs/lattice.api.data/configuration.md"
      out_of_scope:
        - statement: "Does not add an authorization posture of its own."
          source: "docs/lattice.api.data/configuration.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.data/README.md"
  - id: api-facade
    name: "API facade"
    category: api
    definition: "An API facade is a transport-neutral service contract projected by gRPC, MCP, or Explorer heads."
    packages:
      - "Orleans.Lattice.Api.Abstractions"
    capability_boundary:
      in_scope:
        - statement: "Shared DTOs and interfaces are referenced by facade implementations and bindings."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not by itself host a network listener."
          source: "docs/lattice.api.auth/README.md"
    operational_envelope:
      limits: []
    sources:
      - "PACKAGES.md"
      - "docs/lattice.api.abstractions/README.md"
  - id: api-replication-facade
    name: "Replication API facade"
    category: api
    definition: "The replication facade enables, disables, and inspects per-tree replication configuration at runtime."
    packages:
      - "Orleans.Lattice.Api.Replication"
    capability_boundary:
      in_scope:
        - statement: "Enable and disable authorize the target tree through the access gate before touching engine state."
          source: "docs/lattice.api.replication/README.md"
      out_of_scope:
        - statement: "A concurrent enable under a different merge mode can leave the mode ambiguous until disable and re-enable."
          source: "FEATURES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.replication/README.md"
  - id: api-schema-facade
    name: "Schema API facade"
    category: api
    definition: "The schema facade manages schema policy, dead letters, versioning, remediation, and compliance audits."
    packages:
      - "Orleans.Lattice.Api.Schema"
    capability_boundary:
      in_scope:
        - statement: "Capability probes report allowed operation sets and remain advisory."
          source: "docs/lattice.api.schema/api.md"
        - statement: "Compliance scan, remediation, migration, and advance-and-migrate start verbs expose the shared ILatticeOperations poll, list, and cancel surface."
          source: "src/lattice.api.abstractions/Schema/ILatticeSchemaOperations.cs#ILatticeSchemaOperations"
      out_of_scope:
        - statement: "Does not replace per-operation fail-closed authorization."
          source: "docs/lattice.api.schema/api.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.schema/README.md"
  - id: api-state-facade
    name: "State API facade"
    category: api
    definition: "The state facade exposes read-only cluster state, tree, entry, change-feed, and metrics queries."
    packages:
      - "Orleans.Lattice.Api.State"
    capability_boundary:
      in_scope:
        - statement: "Provides read-only state-API facade operations."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not expose mutating data-plane verbs."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.state/README.md"
  - id: api-telemetry-facade
    name: "Telemetry API facade"
    category: api
    definition: "The telemetry facade answers named backend-neutral metric queries while deriving tenant scope server-side."
    packages:
      - "Orleans.Lattice.Api.Telemetry"
    capability_boundary:
      in_scope:
        - statement: "Callers name a query id and never supply PromQL."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not derive tenant scope in the gRPC binding."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.telemetry/README.md"
  - id: api-tenantadmin-facade
    name: "Tenant admin API facade"
    category: api
    definition: "The tenant-admin facade exposes tenant lifecycle, quota, region, admin-subject, and grant control operations."
    packages:
      - "Orleans.Lattice.Api.TenantAdmin"
    capability_boundary:
      in_scope:
        - statement: "Operator control includes create, suspend, resume, delete, quota, grants, and residency."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Tenant administrators cannot change their own quota."
          source: "FEATURES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.tenantadmin/README.md"
  - id: api-treeadmin-facade
    name: "Tree admin API facade"
    category: api
    definition: "The tree-admin facade composes whole-tree lifecycle, topology, history, WAL, view, tag-index, and schema administration."
    packages:
      - "Orleans.Lattice.Api.TreeAdmin"
    capability_boundary:
      in_scope:
        - statement: "Exposes an advisory per-operation capability probe."
          source: "PACKAGES.md"
        - statement: "Runs view rebuild and reconcile, tag-index reconcile, WAL moves and orphaned-leaf passes as accept-then-poll operations with progress."
          source: "docs/lattice.api.treeadmin/operations.md"
      out_of_scope:
        - statement: "The server still authorizes each real operation fail-closed."
          source: "FEATURES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.treeadmin/README.md"
      - "docs/lattice.api.treeadmin/operations.md"
  - id: app-bridge
    name: "App bridge"
    category: apps
    definition: "The app bridge is the cluster-side facade that enforces an installed app UI's logical-tree data access for a caller and then executes the core data path under that caller's identity."
    packages:
      - "Orleans.Lattice.Api.Apps"
    capability_boundary:
      in_scope:
        - statement: "The bridge target is an app slug, install revision and app-local tree name."
          source: "src/lattice.api.abstractions/Apps/ILatticeAppBridge.cs#ILatticeAppBridge"
        - statement: "The bridge resolves the effective tree id server-side after checking install revision, bridge consent and app-owned grants."
          source: "src/lattice.api.apps/LatticeAppBridge.cs#LatticeAppBridge.AuthorizeAsync"
      out_of_scope:
        - statement: "The bridge exposes no overload that accepts a physical tree id."
          source: "src/lattice.api.abstractions/Apps/ILatticeAppBridge.cs#ILatticeAppBridge"
    operational_envelope:
      limits:
        - name: "max-value-bytes"
          value: 65536
          unit: "bytes"
          source: "src/lattice.api.apps/AppBridgeLimits.cs#AppBridgeLimits.MaxValueBytes"
        - name: "max-scan-page-size"
          value: 200
          unit: "entries"
          source: "src/lattice.api.apps/AppBridgeLimits.cs#AppBridgeLimits.MaxPageSize"
    sources:
      - "src/lattice.api.abstractions/Apps/ILatticeAppBridge.cs#ILatticeAppBridge"
      - "src/lattice.api.apps/LatticeAppBridge.cs#LatticeAppBridge"
  - id: app-capability-ceiling
    name: "App capability ceiling"
    category: apps
    definition: "An app capability ceiling is the install-time operation mask and approved exception-scope list every compiled app grant must fit within."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "AllowedOperations is the maximum operation set available to compiled rules."
          source: "src/lattice.apps/Install/AppCapabilityCeiling.cs#AppCapabilityCeiling.AllowedOperations"
        - statement: "ApprovedExceptionScopes names tenant-local scopes outside the app's structural namespace."
          source: "src/lattice.apps/Install/AppCapabilityCeiling.cs#AppCapabilityCeiling.ApprovedExceptionScopes"
      out_of_scope:
        - statement: "The ceiling records approval and does not itself authorize or compile rules."
          source: "src/lattice.apps/Install/AppCapabilityCeiling.cs#AppCapabilityCeiling"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Install/AppCapabilityCeiling.cs"
      - "docs/lattice.apps/README.md"
  - id: app-catalog
    name: "App catalog"
    category: apps
    definition: "The app catalog is the administrative source browser that lists configured app sources and source-offered app versions before installation."
    packages:
      - "Orleans.Lattice.Api.Apps"
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "The catalog lists source summaries and source-offered apps after authorizing AppInstall."
          source: "src/lattice.api.apps/LatticeAppCatalog.cs#LatticeAppCatalog.ListSourcesAsync"
        - statement: "The catalog joins source-offered rows with the active tenant's installs only when the install came from that row's source."
          source: "src/lattice.api.apps/LatticeAppCatalog.Listing.cs#LatticeAppCatalog.ToSummaryAsync"
      out_of_scope:
        - statement: "The catalog does not load or activate app code while describing a source app or reading its icon."
          source: "src/lattice.api.apps/LatticeAppCatalog.cs#LatticeAppCatalog"
    operational_envelope:
      limits:
        - name: "max-concurrent-source-fetches"
          value: 4
          unit: "source-pages"
          source: "src/lattice.api.apps/LatticeAppCatalog.Listing.cs#LatticeAppCatalog.MaxConcurrentFetches"
        - name: "max-source-fetches-per-call"
          value: 64
          unit: "source-pages"
          source: "src/lattice.api.apps/LatticeAppCatalog.Listing.cs#LatticeAppCatalog.MaxFetchesPerCall"
    sources:
      - "src/lattice.api.abstractions/Apps/ILatticeAppCatalog.cs#ILatticeAppCatalog"
      - "src/lattice.api.apps/LatticeAppCatalog.cs#LatticeAppCatalog"
  - id: app-catalog-source
    name: "App catalog source"
    category: apps
    definition: "An app catalog source is a named app source that can list app entries and open digest-verified bundle assets without activating app code."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "A catalog source describes itself with a stable key, display name, kind and capabilities."
          source: "src/lattice.apps/Sources/IAppCatalogSource.cs#IAppCatalogSource.Descriptor"
        - statement: "A catalog source opens an asset only as a structured result verified against the expected SHA-256 digest."
          source: "src/lattice.apps/Sources/IAppCatalogSource.cs#IAppCatalogSource.OpenAssetAsync"
      out_of_scope:
        - statement: "A catalog source reports missing, unavailable or mismatched assets as structured outcomes rather than startup failures."
          source: "src/lattice.apps/Sources/IAppCatalogSource.cs#IAppCatalogSource.OpenAssetAsync"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Sources/IAppCatalogSource.cs#IAppCatalogSource"
  - id: app-change-feed-subscription
    name: "App change-feed subscription"
    category: apps
    definition: "An app change-feed subscription observes committed mutations on an app tree through the mutation observer seam and dispatches them to a registered handler."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "Subscriptions to another app tree or adopted tree must be covered by an approved exception scope."
          source: "src/lattice.apps/Subscriptions/AppSubscriptionCompiler.cs#AppSubscriptionCompiler.Compile"
        - statement: "A handler exception is logged and does not fail the write that produced the mutation."
          source: "src/lattice.apps/Subscriptions/AppSubscriptionRouter.cs#AppSubscriptionRouter.OnMutationAsync"
      out_of_scope:
        - statement: "Subscriptions are not delivered for maintenance mutations."
          source: "src/lattice.apps/Subscriptions/AppSubscriptionRouter.cs#AppSubscriptionRouter.OnMutationAsync"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Subscriptions/AppSubscriptionCompiler.cs"
      - "src/lattice.apps/Subscriptions/AppSubscriptionRouter.cs"
      - "docs/lattice.apps/README.md"
  - id: app-install-capability
    name: "AppInstall capability"
    category: identity
    definition: "AppInstall is the scopeless cluster-wide capability required for app lifecycle, consent, and app-control read verbs."
    packages:
      - "Orleans.Lattice.Apps"
      - "Orleans.Lattice.Api.Apps"
    capability_boundary:
      in_scope:
        - statement: "Every app lifecycle transition authorizes AppInstall over the cluster-wide scope before storage access."
          source: "src/lattice.apps/Registry/AppInstallAuthorizer.cs#AppInstallAuthorizer.AuthorizeAsync"
        - statement: "The app-control facade gates read verbs as well as lifecycle mutations before registry or source metadata is read."
          source: "src/lattice.api.apps/LatticeAppsControl.cs#LatticeAppsControl.AuthorizeAsync"
      out_of_scope:
        - statement: "AppInstall is excluded from role compilation and cannot be granted by an app role."
          source: "src/lattice.apps/Compiler/AppRoleCompiler.cs#AppRoleCompiler.Compile"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Registry/AppInstallAuthorizer.cs"
      - "src/lattice.api.apps/LatticeAppsControl.cs"
  - id: app-install-record
    name: "App install record"
    category: apps
    definition: "An app install record is the durable per-tenant registry record for one app install, including version, ceiling, role bindings, and lifecycle state."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "The record is keyed by tenant id and app slug in the reserved sys-app-registry tree."
          source: "src/lattice.apps/Registry/AppRegistryRecord.cs#AppRegistryRecord"
        - statement: "CeilingVersion pins the consented ceiling to the installed app version."
          source: "src/lattice.apps/Registry/AppRegistryRecord.cs#AppRegistryRecord.CeilingVersion"
      out_of_scope:
        - statement: "Uninstall retains the record in the Uninstalled state rather than deleting app data."
          source: "src/lattice.apps/Registry/IAppRegistry.cs#IAppRegistry.UninstallAsync"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Registry/AppRegistryRecord.cs"
      - "src/lattice.apps/Registry/IAppRegistry.cs"
  - id: app-manifest
    name: "App manifest"
    category: apps
    definition: "An app manifest is the embedded JSON declaration of an app's identity, trees, roles, replication intent, schema bindings, subscriptions, MCP tools, presentation metadata, and optional UI bundle."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "The manifest contains inspectable declarations and no executable types, handlers, or assembly names to load."
          source: "src/lattice.apps/Manifest/AppManifest.cs#AppManifest"
        - statement: "Validation returns AppManifestError diagnostics for invalid declarations."
          source: "src/lattice.apps/Manifest/AppManifestValidator.cs#AppManifestValidator.Validate"
      out_of_scope:
        - statement: "Runtime acquisition and signature verification are future IAppSource responsibilities, not manifest fields."
          source: "src/lattice.apps/Sources/IAppSource.cs#IAppSource"
    operational_envelope:
      limits:
        - statement: "Runtime manifest text or stream input larger than 1 MiB is refused before deserialization."
          source: "src/lattice.apps/Manifest/AppManifestParser.cs#AppManifestParser.Parse"
        - statement: "Each manifest section is bounded to 256 entries."
          source: "src/lattice.apps/Manifest/AppManifestLimits.cs#AppManifestLimits.MaxSectionItems"
    sources:
      - "src/lattice.apps/Manifest/AppManifest.cs"
      - "src/lattice.apps/Manifest/AppManifestValidator.cs"
  - id: app-mcp-tool
    name: "App MCP tool"
    category: mcp
    definition: "An app MCP tool is a manifest-declared app-local tool implementation advertised as a namespaced MCP tool only for enabled apps whose declared role the caller holds by binding and is not denied."
    packages:
      - "Orleans.Lattice.Api.Mcp.Apps"
    capability_boundary:
      in_scope:
        - statement: "Tool names are composed as slug, underscore, and app-local tool name."
          source: "src/lattice.api.mcp.apps/AppMcpToolName.cs#AppMcpToolName.Compose"
        - statement: "Advertisement and invocation both re-check that the caller holds the declared role by binding; the shared access gate is consulted only after the binding holds, and only to refuse."
          source: "src/lattice.api.mcp.apps/AppMcpToolSource.cs#AppMcpToolSource.IsInvocationPermittedAsync"
      out_of_scope:
        - statement: "App MCP tools do not appear in the lattice_capabilities report."
          source: "docs/lattice.api.mcp.apps/README.md"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.api.mcp.apps/AppMcpToolName.cs"
      - "src/lattice.api.mcp.apps/AppMcpToolSource.cs"
      - "docs/lattice.api.mcp.apps/README.md"
  - id: app-owned-rule
    name: "App-owned authorization rule"
    category: identity
    definition: "An app-owned authorization rule is a compiled authorization rule whose id starts with app: and is replaced as part of the app's owned rule set."
    packages:
      - "Orleans.Lattice.Apps"
      - "Orleans.Lattice.Auth"
    capability_boundary:
      in_scope:
        - statement: "Every rule id emitted by the app role compiler starts with the app-owned prefix for its slug."
          source: "src/lattice.apps/Compiler/AppRoleCompiler.cs#AppRoleCompiler.GetOwnedRuleIdPrefix"
        - statement: "Operator writes and deletes of app-owned rule ids are rejected by the policy store outside system origin."
          source: "src/lattice.auth/ILatticeAuthorizationPolicyStore.cs#ILatticeAuthorizationPolicyStore.PutRuleAsync"
      out_of_scope:
        - statement: "Operators can author separate rules outside the app-owned prefix."
          source: "src/lattice.auth/LatticeAppRuleIds.cs#LatticeAppRuleIds.Prefix"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Compiler/AppRoleCompiler.cs"
      - "src/lattice.auth/ILatticeAuthorizationPolicyStore.cs"
  - id: app-owned-tree
    name: "App-owned tree"
    category: apps
    definition: "An app-owned tree is a manifest tree resolved to the structural a/{app}/{tree} namespace and then composed through tenancy as the outer axis."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "Structural app trees are composed as a/{slug}/{tree} before tenant composition."
          source: "src/lattice.apps/Activation/AppActivationTreeNames.cs#AppActivationTreeNames.LocalStructuralTree"
        - statement: "Uninstall soft-deletes structural app trees and never touches adopted trees."
          source: "src/lattice.apps/Activation/AppActivationEngine.cs#AppActivationEngine.UninstallAsync"
      out_of_scope:
        - statement: "Physical purge is not part of the uninstall transition; an immediate purge remains a separate TreeLifecycle operation, while the core deferred purge removes soft-deleted structural app trees after their soft-delete windows elapse."
          source: "docs/lattice.apps/README.md"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Activation/AppActivationTreeNames.cs"
      - "src/lattice.apps/Activation/AppActivationEngine.cs"
  - id: app-role-binding
    name: "App role binding"
    category: identity
    definition: "An app role binding maps one manifest role name to one membership group id at install or consent time."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "A registry install request rejects duplicate role bindings and empty group ids."
          source: "src/lattice.apps/Registry/AppRegistry.cs#AppRegistry.ValidateRequest"
        - statement: "The role compiler emits group subject selectors from bindings, never user subject selectors."
          source: "src/lattice.apps/Compiler/AppRoleCompiler.cs#AppRoleCompiler.Compile"
        - statement: "UpdateRoleBindingsAsync replaces every role-to-group binding of an installed app while keeping consent, bridge consent and lifecycle state."
          source: "src/lattice.api.apps/LatticeAppsControl.RoleBindings.cs#LatticeAppsControl.UpdateRoleBindingsAsync"
      out_of_scope:
        - statement: "The manifest has no role inheritance construct; group nesting is a membership concern."
          source: "docs/lattice.apps/README.md"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Registry/AppRegistry.cs"
      - "src/lattice.apps/Compiler/AppRoleCompiler.cs"
  - id: app-role-compiler
    name: "App role compiler"
    category: apps
    definition: "The app role compiler is the pure function that resolves manifest roles and bindings into ordinary authorization rules under the installed ceiling."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "Every role operation must be a subset of the installed ceiling; excess fails the whole compilation and emits no rules."
          source: "src/lattice.apps/Compiler/AppRoleCompiler.cs#AppRoleCompiler.Compile"
        - statement: "The compiler computes a diff that replaces only rules under the app's owned prefix."
          source: "src/lattice.apps/Compiler/AppRoleCompiler.cs#AppRoleCompiler.ComputeDiff"
      out_of_scope:
        - statement: "Persisting compiled rules is the activation pipeline's responsibility."
          source: "src/lattice.apps/Compiler/AppRoleCompiler.cs#AppRoleCompiler"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Compiler/AppRoleCompiler.cs"
      - "docs/lattice.apps/README.md"
  - id: app-role-grant-evaluator
    name: "App role grant evaluator"
    category: identity
    definition: "The app role grant evaluator is the shared evaluator that decides which roles of an enabled install a caller holds in the current registry snapshot."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "A binding grants the role only when the caller's group closure contains a group the install binds to that role."
          source: "src/lattice.apps/Registry/AppRoleGate.cs#AppRoleGate.IsHeld"
        - statement: "The shared access gate is asked only after the binding holds and can only remove the role."
          source: "src/lattice.apps/Registry/AppRoleGate.cs#AppRoleGate.IsHeldAsync"
      out_of_scope:
        - statement: "Rights granted through any non-app-owned rule never make a caller hold an app role."
          source: "src/lattice.apps/Registry/AppRoleGrantEvaluator.cs#AppRoleGrantEvaluator"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Registry/AppRoleGate.cs#AppRoleGate"
      - "src/lattice.apps/Registry/AppRoleGrantEvaluator.cs#AppRoleGrantEvaluator"
  - id: app-source
    name: "App source"
    category: apps
    definition: "An app source is a named catalogue source that lists apps, resolves a slug and optional version to a manifest, provenance and deferred activation handle, and opens digest-verified UI bundle assets without activating app code."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "ResolveAsync returns structured source results for unknown slugs, version mismatches, invalid manifests, and identity mismatches."
          source: "src/lattice.apps/Sources/IAppSource.cs#IAppSource.ResolveAsync"
        - statement: "AppSourceSet composes named catalogue sources in registration order; without a source key, resolution succeeds only when exactly one source offers the slug."
          source: "src/lattice.apps/Sources/AppSourceSet.cs#AppSourceSet.ResolveAsync"
        - statement: "OpenAssetAsync returns bundle bytes only after recomputing the SHA-256 digest over the bytes it returns and matching the expected digest."
          source: "src/lattice.apps/Sources/IAppCatalogSource.cs#IAppCatalogSource.OpenAssetAsync"
        - statement: "The in-image source reads named embedded manifest resources lazily and caches each result."
          source: "src/lattice.apps/Sources/InImageAppSource.cs#InImageAppSource.ResolveAsync"
      out_of_scope:
        - statement: "The in-image source performs no download, NuGet protocol, or assembly loading."
          source: "src/lattice.apps/Sources/InImageAppSource.cs#InImageAppSource"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.apps/Sources/IAppSource.cs"
      - "src/lattice.apps/Sources/IAppCatalogSource.cs"
      - "src/lattice.apps/Sources/AppSourceSet.cs"
      - "src/lattice.apps/Sources/InImageAppSource.cs"
  - id: app-tree-ownership-ledger
    name: "App tree ownership ledger"
    category: apps
    definition: "The app tree ownership ledger is the reserved sys-app-trees system tree that records, per tenant-composed tree id, the single install (tenant, app slug and publisher) that owns each structural or adopted app tree."
    packages:
      - "Orleans.Lattice.Apps"
    capability_boundary:
      in_scope:
        - statement: "Install and upgrade claim every manifest tree with compare-and-set writes, and activation re-verifies each claim."
          source: "docs/lattice.apps/README.md"
        - statement: "The package registers an ITreeOwnershipGuard backed by the ledger, so a core alias cannot cross an install ownership boundary."
          source: "docs/lattice.apps/README.md"
      out_of_scope:
        - statement: "A pre-existing unowned structural tree, a derived physical copy, or another tree's alias target is never claimed."
          source: "docs/lattice.apps/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.apps/README.md"
      - "src/lattice.apps/Ownership/AppTreeOwnershipLedger.cs"
  - id: app-workspace
    name: "App workspace"
    category: apps
    definition: "The app workspace is the per-caller facade over enabled installed apps in which that caller holds at least one app role."
    packages:
      - "Orleans.Lattice.Api.Apps"
    capability_boundary:
      in_scope:
        - statement: "The workspace lists enabled apps where the caller holds at least one role."
          source: "src/lattice.api.apps/LatticeAppWorkspace.cs#LatticeAppWorkspace.ListMyAppsAsync"
        - statement: "The workspace serves installed-version icons and UI assets after digest verification."
          source: "src/lattice.api.apps/LatticeAppWorkspace.cs#LatticeAppWorkspace.GetUiAssetAsync"
      out_of_scope:
        - statement: "The workspace description excludes ceilings, approved exception scopes, role-to-group bindings and physical tree ids."
          source: "src/lattice.api.apps/AppsWorkspaceMapping.cs#AppsWorkspaceMapping.ToDescriptor"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.api.abstractions/Apps/ILatticeAppWorkspace.cs#ILatticeAppWorkspace"
      - "src/lattice.api.apps/LatticeAppWorkspace.cs#LatticeAppWorkspace"
  - id: atomic-action-saga
    name: "Atomic action saga"
    category: coordination
    definition: "An atomic action is a generic saga keyed by operation id with ordered forward steps and reverse-order compensation."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Compensates completed steps in strict reverse order when a later step faults."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Does not make irreversible side effects safe without a compensating effect."
          source: "docs/lattice/atomic-action.md"
    operational_envelope:
      limits:
        - name: "default-retention"
          value: 48
          unit: "hours"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-max-steps"
          value: 64
          unit: "steps"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/atomic-action.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: atomic-batch
    name: "Atomic batch"
    category: coordination
    definition: "An atomic batch is a SetManyAtomicAsync operation with all-or-nothing visibility across multiple keys in one tree."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "No reader observes a partial-set state."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Does not coordinate non-tree side effects."
          source: "docs/lattice/atomic-writes.md"
    operational_envelope:
      limits:
        - name: "default-retention"
          value: 48
          unit: "hours"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/atomic-writes.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: auth-group
    name: "Auth group"
    category: identity
    definition: "An auth group is a durable membership grouping used by the authorization control plane."
    packages:
      - "Orleans.Lattice.Api.Auth"
      - "Orleans.Lattice.Auth"
    capability_boundary:
      in_scope:
        - statement: "AuthGroup records are serializable facade DTOs."
          source: "docs/lattice.api.auth/README.md"
      out_of_scope:
        - statement: "Group membership list endpoints are not paged."
          source: "docs/lattice.api.auth/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.auth/README.md"
  - id: auth-rule
    name: "Auth rule"
    category: identity
    definition: "An auth rule is a durable LatticeAuthorizationRule policy entry surfaced through the auth facade."
    packages:
      - "Orleans.Lattice.Api.Auth"
      - "Orleans.Lattice.Auth"
    capability_boundary:
      in_scope:
        - statement: "Rules are surfaced as the durable LatticeAuthorizationRule policy model."
          source: "docs/lattice.api.auth/README.md"
      out_of_scope:
        - statement: "Matched rules in explanations are advisory debugging detail."
          source: "docs/lattice.api.auth/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.auth/README.md"
  - id: autoscaling-signal
    name: "Autoscaling signal"
    category: observability
    definition: "The autoscaling signal reports compute demand and advisory storage-axis WAL rebalance recommendations for external autoscalers."
    packages:
      - "Orleans.Lattice.Scaling"
    capability_boundary:
      in_scope:
        - statement: "Serves an HTTP endpoint and ASP.NET Core health check."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "The storage-axis recommendation is advisory and signal-only."
          source: "FEATURES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.scaling/README.md"
      - "FEATURES.md"
  - id: azure-table-storage-provider
    name: "Azure Table storage provider"
    category: storage
    definition: "The Azure Table storage provider is a durable WAL backend for production clusters."
    packages:
      - "Orleans.Lattice.Storage.AzureTable"
    capability_boundary:
      in_scope:
        - statement: "Replaces the default in-memory WAL with a durable Azure Table-backed provider."
          source: "docs/lattice/api.md"
      out_of_scope:
        - statement: "Does not configure Orleans grain storage by itself."
          source: "docs/lattice/api.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.storage.azuretable/README.md"
      - "docs/lattice/wal-storage-providers.md"
  - id: backup
    name: "Backup"
    category: operation
    definition: "A backup captures tree state into a backup sink as full, incremental, or backup-set artifacts."
    packages:
      - "Orleans.Lattice.Backup"
    capability_boundary:
      in_scope:
        - statement: "Capture operations authorize their target scope before touching backup data."
          source: "docs/lattice.api.backup/README.md"
        - statement: "Tracked backup captures report progress as operation phases and units instead of blocking the caller."
          source: "docs/lattice.api.backup/operations.md"
      out_of_scope:
        - statement: "A backup id is already an effective id and is not tenant-composed again."
          source: "docs/lattice.api.backup/api.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.backup/README.md"
      - "docs/lattice.api.backup/operations.md"
  - id: bplus-internal-node
    name: "B+ internal node"
    category: core
    definition: "A B+ internal node stores separator keys and child references for non-leaf levels of a shard subtree."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Routes a key to the correct child and accepts promoted splits from below."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "Is only allocated once shard depth exceeds one."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-max-internal-children"
          value: 128
          unit: "children"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: bplus-leaf-node
    name: "B+ leaf node"
    category: core
    definition: "A B+ leaf node owns live key entries for a key range and commits each mutation through the WAL before applying it."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The persisted leaf state row carries topology and checkpoint metadata, never per-key entries."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "Cannot split a single entry into smaller pieces when one entry exceeds the byte bound."
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    operational_envelope:
      limits:
        - name: "default-max-leaf-keys"
          value: 128
          unit: "keys"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
        - name: "default-max-leaf-bytes"
          value: 67108864
          unit: "bytes"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: bplus-tree
    name: "B+ tree"
    category: core
    definition: "A B+ tree is the sorted per-tree data structure composed of shard roots, internal nodes, leaves, and sibling leaf links."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Each shard owns an independent sub-tree."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "Keys in different shards have no ordering relationship until scatter-gather scan merge."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-max-leaf-keys"
          value: 128
          unit: "keys"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
        - name: "default-max-internal-children"
          value: 128
          unit: "children"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: caching
    name: "Caching"
    category: observability
    definition: "Caching covers the per-silo read-through leaf cache and companion distributed cache backends."
    packages:
      - "Orleans.Lattice"
      - "Orleans.Lattice.Caching.AzureBlob"
    capability_boundary:
      in_scope:
        - statement: "Leaf cache pulls deltas from the primary leaf and merges LWW entries."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "Distributed cache backend does not provide tree WAL durability."
          source: "PACKAGES.md"
    operational_envelope:
      limits:
        - name: "default-cache-ttl"
          value: 0
          unit: "seconds"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-leaf-cache-prewarm-count"
          value: 8
          unit: "leaves"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/caching.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: compaction
    name: "Compaction"
    category: core
    definition: "Compaction reaps expired tombstones and rewrites storage structures that are safe to reclaim."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Tombstone compaction permanently removes tombstones older than the configured grace period."
          source: "docs/lattice/tombstone-compaction.md"
      out_of_scope:
        - statement: "Compaction does not change live values."
          source: "docs/lattice/tombstone-compaction.md"
    operational_envelope:
      limits:
        - name: "default-tombstone-grace-period"
          value: 24
          unit: "hours"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-compaction-leaf-batch-size"
          value: 64
          unit: "leaves"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/tombstone-compaction.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: compression-dictionary
    name: "Compression dictionary"
    category: durability
    definition: "A compression dictionary is optional shared state used by the pluggable compression subsystem to reduce framed payload size."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Auto-training samples payloads under bounded reservoir and sample counts."
          source: "src/lattice/CompressionDictionaryTrainingOptions.cs"
      out_of_scope:
        - statement: "Dictionary compression is opt-in beyond dictionary-less Zstandard framing."
          source: "docs/lattice/compression.md"
    operational_envelope:
      limits:
        - name: "default-max-sample-count"
          value: 1024
          unit: "samples"
          source: "src/lattice/CompressionDictionaryTrainingOptions.cs"
        - name: "default-max-reservoir-bytes"
          value: 8388608
          unit: "bytes"
          source: "src/lattice/CompressionDictionaryTrainingOptions.cs"
    sources:
      - "docs/lattice/compression.md"
      - "src/lattice/CompressionDictionaryTrainingOptions.cs"
  - id: conflict-resolution-merge
    name: "Conflict resolution merge"
    category: crdt
    definition: "Conflict resolution merge is the algebraic merge rule that converges LWW entries and CRDT states without consensus."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "CRDT merge functions are commutative, associative, and idempotent."
          source: "docs/crdt/readme.md"
      out_of_scope:
        - statement: "Plain SetAsync last-writer-wins can silently discard one concurrent write."
          source: "docs/crdt/readme.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/crdt/readme.md"
      - "docs/lattice/state-primitives.md"
  - id: cross-tree-atomic
    name: "Cross-tree atomic"
    category: coordination
    definition: "Cross-tree atomic writes extend all-or-nothing visibility to a batch spanning multiple trees."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "IGrainFactory.SetManyAtomicAsync extends atomic visibility to a batch spanning multiple trees."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Does not cover arbitrary non-Lattice side effects."
          source: "docs/lattice/atomic-writes.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/atomic-writes.md"
      - "FEATURES.md"
  - id: cursor
    name: "Cursor"
    category: core
    definition: "A cursor is a server-checkpointed iterator over keys or entries with persisted scan position."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Durable cursors resume after failovers, client restarts, and topology changes."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Durable cursors are not snapshot-isolated unless opened through snapshot cursor APIs."
          source: "docs/lattice/snapshot-cursors.md"
    operational_envelope:
      limits:
        - name: "default-cursor-idle-ttl"
          value: 48
          unit: "hours"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/durable-cursors.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: dashboards
    name: "Dashboards"
    category: observability
    definition: "Dashboards are bundled Grafana panels and provisioning templates for Lattice meters."
    packages:
      - "Orleans.Lattice.Dashboards"
    capability_boundary:
      in_scope:
        - statement: "Dashboard package covers the core, replication, auth, membership, backup, scaling, and tenancy meters."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not collect metrics by itself."
          source: "docs/lattice.dashboards/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.dashboards/README.md"
      - "PACKAGES.md"
  - id: dead-letter
    name: "Dead letter"
    category: governance
    definition: "A dead letter is a strict-ingest schema rejection diverted for inspection instead of being applied."
    packages:
      - "Orleans.Lattice.Schema"
    capability_boundary:
      in_scope:
        - statement: "Strict ingest dead-letters a non-compliant replicated entry, including a plain last-writer-wins write; backup restore and tree merge are stored unchecked."
          source: "docs/lattice.explorer/managing-schema.md"
      out_of_scope:
        - statement: "Dead-letter listing is a bounded read surface, not a mutating remediation by itself."
          source: "docs/lattice.api.schema/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.schema/README.md"
      - "docs/lattice.api.schema/README.md"
  - id: distributed-lock-lease
    name: "Distributed lock lease"
    category: coordination
    definition: "A distributed lock lease grants bounded exclusive ownership and expires so a crashed holder cannot wedge progress."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The lock is FIFO-fair and cluster-wide."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "A protected resource must validate fencing tokens to reject stale holders."
          source: "docs/lattice/distributed-lock.md"
    operational_envelope:
      limits:
        - name: "default-lease-duration"
          value: 30
          unit: "seconds"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/distributed-lock.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: explorer
    name: "Explorer"
    category: administration
    definition: "The Explorer is an opt-in auth-aware web console that uses gRPC APIs to browse and administer a cluster."
    packages:
      - "Orleans.Lattice.Explorer.Web"
    capability_boundary:
      in_scope:
        - statement: "The Explorer never joins cluster membership."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "The Explorer has no private path into a cluster; it reaches one only over the cluster's gRPC endpoint."
          source: "docs/lattice.explorer/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.explorer/README.md"
      - "FEATURES.md"
  - id: explorer-app-frame
    name: "Explorer app frame"
    category: administration
    definition: "The Explorer app frame authorizes a Lattice App launch, loads verified UI bundle bytes, hosts the app in a sandboxed iframe and relays frame requests through the broker."
    packages:
      - "Orleans.Lattice.Explorer.UI"
      - "Orleans.Lattice.Explorer.AppKit"
    capability_boundary:
      in_scope:
        - statement: "The frame host renders an iframe sandboxed with allow-scripts and no other sandbox token."
          source: "src/lattice.explorer/UI/AppFrame/AppFrame.razor.cs#AppFrame"
        - statement: "The broker validates request shape, logical tree name, launch grants, rate and concurrency before relay."
          source: "src/lattice.explorer/UI/AppFrame/Broker/AppBridgeBroker.cs#AppBridgeBroker.HandleAsync"
      out_of_scope:
        - statement: "The frame does not receive the Explorer credential."
          source: "docs/lattice.explorer/lattice-apps.md"
    operational_envelope:
      limits:
        - name: "handshake-timeout"
          value: 15
          unit: "seconds"
          source: "src/lattice.explorer/UI/AppFrame/AppFrame.razor.cs#AppFrame.HandshakeTimeout"
    sources:
      - "src/lattice.explorer/UI/AppFrame/AppFrame.razor.cs#AppFrame"
      - "src/lattice.explorer/UI/AppFrame/Broker/AppBridgeBroker.cs#AppBridgeBroker"
  - id: explorer-appkit-protocol
    name: "Explorer AppKit protocol"
    category: administration
    definition: "The Explorer AppKit protocol is the versioned message and operation vocabulary exchanged by a sandboxed Lattice App frame and its host."
    packages:
      - "Orleans.Lattice.Explorer.AppKit"
    capability_boundary:
      in_scope:
        - statement: "The protocol names the bridge operations an app UI may request."
          source: "src/lattice.explorer/AppKit/AppKitProtocol.cs#AppKitProtocol.Operations"
        - statement: "The protocol defines closed error code and failure code sets."
          source: "src/lattice.explorer/AppKit/AppKitProtocol.cs#AppKitProtocol.ErrorCodes"
      out_of_scope:
        - statement: "The protocol has no lifecycle, consent, authentication, cross-app, fetch or frame-sizing messages."
          source: "src/lattice.explorer/AppKit/AppKitProtocol.cs#AppKitProtocol"
    operational_envelope:
      limits:
        - name: "max-request-bytes"
          value: 131072
          unit: "bytes"
          source: "src/lattice.explorer/AppKit/AppKitProtocol.cs#AppKitProtocol.Limits"
        - name: "max-response-bytes"
          value: 1048576
          unit: "bytes"
          source: "src/lattice.explorer/AppKit/AppKitProtocol.cs#AppKitProtocol.Limits"
    sources:
      - "src/lattice.explorer/AppKit/AppKitProtocol.cs#AppKitProtocol"
  - id: explorer-shell
    name: "Explorer shell"
    category: administration
    definition: "The Explorer shell is the scoped navigation and session chrome that translates addresses, preferences and navigation requests for one circuit."
    packages:
      - "Orleans.Lattice.Explorer.Core"
      - "Orleans.Lattice.Explorer.UI"
    capability_boundary:
      in_scope:
        - statement: "The shell router is scoped per session so two circuits do not share a route."
          source: "src/lattice.explorer/Core/Navigation/ExplorerShellRouter.cs#ExplorerShellRouter"
        - statement: "The shell entry policy restores a remembered route only for a bare address."
          source: "src/lattice.explorer/Core/Navigation/ExplorerShellEntryPolicy.cs#ExplorerShellEntryPolicy.Decide"
      out_of_scope:
        - statement: "The shell entry policy does not decide whether a remembered route still resolves for the caller."
          source: "src/lattice.explorer/Core/Navigation/ExplorerShellEntryPolicy.cs#ExplorerShellEntryPolicy"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.explorer/Core/Navigation/ExplorerShellRouter.cs#ExplorerShellRouter"
      - "src/lattice.explorer/Core/Navigation/ExplorerShellEntryPolicy.cs#ExplorerShellEntryPolicy"
  - id: fencing-token
    name: "Fencing token"
    category: coordination
    definition: "A fencing token is a monotonic value issued by a lock and checked by the guarded resource to reject stale holders."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Distributed lock admission decisions include monotonic fencing tokens."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "A token alone does not protect a resource that ignores it."
          source: "docs/lattice/distributed-lock.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/distributed-lock.md"
      - "FEATURES.md"
  - id: file-storage-provider
    name: "File WAL storage provider"
    category: storage
    definition: "The file WAL storage provider is a durable local-disk append-and-fsync log per shard."
    packages:
      - "Orleans.Lattice.Storage.File"
    capability_boundary:
      in_scope:
        - statement: "It provides crash-safe reconciliation and background compaction."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "It is intended for single-node and containerized deployments."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.storage.file/README.md"
      - "PACKAGES.md"
  - id: governance-seam
    name: "Governance seam"
    category: seam
    definition: "The governance seam adds policy over data shape and tenant boundaries around the core tree."
    packages:
      - "Orleans.Lattice.Schema"
      - "Orleans.Lattice.Tenancy"
    capability_boundary:
      in_scope:
        - statement: "Schema and tenancy are opt-in companion packages."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not provide credential authentication."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.schema/README.md"
      - "docs/lattice.tenancy/README.md"
  - id: grain-storage-fencing
    name: "Grain storage fencing"
    category: storage
    definition: "A startup posture check that verifies the AddLattice grain storage provider rejects stale ETag writes before Lattice relies on it for direct durable state and WAL pin safety."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The probe writes a reserved row twice and then expects a stale ETag write to fail with InconsistentStateException."
          source: "src/lattice/Storage/GrainStorageFencingProbe.cs#GrainStorageFencingProbe.RunAsync"
        - statement: "Warn logs and starts, Reject fails silo start only when the provider is proven unfenced, and Disabled runs no probe."
          source: "src/lattice/Storage/LatticeGrainStorageFencingMode.cs#LatticeGrainStorageFencingMode"
      out_of_scope:
        - statement: "An inconclusive probe is not proof the provider is unfenced and does not fail silo start even in Reject mode."
          source: "src/lattice/Storage/GrainStorageFencingCheck.cs#GrainStorageFencingCheck.RunAsync"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice/Storage/LatticeGrainStorageFencingOptions.cs#LatticeGrainStorageFencingOptions"
      - "src/lattice/Storage/GrainStorageFencingProbe.cs#GrainStorageFencingProbe"
      - "src/lattice/Storage/GrainStorageFencingCheck.cs#GrainStorageFencingCheck"
  - id: grpc-binding
    name: "gRPC binding"
    category: api
    definition: "A gRPC binding projects a transport-agnostic facade onto a code-first remotely callable service and typed client."
    packages:
      - "Orleans.Lattice.Api.State.Grpc"
    capability_boundary:
      in_scope:
        - statement: "Bindings adapt facade DTOs into their wire request and response envelopes."
          source: "docs/lattice.api.auth/README.md"
      out_of_scope:
        - statement: "The matching facade package intentionally ships no transport of its own."
          source: "docs/lattice.api.auth/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.state.grpc/README.md"
      - "docs/lattice.api.auth/README.md"
  - id: history-retention
    name: "History retention"
    category: view
    definition: "History retention controls how much per-key revision data a history view keeps."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "History views support metadata-only, full-value, and hybrid retention modes."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Change history can fall back only to the retained WAL window when no durable history view is enabled."
          source: "FEATURES.md"
    operational_envelope:
      limits:
        - name: "default-history-hybrid-full-value-window"
          value: 5
          unit: "minutes"
          source: "src/lattice/Views/LatticeViewOptions.cs"
    sources:
      - "docs/lattice/history-views.md"
      - "src/lattice/Views/LatticeViewOptions.cs"
  - id: hlc
    name: "Hybrid logical clock"
    category: primitive
    definition: "A hybrid logical clock combines wall-clock ticks with a logical counter to stamp writes in total order."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Each grain maintains an HLC for local events and merges."
          source: "docs/lattice/state-primitives.md"
      out_of_scope:
        - statement: "HLC merge is deliberately not a join-semilattice operation."
          source: "docs/lattice/state-primitives.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/state-primitives.md"
  - id: identity-seam
    name: "Identity seam"
    category: seam
    definition: "The identity seam authenticates credentials and resolves them to durable subjects and groups."
    packages:
      - "Orleans.Lattice.Membership"
    capability_boundary:
      in_scope:
        - statement: "Membership supplies identity directory and credential-to-subject resolution."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not enforce policy without the auth access gate."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.membership/README.md"
      - "PACKAGES.md"
  - id: in-memory-storage-provider
    name: "In-memory WAL storage provider"
    category: storage
    definition: "The in-memory WAL storage provider is the core default WAL backend for development, tests, and samples."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "AddLattice registers the in-memory WAL provider by default."
          source: "docs/lattice/api.md"
      out_of_scope:
        - statement: "It is suitable only where durability across silo restarts is not required."
          source: "docs/lattice/api.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/api.md"
      - "docs/lattice/wal-storage-providers.md"
  - id: leaf-split
    name: "Leaf split"
    category: core
    definition: "A leaf split divides an oversized leaf into sibling ranges and promotes a separator through the B+ tree."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Leaf splitting is idempotent and recovered through persisted split state."
          source: "docs/lattice/state-primitives.md"
      out_of_scope:
        - statement: "A single entry larger than MaxLeafBytes is irreducible and left intact."
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    operational_envelope:
      limits:
        - name: "default-max-leaf-keys"
          value: 128
          unit: "keys"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
        - name: "default-max-leaf-bytes"
          value: 67108864
          unit: "bytes"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/state-primitives.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: lww-register
    name: "LWW register"
    category: primitive
    definition: "An LWW register keeps the value or tombstone with the highest HLC timestamp and deterministic tie-breaks."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Leaf entries are stored as last-writer-wins values and merge by higher HLC."
          source: "docs/lattice/state-primitives.md"
      out_of_scope:
        - statement: "LWW is safe only when concurrent writes to one key can be lost."
          source: "docs/crdt/readme.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/state-primitives.md"
      - "docs/crdt/readme.md"
  - id: materialised-view
    name: "Materialised view"
    category: view
    definition: "A materialised view is an asynchronous derived tree maintained from a source tree write-ahead log."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Views include filter, projection, key-remap, aggregation, and user-defined fold shapes."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Views are eventually consistent rather than synchronously updated with the source write."
          source: "FEATURES.md"
    operational_envelope:
      limits:
        - name: "default-batch-size"
          value: 256
          unit: "records"
          source: "src/lattice/Views/LatticeViewOptions.cs"
        - name: "default-max-staged-transactions"
          value: 1024
          unit: "transactions"
          source: "src/lattice/Views/LatticeViewOptions.cs"
    sources:
      - "docs/lattice/materialised-views.md"
      - "src/lattice/Views/LatticeViewOptions.cs"
  - id: mcp-tool-group
    name: "MCP tool group"
    category: api
    definition: "An MCP tool group exposes one authorized facade area as discoverable Model Context Protocol tools."
    packages:
      - "Orleans.Lattice.Api.Mcp"
    capability_boundary:
      in_scope:
        - statement: "MCP tools are fail-closed and scoped to caller authorization grants."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Unregistered facades are not exposed as tools."
          source: "docs/lattice.api.mcp/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.mcp/README.md"
      - "FEATURES.md"
  - id: membership-provider
    name: "Membership provider"
    category: identity
    definition: "A membership provider authenticates credentials and resolves users or groups for the membership layer."
    packages:
      - "Orleans.Lattice.Membership"
    capability_boundary:
      in_scope:
        - statement: "Membership supports static in-process roster and provider plug-ins."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Does not create authorization rules by itself."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.membership/README.md"
      - "FEATURES.md"
  - id: merge-observer
    name: "Merge observer"
    category: replication
    definition: "A merge observer is a seam that observes merge activity for replication or projection workflows."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The tree exposes observer seams that companion packages attach to rather than baking concerns into core."
          source: "README.md"
      out_of_scope:
        - statement: "Observer seams do not own WAL durability."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/api.md"
      - "README.md"
  - id: mutation-observer
    name: "Mutation observer"
    category: core
    definition: "A mutation observer is invoked synchronously after a published mutation has been durably persisted and before the grain method returns."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The replication package attaches to the mutation observer seam."
          source: "docs/lattice/architecture.md"
        - statement: "LatticeMutation.TreeId is the logical tree id the write was routed through, stable across resize, shadow restore and schema-remediation alias swaps."
          source: "src/lattice/LatticeMutation.cs#LatticeMutation.TreeId"
      out_of_scope:
        - statement: "Observers run after the WAL append commit point."
          source: "docs/lattice/architecture.md"
        - statement: "Durable WAL records keep their physical tree identity, and a direct physical-grain write without a matching routing target reports the physical tree id."
          source: "src/lattice/LatticeMutation.cs#LatticeMutation.TreeId"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/architecture.md"
  - id: observability-seam
    name: "Observability seam"
    category: seam
    definition: "The observability seam exposes metrics, diagnostics, telemetry, dashboards, events, and scaling signals."
    packages:
      - "Orleans.Lattice.Api.Telemetry"
      - "Orleans.Lattice.Dashboards"
      - "Orleans.Lattice.Scaling"
    capability_boundary:
      in_scope:
        - statement: "Metrics are published on System.Diagnostics.Metrics meters."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Telemetry facades answer named queries rather than caller-supplied PromQL."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/metrics.md"
      - "docs/lattice.api.telemetry/README.md"
  - id: page
    name: "Page"
    category: api
    definition: "A page is a bounded batch returned by scan, catalog, cursor, or facade enumeration surfaces."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "KeysPageSize controls the number of keys per page returned by shard-root sorted-key batches."
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
      out_of_scope:
        - statement: "A page is not a durable cursor by itself."
          source: "docs/lattice/durable-cursors.md"
    operational_envelope:
      limits:
        - name: "default-keys-page-size"
          value: 512
          unit: "keys"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "src/lattice/BPlusTree/LatticeOptions.cs"
      - "docs/lattice/durable-cursors.md"
  - id: predicate
    name: "Predicate"
    category: core
    definition: "A predicate is an Expression<Func<T,bool>> evaluated server-side to filter typed reads, writes, scans, batches, cursors, and range deletes."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Only matching keys or values cross the wire."
          source: "FEATURES.md"
        - statement: "Structural node kinds (TypeOf, Length, Every, Self) test a value's shape and are built on LatticePredicateNode directly, not translated from a lambda."
          source: "docs/lattice/predicated-operations.md"
      out_of_scope:
        - statement: "Does not run arbitrary client-side code outside the documented expression surface."
          source: "docs/lattice/predicated-operations.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/predicated-operations.md"
      - "FEATURES.md"
  - id: region
    name: "Region"
    category: deployment
    definition: "A region identifies a deployment location used by replication, MCP routing, telemetry, and tenancy residency."
    packages:
      - "Orleans.Lattice.Api.Abstractions"
    capability_boundary:
      in_scope:
        - statement: "MCP remote hosting can front several regions and route each tool call to the named region."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "A region is not an authorization grant."
          source: "docs/lattice.tenancy/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.mcp/remote.md"
      - "docs/lattice.tenancy/README.md"
  - id: regions-tenants
    name: "Regions and tenants"
    category: deployment
    definition: "Regions and tenants are deployment and governance scopes used for routing, residency, telemetry, and keyspace isolation."
    packages:
      - "Orleans.Lattice.Tenancy"
    capability_boundary:
      in_scope:
        - statement: "Tenancy can enforce optional per-tenant region residency."
          source: "docs/lattice.tenancy/README.md"
      out_of_scope:
        - statement: "Region and tenant scope do not replace authorization policy."
          source: "docs/lattice/security.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.tenancy/README.md"
      - "docs/lattice.api.mcp/remote.md"
  - id: replication-cursor-watermark
    name: "Replication cursor and watermark"
    category: replication
    definition: "Replication cursors and watermarks track shipped and applied WAL progress across peers."
    packages:
      - "Orleans.Lattice.Replication"
    capability_boundary:
      in_scope:
        - statement: "The replication package includes producer, WAL, shipper, apply, bootstrap, and anti-entropy."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "A cursor does not change the source tree merge mode."
          source: "docs/lattice.replication/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.replication/README.md"
      - "PACKAGES.md"
  - id: replication-peer
    name: "Replication peer"
    category: replication
    definition: "A replication peer is a remote cluster endpoint that receives or supplies replicated WAL traffic."
    packages:
      - "Orleans.Lattice.Replication"
    capability_boundary:
      in_scope:
        - statement: "Peer membership configures who this silo ships its WAL to."
          source: "docs/lattice/api.md"
      out_of_scope:
        - statement: "Peer configuration is outside the core LatticeOptions surface."
          source: "docs/lattice/api.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.replication/README.md"
      - "docs/lattice/api.md"
  - id: replication-peer-status
    name: "Replication peer status"
    category: replication
    definition: "Replication peer status is the read-only facade report of per-tree, per-peer, per-direction replication link telemetry."
    packages:
      - "Orleans.Lattice.Api.Replication"
      - "Orleans.Lattice.Api.Replication.Grpc"
    capability_boundary:
      in_scope:
        - statement: "The peer-status facade returns one page ordered by tree id, peer region id and direction."
          source: "src/lattice.api.abstractions/Replication/ILatticeReplicationStatus.cs#ILatticeReplicationStatus.GetPeerStatusAsync"
        - statement: "The peer-status facade omits rows for trees the caller cannot manage."
          source: "src/lattice.api.replication/LatticeReplicationStatus.cs#LatticeReplicationStatus.GetPeerStatusAsync"
      out_of_scope:
        - statement: "The peer-status facade does not repeat replication enrolment configuration."
          source: "src/lattice.api.abstractions/Replication/ILatticeReplicationStatus.cs#ILatticeReplicationStatus"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.api.abstractions/Replication/ILatticeReplicationStatus.cs#ILatticeReplicationStatus"
      - "src/lattice.api.replication/LatticeReplicationStatus.cs#LatticeReplicationStatus"
  - id: replication-seam
    name: "Replication seam"
    category: seam
    definition: "The replication seam lets an optional package ship and apply WAL-derived mutations between clusters."
    packages:
      - "Orleans.Lattice.Replication"
    capability_boundary:
      in_scope:
        - statement: "Any cluster can write to any enrolled tree."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "A host without the replication package runs the core library alone."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.replication/README.md"
      - "PACKAGES.md"
  - id: repo-context-app
    name: "RepoContext app"
    category: apps
    definition: "The RepoContext app is the installable-app projection of repository context, with adopted existing repo-context trees and read-only app MCP tools."
    packages:
      - "Orleans.Lattice.Api.Mcp.RepoContext"
    capability_boundary:
      in_scope:
        - statement: "The RepoContext app slug is repo-context so app tool names cannot collide with repocontext_* group tool names."
          source: "src/lattice.api.mcp.repocontext/App/RepoContextAppManifest.cs#RepoContextAppManifest.Slug"
        - statement: "Each repo-context tree declaration adopts an existing physical tree rather than moving data into the structural app namespace."
          source: "src/lattice.api.mcp.repocontext/App/RepoContextAppManifest.cs#RepoContextAppManifest.GetBackupPlan"
      out_of_scope:
        - statement: "RepoContext app tools include only the always-on read-only group tools."
          source: "src/lattice.api.mcp.repocontext/App/RepoContextAppManifest.cs#RepoContextAppManifest.AppToolNames"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice.api.mcp.repocontext/App/RepoContextAppManifest.cs"
      - "src/lattice.api.mcp.repocontext/App/repo-context.app.json"
  - id: repocontext-store
    name: "RepoContext store"
    category: ai
    definition: "The RepoContext store indexes repository files, symbols, memories, vectors, graph edges, and context receipts in Lattice trees."
    packages:
      - "Orleans.Lattice.Api.Mcp.RepoContext"
      - "Orleans.Lattice.Api.Mcp.RepoContext.Replication"
    capability_boundary:
      in_scope:
        - statement: "Provides repository onboarding, recall, memory, semantic search, graph navigation, context packing, and usage accounting."
          source: "FEATURES.md"
        - statement: "Can run memory-only, storing and embedding agent memory while source-derived file and symbol indexing is disabled."
          source: "src/lattice.api.mcp.repocontext/Indexing/RepoContextIndexingOptions.cs#SourceIndexing"
      out_of_scope:
        - statement: "Semantic search is approximate by default unless exact retrieval is configured."
          source: "docs/lattice.api.mcp.repocontext/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.api.mcp.repocontext/README.md"
      - "FEATURES.md"
  - id: reshard
    name: "Reshard"
    category: operation
    definition: "Reshard changes the physical shard count online, splitting shards to grow it or folding adjacent shards together to shrink it."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Online reshard grows or shrinks the physical shard count."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Target shard count cannot exceed the virtual shard space."
          source: "src/lattice/BPlusTree/Grains/TreeReshardGrain.cs"
    operational_envelope:
      limits:
        - name: "max-target-shards"
          value: 4096
          unit: "shards"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/online-reshard.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: resize
    name: "Resize"
    category: operation
    definition: "Resize changes MaxLeafKeys or MaxInternalChildren on a live tree through an undoable migration."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Resize can change MaxLeafKeys or MaxInternalChildren on a live tree."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Resize does not change the virtual shard count."
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    operational_envelope:
      limits:
        - name: "default-max-leaf-keys"
          value: 128
          unit: "keys"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
        - name: "default-max-internal-children"
          value: 128
          unit: "children"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/tree-sizing.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: restore
    name: "Restore"
    category: operation
    definition: "Restore materializes backup or snapshot state into a target tree with optional revert support."
    packages:
      - "Orleans.Lattice.Backup"
    capability_boundary:
      in_scope:
        - statement: "Backup restore authorizes the target scope before touching data."
          source: "docs/lattice.api.backup/README.md"
        - statement: "Tracked restores expose their LatticeRestoreResult through the operation result map when they succeed."
          source: "docs/lattice.api.backup/operations.md"
      out_of_scope:
        - statement: "A restore target is tenant-composed at the entry point rather than after authorization."
          source: "docs/lattice.api.backup/api.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.backup/README.md"
      - "docs/lattice.api.backup/README.md"
      - "docs/lattice.api.backup/operations.md"
  - id: scan-range
    name: "Scan and range"
    category: core
    definition: "A scan or range operation enumerates keys or entries in lexicographic order over optional bounds."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Strong scans return the exact live key set even during concurrent rebalancing."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "A global range scan requires scatter-gather across shards followed by merge."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-max-scan-retries"
          value: 3
          unit: "attempts"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-max-leaves-per-scan-page"
          value: 64
          unit: "leaves"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/consistency.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: schema-version-policy
    name: "Schema version policy"
    category: governance
    definition: "A schema/version policy validates writes and stamps or upcasts self-describing value versions."
    packages:
      - "Orleans.Lattice.Schema"
    capability_boundary:
      in_scope:
        - statement: "Local writes that break policy are rejected."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Schema enforcement has zero overhead when unused."
          source: "FEATURES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.schema/README.md"
      - "FEATURES.md"
  - id: secondary-grain-index
    name: "Secondary grain index"
    category: index
    definition: "A secondary grain index tracks declared Orleans grain state properties in Lattice trees for predicate queries."
    packages:
      - "Orleans.Lattice.GrainIndex"
    capability_boundary:
      in_scope:
        - statement: "Properties are declared explicitly with Include."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Startup rejects a declaration change that would invalidate stored entries."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.grainindex/README.md"
      - "PACKAGES.md"
  - id: shard
    name: "Shard"
    category: core
    definition: "A shard is an independent physical B+ subtree that owns a subset of a tree keyspace."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Sharding eliminates a single-root bottleneck by giving each key range its own subtree."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "Keys in different shards have no ordering relationship until scan merge."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-shard-count"
          value: 64
          unit: "shards"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: shard-map
    name: "Shard map"
    category: core
    definition: "A shard map persists the mapping from a tree's virtual slots to mutable physical shard indexes."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Shard map indirection enables adaptive shard splitting without rehashing existing keys."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "Changing virtual shard count would invalidate persisted shard maps."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-virtual-shard-count"
          value: 4096
          unit: "slots"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: shard-root
    name: "Shard root"
    category: core
    definition: "A shard root grain manages the root pointer and routing for one physical shard subtree."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Each shard root activation is keyed by tree id and shard index."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "It does not store per-key leaf entries."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/architecture.md"
  - id: shard-split
    name: "Shard split"
    category: core
    definition: "A shard split moves virtual slots from a hot physical shard into a new physical shard online."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Splits happen fully online via shadow-writing."
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
      out_of_scope:
        - statement: "Autonomic splitting can be disabled by option."
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    operational_envelope:
      limits:
        - name: "default-auto-split-enabled"
          value: true
          unit: "boolean"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-hot-shard-threshold"
          value: 200
          unit: "operations-per-second"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/shard-splitting.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: shipper
    name: "Replication shipper"
    category: replication
    definition: "A replication shipper reads local WAL progress and sends mutations to peers."
    packages:
      - "Orleans.Lattice.Replication"
    capability_boundary:
      in_scope:
        - statement: "Replication package includes producer, WAL, shipper, apply, bootstrap, and anti-entropy."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not exist when the replication package is not registered."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.replication/README.md"
      - "PACKAGES.md"
  - id: snapshot
    name: "Snapshot"
    category: operation
    definition: "A snapshot copies a tree into a new destination tree; offline mode is point-in-time and online mode mirrors source writes until completion."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Snapshots can be offline or online."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "A snapshot is not an external backup sink artifact."
          source: "docs/lattice/snapshots.md"
    operational_envelope:
      limits:
        - name: "default-max-snapshot-replay-entries"
          value: 10000000
          unit: "entries"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-snapshot-baseline-ttl"
          value: 6
          unit: "hours"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/snapshots.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: storage-provider
    name: "Storage provider"
    category: storage
    definition: "A storage provider fills a replaceable durability or cache backend seam."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Storage backends are substitutable implementations behind public seams."
          source: "README.md"
      out_of_scope:
        - statement: "Storage providers do not change merge semantics."
          source: "README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/wal-storage-providers.md"
      - "README.md"
  - id: storage-seam
    name: "Storage seam"
    category: seam
    definition: "The storage seam separates WAL, grain state, backup artifact, and cache backend choices from core semantics."
    packages:
      - "Orleans.Lattice.Backup.AzureBlob"
      - "Orleans.Lattice.Storage.AzureTable"
      - "Orleans.Lattice.Storage.File"
    capability_boundary:
      in_scope:
        - statement: "Storage backends include Azure Table WAL, File WAL, Azure Blob backup sink, and Azure Blob distributed cache."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Does not perform identity or schema governance."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/wal-storage-providers.md"
      - "PACKAGES.md"
  - id: subject-relative-scope
    name: "Subject-relative scope"
    category: identity
    definition: "A subject-relative (templated) scope is a key or prefix authorization scope whose text carries {subject} or {group:<prefix>} placeholders, resolved from the caller's subject at decision time so one rule grants every caller their own slice of a tree."
    packages:
      - "Orleans.Lattice.Auth"
    capability_boundary:
      in_scope:
        - statement: "LatticeScope.SubjectPlaceholder and LatticeScope.GroupPlaceholder author the placeholders, and IsTemplated recognises a templated scope."
          source: "src/lattice.auth/LatticeScope.cs#LatticeScope.GroupPlaceholder"
        - statement: "A matched templated rule ranks in its tier by its length after substitution and competes with literal rules on the same resolved key or prefix under the usual tie-break."
          source: "src/lattice.auth/CompiledTree.cs#CompiledTree.ResolvePrefixTierWithTemplates"
        - statement: "Rules are stored, listed and explained with their placeholders as written."
          source: "docs/lattice.auth/README.md"
      out_of_scope:
        - statement: "An app-owned rule never resolves placeholders; its key or prefix always matches literally."
          source: "src/lattice.auth/ScopeTemplate.cs#ScopeTemplate.ForCompile"
        - statement: "A templated scope cannot be authored on a control-plane tree (sys-*, _lattice_*, tag-*)."
          source: "src/lattice.auth/ScopeTemplate.cs#ScopeTemplate.IsForbiddenTree"
    operational_envelope:
      limits:
        - name: "max-placeholders-per-template"
          value: 8
          unit: "placeholders"
          source: "src/lattice.auth/ScopeTemplate.cs#ScopeTemplate.MaxPlaceholders"
        - name: "max-instantiations-per-template"
          value: 4096
          unit: "instantiations"
          source: "src/lattice.auth/ScopeTemplate.cs#ScopeTemplate.MaxInstantiations"
        - name: "max-walk-steps-per-template"
          value: 65536
          unit: "steps"
          source: "src/lattice.auth/ScopeTemplate.cs#ScopeTemplate.MaxWalkSteps"
        - name: "max-probe-positions-per-tree"
          value: 1024
          unit: "positions"
          source: "src/lattice.auth/ScopeTemplate.cs#ScopeTemplate.MaxProbePositions"
    sources:
      - "docs/lattice.auth/README.md"
      - "src/lattice.auth/ScopeTemplate.cs"
  - id: tag-index
    name: "Tag index"
    category: index
    definition: "A tag index associates tags with tree keys and queries keys by tag union or intersection."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Supports WithAllTags and WithAnyTags queries."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Membership is eventually reconciled unless using combined atomic write paths."
          source: "docs/lattice/api.md"
    operational_envelope:
      limits:
        - name: "default-reconcile-interval"
          value: 1
          unit: "hour"
          source: "src/lattice/BPlusTree/LatticeTagIndexReconciliationOptions.cs"
        - name: "default-reconcile-chunk-size"
          value: 16
          unit: "entries"
          source: "src/lattice/BPlusTree/LatticeTagIndexReconciliationOptions.cs"
    sources:
      - "docs/lattice/api.md"
      - "src/lattice/BPlusTree/LatticeTagIndexReconciliationOptions.cs"
  - id: tenant
    name: "Tenant"
    category: governance
    definition: "A tenant is a keyspace-partitioned logical owner under a t/{tenant}/ prefix with lifecycle and policy state."
    packages:
      - "Orleans.Lattice.Tenancy"
    capability_boundary:
      in_scope:
        - statement: "Tenancy partitions keyspace under t/{tenant}/ prefixes."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "A tenant is not a physical Orleans cluster boundary."
          source: "docs/lattice.tenancy/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.tenancy/README.md"
      - "PACKAGES.md"
  - id: tenant-admission
    name: "Tenant admission"
    category: governance
    definition: "Tenant admission evaluates tenant quotas, usage, rate limits, and residency before admitting tenant operations."
    packages:
      - "Orleans.Lattice.Tenancy"
    capability_boundary:
      in_scope:
        - statement: "Tenancy supports per-tenant quotas, usage metering, rate limiting, and optional region residency."
          source: "PACKAGES.md"
      out_of_scope:
        - statement: "Rate limiting is enforced per cluster."
          source: "PACKAGES.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.tenancy/README.md"
      - "PACKAGES.md"
  - id: tenant-group
    name: "Tenant group"
    category: identity
    definition: "A tenant group is a membership group a tenant's own administrators create and manage inside their tenant, identified by the reserved grammar t/{tenant}/{name}."
    packages:
      - "Orleans.Lattice"
      - "Orleans.Lattice.Membership"
      - "Orleans.Lattice.Api.TenantAdmin"
    capability_boundary:
      in_scope:
        - statement: "LatticeTenantGroupId owns the t/{tenant}/{name} grammar; the name is 1 to 63 lower-case ASCII letters, digits, '-', '_' and '.'."
          source: "src/lattice/LatticeTenantGroupId.cs#LatticeTenantGroupId"
        - statement: "A tenant group may contain users, groups of the same tenant and cluster groups."
          source: "docs/lattice.membership/README.md"
        - statement: "Tenant administrators manage tenant groups through ILatticeTenantDirectoryAdmin by tenant-local name."
          source: "src/lattice.api.abstractions/TenantAdmin/ILatticeTenantDirectoryAdmin.cs#ILatticeTenantDirectoryAdmin"
        - statement: "With tenancy registered, identity-provider-asserted t/ group ids are always stripped before group expansion, whatever the delegated-access flag."
          source: "src/lattice.membership/TenantGroupClaimFilter.cs#TenantGroupClaimFilter"
      out_of_scope:
        - statement: "A tenant group never becomes a member of a cluster group or of another tenant's group."
          source: "src/lattice.membership/LatticeTenantGroupNestingException.cs#LatticeTenantGroupNestingException"
        - statement: "Tenant groups share the sys-membership trees and are not bound by tenant residency."
          source: "docs/lattice.tenancy/README.md"
    operational_envelope:
      limits:
        - statement: "MaxGroups caps a tenant's groups (default 500, never unbounded)."
          source: "src/lattice.tenancy/TenantQuotas.cs#TenantQuotas.DefaultMaxGroups"
    sources:
      - "docs/lattice.tenancy/README.md"
      - "docs/lattice.membership/README.md"
  - id: tenant-member
    name: "Tenant member"
    category: identity
    definition: "A tenant member is an entry of a tenant's member set - a user, one of the tenant's own groups, or a cluster group - whose subjects may act as the tenant on the data plane while delegated tenant access administration is enabled."
    packages:
      - "Orleans.Lattice.Tenancy"
      - "Orleans.Lattice.Api.TenantAdmin"
    capability_boundary:
      in_scope:
        - statement: "A subject may act as a tenant when its id or a resolved transitive group is in the tenant's admin set or member set; admins are implicitly members."
          source: "src/lattice.tenancy/TenantRecord.cs#TenantRecord.IsMember"
        - statement: "Tenant administrators manage the member set through ILatticeTenantDirectoryAdmin."
          source: "src/lattice.api.abstractions/TenantAdmin/ILatticeTenantDirectoryAdmin.cs#ILatticeTenantDirectoryAdmin.AddMemberAsync"
      out_of_scope:
        - statement: "Membership only passes the tenant gate; what a member may do is decided by rules, default-deny."
          source: "docs/lattice.tenancy/README.md"
        - statement: "The reserved default tenant accepts no member entries."
          source: "src/lattice.tenancy/TenantRecord.cs#TenantRecord.AddMemberSubject"
    operational_envelope:
      limits:
        - statement: "MaxMemberSubjects caps a tenant's member set (default 5000, never unbounded)."
          source: "src/lattice.tenancy/TenantQuotas.cs#TenantQuotas.DefaultMaxMemberSubjects"
    sources:
      - "docs/lattice.tenancy/README.md"
  - id: tenant-rule-layer
    name: "Tenant rule layer"
    category: identity
    definition: "The tenant rule layer evaluates tenant-tier authorization rules (ids prefixed tenant:{tenant}:) on a tenant's own trees beneath the operator layer, only when no operator rule matches."
    packages:
      - "Orleans.Lattice.Auth"
      - "Orleans.Lattice.Tenancy"
    capability_boundary:
      in_scope:
        - statement: "A matched operator verdict is final; the tenant layer runs only when no operator rule matches, in the order tenant-wide deny, tree most-specific verdict, tenant-wide allow, default effect."
          source: "docs/lattice.auth/tenant-layer.md"
        - statement: "ITenantRuleLayer is the on/off seam; tenancy supplies an active implementation that reads its delegated-access flag."
          source: "src/lattice.auth/ITenantRuleLayer.cs#ITenantRuleLayer"
        - statement: "LatticeTenantRuleIds owns the reserved tenant: rule-id namespace."
          source: "src/lattice.auth/LatticeTenantRuleIds.cs#LatticeTenantRuleIds"
      out_of_scope:
        - statement: "The tenant layer never governs app-owned, reserved, system or default-tenant trees."
          source: "docs/lattice.auth/tenant-layer.md"
        - statement: "A tenant rule can neither override an operator deny nor revoke an operator allow."
          source: "docs/lattice.auth/tenant-layer.md"
    operational_envelope:
      limits:
        - statement: "MaxTenantRules caps a tenant's tenant-tier rules (default 1000, never unbounded)."
          source: "src/lattice.tenancy/TenantQuotas.cs#TenantQuotas.DefaultMaxTenantRules"
    sources:
      - "docs/lattice.auth/tenant-layer.md"
      - "src/lattice.auth/PolicyEvaluator.cs"
  - id: tenant-wide-scope
    name: "Tenant-wide scope"
    category: identity
    definition: "The tenant-wide scope is a whole-tree authorization scope over the sentinel tree id t/{tenant}/*, standing for every tree a tenant owns; it is authorable only on a tenant-tier rule."
    packages:
      - "Orleans.Lattice.Auth"
    capability_boundary:
      in_scope:
        - statement: "LatticeScope.TenantWide creates the scope; IsTenantWide and TryGetTenantWideTenant recognise it."
          source: "src/lattice.auth/LatticeScope.cs#LatticeScope.TenantWide"
        - statement: "The policy store refuses a t/{x}/* scope unless the rule is that tenant's own tenant-tier rule."
          source: "docs/lattice.auth/tenant-layer.md"
      out_of_scope:
        - statement: "The tenant-wide scope never reaches app-owned, reserved or system trees, nor another tenant's trees."
          source: "src/lattice.auth/LatticeScope.cs#LatticeScope.TenantWide"
        - statement: "The cluster Tree:* tier and AllTreesGrantsEnabled are unchanged and stay operator-only."
          source: "docs/lattice.auth/tenant-layer.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.auth/tenant-layer.md"
  - id: tombstone
    name: "Tombstone"
    category: core
    definition: "A tombstone is an LWW entry state representing a logical delete or expired value until compaction reaps it."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Deletes are represented as tombstones with timestamps."
          source: "docs/lattice/state-primitives.md"
      out_of_scope:
        - statement: "Physical deletion is deferred to compaction rather than immediate at logical delete time."
          source: "docs/lattice/tombstone-compaction.md"
    operational_envelope:
      limits:
        - name: "default-tombstone-grace-period"
          value: 24
          unit: "hours"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/state-primitives.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: tracked-cluster-operation
    name: "Tracked cluster operation"
    category: operation
    definition: "A tracked cluster operation is an accept-then-poll long-running facade operation recorded as a durable operation record, indexed per tenant, and observed through the shared ILatticeOperations status, list, and cancel surface."
    packages:
      - "Orleans.Lattice"
      - "Orleans.Lattice.Api.Abstractions"
    capability_boundary:
      in_scope:
        - statement: "A start verb records a durable operation, returns a handle immediately, and lets callers poll status for phase, progress units, terminal state, and result keys."
          source: "docs/lattice.api.abstractions/operations.md"
        - statement: "The engine records progress, cancellation, retention, and accepting-silo liveness independently of the caller's request lifetime."
          source: "src/lattice/Operations/LatticeOperationRunner.cs#LatticeOperationRunner"
        - statement: "Status, list, and cancel are scoped by facade-owned kinds, tenant, and visible target trees."
          source: "src/lattice.api.abstractions/Operations/ILatticeOperations.cs#ILatticeOperations"
      out_of_scope:
        - statement: "Interrupted work is not resumed after the accepting silo is lost; the operation is marked Failed and must be started again."
          source: "src/lattice/Operations/LatticeOperationGrain.cs#LatticeOperationGrain"
        - statement: "Operation kind result payloads are opaque string maps documented by each adopting package, not by the core operation record."
          source: "src/lattice/Operations/LatticeOperationRecord.cs#LatticeOperationRecord"
    operational_envelope:
      limits:
        - name: "operation-id-length"
          value: 128
          unit: "characters"
          source: "src/lattice/Operations/LatticeOperationKey.cs#LatticeOperationKey.MaxOperationIdLength"
        - name: "default-retention"
          value: 7
          unit: "days"
          source: "src/lattice/Operations/LatticeOperationOptions.cs#LatticeOperationOptions.Retention"
        - name: "default-heartbeat-lease"
          value: 2
          unit: "minutes"
          source: "src/lattice/Operations/LatticeOperationOptions.cs#LatticeOperationOptions.HeartbeatLease"
    sources:
      - "docs/lattice.api.abstractions/operations.md"
      - "src/lattice/Operations/LatticeOperationRunner.cs"
      - "src/lattice/Operations/LatticeOperationGrain.cs"
      - "src/lattice/Operations/LatticeOperationIndexGrain.cs"
  - id: tree
    name: "Tree"
    category: core
    definition: "A tree is a sorted durable key-value namespace whose string keys map to byte-array values or CRDT state."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The core supports point reads, writes, deletes, TTL, ordered scans, atomic writes, bulk load, cursors, resize, reshard, snapshots, soft delete, events, diagnostics, and metrics."
          source: "README.md"
      out_of_scope:
        - statement: "The core is not an external database tier outside the Orleans cluster."
          source: "README.md"
    operational_envelope:
      limits:
        - name: "default-shard-count"
          value: 64
          unit: "shards"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
        - name: "default-max-leaf-keys"
          value: 128
          unit: "keys"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/api.md"
      - "README.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: tree-admission
    name: "Tree admission"
    category: governance
    definition: "Tree admission evaluates opt-in per-tree live-key and estimated-byte ceilings before local writes are admitted."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Locally-authored writes can be refused with LatticeQuotaExceededException when MaxLiveKeys or MaxEstimatedBytes is breached."
          source: "src/lattice/LatticeQuotaExceededException.cs"
      out_of_scope:
        - statement: "Replication and atomic-write-saga apply paths bypass per-tree admission control."
          source: "src/lattice/LatticeQuotaExceededException.cs"
    operational_envelope:
      limits: []
    sources:
      - "src/lattice/BPlusTree/LatticeOptions.cs"
      - "src/lattice/LatticeQuotaExceededException.cs"
  - id: tree-alias
    name: "Tree alias"
    category: core
    definition: "A tree alias maps a logical tree name to a physical tree id for resize or restore cutover."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Tree alias is stored in the registry entry as optional indirection."
          source: "docs/lattice/architecture.md"
        - statement: "A physical tree created by a resize, shadow-cutover restore or schema remediation records the logical tree id it backs in DerivedFrom, stamped once at creation."
          source: "docs/lattice/tree-registry.md"
        - statement: "Every alias assignment is decided by the registered tree ownership guard before it is written."
          source: "docs/lattice/tree-registry.md"
        - statement: "A successful alias assignment carries the target's shard map and split allocation mark onto the logical entry and writes the replaced map to the previous physical entry when it has one; a refused alias writes nothing."
          source: "src/lattice/BPlusTree/AliasCutoverShardMaps.cs#AliasCutoverShardMaps.CarryAcrossExplicitAliasAsync"
      out_of_scope:
        - statement: "Alias indirection does not change the virtual shard count."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/architecture.md"
      - "docs/lattice.api.treeadmin/README.md"
  - id: tree-ownership-guard
    name: "Tree ownership guard"
    category: seam
    definition: "The tree ownership guard is the optional ITreeOwnershipGuard seam the tree registry consults on every alias assignment to decide whether a logical tree may alias a physical tree."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The guard receives the logical tree id, the physical target id, and the target's DerivedFrom read from the registry, never from the caller."
          source: "src/lattice/ITreeOwnershipGuard.cs#ITreeOwnershipGuard.AuthorizeAliasAsync"
        - statement: "System-origin maintenance such as resize, restore and remediation is not exempt from the guard."
          source: "docs/lattice/tree-registry.md"
      out_of_scope:
        - statement: "Core carries no notion of ownership itself; AddLattice registers an allow-all guard."
          source: "docs/lattice/tree-registry.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/tree-registry.md"
      - "src/lattice/ITreeOwnershipGuard.cs"
  - id: ttl
    name: "Time-to-live"
    category: core
    definition: "TTL is an absolute server-side expiry attached to a value or CRDT write and preserved across topology operations."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Per-entry TTL is available on LWW SetAsync writes and typed CRDT writes."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "TTL expiry does not immediately purge storage without compaction."
          source: "docs/lattice/ttl.md"
    operational_envelope:
      limits:
        - name: "default-tombstone-grace-period"
          value: 24
          unit: "hours"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/ttl.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: value-codec-envelope
    name: "Value codec and envelope"
    category: durability
    definition: "A value codec or envelope carries serialized value bytes, merge metadata, compression framing, or API wire fields."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Typed payload helpers layer automatic serialization over opaque byte values."
          source: "README.md"
      out_of_scope:
        - statement: "The core tree cannot infer which CRDT a key holds from raw bytes alone."
          source: "docs/crdt/readme.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/api.md"
      - "README.md"
  - id: vector-index
    name: "Vector index"
    category: index
    definition: "A vector index is a persisted approximate nearest-neighbour index over Lattice-held vectors."
    packages:
      - "Orleans.Lattice.Vector"
    capability_boundary:
      in_scope:
        - statement: "Query cost is sub-linear in the corpus."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Approximate search does not promise exact nearest-neighbour recall unless exact mode answers."
          source: "docs/lattice.vector/README.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.vector/README.md"
      - "FEATURES.md"
  - id: version-vector
    name: "Version vector"
    category: primitive
    definition: "A version vector maps replica ids to highest observed HLC values and merges by pointwise maximum."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Leaf version vectors enable delta extraction."
          source: "docs/lattice/state-primitives.md"
      out_of_scope:
        - statement: "It is internal machinery rather than the recommended external projection API."
          source: "docs/lattice/state-primitives.md"
    operational_envelope:
      limits:
        - name: "default-min-version-vector-retention"
          value: 1
          unit: "hour"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/state-primitives.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: virtual-slot
    name: "Virtual slot"
    category: core
    definition: "A virtual slot is a fixed hash-space bucket that the shard map assigns to a physical shard."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Keys hash into one of 4096 virtual slots."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "Changing the virtual slot count would invalidate every stored shard map."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-virtual-shard-count"
          value: 4096
          unit: "slots"
          source: "src/lattice/BPlusTree/LatticeConstants.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeConstants.cs"
  - id: wal
    name: "Write-ahead log"
    category: durability
    definition: "The write-ahead log is the canonical commit boundary for tree mutations and the source for replay and derived projections."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "A successful SetAsync or DeleteAsync returns after its WAL partition append durability point."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "A WAL failure surfaces before in-memory mutation happens."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-wal-partitions"
          value: 8
          unit: "partitions"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-wal-max-batch-entries"
          value: 100
          unit: "entries"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/wal.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: wal-cursor
    name: "WAL cursor"
    category: durability
    definition: "A WAL cursor records consumer progress through WAL records for replay, views, replication, backup, or retention."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Cursor lineage identifies the cluster that authored backup capture."
          source: "docs/lattice.api.backup/api.md"
      out_of_scope:
        - statement: "A cursor does not itself retain records unless pinned by a consumer policy."
          source: "docs/lattice/wal.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/wal.md"
      - "docs/lattice.api.backup/api.md"
  - id: wal-gc
    name: "WAL garbage collection"
    category: durability
    definition: "WAL garbage collection trims records no retained consumer still needs."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "WAL GC uses trim floors derived from materialiser pins and consumers."
          source: "docs/lattice/wal.md"
      out_of_scope:
        - statement: "A leaf without durable snapshot coverage can keep the tree WAL untrimmable."
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    operational_envelope:
      limits:
        - name: "default-wal-gc-interval"
          value: 1
          unit: "hour"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/wal.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: wal-move-placement
    name: "WAL placement and move"
    category: durability
    definition: "WAL placement and move operations inspect, plan, copy, quiesce, and reclaim WAL provider placement for partitions."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Tree administration includes WAL placement audit and movement."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Default max concurrent partition moves is one."
          source: "src/lattice/WalMoveOptions.cs"
    operational_envelope:
      limits:
        - name: "default-copy-page-size"
          value: 256
          unit: "records"
          source: "src/lattice/WalMoveOptions.cs"
        - name: "default-max-concurrent-partition-moves"
          value: 1
          unit: "move"
          source: "src/lattice/WalMoveOptions.cs"
    sources:
      - "docs/lattice.api.treeadmin/README.md"
      - "src/lattice/WalMoveOptions.cs"
  - id: wal-partition
    name: "WAL partition"
    category: durability
    definition: "A WAL partition is the stable per-tree append stream chosen for a key by hash modulo WalPartitions."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Each WAL shard activation is keyed by tree id and partition."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "The WAL partition hash is stable and non-cryptographic."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-wal-partitions"
          value: 8
          unit: "partitions"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: wal-saturation-signal
    name: "WAL saturation signal"
    category: durability
    definition: "The WAL saturation signal reports healthy, throttled, or saturated state so callers can apply back-pressure."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "Publishes a per-tree three-state back-pressure signal."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Callers must observe the signal to throttle offered load."
          source: "FEATURES.md"
    operational_envelope:
      limits:
        - name: "default-sample-interval"
          value: 200
          unit: "milliseconds"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
        - name: "default-throttled-ratio"
          value: 0.75
          unit: "ratio"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/wal-saturation-signal.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: wal-shard
    name: "WAL shard"
    category: durability
    definition: "A WAL shard grain appends and reads records for one tree partition against the configured WAL storage provider."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "The WAL shard appends directly to IWalStorageProvider and recovers its next offset from the provider on activation."
          source: "docs/lattice/architecture.md"
      out_of_scope:
        - statement: "The WAL shard has no Orleans grain state of its own."
          source: "docs/lattice/architecture.md"
    operational_envelope:
      limits:
        - name: "default-wal-max-pending-batches"
          value: 16
          unit: "batches"
          source: "src/lattice/BPlusTree/LatticeOptions.cs"
    sources:
      - "docs/lattice/architecture.md"
      - "src/lattice/BPlusTree/LatticeOptions.cs"
  - id: wal-storage-provider
    name: "WAL storage provider"
    category: storage
    definition: "A WAL storage provider implements durable append and read semantics behind the IWalStorageProvider seam."
    packages:
      - "Orleans.Lattice"
    capability_boundary:
      in_scope:
        - statement: "AddLattice registers an in-memory provider by default."
          source: "docs/lattice/api.md"
      out_of_scope:
        - statement: "Hosts needing restart durability must replace the in-memory WAL with a persistent provider."
          source: "docs/lattice/api.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice/wal-storage-providers.md"
      - "docs/lattice/api.md"
  - id: write-interceptor
    name: "Write interceptor"
    category: governance
    definition: "A write interceptor is a governance seam that inspects or rejects writes before core mutation proceeds."
    packages:
      - "Orleans.Lattice.Schema"
    capability_boundary:
      in_scope:
        - statement: "Schema enforcement validates the values a tree's checked local write operations carry against per-tree policy."
          source: "FEATURES.md"
      out_of_scope:
        - statement: "Strict ingest dead-letters a non-compliant replicated entry, including a plain last-writer-wins write, instead of applying it, and does not cover backup restore or tree merge."
          source: "docs/lattice.explorer/managing-schema.md"
    operational_envelope:
      limits: []
    sources:
      - "docs/lattice.schema/README.md"
      - "FEATURES.md"
relationships:
  - from: access-gate
    relation: guards
    to: api-facade
    sources:
      - "docs/lattice/security.md"
  - from: access-gate
    relation: guards
    to: app-install-capability
    sources:
      - "src/lattice.api.apps/LatticeAppsControl.cs"
  - from: administration-seam
    relation: implements
    to: api-treeadmin-facade
    sources:
      - "PACKAGES.md"
  - from: agent-operated-backlog
    relation: depends-on
    to: fencing-token
    sources:
      - "docs/lattice.api.mcp.repocontext/backlog.md"
  - from: agent-operated-backlog
    relation: part-of
    to: repocontext-store
    sources:
      - "docs/lattice.api.mcp.repocontext/backlog.md"
  - from: api-auth-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.auth/README.md"
  - from: api-backup-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.backup/README.md"
  - from: api-data-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.data/README.md"
  - from: api-replication-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.replication/README.md"
  - from: api-schema-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.schema/README.md"
  - from: api-state-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.state/README.md"
  - from: api-telemetry-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.telemetry/README.md"
  - from: api-tenantadmin-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.tenantadmin/README.md"
  - from: api-treeadmin-facade
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.treeadmin/README.md"
  - from: app-bridge
    relation: consumes
    to: app-role-grant-evaluator
    sources:
      - "src/lattice.api.apps/LatticeAppBridge.cs#LatticeAppBridge"
  - from: app-bridge
    relation: guards
    to: app-owned-tree
    sources:
      - "src/lattice.api.apps/LatticeAppBridge.cs#LatticeAppBridge.AuthorizeAsync"
  - from: app-bridge
    relation: implements
    to: api-facade
    sources:
      - "src/lattice.api.abstractions/Apps/ILatticeAppBridge.cs#ILatticeAppBridge"
  - from: app-capability-ceiling
    relation: part-of
    to: app-install-record
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-catalog
    relation: consumes
    to: app-catalog-source
    sources:
      - "src/lattice.api.apps/LatticeAppCatalog.Listing.cs#LatticeAppCatalog.ListAvailableAsync"
  - from: app-catalog
    relation: implements
    to: api-facade
    sources:
      - "src/lattice.api.abstractions/Apps/ILatticeAppCatalog.cs#ILatticeAppCatalog"
  - from: app-catalog-source
    relation: extends
    to: app-source
    sources:
      - "src/lattice.apps/Sources/IAppCatalogSource.cs#IAppCatalogSource"
  - from: app-change-feed-subscription
    relation: depends-on
    to: mutation-observer
    sources:
      - "src/lattice.apps/Subscriptions/AppSubscriptionRouter.cs"
  - from: app-install-record
    relation: depends-on
    to: app-manifest
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-mcp-tool
    relation: part-of
    to: app-manifest
    sources:
      - "docs/lattice.api.mcp.apps/README.md"
  - from: app-owned-rule
    relation: extends
    to: auth-rule
    sources:
      - "src/lattice.auth/LatticeAppRuleIds.cs"
  - from: app-owned-tree
    relation: depends-on
    to: app-tree-ownership-ledger
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-owned-tree
    relation: depends-on
    to: tenant
    sources:
      - "src/lattice.apps/Activation/AppActivationTreeNames.cs"
  - from: app-role-binding
    relation: depends-on
    to: auth-group
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-role-binding
    relation: part-of
    to: app-install-record
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-role-compiler
    relation: consumes
    to: app-capability-ceiling
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-role-compiler
    relation: consumes
    to: app-role-binding
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-role-compiler
    relation: produces
    to: app-owned-rule
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-role-grant-evaluator
    relation: consumes
    to: app-role-binding
    sources:
      - "src/lattice.apps/Registry/AppRoleGrantEvaluator.cs#AppRoleGrantEvaluator.CompileRoles"
  - from: app-source
    relation: produces
    to: app-manifest
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-tree-ownership-ledger
    relation: implements
    to: tree-ownership-guard
    sources:
      - "docs/lattice.apps/README.md"
  - from: app-workspace
    relation: consumes
    to: app-role-grant-evaluator
    sources:
      - "src/lattice.api.apps/LatticeAppWorkspace.cs#LatticeAppWorkspace"
  - from: app-workspace
    relation: implements
    to: api-facade
    sources:
      - "src/lattice.api.abstractions/Apps/ILatticeAppWorkspace.cs#ILatticeAppWorkspace"
  - from: atomic-action-saga
    relation: extends
    to: atomic-batch
    sources:
      - "docs/lattice/atomic-action.md"
  - from: atomic-batch
    relation: consumes
    to: wal
    sources:
      - "docs/lattice/atomic-writes.md"
  - from: auth-group
    relation: part-of
    to: identity-seam
    sources:
      - "docs/lattice.api.auth/README.md"
  - from: auth-rule
    relation: guards
    to: access-gate
    sources:
      - "docs/lattice.api.auth/README.md"
  - from: autoscaling-signal
    relation: observes
    to: wal-saturation-signal
    sources:
      - "docs/lattice.scaling/README.md"
  - from: azure-table-storage-provider
    relation: implements
    to: wal-storage-provider
    sources:
      - "docs/lattice.storage.azuretable/README.md"
  - from: backup
    relation: stores
    to: storage-provider
    sources:
      - "docs/lattice.backup/README.md"
  - from: bplus-internal-node
    relation: part-of
    to: bplus-tree
    sources:
      - "docs/lattice/architecture.md"
  - from: bplus-leaf-node
    relation: consumes
    to: wal
    sources:
      - "docs/lattice/architecture.md"
  - from: bplus-leaf-node
    relation: part-of
    to: bplus-tree
    sources:
      - "docs/lattice/architecture.md"
  - from: caching
    relation: consumes
    to: version-vector
    sources:
      - "docs/lattice/state-primitives.md"
  - from: compaction
    relation: consumes
    to: tombstone
    sources:
      - "docs/lattice/tombstone-compaction.md"
  - from: compression-dictionary
    relation: configures
    to: value-codec-envelope
    sources:
      - "docs/lattice/compression.md"
  - from: conflict-resolution-merge
    relation: depends-on
    to: crdt-primitives
    sources:
      - "docs/crdt/readme.md"
  - from: cross-tree-atomic
    relation: extends
    to: atomic-batch
    sources:
      - "docs/lattice/atomic-writes.md"
  - from: cursor
    relation: consumes
    to: scan-range
    sources:
      - "docs/lattice/durable-cursors.md"
  - from: dashboards
    relation: observes
    to: observability-seam
    sources:
      - "docs/lattice.dashboards/README.md"
  - from: dead-letter
    relation: produces
    to: schema-version-policy
    sources:
      - "docs/lattice.schema/README.md"
  - from: distributed-lock-lease
    relation: produces
    to: fencing-token
    sources:
      - "docs/lattice/distributed-lock.md"
  - from: explorer
    relation: consumes
    to: grpc-binding
    sources:
      - "docs/lattice.explorer/README.md"
  - from: explorer-app-frame
    relation: consumes
    to: app-bridge
    sources:
      - "src/lattice.explorer/UI/AppFrame/Broker/AppBridgeBroker.cs#AppBridgeBroker.RelayAsync"
  - from: explorer-app-frame
    relation: consumes
    to: app-workspace
    sources:
      - "src/lattice.explorer/UI/AppFrame/AppFrameBundleLoader.cs#AppFrameBundleLoader.AuthorizeAsync"
  - from: explorer-app-frame
    relation: part-of
    to: explorer
    sources:
      - "docs/lattice.explorer/lattice-apps.md"
  - from: explorer-appkit-protocol
    relation: part-of
    to: explorer-app-frame
    sources:
      - "src/lattice.explorer/AppKit/AppKitProtocol.cs#AppKitProtocol"
  - from: explorer-shell
    relation: part-of
    to: explorer
    sources:
      - "src/lattice.explorer/WebHosting/LatticeExplorerWebServiceCollectionExtensions.cs#AddLatticeExplorerWeb"
  - from: file-storage-provider
    relation: implements
    to: wal-storage-provider
    sources:
      - "docs/lattice.storage.file/README.md"
  - from: governance-seam
    relation: guards
    to: write-interceptor
    sources:
      - "PACKAGES.md"
  - from: grpc-binding
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.state.grpc/README.md"
  - from: history-retention
    relation: configures
    to: materialised-view
    sources:
      - "docs/lattice/history-views.md"
  - from: identity-seam
    relation: produces
    to: membership-provider
    sources:
      - "PACKAGES.md"
  - from: in-memory-storage-provider
    relation: implements
    to: wal-storage-provider
    sources:
      - "docs/lattice/api.md"
  - from: leaf-split
    relation: configures
    to: bplus-leaf-node
    sources:
      - "docs/lattice/state-primitives.md"
  - from: lww-register
    relation: depends-on
    to: hlc
    sources:
      - "docs/lattice/state-primitives.md"
  - from: materialised-view
    relation: consumes
    to: wal-cursor
    sources:
      - "docs/lattice/materialised-views.md"
  - from: mcp-tool-group
    relation: implements
    to: api-facade
    sources:
      - "docs/lattice.api.mcp/README.md"
  - from: membership-provider
    relation: produces
    to: auth-group
    sources:
      - "docs/lattice.membership/README.md"
  - from: merge-observer
    relation: observes
    to: conflict-resolution-merge
    sources:
      - "docs/lattice/api.md"
  - from: mutation-observer
    relation: observes
    to: bplus-leaf-node
    sources:
      - "docs/lattice/architecture.md"
  - from: observability-seam
    relation: observes
    to: bplus-tree
    sources:
      - "PACKAGES.md"
  - from: page
    relation: part-of
    to: scan-range
    sources:
      - "docs/lattice/api.md"
  - from: predicate
    relation: guards
    to: scan-range
    sources:
      - "docs/lattice/predicated-operations.md"
  - from: region
    relation: configures
    to: replication-peer
    sources:
      - "docs/lattice.replication/README.md"
  - from: replication-cursor-watermark
    relation: observes
    to: wal
    sources:
      - "docs/lattice.replication/README.md"
  - from: replication-peer
    relation: part-of
    to: replication-seam
    sources:
      - "docs/lattice.replication/README.md"
  - from: replication-peer-status
    relation: implements
    to: api-facade
    sources:
      - "src/lattice.api.abstractions/Replication/ILatticeReplicationStatus.cs#ILatticeReplicationStatus"
  - from: replication-peer-status
    relation: observes
    to: replication-peer
    sources:
      - "src/lattice.api.replication/LatticeReplicationStatus.cs#LatticeReplicationStatus"
  - from: replication-seam
    relation: replicates
    to: wal
    sources:
      - "PACKAGES.md"
  - from: repo-context-app
    relation: depends-on
    to: app-manifest
    sources:
      - "src/lattice.api.mcp.repocontext/App/RepoContextAppManifest.cs"
  - from: repocontext-store
    relation: stores
    to: vector-index
    sources:
      - "docs/lattice.api.mcp.repocontext/README.md"
  - from: reshard
    relation: configures
    to: shard-map
    sources:
      - "docs/lattice/online-reshard.md"
  - from: resize
    relation: configures
    to: tree-alias
    sources:
      - "docs/lattice/tree-sizing.md"
  - from: restore
    relation: consumes
    to: backup
    sources:
      - "docs/lattice.backup/README.md"
  - from: scan-range
    relation: consumes
    to: page
    sources:
      - "docs/lattice/api.md"
  - from: schema-version-policy
    relation: guards
    to: write-interceptor
    sources:
      - "docs/lattice.schema/README.md"
  - from: secondary-grain-index
    relation: extends
    to: predicate
    sources:
      - "docs/lattice.grainindex/README.md"
  - from: shard
    relation: part-of
    to: bplus-tree
    sources:
      - "docs/lattice/architecture.md"
  - from: shard-map
    relation: configures
    to: shard
    sources:
      - "docs/lattice/architecture.md"
  - from: shard-root
    relation: part-of
    to: shard
    sources:
      - "docs/lattice/architecture.md"
  - from: shard-split
    relation: configures
    to: shard-map
    sources:
      - "docs/lattice/shard-splitting.md"
  - from: shipper
    relation: replicates
    to: wal
    sources:
      - "docs/lattice.replication/README.md"
  - from: snapshot
    relation: stores
    to: bplus-leaf-node
    sources:
      - "docs/lattice/snapshots.md"
  - from: storage-provider
    relation: implements
    to: storage-seam
    sources:
      - "README.md"
  - from: storage-seam
    relation: stores
    to: wal-storage-provider
    sources:
      - "docs/lattice/wal-storage-providers.md"
  - from: tag-index
    relation: extends
    to: bplus-tree
    sources:
      - "docs/lattice/api.md"
  - from: tenant
    relation: part-of
    to: regions-tenants
    sources:
      - "docs/lattice.tenancy/README.md"
  - from: tenant-admission
    relation: guards
    to: tenant
    sources:
      - "docs/lattice.tenancy/README.md"
  - from: tombstone
    relation: part-of
    to: lww-register
    sources:
      - "docs/lattice/state-primitives.md"
  - from: tree
    relation: stores
    to: bplus-tree
    sources:
      - "README.md"
  - from: tree-admission
    relation: guards
    to: tree
    sources:
      - "src/lattice/LatticeQuotaExceededException.cs"
  - from: tree-alias
    relation: configures
    to: tree
    sources:
      - "docs/lattice/architecture.md"
  - from: tree-ownership-guard
    relation: guards
    to: tree-alias
    sources:
      - "docs/lattice/tree-registry.md"
  - from: ttl
    relation: produces
    to: tombstone
    sources:
      - "docs/lattice/ttl.md"
  - from: value-codec-envelope
    relation: stores
    to: lww-register
    sources:
      - "docs/lattice/api.md"
  - from: vector-index
    relation: stores
    to: repocontext-store
    sources:
      - "docs/lattice.vector/README.md"
  - from: version-vector
    relation: produces
    to: caching
    sources:
      - "docs/lattice/state-primitives.md"
  - from: virtual-slot
    relation: part-of
    to: shard-map
    sources:
      - "docs/lattice/architecture.md"
  - from: wal
    relation: stores
    to: wal-shard
    sources:
      - "docs/lattice/architecture.md"
  - from: wal-cursor
    relation: observes
    to: wal
    sources:
      - "docs/lattice/wal.md"
  - from: wal-gc
    relation: consumes
    to: wal-cursor
    sources:
      - "docs/lattice/wal.md"
  - from: wal-move-placement
    relation: configures
    to: wal-storage-provider
    sources:
      - "docs/lattice.api.treeadmin/README.md"
  - from: wal-partition
    relation: part-of
    to: wal
    sources:
      - "docs/lattice/architecture.md"
  - from: wal-saturation-signal
    relation: observes
    to: wal
    sources:
      - "docs/lattice/wal-saturation-signal.md"
  - from: wal-shard
    relation: part-of
    to: wal-partition
    sources:
      - "docs/lattice/architecture.md"
  - from: wal-storage-provider
    relation: implements
    to: storage-seam
    sources:
      - "docs/lattice/wal-storage-providers.md"
  - from: write-interceptor
    relation: guards
    to: bplus-tree
    sources:
      - "docs/lattice.schema/README.md"
