@lucern/contracts 0.3.0-alpha.4 → 0.3.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/edge-policy-manifest-DpmTtjmm.d.ts +132 -0
  2. package/dist/function-registry/beliefs.js +72 -0
  3. package/dist/function-registry/beliefs.js.map +1 -1
  4. package/dist/function-registry/coding.js +72 -0
  5. package/dist/function-registry/coding.js.map +1 -1
  6. package/dist/function-registry/context.js +72 -0
  7. package/dist/function-registry/context.js.map +1 -1
  8. package/dist/function-registry/contracts.js +72 -0
  9. package/dist/function-registry/contracts.js.map +1 -1
  10. package/dist/function-registry/coordination.js +72 -0
  11. package/dist/function-registry/coordination.js.map +1 -1
  12. package/dist/function-registry/edges.js +72 -0
  13. package/dist/function-registry/edges.js.map +1 -1
  14. package/dist/function-registry/evidence.js +72 -0
  15. package/dist/function-registry/evidence.js.map +1 -1
  16. package/dist/function-registry/graph.d.ts +78 -0
  17. package/dist/function-registry/graph.js +129 -0
  18. package/dist/function-registry/graph.js.map +1 -1
  19. package/dist/function-registry/helpers.d.ts +1 -1
  20. package/dist/function-registry/helpers.js +72 -0
  21. package/dist/function-registry/helpers.js.map +1 -1
  22. package/dist/function-registry/identity.js +72 -0
  23. package/dist/function-registry/identity.js.map +1 -1
  24. package/dist/function-registry/index.d.ts +1 -1
  25. package/dist/function-registry/index.js +72 -0
  26. package/dist/function-registry/index.js.map +1 -1
  27. package/dist/function-registry/judgments.js +72 -0
  28. package/dist/function-registry/judgments.js.map +1 -1
  29. package/dist/function-registry/legacy.js +72 -0
  30. package/dist/function-registry/legacy.js.map +1 -1
  31. package/dist/function-registry/lenses.js +72 -0
  32. package/dist/function-registry/lenses.js.map +1 -1
  33. package/dist/function-registry/manifest.d.ts +3 -3
  34. package/dist/function-registry/manifest.js +2 -0
  35. package/dist/function-registry/manifest.js.map +1 -1
  36. package/dist/function-registry/ontologies.js +72 -0
  37. package/dist/function-registry/ontologies.js.map +1 -1
  38. package/dist/function-registry/pipeline.js +72 -0
  39. package/dist/function-registry/pipeline.js.map +1 -1
  40. package/dist/function-registry/questions.js +72 -0
  41. package/dist/function-registry/questions.js.map +1 -1
  42. package/dist/function-registry/tasks.js +72 -0
  43. package/dist/function-registry/tasks.js.map +1 -1
  44. package/dist/function-registry/topics.js +72 -0
  45. package/dist/function-registry/topics.js.map +1 -1
  46. package/dist/function-registry/types.d.ts +1 -1
  47. package/dist/function-registry/worktrees.js +72 -0
  48. package/dist/function-registry/worktrees.js.map +1 -1
  49. package/dist/generated/convexSchemas.js +1 -1
  50. package/dist/generated/convexSchemas.js.map +1 -1
  51. package/dist/graph-intelligence.contract.d.ts +506 -0
  52. package/dist/graph-intelligence.contract.js +595 -0
  53. package/dist/graph-intelligence.contract.js.map +1 -0
  54. package/dist/graph-types/index.d.ts +5 -1
  55. package/dist/graph-types/index.js +15 -4
  56. package/dist/graph-types/index.js.map +1 -1
  57. package/dist/{index-CV-0_VWJ.d.ts → index-O09U2xHk.d.ts} +5 -2
  58. package/dist/index.d.ts +18 -817
  59. package/dist/index.js +744 -10
  60. package/dist/index.js.map +1 -1
  61. package/dist/infisical-runtime.contract.js +120 -0
  62. package/dist/infisical-runtime.contract.js.map +1 -1
  63. package/dist/manifests/edge-policy-manifest.d.ts +2 -0
  64. package/dist/manifests/edge-policy-manifest.data.d.ts +27 -0
  65. package/dist/manifests/edge-policy-manifest.data.js +34 -0
  66. package/dist/manifests/edge-policy-manifest.data.js.map +1 -0
  67. package/dist/manifests/edge-policy-manifest.js +65 -0
  68. package/dist/manifests/edge-policy-manifest.js.map +1 -0
  69. package/dist/manifests/infisical-runtime-manifest.d.ts +151 -0
  70. package/dist/manifests/infisical-runtime-manifest.js +311 -0
  71. package/dist/manifests/infisical-runtime-manifest.js.map +1 -0
  72. package/dist/manifests/invariant-manifest.d.ts +65 -0
  73. package/dist/manifests/invariant-manifest.js +18 -0
  74. package/dist/manifests/invariant-manifest.js.map +1 -0
  75. package/dist/manifests/invariants/ast-utils.d.ts +14 -0
  76. package/dist/manifests/invariants/ast-utils.js +54 -0
  77. package/dist/manifests/invariants/ast-utils.js.map +1 -0
  78. package/dist/manifests/invariants/index.d.ts +15 -0
  79. package/dist/manifests/invariants/index.js +183 -0
  80. package/dist/manifests/invariants/index.js.map +1 -0
  81. package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +12 -0
  82. package/dist/manifests/invariants/inv-1-beliefs-append-only.js +94 -0
  83. package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +1 -0
  84. package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +12 -0
  85. package/dist/manifests/invariants/inv-14-no-silent-transitions.js +99 -0
  86. package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +1 -0
  87. package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +12 -0
  88. package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +42 -0
  89. package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +1 -0
  90. package/dist/manifests/tenant-client-manifest.d.ts +303 -0
  91. package/dist/manifests/tenant-client-manifest.js +409 -0
  92. package/dist/manifests/tenant-client-manifest.js.map +1 -0
  93. package/dist/projections/check-convex-args-shape.d.ts +3 -0
  94. package/dist/projections/check-convex-args-shape.js +396 -0
  95. package/dist/projections/check-convex-args-shape.js.map +1 -0
  96. package/dist/projections/create-evidence.projection.d.ts +176 -0
  97. package/dist/projections/create-evidence.projection.js +128 -0
  98. package/dist/projections/create-evidence.projection.js.map +1 -0
  99. package/dist/projections/index.d.ts +102 -0
  100. package/dist/projections/index.js +345 -0
  101. package/dist/projections/index.js.map +1 -0
  102. package/dist/projections/list-beliefs.projection.d.ts +36 -0
  103. package/dist/projections/list-beliefs.projection.js +54 -0
  104. package/dist/projections/list-beliefs.projection.js.map +1 -0
  105. package/dist/projections/list-tasks.projection.d.ts +32 -0
  106. package/dist/projections/list-tasks.projection.js +52 -0
  107. package/dist/projections/list-tasks.projection.js.map +1 -0
  108. package/dist/projections/modulate-confidence.projection.d.ts +219 -0
  109. package/dist/projections/modulate-confidence.projection.js +148 -0
  110. package/dist/projections/modulate-confidence.projection.js.map +1 -0
  111. package/dist/projections/projection-dsl.d.ts +11 -0
  112. package/dist/projections/projection-dsl.js +8 -0
  113. package/dist/projections/projection-dsl.js.map +1 -0
  114. package/dist/schemas/enums.d.ts +5 -2
  115. package/dist/schemas/enums.js +5 -2
  116. package/dist/schemas/enums.js.map +1 -1
  117. package/dist/schemas/index.d.ts +1 -1
  118. package/dist/schemas/index.js +6 -3
  119. package/dist/schemas/index.js.map +1 -1
  120. package/dist/schemas/manifest.d.ts +15 -15
  121. package/dist/schemas/manifest.js +5 -2
  122. package/dist/schemas/manifest.js.map +1 -1
  123. package/dist/schemas/tables/kernel/intelligence.d.ts +2 -2
  124. package/dist/schemas/tables/kernel/spine.d.ts +1 -1
  125. package/dist/schemas/tables/kernel/spine.js +5 -2
  126. package/dist/schemas/tables/kernel/spine.js.map +1 -1
  127. package/dist/schemas/tables/kernel/topic.js +4 -1
  128. package/dist/schemas/tables/kernel/topic.js.map +1 -1
  129. package/dist/{sdk-tools.contract-CD-N1Jf7.d.ts → sdk-tools.contract-Ng8ULxjr.d.ts} +1 -1
  130. package/dist/sdk-tools.contract.d.ts +2 -2
  131. package/dist/sdk-tools.contract.js +70 -0
  132. package/dist/sdk-tools.contract.js.map +1 -1
  133. package/dist/tenant-bootstrap-seed.contract.d.ts +12 -8
  134. package/dist/tenant-bootstrap-seed.contract.js +6 -4
  135. package/dist/tenant-bootstrap-seed.contract.js.map +1 -1
  136. package/dist/tenant-client.contract.d.ts +69 -5
  137. package/dist/tenant-client.contract.js +65 -4
  138. package/dist/tenant-client.contract.js.map +1 -1
  139. package/dist/{tool-contracts-BcKz-VGj.d.ts → tool-contracts-CYXVPN4K.d.ts} +6 -2
  140. package/dist/tool-contracts.d.ts +1 -1
  141. package/dist/tool-contracts.js +71 -1
  142. package/dist/tool-contracts.js.map +1 -1
  143. package/package.json +9 -1
package/dist/index.d.ts CHANGED
@@ -4,841 +4,42 @@ export { COMPONENT_BOUNDARY_COMPONENT_LAYERS, COMPONENT_BOUNDARY_CONTRACT_VERSIO
4
4
  export { COMPONENT_HOST_BOUNDARY_CONTRACT_VERSION, COMPONENT_HOST_DB_READ_OPERATIONS, COMPONENT_HOST_DB_WRITE_OPERATIONS, COMPONENT_HOST_PROTECTED_TABLES, COMPONENT_HOST_PROTECTED_TABLE_OWNERS, COMPONENT_HOST_WRITE_ALLOWED_EXCEPTIONS, COMPONENT_HOST_WRITE_AUDIT_ROOTS, ComponentHostDbOperation, ComponentHostDbReadOperation, ComponentHostDbWriteOperation, ComponentHostProtectedTable, ComponentHostWriteAuditRoot } from './component-host-boundary.contract.js';
5
5
  export { ConvexAdminClient } from './convex-admin.contract.js';
6
6
  export { CutoverDomain, CutoverFlagState, GatewayAuthContext, GatewayAuthMode, GatewayEnvironment, GatewayErrorArgs, GatewayScope, GatewaySuccessArgs, KeyLifecycleStatus, PlatformApiErrorCode, requireActorPrincipalId } from './gateway.contract.js';
7
+ export { GRAPH_INTELLIGENCE_MODE_TOOL_NAMES, GRAPH_INTELLIGENCE_PUBLIC_TOOL_NAMES, GRAPH_INTELLIGENCE_QUERIES, GRAPH_INTELLIGENCE_QUERIES_WITH_TOOLS, GRAPH_INTELLIGENCE_QUERY_CATALOG_VERSION, GRAPH_INTELLIGENCE_QUERY_CATEGORIES, GRAPH_INTELLIGENCE_QUERY_MODES, GRAPH_INTELLIGENCE_QUICK_QUERIES, GraphIntelligenceCatalogFilter, GraphIntelligencePublicToolName, GraphIntelligenceQueryCategory, GraphIntelligenceQueryDefinition, GraphIntelligenceQueryId, GraphIntelligenceQueryInputType, GraphIntelligenceQueryMode, GraphIntelligenceQueryWithTools, GraphIntelligenceQuickQuery, fillGraphIntelligencePromptTemplate, getGraphIntelligenceQuery, isGraphIntelligenceQueryMode, listGraphIntelligenceQueries } from './graph-intelligence.contract.js';
7
8
  export { BELIEF_TYPE_BONUS, BeliefLatticeSeed, CONTEXT_PACK_SCHEMA_VERSION, CONTEXT_PACK_SECTION_KEYS, CONTEXT_RANKING_PROFILES, ContextCompilationMode, ContextPackBelief, ContextPackContradiction, ContextPackDeltaReport, ContextPackDiagnostics, ContextPackEntity, ContextPackEvidence, ContextPackFailure, ContextPackFailureContext, ContextPackInjectionPolicy, ContextPackQuestion, ContextPackRequestV1, ContextPackSectionKey, ContextPackSummary, ContextPackV1, ContextRankingProfile, DEFAULT_BELIEF_TYPE_BONUS, DEFAULT_COMPILATION_MODE, DEFAULT_ENTITY_LIMIT, DEFAULT_PRIORITY_SCORE, DEFAULT_RANKING_PROFILE, DEFAULT_SECTION_LIMIT, DEFAULT_SEVERITY_SCORE, DEFAULT_TOKEN_BUDGET, ENTITY_RANKING_WEIGHTS, MAX_ENTITY_LIMIT, MAX_SECTION_LIMIT, MAX_TOKEN_BUDGET, MIN_CONTRADICTION_BUDGET, MIN_TOKEN_BUDGET, MIN_TOKEN_ESTIMATE, PRIORITY_SCORES, PackWeightOverride, PublicCompiledContext, PublicContextBelief, PublicContextContradiction, PublicContextEntity, PublicContextEvidence, PublicContextInjectionPolicy, PublicContextQuestion, RANKING_WEIGHTS, RECENCY_HALF_LIFE_DAYS, RESOLVED_QUESTION_STATUSES, RankingWeightVector, SECTION_BUDGET_RATIOS, SEVERITY_SCORES, TOKENS_PER_WORD, VerificationObligation } from './context-pack.contract.js';
8
9
  export { CreateDomainEventInput, DOMAIN_EVENT_TYPES, DOMAIN_EVENT_VERSION, DomainActorType, DomainEvent, DomainEventData, DomainEventType, DomainResourceType, EVENT_RETENTION_DEFAULT_DAYS, EventCursor, EventListQuery, EventListResult, ReplayEventsInput, ReplayEventsResult, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_MS, WebhookCreateInput, WebhookDeliveriesResult, WebhookDeliveryAttemptRecord, WebhookDeliveryRecord, WebhookDeliveryStatus, WebhookHealthResult, WebhookRecord, WebhookSecretMode, WebhookTestResult, WebhookUpdateInput, buildDomainEvent, compareEventCursor, createEventId, decodeEventCursor, emitDomainEvent, encodeEventCursor, inferActorType, isAfterCursor, normalizeRetentionDays, sortEventsByCursor } from './events.contract.js';
9
10
  export { DecodedPrefixedId, decodePrefixedId, encodePrefixedId, hasPrefixedIdPrefix } from './ids.contract.js';
10
11
  export { d as contractDsl } from './dsl-BgpoVOVQ.js';
11
- export { i as schemaContracts } from './index-CV-0_VWJ.js';
12
+ export { i as schemaContracts } from './index-O09U2xHk.js';
12
13
  export { ComponentTableManifest, ComponentTableManifestSchema } from './schemas/component-table-manifest.js';
13
14
  export { SLOpinionInput, SLOpinionInputSchema } from './schemas/sl-opinion.js';
14
- import * as zod from 'zod';
15
- import { z } from 'zod';
16
- import { INFISICAL_RUNTIME_CONTRACT_VERSION, INFISICAL_RUNTIME_DEFAULT_PROJECT_ID, INFISICAL_RUNTIME_DEFAULT_API_URL, InfisicalRuntimeEnvironment, InfisicalRuntimeDeliveryMode, InfisicalRuntimeBootstrapEnv, InfisicalRuntimePath, InfisicalRuntimeSurface } from './infisical-runtime.contract.js';
17
- export { INFISICAL_RUNTIME_BOOTSTRAP_ENV, INFISICAL_RUNTIME_DELIVERY_MODES, INFISICAL_RUNTIME_ENVIRONMENTS, INFISICAL_RUNTIME_PATHS, INFISICAL_RUNTIME_SURFACES, INFISICAL_RUNTIME_SURFACE_IDS, InfisicalRuntimePathDefinition, InfisicalRuntimePathId, InfisicalRuntimeSurfaceDefinition, InfisicalRuntimeSurfaceId, InfisicalRuntimeVariable, findInfisicalRuntimePath, findInfisicalRuntimeSurface } from './infisical-runtime.contract.js';
18
- import { TENANT_CLIENT_CONTRACT_VERSION, TENANT_CLIENT_AUTH_MODES, TENANT_CLIENT_PRINCIPAL_TYPES, TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS, TENANT_CLIENT_OPTIONAL_CONTEXT_FIELDS, TENANT_CLIENT_INSTALL_TOKEN_ENV, TENANT_CLIENT_INSTALL_TOKEN_INFISICAL_PATH, TENANT_CLIENT_FORBIDDEN_INSTALL_TOKEN_INFISICAL_PATHS, TENANT_CLIENT_FORBIDDEN_SECRET_ENV, TENANT_CLIENT_INSTALLABLE_PACKAGES, TENANT_CLIENT_PUBLIC_IMPORTS, TENANT_CLIENT_COMPONENT_CONFIG_IMPORTS, TENANT_CLIENT_REQUIRED_SDK_NAMESPACES, TENANT_CLIENT_CAPABILITIES, TENANT_CLIENT_ISOLATION_RULES, TENANT_CLIENT_FORBIDDEN_IMPORT_PATTERNS } from './tenant-client.contract.js';
19
- export { TenantClientAllowedImport, TenantClientAuthMode, TenantClientCapability, TenantClientCapabilityId, TenantClientComponentConfigImport, TenantClientForbiddenImportPattern, TenantClientForbiddenImportPatternId, TenantClientForbiddenInstallTokenInfisicalPath, TenantClientForbiddenSecretEnv, TenantClientImportClassification, TenantClientImportDecision, TenantClientInstallablePackage, TenantClientInstallablePackageName, TenantClientIsolationRule, TenantClientOptionalContextField, TenantClientPackageRole, TenantClientPrincipalType, TenantClientPublicImport, TenantClientPublicPackage, TenantClientPublicSurface, TenantClientRequiredContextField, TenantClientRequiredSdkNamespace, assertTenantClientImportAllowed, classifyTenantClientImport, findTenantClientInstallablePackage, formatTenantClientImportViolation, isTenantClientAllowedImport, isTenantClientComponentConfigImport, isTenantClientInstallablePackage, isTenantClientPublicImport } from './tenant-client.contract.js';
15
+ export { e as EdgePolicyEntry, c as EdgePolicyEntrySchema, f as EdgePolicyManifest, d as EdgePolicyManifestSchema, g as EdgePolicyViolation, a as EpistemicNodeType, E as EpistemicNodeTypeSchema, G as GraphRef, b as GraphRefSchema, i as assertEdgePolicyAllowed, h as findEdgePolicy } from './edge-policy-manifest-DpmTtjmm.js';
16
+ export { edgePolicyManifest } from './manifests/edge-policy-manifest.data.js';
17
+ export { INFISICAL_RUNTIME_MANIFEST, InfisicalRuntimeManifest } from './manifests/infisical-runtime-manifest.js';
18
+ export { CheckContext, CheckerKind, InvariantId, InvariantManifest, InvariantManifestSchema, InvariantResult, InvariantRule, InvariantSeverity } from './manifests/invariant-manifest.js';
19
+ export { TENANT_CLIENT_MANIFEST, TenantClientManifest } from './manifests/tenant-client-manifest.js';
20
+ export { ProjectionRegistry, projections } from './projections/index.js';
20
21
  export * from './function-registry/index.js';
21
- export { t as mcpToolsContract } from './tool-contracts-BcKz-VGj.js';
22
+ export { t as mcpToolsContract } from './tool-contracts-CYXVPN4K.js';
22
23
  export { EntityConnectionMatch, EntityMatchCandidate, EntityTypeMatch, OntologyEntityType, rankEntityConnections, rankEntityTypeMatches, scoreEntityConnection, scoreEntityTypeMatch } from './v1/ontologies/v1.js';
23
24
  export { LucernPrompt, LucernPromptModelHint, isLucernPrompt } from './prompt.contract.js';
24
25
  export { AddEvidenceInput, AddWorktreeInput, BeliefResult, BisectConfidenceInput, BisectResult, BranchResult, CompileContextInput, CompiledContextResult, ConfidenceResult, ContradictionResult, CreateBeliefInput, CreateBranchInput, CreateEdgeInput, EdgeResult, EvidenceResult, FlagContradictionInput, ForkBeliefInput, ForkResult, JudgmentResult, LineageResult, LucernClient, LucernClientConfig, LucernGraphMethods, LucernWorkflowMethods, MergeInput, MergeResult, ModulateConfidenceInput, OpenPullRequestInput, PullRequestResult, PushInput, PushResult, QueryLineageInput, RecordJudgmentInput, RefineBeliefInput, SearchBeliefsInput, WorktreeResult } from './sdk-methods.contract.js';
25
- export { s as sdkToolsContract } from './sdk-tools.contract-CD-N1Jf7.js';
26
+ export { s as sdkToolsContract } from './sdk-tools.contract-Ng8ULxjr.js';
27
+ export { INFISICAL_RUNTIME_BOOTSTRAP_ENV, INFISICAL_RUNTIME_CONTRACT_VERSION, INFISICAL_RUNTIME_DEFAULT_API_URL, INFISICAL_RUNTIME_DEFAULT_PROJECT_ID, INFISICAL_RUNTIME_DELIVERY_MODES, INFISICAL_RUNTIME_ENVIRONMENTS, INFISICAL_RUNTIME_PATHS, INFISICAL_RUNTIME_SURFACES, INFISICAL_RUNTIME_SURFACE_IDS, InfisicalRuntimeBootstrapEnv, InfisicalRuntimeDeliveryMode, InfisicalRuntimeEnvironment, InfisicalRuntimePath, InfisicalRuntimePathDefinition, InfisicalRuntimePathId, InfisicalRuntimeSurface, InfisicalRuntimeSurfaceDefinition, InfisicalRuntimeSurfaceId, InfisicalRuntimeVariable, findInfisicalRuntimePath, findInfisicalRuntimeSurface } from './infisical-runtime.contract.js';
28
+ export { TENANT_CLIENT_AUTH_MODES, TENANT_CLIENT_CAPABILITIES, TENANT_CLIENT_COMPONENT_CONFIG_IMPORTS, TENANT_CLIENT_CONTRACT_VERSION, TENANT_CLIENT_FORBIDDEN_IMPORT_PATTERNS, TENANT_CLIENT_FORBIDDEN_INSTALL_TOKEN_INFISICAL_PATHS, TENANT_CLIENT_FORBIDDEN_SECRET_ENV, TENANT_CLIENT_FULL_SUITE_PACKAGE_NAMES, TENANT_CLIENT_INSTALLABLE_PACKAGES, TENANT_CLIENT_INSTALL_PROFILES, TENANT_CLIENT_INSTALL_TOKEN_ENV, TENANT_CLIENT_INSTALL_TOKEN_INFISICAL_PATH, TENANT_CLIENT_ISOLATION_RULES, TENANT_CLIENT_OPTIONAL_CONTEXT_FIELDS, TENANT_CLIENT_PRINCIPAL_TYPES, TENANT_CLIENT_PUBLIC_IMPORTS, TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS, TENANT_CLIENT_REQUIRED_SDK_NAMESPACES, TenantClientAllowedImport, TenantClientAuthMode, TenantClientCapability, TenantClientCapabilityId, TenantClientComponentConfigImport, TenantClientForbiddenImportPattern, TenantClientForbiddenImportPatternId, TenantClientForbiddenInstallTokenInfisicalPath, TenantClientForbiddenSecretEnv, TenantClientImportClassification, TenantClientImportDecision, TenantClientInstallProfile, TenantClientInstallProfileId, TenantClientInstallablePackage, TenantClientInstallablePackageName, TenantClientIsolationRule, TenantClientOptionalContextField, TenantClientPackageRole, TenantClientPrincipalType, TenantClientPublicImport, TenantClientPublicPackage, TenantClientPublicSurface, TenantClientRequiredContextField, TenantClientRequiredSdkNamespace, assertTenantClientImportAllowed, classifyTenantClientImport, findTenantClientInstallablePackage, formatTenantClientImportViolation, isTenantClientAllowedImport, isTenantClientComponentConfigImport, isTenantClientInstallablePackage, isTenantClientPublicImport } from './tenant-client.contract.js';
26
29
  export { TENANT_BOOTSTRAP_FORBIDDEN_SEED_TABLES, TENANT_BOOTSTRAP_SEED_AUTH_METADATA_FIELDS, TENANT_BOOTSTRAP_SEED_COMPONENTS, TENANT_BOOTSTRAP_SEED_CONTRACT_VERSION, TENANT_BOOTSTRAP_SEED_MANIFEST, TENANT_BOOTSTRAP_SEED_TABLES, TENANT_BOOTSTRAP_TABLE_REQUIREMENTS, TenantBootstrapCopyMode, TenantBootstrapForbiddenSeedTable, TenantBootstrapPrepopulation, TenantBootstrapSeedAuthMetadataField, TenantBootstrapSeedComponent, TenantBootstrapSeedScope, TenantBootstrapSeedTable, TenantBootstrapSeedTableName, TenantBootstrapTableRequirement, findTenantBootstrapSeedTable, findTenantBootstrapTableRequirement, isTenantBootstrapForbiddenSeedTable, isTenantBootstrapSeedTable } from './tenant-bootstrap-seed.contract.js';
27
30
  export { TENANT_BOOTSTRAP_TEMPLATE_ACTOR, TENANT_BOOTSTRAP_TEMPLATE_SEED_VERSION, TENANT_BOOTSTRAP_TEMPLATE_TENANT_ID, TenantBootstrapTemplateSeedOptions, TenantBootstrapTemplateSeedRows, buildTenantBootstrapTemplateSeedRows } from './tenant-bootstrap-seed.defaults.js';
28
31
  export { LexicalRerankOptions, LexicalSignal, LexicalStrategy, PreparedLexicalQuery, bigramTokenize, jaccardSimilarity, prepareLexicalQuery, rankWindowScore, rerankLexicalWindow, scoreLexicalSignal, scoreLexicalSignals, stemToken, tokenOverlapScore, tokenizeSearchText, wordOverlapScore, wordTokenize } from './text-matching.contract.js';
29
32
  export { ROOT_TOPIC_ID, TopicDoc, collectTopicNeighborhood } from './v1/topics/v1.js';
30
33
  export { CANONICAL_WORKFLOW_DEFINITIONS, DEFAULT_TIER_APPROVAL_MODE, DEFAULT_WORKFLOW_AUTO_FIX_POLICY, EngineeringBriefOutput, InboxSummaryOutput, MORNING_BRIEF_WORKFLOW_ID, NIGHTLY_RECONCILIATION_WORKFLOW_ID, PipelineBriefOutput, ResearchMemoOutput, StrategyArtifactOutput, StructuredPayloadOutput, WORKFLOW_ACTION_KINDS, WORKFLOW_APPROVAL_MODES, WORKFLOW_AUTO_FIX_MODES, WORKFLOW_HOOK_EVENTS, WORKFLOW_INTEGRITY_CHECKS, WORKFLOW_MUTATION_TIERS, WORKFLOW_OUTPUT_KINDS, WORKFLOW_PROOF_ARTIFACT_KINDS, WORKFLOW_RUNTIME_SCHEMA_VERSION, WORKFLOW_RUN_STATUSES, WORKFLOW_STAFFING_HINTS, WORKFLOW_TRIGGER_KINDS, WorkflowActionContract, WorkflowActionKind, WorkflowApprovalMode, WorkflowApprovalPolicy, WorkflowAutoFixMode, WorkflowAutoFixPolicy, WorkflowDefinitionV1, WorkflowHookContract, WorkflowHookEvent, WorkflowIntegrityCheckId, WorkflowMutationTier, WorkflowOutputBase, WorkflowOutputContract, WorkflowOutputKind, WorkflowProofArtifact, WorkflowProofArtifactKind, WorkflowRunReceiptV1, WorkflowRunStatus, WorkflowStaffingHint, WorkflowTriggerContract, WorkflowTriggerKind } from './workflow-runtime.contract.js';
34
+ export { createEvidenceProjection } from './projections/create-evidence.projection.js';
35
+ export { listBeliefsProjection } from './projections/list-beliefs.projection.js';
36
+ export { listTasksProjection } from './projections/list-tasks.projection.js';
37
+ export { modulateConfidenceProjection } from './projections/modulate-confidence.projection.js';
38
+ export { ProjectionDef, defineProjection } from './projections/projection-dsl.js';
31
39
  import './generated/tableOwnership.js';
32
40
  import './defineFunction-DO97DKs4.js';
41
+ import 'zod';
33
42
  import './defineTable-CBQ03FXl.js';
34
43
  import './idOf-DR8tkhQS.js';
35
44
  import './schemas/enums.js';
36
45
  import './schemas/manifest.js';
37
-
38
- declare const EpistemicNodeTypeSchema: z.ZodEnum<["belief", "evidence", "question", "answer", "topic", "edge", "ontology", "lens", "contradiction"]>;
39
- type EpistemicNodeType = z.infer<typeof EpistemicNodeTypeSchema>;
40
- type GraphRef = {
41
- kind: "epistemic_node";
42
- nodeId: string;
43
- nodeType: EpistemicNodeType;
44
- } | {
45
- kind: "external_belief";
46
- ref: {
47
- tenantId: string;
48
- beliefId: string;
49
- };
50
- };
51
- declare const GraphRefSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
52
- kind: z.ZodLiteral<"epistemic_node">;
53
- nodeId: z.ZodString;
54
- nodeType: z.ZodEnum<["belief", "evidence", "question", "answer", "topic", "edge", "ontology", "lens", "contradiction"]>;
55
- }, "strip", z.ZodTypeAny, {
56
- kind: "epistemic_node";
57
- nodeId: string;
58
- nodeType: "belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer";
59
- }, {
60
- kind: "epistemic_node";
61
- nodeId: string;
62
- nodeType: "belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer";
63
- }>, z.ZodObject<{
64
- kind: z.ZodLiteral<"external_belief">;
65
- ref: z.ZodObject<{
66
- tenantId: z.ZodString;
67
- beliefId: z.ZodString;
68
- }, "strip", z.ZodTypeAny, {
69
- tenantId: string;
70
- beliefId: string;
71
- }, {
72
- tenantId: string;
73
- beliefId: string;
74
- }>;
75
- }, "strip", z.ZodTypeAny, {
76
- kind: "external_belief";
77
- ref: {
78
- tenantId: string;
79
- beliefId: string;
80
- };
81
- }, {
82
- kind: "external_belief";
83
- ref: {
84
- tenantId: string;
85
- beliefId: string;
86
- };
87
- }>]>;
88
-
89
- declare const EdgePolicyEntrySchema: z.ZodObject<{
90
- edgeType: z.ZodString;
91
- fromKinds: z.ZodArray<z.ZodEnum<["epistemic_node", "external_belief"]>, "many">;
92
- fromNodeTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["belief", "evidence", "question", "answer", "topic", "edge", "ontology", "lens", "contradiction"]>, "many">>;
93
- toKinds: z.ZodArray<z.ZodEnum<["epistemic_node", "external_belief"]>, "many">;
94
- toNodeTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["belief", "evidence", "question", "answer", "topic", "edge", "ontology", "lens", "contradiction"]>, "many">>;
95
- description: z.ZodString;
96
- }, "strip", z.ZodTypeAny, {
97
- description: string;
98
- edgeType: string;
99
- fromKinds: ("epistemic_node" | "external_belief")[];
100
- toKinds: ("epistemic_node" | "external_belief")[];
101
- fromNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
102
- toNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
103
- }, {
104
- description: string;
105
- edgeType: string;
106
- fromKinds: ("epistemic_node" | "external_belief")[];
107
- toKinds: ("epistemic_node" | "external_belief")[];
108
- fromNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
109
- toNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
110
- }>;
111
- declare const EdgePolicyManifestSchema: z.ZodObject<{
112
- manifestVersion: z.ZodLiteral<"1.0.0">;
113
- policies: z.ZodArray<z.ZodObject<{
114
- edgeType: z.ZodString;
115
- fromKinds: z.ZodArray<z.ZodEnum<["epistemic_node", "external_belief"]>, "many">;
116
- fromNodeTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["belief", "evidence", "question", "answer", "topic", "edge", "ontology", "lens", "contradiction"]>, "many">>;
117
- toKinds: z.ZodArray<z.ZodEnum<["epistemic_node", "external_belief"]>, "many">;
118
- toNodeTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["belief", "evidence", "question", "answer", "topic", "edge", "ontology", "lens", "contradiction"]>, "many">>;
119
- description: z.ZodString;
120
- }, "strip", z.ZodTypeAny, {
121
- description: string;
122
- edgeType: string;
123
- fromKinds: ("epistemic_node" | "external_belief")[];
124
- toKinds: ("epistemic_node" | "external_belief")[];
125
- fromNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
126
- toNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
127
- }, {
128
- description: string;
129
- edgeType: string;
130
- fromKinds: ("epistemic_node" | "external_belief")[];
131
- toKinds: ("epistemic_node" | "external_belief")[];
132
- fromNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
133
- toNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
134
- }>, "many">;
135
- }, "strip", z.ZodTypeAny, {
136
- policies: {
137
- description: string;
138
- edgeType: string;
139
- fromKinds: ("epistemic_node" | "external_belief")[];
140
- toKinds: ("epistemic_node" | "external_belief")[];
141
- fromNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
142
- toNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
143
- }[];
144
- manifestVersion: "1.0.0";
145
- }, {
146
- policies: {
147
- description: string;
148
- edgeType: string;
149
- fromKinds: ("epistemic_node" | "external_belief")[];
150
- toKinds: ("epistemic_node" | "external_belief")[];
151
- fromNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
152
- toNodeTypes?: ("belief" | "evidence" | "question" | "edge" | "contradiction" | "topic" | "ontology" | "lens" | "answer")[] | undefined;
153
- }[];
154
- manifestVersion: "1.0.0";
155
- }>;
156
- type EdgePolicyEntry = z.infer<typeof EdgePolicyEntrySchema>;
157
- type EdgePolicyManifest = z.infer<typeof EdgePolicyManifestSchema>;
158
- type EdgePolicyViolation = {
159
- code: "POLICY_VIOLATION";
160
- edgeType: string;
161
- from: GraphRef;
162
- to: GraphRef;
163
- };
164
- declare function findEdgePolicy(manifest: EdgePolicyManifest, edgeType: string): EdgePolicyEntry | undefined;
165
- declare function assertEdgePolicyAllowed(manifest: EdgePolicyManifest, edgeType: string, from: GraphRef, to: GraphRef): void;
166
-
167
- declare const edgePolicyManifest: {
168
- manifestVersion: "1.0.0";
169
- policies: ({
170
- edgeType: string;
171
- fromKinds: "epistemic_node"[];
172
- fromNodeTypes: "evidence"[];
173
- toKinds: "epistemic_node"[];
174
- toNodeTypes: "evidence"[];
175
- description: string;
176
- } | {
177
- edgeType: string;
178
- fromKinds: "epistemic_node"[];
179
- fromNodeTypes: "evidence"[];
180
- toKinds: "epistemic_node"[];
181
- toNodeTypes: "belief"[];
182
- description: string;
183
- } | {
184
- edgeType: string;
185
- fromKinds: "epistemic_node"[];
186
- fromNodeTypes: "evidence"[];
187
- toKinds: "epistemic_node"[];
188
- toNodeTypes: "question"[];
189
- description: string;
190
- })[];
191
- };
192
-
193
- type InfisicalRuntimeManifest = {
194
- readonly manifestVersion: "1.0.0";
195
- readonly contractVersion: typeof INFISICAL_RUNTIME_CONTRACT_VERSION;
196
- readonly project: {
197
- readonly id: typeof INFISICAL_RUNTIME_DEFAULT_PROJECT_ID;
198
- readonly apiUrl: typeof INFISICAL_RUNTIME_DEFAULT_API_URL;
199
- };
200
- readonly environments: readonly InfisicalRuntimeEnvironment[];
201
- readonly deliveryModes: readonly InfisicalRuntimeDeliveryMode[];
202
- readonly bootstrapEnv: InfisicalRuntimeBootstrapEnv;
203
- readonly paths: readonly InfisicalRuntimePath[];
204
- readonly surfaces: readonly InfisicalRuntimeSurface[];
205
- };
206
- declare const INFISICAL_RUNTIME_MANIFEST: {
207
- readonly manifestVersion: "1.0.0";
208
- readonly contractVersion: "2026-04-28";
209
- readonly project: {
210
- readonly id: "344b0526-90df-4606-ba50-22c647a36c65";
211
- readonly apiUrl: "https://app.infisical.com";
212
- };
213
- readonly environments: readonly ["dev", "staging", "prod"];
214
- readonly deliveryModes: readonly ["vercel_sync", "runtime_fetch", "device_auth"];
215
- readonly bootstrapEnv: {
216
- readonly apiUrl: readonly ["INFISICAL_API_URL", "INFISICAL_URL"];
217
- readonly projectId: readonly ["INFISICAL_PROJECT_ID", "INFISICAL_WORKSPACE_ID"];
218
- readonly clientId: readonly ["INFISICAL_CLIENT_ID", "INFISICAL_MACHINE_CLIENT_ID", "INFISICAL_UNIVERSAL_AUTH_CLIENT_ID"];
219
- readonly clientSecret: readonly ["INFISICAL_CLIENT_SECRET", "INFISICAL_MACHINE_CLIENT_SECRET", "INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET"];
220
- readonly environment: readonly ["INFISICAL_ENV", "LUCERN_INFISICAL_ENV"];
221
- readonly organizationSlug: readonly ["INFISICAL_ORG_SLUG", "INFISICAL_ORGANIZATION_SLUG"];
222
- readonly disabled: readonly ["LUCERN_INFISICAL_DISABLE", "INFISICAL_DISABLE"];
223
- };
224
- readonly paths: readonly [{
225
- readonly id: "platform-auth";
226
- readonly secretPath: "/platform/auth";
227
- readonly description: "Lucern platform authentication secrets. Synced into Vercel web/gateway projects; never distributed to tenant tools.";
228
- readonly variables: readonly [{
229
- readonly name: "NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY";
230
- readonly required: true;
231
- readonly secret: false;
232
- readonly public: true;
233
- readonly description: "Clerk publishable key for the Lucern web origin.";
234
- }, {
235
- readonly name: "CLERK_SECRET_KEY";
236
- readonly required: true;
237
- readonly secret: true;
238
- readonly public: false;
239
- readonly description: "Clerk backend secret key for Lucern server runtimes.";
240
- }, {
241
- readonly name: "CLERK_JWT_ISSUER_DOMAIN";
242
- readonly required: false;
243
- readonly secret: false;
244
- readonly public: false;
245
- readonly description: "Expected Clerk issuer/JWKS domain for JWT verification.";
246
- }, {
247
- readonly name: "NEXT_PUBLIC_CLERK_SIGN_IN_URL";
248
- readonly required: false;
249
- readonly secret: false;
250
- readonly public: true;
251
- readonly description: "Public sign-in URL for Lucern-owned web flows.";
252
- }, {
253
- readonly name: "NEXT_PUBLIC_CLERK_SIGN_UP_URL";
254
- readonly required: false;
255
- readonly secret: false;
256
- readonly public: true;
257
- readonly description: "Public sign-up URL for Lucern-owned web flows.";
258
- }];
259
- }, {
260
- readonly id: "platform-runtime";
261
- readonly secretPath: "/platform/runtime";
262
- readonly description: "Runtime defaults shared by server-side Lucern clients and operator tooling.";
263
- readonly variables: readonly [{
264
- readonly name: "LUCERN_API_URL";
265
- readonly required: true;
266
- readonly secret: false;
267
- readonly public: false;
268
- readonly aliases: readonly ["LUCERN_API_BASE_URL", "LUCERN_BASE_URL"];
269
- readonly description: "Canonical Lucern API gateway URL.";
270
- }, {
271
- readonly name: "LUCERN_LOGIN_BASE_URL";
272
- readonly required: false;
273
- readonly secret: false;
274
- readonly public: false;
275
- readonly aliases: readonly ["LUCERN_AUTH_BASE_URL"];
276
- readonly description: "Browser login origin used when it differs from the API.";
277
- }, {
278
- readonly name: "LUCERN_ENVIRONMENT";
279
- readonly required: false;
280
- readonly secret: false;
281
- readonly public: false;
282
- readonly aliases: readonly ["LUCERN_ENV"];
283
- readonly description: "Lucern environment label consumed by CLI profiles.";
284
- }];
285
- }, {
286
- readonly id: "tenant-shared-install";
287
- readonly secretPath: "tenants/shared";
288
- readonly description: "Tenant package-install secrets. This is install-only and distinct from platform publish credentials.";
289
- readonly variables: readonly [{
290
- readonly name: "INSTALL_LUCERN_NPM";
291
- readonly required: true;
292
- readonly secret: true;
293
- readonly public: false;
294
- readonly description: "Read-only install token for the published @lucern/* suite.";
295
- }];
296
- }];
297
- readonly surfaces: readonly [{
298
- readonly id: "lucern-web";
299
- readonly delivery: "vercel_sync";
300
- readonly sourcePathIds: readonly ["platform-auth", "platform-runtime"];
301
- readonly consumer: "apps/web on Vercel project lucern";
302
- readonly description: "Lucern web consumes Clerk and runtime config via Infisical-to-Vercel syncs.";
303
- }, {
304
- readonly id: "lucern-gateway";
305
- readonly delivery: "vercel_sync";
306
- readonly sourcePathIds: readonly ["platform-auth", "platform-runtime"];
307
- readonly consumer: "apps/gateway on Vercel project lucern-gateway";
308
- readonly description: "Lucern gateway consumes platform config via Infisical-to-Vercel syncs.";
309
- }, {
310
- readonly id: "lucern-sdk";
311
- readonly packageName: "@lucern/sdk";
312
- readonly delivery: "runtime_fetch";
313
- readonly sourcePathIds: readonly ["platform-runtime"];
314
- readonly consumer: "server-side SDK operator contexts with a scoped Infisical identity";
315
- readonly description: "SDK exposes the runtime Infisical resolver used by clients that have machine identity credentials.";
316
- }, {
317
- readonly id: "lucern-cli";
318
- readonly packageName: "@lucern/cli";
319
- readonly delivery: "runtime_fetch";
320
- readonly fallback: "device_auth";
321
- readonly sourcePathIds: readonly ["platform-runtime"];
322
- readonly consumer: "developer/operator CLI processes";
323
- readonly description: "CLI hydrates runtime defaults from Infisical when configured, then authenticates users through Lucern device login.";
324
- }, {
325
- readonly id: "lucern-mcp";
326
- readonly packageName: "@lucern/mcp";
327
- readonly delivery: "runtime_fetch";
328
- readonly fallback: "device_auth";
329
- readonly sourcePathIds: readonly ["platform-runtime"];
330
- readonly consumer: "MCP server/client processes";
331
- readonly description: "MCP hydrates runtime defaults through the SDK resolver and remains a Lucern client, not a platform secret owner.";
332
- }, {
333
- readonly id: "tenant-client";
334
- readonly delivery: "device_auth";
335
- readonly sourcePathIds: readonly ["tenant-shared-install"];
336
- readonly consumer: "tenant-owned apps and coding agents";
337
- readonly description: "Tenant clients install the published packages and receive user/service credentials through Lucern auth surfaces.";
338
- }];
339
- };
340
-
341
- interface ProjectionDef<TInput, TConvexArgs> {
342
- contractName: string;
343
- inputSchema: z.ZodSchema<TInput>;
344
- project: (input: TInput) => TConvexArgs;
345
- convexArgsValidator: unknown;
346
- }
347
- declare function defineProjection<I, C>(def: ProjectionDef<I, C>): ProjectionDef<I, C>;
348
-
349
- declare const createEvidenceProjection: ProjectionDef<z.objectInputType<{
350
- projectId: z.ZodOptional<z.ZodString>;
351
- topicId: z.ZodOptional<z.ZodString>;
352
- text: z.ZodOptional<z.ZodString>;
353
- canonicalText: z.ZodOptional<z.ZodString>;
354
- title: z.ZodOptional<z.ZodString>;
355
- content: z.ZodOptional<z.ZodString>;
356
- contentType: z.ZodOptional<z.ZodString>;
357
- kind: z.ZodOptional<z.ZodString>;
358
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
359
- source: z.ZodOptional<z.ZodString>;
360
- sourceUrl: z.ZodOptional<z.ZodString>;
361
- sourceType: z.ZodOptional<z.ZodString>;
362
- externalSourceType: z.ZodOptional<z.ZodString>;
363
- sourceQuestionId: z.ZodOptional<z.ZodString>;
364
- methodology: z.ZodOptional<z.ZodString>;
365
- informationAsymmetry: z.ZodOptional<z.ZodString>;
366
- sourceDescription: z.ZodOptional<z.ZodString>;
367
- targetId: z.ZodOptional<z.ZodString>;
368
- targetNodeId: z.ZodOptional<z.ZodString>;
369
- linkedBeliefNodeId: z.ZodOptional<z.ZodString>;
370
- evidenceRelation: z.ZodOptional<z.ZodEnum<["supports", "contradicts", "neutral"]>>;
371
- confidence: z.ZodOptional<z.ZodNumber>;
372
- weight: z.ZodOptional<z.ZodNumber>;
373
- reasoning: z.ZodOptional<z.ZodString>;
374
- rationale: z.ZodString;
375
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
376
- trustedBypassAccessCheck: z.ZodOptional<z.ZodBoolean>;
377
- }, z.ZodTypeAny, "passthrough">, Record<string, unknown>>;
378
-
379
- declare const listBeliefsProjection: ProjectionDef<{
380
- topicId: string;
381
- status?: "active" | "archived" | "unscored" | "scored" | "superseded" | undefined;
382
- worktreeId?: string | undefined;
383
- limit?: number | undefined;
384
- minConfidence?: number | undefined;
385
- includeEdgeAssociated?: boolean | undefined;
386
- }, Record<string, unknown>>;
387
-
388
- declare const listTasksProjection: ProjectionDef<{
389
- topicId: string;
390
- status?: "todo" | "in_progress" | "blocked" | "done" | undefined;
391
- worktreeId?: string | undefined;
392
- limit?: number | undefined;
393
- linkedWorktreeId?: string | undefined;
394
- }, Record<string, unknown>>;
395
-
396
- declare const modulateConfidenceProjection: ProjectionDef<{
397
- rationale: string;
398
- trigger: "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "worktree_completed" | "fusion" | "discount" | "deduction" | "answer_recorded" | "backfill_synthetic";
399
- belief?: number | undefined;
400
- baseRate?: number | undefined;
401
- nodeId?: string | undefined;
402
- disbelief?: number | undefined;
403
- uncertainty?: number | undefined;
404
- worktreeId?: string | undefined;
405
- triggeringEvidenceId?: string | undefined;
406
- triggeringQuestionId?: string | undefined;
407
- triggeringAnswerId?: string | undefined;
408
- triggeringContradictionId?: string | undefined;
409
- triggeringWorktreeId?: string | undefined;
410
- beliefNodeId?: string | undefined;
411
- trustedBypassAccessCheck?: boolean | undefined;
412
- opinion?: {
413
- belief: number;
414
- baseRate: number;
415
- disbelief: number;
416
- uncertainty: number;
417
- } | undefined;
418
- provenance?: {
419
- evidence?: string | undefined;
420
- question?: string | undefined;
421
- contradiction?: string | undefined;
422
- worktree?: string | undefined;
423
- answer?: string | undefined;
424
- } | undefined;
425
- }, {
426
- nodeId: string;
427
- worktreeId: string | undefined;
428
- belief: number;
429
- disbelief: number;
430
- uncertainty: number;
431
- baseRate: number;
432
- trigger: "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "worktree_completed" | "fusion" | "discount" | "deduction" | "backfill_synthetic";
433
- triggeringEvidenceId: string | undefined;
434
- triggeringQuestionId: string | undefined;
435
- triggeringAnswerId: string | undefined;
436
- triggeringContradictionId: string | undefined;
437
- triggeringWorktreeId: string | undefined;
438
- rationale: string;
439
- trustedBypassAccessCheck: boolean;
440
- }>;
441
-
442
- declare const projections: {
443
- readonly create_evidence: ProjectionDef<zod.objectInputType<{
444
- projectId: zod.ZodOptional<zod.ZodString>;
445
- topicId: zod.ZodOptional<zod.ZodString>;
446
- text: zod.ZodOptional<zod.ZodString>;
447
- canonicalText: zod.ZodOptional<zod.ZodString>;
448
- title: zod.ZodOptional<zod.ZodString>;
449
- content: zod.ZodOptional<zod.ZodString>;
450
- contentType: zod.ZodOptional<zod.ZodString>;
451
- kind: zod.ZodOptional<zod.ZodString>;
452
- tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
453
- source: zod.ZodOptional<zod.ZodString>;
454
- sourceUrl: zod.ZodOptional<zod.ZodString>;
455
- sourceType: zod.ZodOptional<zod.ZodString>;
456
- externalSourceType: zod.ZodOptional<zod.ZodString>;
457
- sourceQuestionId: zod.ZodOptional<zod.ZodString>;
458
- methodology: zod.ZodOptional<zod.ZodString>;
459
- informationAsymmetry: zod.ZodOptional<zod.ZodString>;
460
- sourceDescription: zod.ZodOptional<zod.ZodString>;
461
- targetId: zod.ZodOptional<zod.ZodString>;
462
- targetNodeId: zod.ZodOptional<zod.ZodString>;
463
- linkedBeliefNodeId: zod.ZodOptional<zod.ZodString>;
464
- evidenceRelation: zod.ZodOptional<zod.ZodEnum<["supports", "contradicts", "neutral"]>>;
465
- confidence: zod.ZodOptional<zod.ZodNumber>;
466
- weight: zod.ZodOptional<zod.ZodNumber>;
467
- reasoning: zod.ZodOptional<zod.ZodString>;
468
- rationale: zod.ZodString;
469
- metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
470
- trustedBypassAccessCheck: zod.ZodOptional<zod.ZodBoolean>;
471
- }, zod.ZodTypeAny, "passthrough">, Record<string, unknown>>;
472
- readonly list_beliefs: ProjectionDef<{
473
- topicId: string;
474
- status?: "active" | "archived" | "unscored" | "scored" | "superseded" | undefined;
475
- worktreeId?: string | undefined;
476
- limit?: number | undefined;
477
- minConfidence?: number | undefined;
478
- includeEdgeAssociated?: boolean | undefined;
479
- }, Record<string, unknown>>;
480
- readonly list_tasks: ProjectionDef<{
481
- topicId: string;
482
- status?: "todo" | "in_progress" | "blocked" | "done" | undefined;
483
- worktreeId?: string | undefined;
484
- limit?: number | undefined;
485
- linkedWorktreeId?: string | undefined;
486
- }, Record<string, unknown>>;
487
- readonly modulate_confidence: ProjectionDef<{
488
- rationale: string;
489
- trigger: "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "worktree_completed" | "fusion" | "discount" | "deduction" | "answer_recorded" | "backfill_synthetic";
490
- belief?: number | undefined;
491
- baseRate?: number | undefined;
492
- nodeId?: string | undefined;
493
- disbelief?: number | undefined;
494
- uncertainty?: number | undefined;
495
- worktreeId?: string | undefined;
496
- triggeringEvidenceId?: string | undefined;
497
- triggeringQuestionId?: string | undefined;
498
- triggeringAnswerId?: string | undefined;
499
- triggeringContradictionId?: string | undefined;
500
- triggeringWorktreeId?: string | undefined;
501
- beliefNodeId?: string | undefined;
502
- trustedBypassAccessCheck?: boolean | undefined;
503
- opinion?: {
504
- belief: number;
505
- baseRate: number;
506
- disbelief: number;
507
- uncertainty: number;
508
- } | undefined;
509
- provenance?: {
510
- evidence?: string | undefined;
511
- question?: string | undefined;
512
- contradiction?: string | undefined;
513
- worktree?: string | undefined;
514
- answer?: string | undefined;
515
- } | undefined;
516
- }, {
517
- nodeId: string;
518
- worktreeId: string | undefined;
519
- belief: number;
520
- disbelief: number;
521
- uncertainty: number;
522
- baseRate: number;
523
- trigger: "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "worktree_completed" | "fusion" | "discount" | "deduction" | "backfill_synthetic";
524
- triggeringEvidenceId: string | undefined;
525
- triggeringQuestionId: string | undefined;
526
- triggeringAnswerId: string | undefined;
527
- triggeringContradictionId: string | undefined;
528
- triggeringWorktreeId: string | undefined;
529
- rationale: string;
530
- trustedBypassAccessCheck: boolean;
531
- }>;
532
- };
533
- type ProjectionRegistry = typeof projections;
534
-
535
- type InvariantId = string;
536
- type CheckerKind = "ast" | "manifest" | "runtime";
537
- type InvariantSeverity = "block_publish" | "block_pr" | "warn";
538
- interface CheckContext {
539
- repoRoot: string;
540
- projections: ProjectionRegistry;
541
- }
542
- interface InvariantResult {
543
- status: "passed" | "failed" | "skipped";
544
- evidenceRefs: string[];
545
- reason?: string;
546
- }
547
- interface InvariantRule {
548
- invariant: InvariantId;
549
- description: string;
550
- checker: CheckerKind;
551
- severity: InvariantSeverity;
552
- evaluate: (ctx: CheckContext) => Promise<InvariantResult>;
553
- }
554
- declare const InvariantManifestSchema: z.ZodObject<{
555
- manifestVersion: z.ZodLiteral<"1.0.0">;
556
- rules: z.ZodArray<z.ZodObject<{
557
- invariant: z.ZodString;
558
- description: z.ZodString;
559
- checker: z.ZodEnum<["ast", "manifest", "runtime"]>;
560
- severity: z.ZodEnum<["block_publish", "block_pr", "warn"]>;
561
- }, "strip", z.ZodTypeAny, {
562
- invariant: string;
563
- description: string;
564
- severity: "warn" | "block_publish" | "block_pr";
565
- checker: "runtime" | "ast" | "manifest";
566
- }, {
567
- invariant: string;
568
- description: string;
569
- severity: "warn" | "block_publish" | "block_pr";
570
- checker: "runtime" | "ast" | "manifest";
571
- }>, "many">;
572
- }, "strip", z.ZodTypeAny, {
573
- manifestVersion: "1.0.0";
574
- rules: {
575
- invariant: string;
576
- description: string;
577
- severity: "warn" | "block_publish" | "block_pr";
578
- checker: "runtime" | "ast" | "manifest";
579
- }[];
580
- }, {
581
- manifestVersion: "1.0.0";
582
- rules: {
583
- invariant: string;
584
- description: string;
585
- severity: "warn" | "block_publish" | "block_pr";
586
- checker: "runtime" | "ast" | "manifest";
587
- }[];
588
- }>;
589
- type InvariantManifest = z.infer<typeof InvariantManifestSchema>;
590
-
591
- type TenantClientManifest = {
592
- readonly manifestVersion: "1.0.0";
593
- readonly contractVersion: typeof TENANT_CLIENT_CONTRACT_VERSION;
594
- readonly auth: {
595
- readonly modes: typeof TENANT_CLIENT_AUTH_MODES;
596
- readonly principalTypes: typeof TENANT_CLIENT_PRINCIPAL_TYPES;
597
- readonly requiredContextFields: typeof TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS;
598
- readonly optionalContextFields: typeof TENANT_CLIENT_OPTIONAL_CONTEXT_FIELDS;
599
- };
600
- readonly installToken: {
601
- readonly env: typeof TENANT_CLIENT_INSTALL_TOKEN_ENV;
602
- readonly infisicalPath: typeof TENANT_CLIENT_INSTALL_TOKEN_INFISICAL_PATH;
603
- readonly forbiddenInfisicalPaths: typeof TENANT_CLIENT_FORBIDDEN_INSTALL_TOKEN_INFISICAL_PATHS;
604
- readonly forbiddenSecretEnv: typeof TENANT_CLIENT_FORBIDDEN_SECRET_ENV;
605
- };
606
- readonly packages: {
607
- readonly installable: typeof TENANT_CLIENT_INSTALLABLE_PACKAGES;
608
- readonly directImports: typeof TENANT_CLIENT_PUBLIC_IMPORTS;
609
- readonly componentConfigImports: typeof TENANT_CLIENT_COMPONENT_CONFIG_IMPORTS;
610
- };
611
- readonly sdk: {
612
- readonly requiredNamespaces: typeof TENANT_CLIENT_REQUIRED_SDK_NAMESPACES;
613
- };
614
- readonly capabilities: typeof TENANT_CLIENT_CAPABILITIES;
615
- readonly isolationRules: typeof TENANT_CLIENT_ISOLATION_RULES;
616
- readonly forbiddenImportPatterns: typeof TENANT_CLIENT_FORBIDDEN_IMPORT_PATTERNS;
617
- };
618
- declare const TENANT_CLIENT_MANIFEST: {
619
- readonly manifestVersion: "1.0.0";
620
- readonly contractVersion: "2026-04-27";
621
- readonly auth: {
622
- readonly modes: readonly ["interactive_user", "service_principal", "tenant_api_key", "session_token"];
623
- readonly principalTypes: readonly ["human", "service", "agent"];
624
- readonly requiredContextFields: readonly ["tenantId", "workspaceId", "principalId", "authMode", "scopes"];
625
- readonly optionalContextFields: readonly ["principalType", "roles", "sessionId", "delegationChain"];
626
- };
627
- readonly installToken: {
628
- readonly env: "INSTALL_LUCERN_NPM";
629
- readonly infisicalPath: "tenants/shared";
630
- readonly forbiddenInfisicalPaths: readonly ["/platform/publish"];
631
- readonly forbiddenSecretEnv: readonly ["NPM_TOKEN"];
632
- };
633
- readonly packages: {
634
- readonly installable: readonly [{
635
- readonly packageName: "@lucern/access-control";
636
- readonly role: "sdk_dependency";
637
- readonly directTenantImport: false;
638
- }, {
639
- readonly packageName: "@lucern/agent";
640
- readonly role: "platform_runtime";
641
- readonly directTenantImport: false;
642
- }, {
643
- readonly packageName: "@lucern/auth";
644
- readonly role: "sdk_dependency";
645
- readonly directTenantImport: false;
646
- }, {
647
- readonly packageName: "@lucern/cli";
648
- readonly role: "developer_tool";
649
- readonly directTenantImport: false;
650
- }, {
651
- readonly packageName: "@lucern/client-core";
652
- readonly role: "sdk_dependency";
653
- readonly directTenantImport: false;
654
- }, {
655
- readonly packageName: "@lucern/confidence";
656
- readonly role: "sdk_dependency";
657
- readonly directTenantImport: false;
658
- }, {
659
- readonly packageName: "@lucern/config";
660
- readonly role: "configuration";
661
- readonly directTenantImport: false;
662
- }, {
663
- readonly packageName: "@lucern/contracts";
664
- readonly role: "contract_entrypoint";
665
- readonly directTenantImport: true;
666
- }, {
667
- readonly packageName: "@lucern/control-plane";
668
- readonly role: "platform_runtime";
669
- readonly directTenantImport: false;
670
- }, {
671
- readonly packageName: "@lucern/developer-kit";
672
- readonly role: "developer_tool";
673
- readonly directTenantImport: false;
674
- }, {
675
- readonly packageName: "@lucern/events";
676
- readonly role: "sdk_dependency";
677
- readonly directTenantImport: false;
678
- }, {
679
- readonly packageName: "@lucern/graph-primitives";
680
- readonly role: "sdk_dependency";
681
- readonly directTenantImport: false;
682
- }, {
683
- readonly packageName: "@lucern/identity";
684
- readonly role: "component_runtime";
685
- readonly directTenantImport: false;
686
- }, {
687
- readonly packageName: "@lucern/mcp";
688
- readonly role: "runtime_entrypoint";
689
- readonly directTenantImport: true;
690
- }, {
691
- readonly packageName: "@lucern/pack-host";
692
- readonly role: "platform_runtime";
693
- readonly directTenantImport: false;
694
- }, {
695
- readonly packageName: "@lucern/pack-installer";
696
- readonly role: "developer_tool";
697
- readonly directTenantImport: false;
698
- }, {
699
- readonly packageName: "@lucern/proof-compiler";
700
- readonly role: "developer_tool";
701
- readonly directTenantImport: false;
702
- }, {
703
- readonly packageName: "@lucern/react";
704
- readonly role: "runtime_entrypoint";
705
- readonly directTenantImport: true;
706
- }, {
707
- readonly packageName: "@lucern/reasoning-kernel";
708
- readonly role: "component_runtime";
709
- readonly directTenantImport: false;
710
- }, {
711
- readonly packageName: "@lucern/sdk";
712
- readonly role: "runtime_entrypoint";
713
- readonly directTenantImport: true;
714
- }, {
715
- readonly packageName: "@lucern/server-core";
716
- readonly role: "platform_runtime";
717
- readonly directTenantImport: false;
718
- }, {
719
- readonly packageName: "@lucern/testing";
720
- readonly role: "test_support";
721
- readonly directTenantImport: false;
722
- }, {
723
- readonly packageName: "@lucern/types";
724
- readonly role: "contract_entrypoint";
725
- readonly directTenantImport: true;
726
- }];
727
- readonly directImports: readonly [{
728
- readonly packageName: "@lucern/sdk";
729
- readonly surface: "runtime";
730
- readonly subpaths: "published_exports";
731
- readonly description: "TypeScript SDK runtime and generated operation namespaces.";
732
- }, {
733
- readonly packageName: "@lucern/react";
734
- readonly surface: "runtime";
735
- readonly subpaths: "published_exports";
736
- readonly description: "React bindings for tenant-owned UI applications.";
737
- }, {
738
- readonly packageName: "@lucern/mcp";
739
- readonly surface: "runtime";
740
- readonly subpaths: "published_exports";
741
- readonly description: "MCP client/server entry points and hosted route helpers.";
742
- }, {
743
- readonly packageName: "@lucern/contracts";
744
- readonly surface: "contract";
745
- readonly subpaths: "published_exports";
746
- readonly description: "Published type and manifest contracts.";
747
- }, {
748
- readonly packageName: "@lucern/types";
749
- readonly surface: "contract";
750
- readonly subpaths: "published_exports";
751
- readonly description: "Published type-only helpers for tenant integration code.";
752
- }];
753
- readonly componentConfigImports: readonly [{
754
- readonly packageName: "@lucern/identity";
755
- readonly importPath: "@lucern/identity/convex.config";
756
- readonly surface: "component_config";
757
- readonly description: "Convex component binding config for tenant deployments that install Lucern identity.";
758
- }, {
759
- readonly packageName: "@lucern/reasoning-kernel";
760
- readonly importPath: "@lucern/reasoning-kernel/convex.config";
761
- readonly surface: "component_config";
762
- readonly description: "Convex component binding config for tenant deployments that install the Lucern reasoning kernel.";
763
- }, {
764
- readonly packageName: "@lucern/reasoning-kernel";
765
- readonly importPath: "@lucern/reasoning-kernel/runtime.config";
766
- readonly surface: "component_config";
767
- readonly description: "Runtime config alias for tenant deployments that install the Lucern reasoning kernel.";
768
- }];
769
- };
770
- readonly sdk: {
771
- readonly requiredNamespaces: readonly ["bootstrap", "context", "beliefs", "evidence", "questions", "graph", "worktrees", "topics", "edges", "contradictions", "contracts", "graphAnalysis", "graphRecommendations", "orgGraphSearch", "embeddings", "ontologyLinks", "graphStateClassifier", "tools", "identity", "modelRuntime", "events", "jobs", "telemetry"];
772
- };
773
- readonly capabilities: readonly [{
774
- readonly id: "identity.bootstrap_session";
775
- readonly description: "Start a scoped Lucern session for a tenant principal.";
776
- readonly surfaces: readonly ["@lucern/sdk", "@lucern/mcp"];
777
- readonly requiredContextFields: readonly ["tenantId", "workspaceId", "principalId", "authMode", "scopes"];
778
- }, {
779
- readonly id: "reasoning.context.compile";
780
- readonly description: "Compile tenant and workspace scoped reasoning context.";
781
- readonly surfaces: readonly ["@lucern/sdk", "@lucern/react", "@lucern/mcp"];
782
- readonly requiredContextFields: readonly ["tenantId", "workspaceId", "principalId", "authMode", "scopes"];
783
- }, {
784
- readonly id: "reasoning.graph.read";
785
- readonly description: "Read beliefs, evidence, questions, topics, and lineage.";
786
- readonly surfaces: readonly ["@lucern/sdk", "@lucern/react", "@lucern/mcp"];
787
- readonly requiredContextFields: readonly ["tenantId", "workspaceId", "principalId", "authMode", "scopes"];
788
- }, {
789
- readonly id: "reasoning.graph.write";
790
- readonly description: "Create and update graph objects through authorized APIs.";
791
- readonly surfaces: readonly ["@lucern/sdk", "@lucern/mcp"];
792
- readonly requiredContextFields: readonly ["tenantId", "workspaceId", "principalId", "authMode", "scopes"];
793
- }, {
794
- readonly id: "workflow.worktree_lifecycle";
795
- readonly description: "Create, review, merge, and close scoped worktrees.";
796
- readonly surfaces: readonly ["@lucern/sdk", "@lucern/react", "@lucern/mcp"];
797
- readonly requiredContextFields: readonly ["tenantId", "workspaceId", "principalId", "authMode", "scopes"];
798
- }];
799
- readonly isolationRules: readonly [{
800
- readonly id: "tenant_workspace_scope_required";
801
- readonly description: "Runtime operations must resolve both tenantId and workspaceId before reaching Lucern reasoning state.";
802
- }, {
803
- readonly id: "principal_audit_required";
804
- readonly description: "Runtime operations must carry principalId, authMode, and scopes for audit attribution.";
805
- }, {
806
- readonly id: "no_private_lucern_imports";
807
- readonly description: "Tenant code must not import Lucern source, Convex internals, generated adapters, or unpublished package internals.";
808
- }];
809
- readonly forbiddenImportPatterns: readonly [{
810
- readonly id: "deep_src_import";
811
- readonly pattern: "^@lucern/[^/]+/src(?:/|$)";
812
- readonly description: "Published packages must not be bypassed through src paths.";
813
- }, {
814
- readonly id: "deep_dist_import";
815
- readonly pattern: "^@lucern/[^/]+/dist(?:/|$)";
816
- readonly description: "Published package exports must be used instead of dist file paths.";
817
- }, {
818
- readonly id: "generated_adapter_import";
819
- readonly pattern: "^@lucern/[^/]+/(?:adapters/)?_generated(?:/|$)";
820
- readonly description: "Generated Lucern adapters are internal deployment artifacts.";
821
- }, {
822
- readonly id: "private_runtime_import";
823
- readonly pattern: "^@lucern/[^/]+/(?:internal|private)(?:/|$)";
824
- readonly description: "Internal and private package subpaths are not public SDK API.";
825
- }, {
826
- readonly id: "workspace_source_import";
827
- readonly pattern: "^(?:packages|modules|services|lucern|apps)/(?:.+/)?src(?:/|$)";
828
- readonly description: "Tenant clients must not import source files from the Lucern monorepo.";
829
- }, {
830
- readonly id: "root_alias_lucern_import";
831
- readonly pattern: "^@/(?:lucern|packages|modules|services|apps)(?:/|$)";
832
- readonly description: "Tenant clients must not depend on Lucern repo-local path aliases.";
833
- }, {
834
- readonly id: "relative_lucern_source_import";
835
- readonly pattern: "^\\.\\.?/(?:.+/)?(?:packages|modules|services|lucern|apps)(?:/|$)";
836
- readonly description: "Tenant clients must not reach back into Lucern source through relative paths.";
837
- }, {
838
- readonly id: "monorepo_path_import";
839
- readonly pattern: "lucern-repo";
840
- readonly description: "Absolute imports that name the Lucern repository are not portable tenant code.";
841
- }];
842
- };
843
-
844
- export { type CheckContext, type CheckerKind, type EdgePolicyEntry, EdgePolicyEntrySchema, type EdgePolicyManifest, EdgePolicyManifestSchema, type EdgePolicyViolation, type EpistemicNodeType, EpistemicNodeTypeSchema, type GraphRef, GraphRefSchema, INFISICAL_RUNTIME_CONTRACT_VERSION, INFISICAL_RUNTIME_DEFAULT_API_URL, INFISICAL_RUNTIME_DEFAULT_PROJECT_ID, INFISICAL_RUNTIME_MANIFEST, InfisicalRuntimeBootstrapEnv, InfisicalRuntimeDeliveryMode, InfisicalRuntimeEnvironment, type InfisicalRuntimeManifest, InfisicalRuntimePath, InfisicalRuntimeSurface, type InvariantId, type InvariantManifest, InvariantManifestSchema, type InvariantResult, type InvariantRule, type InvariantSeverity, type ProjectionDef, type ProjectionRegistry, TENANT_CLIENT_AUTH_MODES, TENANT_CLIENT_CAPABILITIES, TENANT_CLIENT_COMPONENT_CONFIG_IMPORTS, TENANT_CLIENT_CONTRACT_VERSION, TENANT_CLIENT_FORBIDDEN_IMPORT_PATTERNS, TENANT_CLIENT_FORBIDDEN_INSTALL_TOKEN_INFISICAL_PATHS, TENANT_CLIENT_FORBIDDEN_SECRET_ENV, TENANT_CLIENT_INSTALLABLE_PACKAGES, TENANT_CLIENT_INSTALL_TOKEN_ENV, TENANT_CLIENT_INSTALL_TOKEN_INFISICAL_PATH, TENANT_CLIENT_ISOLATION_RULES, TENANT_CLIENT_MANIFEST, TENANT_CLIENT_OPTIONAL_CONTEXT_FIELDS, TENANT_CLIENT_PRINCIPAL_TYPES, TENANT_CLIENT_PUBLIC_IMPORTS, TENANT_CLIENT_REQUIRED_CONTEXT_FIELDS, TENANT_CLIENT_REQUIRED_SDK_NAMESPACES, type TenantClientManifest, assertEdgePolicyAllowed, createEvidenceProjection, defineProjection, edgePolicyManifest, findEdgePolicy, listBeliefsProjection, listTasksProjection, modulateConfidenceProjection, projections };