@wowok/agent-mcp 3.0.2 → 3.0.3

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 (260) hide show
  1. package/LICENSE +0 -3
  2. package/dist/harness/recover.js +1 -1
  3. package/dist/index.d.ts +2 -2
  4. package/dist/index.js +1 -1
  5. package/dist/knowledge/account-marks.js +1 -1
  6. package/dist/knowledge/arbitration-risk.js +1 -1
  7. package/dist/knowledge/flywheel-loop.d.ts +4 -52
  8. package/dist/knowledge/flywheel-loop.js +1 -1
  9. package/dist/knowledge/guard-lint.js +1 -1
  10. package/dist/knowledge/index.d.ts +2 -225
  11. package/dist/knowledge/index.js +1 -1
  12. package/dist/knowledge/industry-registry.js +1 -1
  13. package/dist/knowledge/machine-risk.js +1 -1
  14. package/dist/knowledge/machine-translation.js +1 -1
  15. package/dist/knowledge/onchain-constants.js +1 -1
  16. package/dist/knowledge/order-ledger.d.ts +2 -2
  17. package/dist/knowledge/order-ledger.js +1 -1
  18. package/dist/knowledge/order-puzzle.d.ts +4 -4
  19. package/dist/knowledge/order-puzzle.js +1 -1
  20. package/dist/knowledge/order-risk.d.ts +1 -0
  21. package/dist/knowledge/order-risk.js +1 -1
  22. package/dist/knowledge/order-templates.d.ts +1 -1
  23. package/dist/knowledge/order-templates.js +1 -1
  24. package/dist/knowledge/safety-rules.js +1 -1
  25. package/dist/knowledge/service-ledger.js +1 -1
  26. package/dist/knowledge/service-risk.js +1 -1
  27. package/dist/knowledge/template-registry.js +1 -1
  28. package/dist/knowledge/tools-reference.js +1 -1
  29. package/dist/knowledge/workspace-lists.js +1 -1
  30. package/dist/monitor/MonitorLoop.js +1 -1
  31. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  32. package/dist/playbooks/service-build/context-assembly.d.ts +3 -1
  33. package/dist/playbooks/service-build/context-assembly.js +1 -1
  34. package/dist/playbooks/service-build/machine-nodes.d.ts +2 -0
  35. package/dist/playbooks/service-build/machine-nodes.js +1 -1
  36. package/dist/playbooks/service-build/machine-panorama.d.ts +7 -0
  37. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  38. package/dist/review/machine.js +1 -1
  39. package/dist/safety/confirm-gate.js +1 -1
  40. package/dist/schema/call/base.d.ts +12 -3
  41. package/dist/schema/call/base.js +1 -1
  42. package/dist/schema/call/bridge.d.ts +4 -0
  43. package/dist/schema/call/bridge.js +1 -1
  44. package/dist/schema/call/error-codes.d.ts +2 -0
  45. package/dist/schema/call/error-codes.js +1 -0
  46. package/dist/schema/call/guard.d.ts +4 -4
  47. package/dist/schema/call/semantic.d.ts +9 -1
  48. package/dist/schema/call/semantic.js +1 -1
  49. package/dist/schema/common/index.js +1 -1
  50. package/dist/schema/goal/index.d.ts +3 -3
  51. package/dist/schema/goal/planning.d.ts +2 -2
  52. package/dist/schema/industry-pack/index.d.ts +4 -4
  53. package/dist/schema/industry-pack/modes.d.ts +4 -4
  54. package/dist/schema/local/index.d.ts +558 -0
  55. package/dist/schema/local/index.js +1 -1
  56. package/dist/schema/messenger/index.d.ts +25 -25
  57. package/dist/schema/operations.d.ts +1 -1
  58. package/dist/schema/persona/index.d.ts +2 -2
  59. package/dist/schema/query/bi.d.ts +0 -4
  60. package/dist/schema/query/bi.js +1 -1
  61. package/dist/schema/query/index.js +1 -1
  62. package/dist/schema/schema-query/index.d.ts +1 -1
  63. package/dist/schema/schema-version.js +1 -1
  64. package/dist/schema/trust/index.d.ts +3 -3
  65. package/dist/schema/workspace/index.d.ts +1 -1
  66. package/dist/schema-query-impl/index.js +1 -1
  67. package/dist/schemas/account_operation.output.json +4 -0
  68. package/dist/schemas/bridge_operation.output.json +4 -0
  69. package/dist/schemas/index.json +7 -1
  70. package/dist/schemas/local_history_operation.output.json +1458 -0
  71. package/dist/schemas/local_history_operation.schema.json +105 -0
  72. package/dist/schemas/local_info_operation.output.json +4 -0
  73. package/dist/schemas/local_mark_operation.output.json +4 -0
  74. package/dist/schemas/onchain_operations.output.json +4 -1
  75. package/dist/schemas/onchain_operations.schema.json +30 -10
  76. package/dist/schemas/onchain_operations_guard.schema.json +30 -10
  77. package/dist/schemas/query_toolkit.output.json +17 -16
  78. package/dist/tools/handlers/config.js +1 -1
  79. package/dist/tools/handlers/local.d.ts +1 -0
  80. package/dist/tools/handlers/local.js +1 -1
  81. package/dist/tools/handlers/onchain.js +1 -1
  82. package/dist/tools/index.js +1 -1
  83. package/dist/tools/registry/local.js +1 -1
  84. package/dist/tools/shared.js +1 -1
  85. package/dist/tools/wrap.js +1 -1
  86. package/package.json +2 -2
  87. package/dist/knowledge/allocation-confirm.d.ts +0 -115
  88. package/dist/knowledge/allocation-confirm.js +0 -1
  89. package/dist/knowledge/allocation-context.d.ts +0 -58
  90. package/dist/knowledge/allocation-context.js +0 -1
  91. package/dist/knowledge/allocation-translation.d.ts +0 -72
  92. package/dist/knowledge/allocation-translation.js +0 -1
  93. package/dist/knowledge/arb-confirm.d.ts +0 -28
  94. package/dist/knowledge/arb-confirm.js +0 -1
  95. package/dist/knowledge/arb-translation.d.ts +0 -48
  96. package/dist/knowledge/arb-translation.js +0 -1
  97. package/dist/knowledge/arbitration-confirm.d.ts +0 -135
  98. package/dist/knowledge/arbitration-confirm.js +0 -1
  99. package/dist/knowledge/arbitration-context.d.ts +0 -81
  100. package/dist/knowledge/arbitration-context.js +0 -1
  101. package/dist/knowledge/arbitration-translation.d.ts +0 -91
  102. package/dist/knowledge/arbitration-translation.js +0 -1
  103. package/dist/knowledge/bridge-confirm.d.ts +0 -26
  104. package/dist/knowledge/bridge-confirm.js +0 -1
  105. package/dist/knowledge/bridge-translation.d.ts +0 -37
  106. package/dist/knowledge/bridge-translation.js +0 -1
  107. package/dist/knowledge/contact-confirm.d.ts +0 -27
  108. package/dist/knowledge/contact-confirm.js +0 -1
  109. package/dist/knowledge/contact-translation.d.ts +0 -39
  110. package/dist/knowledge/contact-translation.js +0 -1
  111. package/dist/knowledge/demand-confirm.d.ts +0 -32
  112. package/dist/knowledge/demand-confirm.js +0 -1
  113. package/dist/knowledge/demand-context.d.ts +0 -17
  114. package/dist/knowledge/demand-context.js +0 -1
  115. package/dist/knowledge/demand-ledger.d.ts +0 -26
  116. package/dist/knowledge/demand-ledger.js +0 -1
  117. package/dist/knowledge/demand-puzzle.d.ts +0 -29
  118. package/dist/knowledge/demand-puzzle.js +0 -1
  119. package/dist/knowledge/demand-templates.d.ts +0 -12
  120. package/dist/knowledge/demand-templates.js +0 -1
  121. package/dist/knowledge/demand-translation.d.ts +0 -55
  122. package/dist/knowledge/demand-translation.js +0 -1
  123. package/dist/knowledge/examples-scanner-cli.d.ts +0 -1
  124. package/dist/knowledge/examples-scanner-cli.js +0 -1
  125. package/dist/knowledge/examples-scanner.d.ts +0 -121
  126. package/dist/knowledge/examples-scanner.js +0 -1
  127. package/dist/knowledge/glossary.d.ts +0 -18
  128. package/dist/knowledge/glossary.js +0 -1
  129. package/dist/knowledge/guard-bytecode-spec.d.ts +0 -82
  130. package/dist/knowledge/guard-bytecode-spec.js +0 -1
  131. package/dist/knowledge/guard-confirm.d.ts +0 -86
  132. package/dist/knowledge/guard-confirm.js +0 -1
  133. package/dist/knowledge/immutability.d.ts +0 -11
  134. package/dist/knowledge/immutability.js +0 -1
  135. package/dist/knowledge/machine-confirm.d.ts +0 -102
  136. package/dist/knowledge/machine-confirm.js +0 -1
  137. package/dist/knowledge/machine-context.d.ts +0 -160
  138. package/dist/knowledge/machine-context.js +0 -1
  139. package/dist/knowledge/machine-render.d.ts +0 -41
  140. package/dist/knowledge/machine-render.js +0 -1
  141. package/dist/knowledge/mcp-schema-audit-cli.d.ts +0 -1
  142. package/dist/knowledge/mcp-schema-audit-cli.js +0 -1
  143. package/dist/knowledge/mcp-schema-audit.d.ts +0 -91
  144. package/dist/knowledge/mcp-schema-audit.js +0 -1
  145. package/dist/knowledge/messenger-guard-guidance.d.ts +0 -17
  146. package/dist/knowledge/messenger-guard-guidance.js +0 -1
  147. package/dist/knowledge/order-confirm.d.ts +0 -115
  148. package/dist/knowledge/order-confirm.js +0 -1
  149. package/dist/knowledge/order-context.d.ts +0 -66
  150. package/dist/knowledge/order-context.js +0 -1
  151. package/dist/knowledge/order-translation.d.ts +0 -78
  152. package/dist/knowledge/order-translation.js +0 -1
  153. package/dist/knowledge/overrides-loader.d.ts +0 -13
  154. package/dist/knowledge/overrides-loader.js +0 -1
  155. package/dist/knowledge/passport-confirm.d.ts +0 -130
  156. package/dist/knowledge/passport-confirm.js +0 -1
  157. package/dist/knowledge/passport-context.d.ts +0 -59
  158. package/dist/knowledge/passport-context.js +0 -1
  159. package/dist/knowledge/passport-puzzle.d.ts +0 -108
  160. package/dist/knowledge/passport-puzzle.js +0 -1
  161. package/dist/knowledge/passport-risk.d.ts +0 -70
  162. package/dist/knowledge/passport-risk.js +0 -1
  163. package/dist/knowledge/passport-translation.d.ts +0 -68
  164. package/dist/knowledge/passport-translation.js +0 -1
  165. package/dist/knowledge/payment-confirm.d.ts +0 -26
  166. package/dist/knowledge/payment-confirm.js +0 -1
  167. package/dist/knowledge/payment-translation.d.ts +0 -37
  168. package/dist/knowledge/payment-translation.js +0 -1
  169. package/dist/knowledge/permission-confirm.d.ts +0 -110
  170. package/dist/knowledge/permission-confirm.js +0 -1
  171. package/dist/knowledge/permission-context.d.ts +0 -69
  172. package/dist/knowledge/permission-context.js +0 -1
  173. package/dist/knowledge/permission-translation.d.ts +0 -57
  174. package/dist/knowledge/permission-translation.js +0 -1
  175. package/dist/knowledge/personal-confirm.d.ts +0 -29
  176. package/dist/knowledge/personal-confirm.js +0 -1
  177. package/dist/knowledge/personal-translation.d.ts +0 -37
  178. package/dist/knowledge/personal-translation.js +0 -1
  179. package/dist/knowledge/process-model.d.ts +0 -14
  180. package/dist/knowledge/process-model.js +0 -1
  181. package/dist/knowledge/progress-confirm.d.ts +0 -108
  182. package/dist/knowledge/progress-confirm.js +0 -1
  183. package/dist/knowledge/progress-context.d.ts +0 -123
  184. package/dist/knowledge/progress-context.js +0 -1
  185. package/dist/knowledge/progress-translation.d.ts +0 -52
  186. package/dist/knowledge/progress-translation.js +0 -1
  187. package/dist/knowledge/proof-confirm.d.ts +0 -31
  188. package/dist/knowledge/proof-confirm.js +0 -1
  189. package/dist/knowledge/proof-context.d.ts +0 -17
  190. package/dist/knowledge/proof-context.js +0 -1
  191. package/dist/knowledge/proof-ledger.d.ts +0 -34
  192. package/dist/knowledge/proof-ledger.js +0 -1
  193. package/dist/knowledge/proof-puzzle.d.ts +0 -35
  194. package/dist/knowledge/proof-puzzle.js +0 -1
  195. package/dist/knowledge/proof-templates.d.ts +0 -22
  196. package/dist/knowledge/proof-templates.js +0 -1
  197. package/dist/knowledge/proof-translation.d.ts +0 -52
  198. package/dist/knowledge/proof-translation.js +0 -1
  199. package/dist/knowledge/registrar-confirm.d.ts +0 -26
  200. package/dist/knowledge/registrar-confirm.js +0 -1
  201. package/dist/knowledge/registrar-translation.d.ts +0 -37
  202. package/dist/knowledge/registrar-translation.js +0 -1
  203. package/dist/knowledge/repository-confirm.d.ts +0 -40
  204. package/dist/knowledge/repository-confirm.js +0 -1
  205. package/dist/knowledge/repository-context.d.ts +0 -12
  206. package/dist/knowledge/repository-context.js +0 -1
  207. package/dist/knowledge/repository-ledger.d.ts +0 -25
  208. package/dist/knowledge/repository-ledger.js +0 -1
  209. package/dist/knowledge/repository-puzzle.d.ts +0 -30
  210. package/dist/knowledge/repository-puzzle.js +0 -1
  211. package/dist/knowledge/repository-templates.d.ts +0 -14
  212. package/dist/knowledge/repository-templates.js +0 -1
  213. package/dist/knowledge/repository-translation.d.ts +0 -58
  214. package/dist/knowledge/repository-translation.js +0 -1
  215. package/dist/knowledge/resource-confirm.d.ts +0 -25
  216. package/dist/knowledge/resource-confirm.js +0 -1
  217. package/dist/knowledge/resource-translation.d.ts +0 -37
  218. package/dist/knowledge/resource-translation.js +0 -1
  219. package/dist/knowledge/reward-confirm.d.ts +0 -116
  220. package/dist/knowledge/reward-confirm.js +0 -1
  221. package/dist/knowledge/reward-context.d.ts +0 -127
  222. package/dist/knowledge/reward-context.js +0 -1
  223. package/dist/knowledge/reward-translation.d.ts +0 -58
  224. package/dist/knowledge/reward-translation.js +0 -1
  225. package/dist/knowledge/service-confirm.d.ts +0 -161
  226. package/dist/knowledge/service-confirm.js +0 -1
  227. package/dist/knowledge/service-context.d.ts +0 -66
  228. package/dist/knowledge/service-context.js +0 -1
  229. package/dist/knowledge/service-translation.d.ts +0 -103
  230. package/dist/knowledge/service-translation.js +0 -1
  231. package/dist/knowledge/treasury-confirm.d.ts +0 -133
  232. package/dist/knowledge/treasury-confirm.js +0 -1
  233. package/dist/knowledge/treasury-context.d.ts +0 -64
  234. package/dist/knowledge/treasury-context.js +0 -1
  235. package/dist/knowledge/treasury-translation.d.ts +0 -78
  236. package/dist/knowledge/treasury-translation.js +0 -1
  237. package/dist/knowledge/util-confirm.d.ts +0 -24
  238. package/dist/knowledge/util-confirm.js +0 -1
  239. package/dist/knowledge/util-translation.d.ts +0 -39
  240. package/dist/knowledge/util-translation.js +0 -1
  241. package/dist/loop-engineering/aggregate.d.ts +0 -50
  242. package/dist/loop-engineering/aggregate.js +0 -1
  243. package/dist/loop-engineering/context-collect.d.ts +0 -7
  244. package/dist/loop-engineering/context-collect.js +0 -1
  245. package/dist/loop-engineering/diagnose.d.ts +0 -22
  246. package/dist/loop-engineering/diagnose.js +0 -1
  247. package/dist/loop-engineering/improve.d.ts +0 -55
  248. package/dist/loop-engineering/improve.js +0 -1
  249. package/dist/loop-engineering/index.d.ts +0 -4
  250. package/dist/loop-engineering/index.js +0 -1
  251. package/dist/loop-engineering/pipeline.d.ts +0 -17
  252. package/dist/loop-engineering/pipeline.js +0 -1
  253. package/dist/schema/utils/object-type-utils.d.ts +0 -12
  254. package/dist/schema/utils/object-type-utils.js +0 -1
  255. package/dist/telemetry/index.d.ts +0 -19
  256. package/dist/telemetry/index.js +0 -1
  257. package/dist/telemetry/redact.d.ts +0 -2
  258. package/dist/telemetry/redact.js +0 -1
  259. package/dist/telemetry/storage.d.ts +0 -8
  260. package/dist/telemetry/storage.js +0 -1
@@ -1,8 +1,6 @@
1
- import { CONCEPT_GLOSSARY, CONCEPT_GLOSSARY_VERSION, resolveTerm, lookupEntry, validateText, auditSchemaFields, type GlossaryEntry, type GlossaryCategory, type GlossaryDrift } from "./glossary.js";
2
1
  import { fetchMachineNodes, buildWorkflowGuidance, buildWorkflowReceipt, enrichWorkflowGuidance, mergeGuidanceIntoOutput, resolvePermissionRole, fetchPermissionContext, fetchOrderContext, fetchEntityPermission, fetchEntityContact, fetchObjectLinkerCore, fetchObjectLinkerTx, fetchServiceOrders, fetchOrdersOfUser, resolveLocalNamesFor, fetchAllFieldObjectIds, batchQueryObjectsByIds, batchReadAddressKeyedFields, batchReadU64KeyedFields, listLocalAccounts, accountCanExecuteForward, enumerateActionableForwards, forwardOperatorKind, type GuidanceResult, type ReceiptResult, type ParsedMachineNode, type ParsedPair, type ParsedForward, type ActionableForwardOption, type ForwardOperatorKind, type LocalAccountInfo, type PermissionContext, type OrderContext, type EntityPermissionContext, type EntityPermissionItem, type EntityOrderContext, type EntityOrderItem, type EntityContactContext } from "./workflow-guidance.js";
3
2
  import { CONFIRMATION_RULES, SAFETY_RULES_VERSION, OBJECT_REUSE_RULES, CREATE_VS_MODIFY_PATTERN, IMMUTABILITY_RULES, OPERATION_TYPE_CLASSIFICATION, OPERATION_CLASS_META, classifyTool, NAMING_CONVENTIONS, checkObjectReuseRules, checkImmutabilityRules, type ConfirmationRule, type OperationPreview, type ConfirmLevel, type ReuseRecommendation, type ObjectReuseRule, type ImmutabilityRule, type OperationClass, type OperationClassMeta, type SafetyRiskItem } from "./safety-rules.js";
4
3
  import { TOOL_CONSTRAINTS, TOOL_CONSTRAINTS_VERSION, validateOperation, hasBlockingViolations, getWarningViolations, type ConstraintSeverity, type FieldConstraint, type OperationConstraint, type ConstraintViolation } from "./tool-constraints.js";
5
- import { PERMISSION_TYPES, GAME_ELEMENTS, getPermissionType, getGameElement, getGameElementsByType, PROCESS_MODEL_VERSION, type PermissionScope, type PermissionTypeDef, type GameElementType, type GameElementDef } from "./process-model.js";
6
4
  import { REWARD_TEMPLATES, REWARD_TEMPLATES_VERSION, getRewardTemplate, listRewardTemplates, suggestRewardTemplate, type RewardTemplateType, type RewardTemplate } from "./reward-templates.js";
7
5
  import { AUDIT_RULES, AUDIT_RULES_VERSION, auditService, hasBlockingErrors, getErrors, getWarnings, summarizeFindings, type AuditSeverity, type AuditFinding, type AuditRule, type AuditContext } from "./audit-rules.js";
8
6
  import { suggestPricing, MUTABLE_FIELDS, DYNAMIC_PRICING_VERSION, type MarketSignals, type PricingSuggestion, type MutableFieldInfo } from "./dynamic-pricing.js";
@@ -12,7 +10,7 @@ import { INDUSTRY_FLYWHEELS, getFlywheelForIndustry, listIndustries, suggestAcqu
12
10
  import { INDUSTRY_REGISTRY_VERSION, type IndustryTraits, type IndustryProfile, type IndustrySource, type IndustryEvolutionMeta, type ExtendedIndustry, getIndustryProfile, registerIndustry, getIndustryTraits, resolveIndustryName, getRegistrySize, listBuiltinIndustryNames } from "./industry-registry.js";
13
11
  import { DEFAULT_TRAITS, inferTraitsFromDescription, synthesizeProfile, findSimilarIndustries, composeIndustries, type TraitInferenceResult, type SimilarIndustryMatch } from "./industry-generalizer.js";
14
12
  import { INDUSTRY_EVOLUTION_THRESHOLDS, aggregateIndustryMetrics, evaluateIndustryHealth, suggestIndustryUpdate, applyIndustryUpdate, runIndustryHealthPipeline, type IndustryMetrics, type OrderRawDataPoint, type IndustryHealthReport, type TraitDrift, type IndustryUpdateSuggestion } from "./industry-evolution.js";
15
- import { FLYWHEEL_LOOP_VERSION, FLYWHEEL_LOOP_MIN_SIGNALS, EVOLUTION_STATE_VERSION, recordIndustrySignal, updateIndustryCognition, injectEvolutionContext, getIndustryEvolutionStatus, getIndustrySignalCount, getIndustrySignals, listIndustriesWithSignals, getPendingSuggestions, recordDecisionContext, queryDecisionsByIndustry, queryDecisionsByNode, backfillDecisionOutcome, setEvolutionSchedule, getEvolutionSchedule, setIndustryIntent, getIndustryIntent, saveEvolutionState, loadEvolutionState, hasPersistedEvolutionState, type IndustrySignal, type DecisionContext, type CognitionUpdateResult, type EvolutionContext, type IndustryEvolutionStatus, type EvolutionScheduleConfig, type EvolutionScheduleMode } from "./flywheel-loop.js";
13
+ import { FLYWHEEL_LOOP_VERSION, FLYWHEEL_LOOP_MIN_SIGNALS, recordIndustrySignal, updateIndustryCognition, injectEvolutionContext, type IndustrySignal, type CognitionUpdateResult, type EvolutionContext } from "./flywheel-loop.js";
16
14
  import { BUILTIN_INTENT_SPECS, registerIntentProfile, getIntentProfile, listIntents, evaluateIndustryHealthByIntent, suggestIndustryUpdateByIntent, evaluateIndustryHealthMultiIntent, getRoleAdvice, filterSuggestionsByRole, type BusinessIntent, type MetricDimension, type IntentMetricSpec, type IntentSuggestionTrigger, type AdviceRole } from "./intent-metrics.js";
17
15
  import { GUARD_SCENES, findScene, inferSceneFromAction, getImmutableScenes, getNumericIdentifierScenes, type GuardScene } from "./guard-ledger.js";
18
16
  import { SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES, GUARD_CONSTRAINT_RULES, matchSemanticPattern, explainNode, explainWitness, getConstraintsByCategory, type SemanticToSchemaRule, type SchemaToSemanticRule, type GuardConstraintRule } from "./guard-translation.js";
@@ -28,72 +26,38 @@ import { SEMANTIC_TO_MACHINE_RULES, MACHINE_CONSTRAINT_RULES, MACHINE_TRANSLATIO
28
26
  import { MACHINE_RISK_RULES, MACHINE_RISK_VERSION, MACHINE_RISK_RULES_COUNT, assessMachineRisks, getRiskRulesByCategory as getMachineRiskRulesByCategory, getRiskRulesBySeverity, getAutoFixableRules as getAutoFixableMachineRules, getRiskSummary as getMachineRiskSummary, getRiskRuleById, type MachineRiskRule, type MachineRiskLevel, type MachineRiskCategory, type MachineRisk, type MachineRiskAssessment, type ProjectContextForRisk, type MachineJsonForRisk } from "./machine-risk.js";
29
27
  import { analyzeTopology, identifyTopologyPattern, formatTopologySummary, MACHINE_TOPOLOGY_VERSION, MAX_NODE_COUNT, MAX_NODE_PAIR_COUNT, MAX_FORWARD_COUNT, type MachineTopology, type MachineNode, type MachinePair, type MachineForward } from "./machine-topology.js";
30
28
  import { initPuzzleFromIntent as initMachinePuzzleFromIntent, initPuzzleFromTemplate, checkPuzzleCompleteness as checkMachinePuzzleCompleteness, recommendNextStep as recommendMachineNextStep, derivePuzzleFromMachineJson, generateConfirmationText as generateMachineConfirmationText, MACHINE_PUZZLE_VERSION, type MachinePuzzle, type BusinessFlowPuzzle, type NodeDesignPuzzle, type GuardAcceptancePuzzle, type PermissionModelPuzzle, type ThresholdWeightPuzzle, type BranchTopologyPuzzle, type OverallObjectivePuzzle, type RiskAssessmentPuzzle, type NamedOperatorRole, type PuzzleCompleteness as MachinePuzzleCompleteness, type PuzzleDimension as MachinePuzzleDimension } from "./machine-puzzle.js";
31
- import { PUBLISH_CHECKLIST, CONFIRMATION_QUESTIONS, MACHINE_CONFIRM_VERSION, runStaticChecklist, integrateRiskAssessment, parseUserConfirmation, generateFullConfirmationText, verifyEnvironment, confirmPublish, progressiveCheck, overrideBlockWithReason, prePublishHook, postConfirmationHook, formatBlockError, type ConfirmGateStatus, type ConfirmGateResult, type ChecklistResult, type ChecklistItem, type RiskAssessmentResult, type UserConfirmation, type ConfirmationQuestion, type EnvironmentResult, type DecisionRecord, type MachineJsonForConfirm, type ProjectContextForConfirm } from "./machine-confirm.js";
32
- import { MACHINE_CONTEXT_VERSION, MACHINE_VERIFICATION_NOTES, injectMachineContext, getMachineKnowledgeSnapshot, suggestWorkflow, buildPromptFromContext, getRelatedGuardScenes, getVerificationNotes, CONTEXT_PRESETS, type ContextInjectionMode, type InjectionOptions, type MachineContextBundle, type MachineContextSnapshot, type WorkflowSuggestion, type GuardBridgeInfo, type VerificationNote } from "./machine-context.js";
33
29
  import { SERVICE_SCENES, SERVICE_LEDGER_VERSION, SERVICE_PERMISSIONS, SERVICE_ORDER_FLOW_STAGES, SERVICE_CROSS_OBJECT_BINDINGS, getScenesByCategory as getServiceScenesByCategory, findSceneById as findServiceSceneById, getServicePermissionByIndex, isServicePermission, getPermissionsByMutability, getImmutablePostPublishPermissions, getLockedByDurationPermissions, inferSceneFromIntent as inferServiceSceneFromIntent, getAllServiceScenes, getServiceScenesCount, getServicePermissionsCount, getOrderFlowStage, getCrossObjectBindings as getServiceCrossObjectBindings, type ServiceScene, type ServicePermissionEntry, type ServiceCrossObjectBinding, type ServiceOrderFlowStage } from "./service-ledger.js";
34
30
  import { initPuzzleFromIntent as initServicePuzzleFromIntent, checkPuzzleCompleteness as checkServicePuzzleCompleteness, validateConstraints as validateServiceConstraints, generateConfirmationText as generateServicePuzzleConfirmationText, initOrderFlowPuzzle, checkOrderFlowCompleteness, type ServicePuzzle, type ServicePuzzleCompleteness, type ServiceIntentPuzzle, type ServiceBindingPuzzle, type ServicePermissionAllocatorPuzzle, type ServiceGuardProtectionPuzzle, type ServiceDisputeHandlingPuzzle, type ServiceConstraintChecklist, type ServiceOrderFlowPuzzle, type ServiceConstraintViolation, type ServicePuzzleDimension } from "./service-puzzle.js";
35
31
  import { SERVICE_RISK_VERSION, assessServiceRisks, getAllServiceRiskRules, getServiceRiskRulesCount, getServiceRiskRulesByCategory, type ServiceRisk, type ServiceRiskAssessment, type ServiceStakeholder, type ServiceRiskLevel, type ServiceRiskCategory, type ServiceRiskRule, type ServiceRiskCheckContext } from "./service-risk.js";
36
- import { SERVICE_TRANSLATION_VERSION, SEMANTIC_TO_SCHEMA_RULES as SERVICE_SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES as SERVICE_SCHEMA_TO_SEMANTIC_RULES, SERVICE_CONSTRAINT_RULES, matchSemanticPattern as matchServicePattern, explainServiceCallData, explainServicePermissionIndex, explainField as explainServiceField, explainOp as explainServiceOp, getConstraintsByCategory as getServiceConstraintsByCategory, type SemanticToSchemaRule as ServiceSemanticToSchemaRule, type SchemaToSemanticRule as ServiceSchemaToSemanticRule, type ServiceConstraintRule } from "./service-translation.js";
37
32
  import { SERVICE_TEMPLATES, SERVICE_TEMPLATES_VERSION, getServiceTemplateById, getServiceTemplatesByScene, getServiceTemplatesByIndustry, suggestServiceTemplateForScene, listServiceTemplates, fillServiceTemplate, getAllServiceTemplates, type ServiceTemplate, type ServiceTemplateParam, type FillServiceTemplateResult } from "./service-templates.js";
38
- import { SERVICE_CONFIRM_VERSION, SERVICE_PUBLISH_CHECKLIST, SERVICE_CONFIRMATION_QUESTIONS, runServiceConfirmGate, progressiveServiceCheck, type ServiceConfirmGateResult, type ServiceConfirmGateStatus, type ServiceConfirmGateInput, type ServiceJsonForConfirm, type ServiceChecklistResult, type ServiceChecklistItem, type ServiceUserConfirmation, type ServiceConfirmationQuestion, type ServiceConfirmationResponse, type ServiceEnvironmentResult, type ServiceDecisionRecord, type ServiceProgressiveCheckResult } from "./service-confirm.js";
39
- import { SERVICE_CONTEXT_VERSION, buildServiceContext, buildPromptFromServiceContext, getServiceContextSummary, type ServiceContextBundle, type ServiceInjectionMode, type ServiceStakeholderPerspective, type ServiceCrossObjectRef, type ServiceOnchainConstraint, type ServiceRenderingHints, type BuildServiceContextInput } from "./service-context.js";
40
33
  import { ALLOCATION_SCENES, ALLOCATION_LEDGER_VERSION, MAX_ALLOCATOR_COUNT, ALLOCATION_MAX_SHARING_COUNT, ALLOCATION_MODE_AMOUNT, ALLOCATION_MODE_RATE, ALLOCATION_MODE_SURPLUS, RATE_TOTAL_FULL, ALLOCATION_ERROR_CODES, getScenesByTriggerSource as getAllocationScenesByTriggerSource, getScenesByMode as getAllocationScenesByMode, getScenesByStrategy as getAllocationScenesByStrategy, findSceneById as findAllocationSceneById, inferSceneFromIntent as inferAllocationSceneFromIntent, getAllScenes as getAllAllocationScenes, getScenesCount as getAllocationScenesCount, allocationModeToNumber, allocationModeFromNumber, getRecipientType, isSignerRecipient, isEntityRecipient, isGuardIdentifierRecipient, getErrorName as getAllocationErrorName, getErrorDescription as getAllocationErrorDescription, type AllocationScene, type AllocationMode, type TriggerSource, type RecipientType, type Recipient } from "./allocation-ledger.js";
41
34
  import { initPuzzleFromIntent as initAllocationPuzzleFromIntent, checkPuzzleCompleteness as checkAllocationPuzzleCompleteness, validateConstraints as validateAllocationConstraints, generateConfirmationText as generateAllocationPuzzleConfirmationText, buildDefaultAllocFlow, buildDefaultRecipientRules, buildDefaultLogicPuzzle, ALLOCATION_PUZZLE_VERSION, type AllocationPuzzle, type AllocationPuzzleCompleteness, type AllocationIntentPuzzle, type AllocationBindingPuzzle, type AllocatorConfig, type AllocatorsConfig, type PaymentInfoConfig, type AllocationDataSourcePuzzle, type AllocationOperation, type AllocationOperationPuzzle, type AllocationLogicPuzzle, type AllocationConstraintChecklist, type AllocationPuzzleDimension, type AllocationConstraintViolation } from "./allocation-puzzle.js";
42
35
  import { ALLOCATION_RISK_VERSION, assessAllocationRisks, getAllRiskRules as getAllAllocationRiskRules, getRiskRulesCount as getAllocationRiskRulesCount, getRiskRulesByCategory as getAllocationRiskRulesByCategory, type AllocationRisk, type AllocationRiskAssessment, type AllocationStakeholder, type AllocationRiskLevel, type AllocationRiskCategory, type AllocationRiskRule, type AllocationRiskCheckContext } from "./allocation-risk.js";
43
- import { ALLOCATION_TRANSLATION_VERSION, SEMANTIC_TO_SCHEMA_RULES as ALLOCATION_SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES as ALLOCATION_SCHEMA_TO_SEMANTIC_RULES, ALLOCATION_CONSTRAINT_RULES, matchSemanticPattern as matchAllocationPattern, explainAllocationCallData, explainField as explainAllocationField, explainOp as explainAllocationOp, explainMode as explainAllocationMode, explainRecipient as explainAllocationRecipient, getConstraintsByCategory as getAllocationConstraintsByCategory, explainError as explainAllocationError, type SemanticToSchemaRule as AllocationSemanticToSchemaRule, type SchemaToSemanticRule as AllocationSchemaToSemanticRule, type AllocationConstraintRule, type AllocationCallData } from "./allocation-translation.js";
44
36
  import { ALLOCATION_TEMPLATES, ALLOCATION_TEMPLATES_VERSION, getAllTemplates as getAllAllocationTemplates, getTemplateById as getAllocationTemplateById, getTemplatesByScene as getAllocationTemplatesByScene, getTemplatesByIndustry as getAllocationTemplatesByIndustry, suggestTemplateForScene as suggestAllocationTemplateForScene, listTemplates as listAllocationTemplates, fillTemplate as fillAllocationTemplate, type AllocationTemplate, type AllocationTemplateParam, type TemplateParamType as AllocationTemplateParamType } from "./allocation-templates.js";
45
- import { ALLOCATION_CONFIRM_VERSION, ALLOCATION_PUBLISH_CHECKLIST, ALLOCATION_CONFIRMATION_QUESTIONS, runAllocationConfirmGate, progressiveAllocationCheck, type ConfirmGateResult as AllocationConfirmGateResult, type ConfirmGateStatus as AllocationConfirmGateStatus, type ConfirmGateInput as AllocationConfirmGateInput, type ChecklistResult as AllocationChecklistResult, type ChecklistItem as AllocationChecklistItem, type UserConfirmation as AllocationUserConfirmation, type ConfirmationQuestion as AllocationConfirmationQuestion, type ConfirmationResponse as AllocationConfirmationResponse, type EnvironmentResult as AllocationEnvironmentResult, type DecisionRecord as AllocationDecisionRecord, type AllocationJsonForConfirm, type ProgressiveCheckResult as AllocationProgressiveCheckResult } from "./allocation-confirm.js";
46
- import { ALLOCATION_CONTEXT_VERSION, buildAllocationContext, buildPromptFromAllocationContext, getAllocationContextSummary, type AllocationContextBundle, type AllocationInjectionMode, type AllocationStakeholderPerspective, type AllocationCrossObjectRef, type AllocationOnchainConstraint, type AllocationRenderingHints, type BuildAllocationContextInput } from "./allocation-context.js";
47
37
  import { TREASURY_LEDGER_VERSION, TREASURY_SCENES, TREASURY_PERMISSIONS as TREASURY_BUILTIN_PERMISSIONS, getScenesByHostObject as getTreasuryScenesByHostObject, findSceneById as findTreasurySceneById, findSceneByPermissionIndex as findTreasurySceneByPermissionIndex, getBuiltinPermissionByIndex as getTreasuryBuiltinPermissionByIndex, isBuiltinTreasuryPermission, getActiveBuiltinPermissions as getActiveTreasuryBuiltinPermissions, getReservedBuiltinPermissions as getReservedTreasuryBuiltinPermissions, inferSceneFromIntent as inferTreasurySceneFromIntent, getTreasuryScenesCount, getMoveFunctionsForPermissionIndex as getTreasuryMoveFunctionsForPermissionIndex, type TreasuryScene, type BuiltinTreasuryPermissionEntry } from "./treasury-ledger.js";
48
38
  import { initPuzzleFromIntent as initTreasuryPuzzleFromIntent, checkPuzzleCompleteness as checkTreasuryPuzzleCompleteness, validateConstraints as validateTreasuryConstraints, generateConfirmationText as generateTreasuryPuzzleConfirmationText, MAX_EXTERNAL_DEPOSIT_GUARD_COUNT, MAX_EXTERNAL_WITHDRAW_GUARD_COUNT, MAX_DESCRIPTION_LENGTH as TREASURY_MAX_DESCRIPTION_LENGTH, type TreasuryIntentPuzzle, type TreasuryBindingPuzzle, type TreasuryDataSourcePuzzle, type AmountFromDepositGuardPuzzle, type AmountFromWithdrawGuardPuzzle, type TreasuryOperation, type TreasuryOperationPuzzle, type TreasuryLogicPuzzle, type TreasuryConstraintChecklist, type TreasuryPuzzleDimension, type TreasuryPuzzle, type TreasuryPuzzleCompleteness, type TreasuryConstraintViolation } from "./treasury-puzzle.js";
49
- import { TREASURY_TRANSLATION_VERSION, SEMANTIC_TO_SCHEMA_RULES as TREASURY_SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES as TREASURY_SCHEMA_TO_SEMANTIC_RULES, TREASURY_CONSTRAINT_RULES, matchSemanticPattern as matchTreasuryPattern, explainTreasuryCallData, explainField as explainTreasuryField, explainOp as explainTreasuryOp, explainTreasuryPermissionIndex, getConstraintsByCategory as getTreasuryConstraintsByCategory, type SemanticToSchemaRule as TreasurySemanticToSchemaRule, type SchemaToSemanticRule as TreasurySchemaToSemanticRule, type TreasuryConstraintRule, type TreasuryCallDataForExplanation } from "./treasury-translation.js";
50
39
  import { TREASURY_TEMPLATES, TREASURY_TEMPLATES_VERSION, getAllTreasuryTemplates, getTemplateById as getTreasuryTemplateById, getTemplatesByScene as getTreasuryTemplatesByScene, getTemplatesByIndustry as getTreasuryTemplatesByIndustry, suggestTemplateForScene as suggestTreasuryTemplateForScene, listTemplates as listTreasuryTemplates, fillTemplate as fillTreasuryTemplate, type TreasuryTemplateParamType, type TreasuryTemplateParam, type TreasuryTemplate } from "./treasury-templates.js";
51
40
  import { TREASURY_RISK_VERSION, assessTreasuryRisks, getAllTreasuryRiskRules, getTreasuryRiskRulesCount, getTreasuryRiskRulesByCategory, type TreasuryRisk, type TreasuryRiskAssessment, type TreasuryRiskLevel, type TreasuryRiskCategory, type TreasuryRiskRule, type TreasuryStakeholder, type TreasuryRiskCheckContext } from "./treasury-risk.js";
52
- import { TREASURY_CONFIRM_VERSION, TREASURY_PUBLISH_CHECKLIST, TREASURY_CONFIRMATION_QUESTIONS, runTreasuryConfirmGate, progressiveTreasuryCheck, type TreasuryConfirmGateResult, type TreasuryConfirmGateStatus, type TreasuryChecklistResult, type TreasuryChecklistItem, type TreasuryUserConfirmation, type TreasuryConfirmationQuestion, type TreasuryConfirmationResponse, type TreasuryEnvironmentResult, type TreasuryDecisionRecord, type TreasuryJsonForConfirm, type TreasuryConfirmGateInput, type ProgressiveTreasuryCheckResult } from "./treasury-confirm.js";
53
- import { TREASURY_CONTEXT_VERSION, buildTreasuryContext, buildPromptFromTreasuryContext, getTreasuryContextSummary, type TreasuryContextBundle, type TreasuryInjectionMode, type TreasuryStakeholderPerspective, type TreasuryCrossObjectRef, type TreasuryOnchainConstraint, type TreasuryRenderingHints, type BuildTreasuryContextInput } from "./treasury-context.js";
54
41
  import { ORDER_LEDGER_VERSION, ORDER_SCENES, ORDER_FIELDS, ORDER_STATES, ORDER_STATE_TRANSITIONS, ORDER_LIFECYCLE_EVENTS, ORDER_PERMISSION_MATRIX, ORDER_AUDIT_FORMULAS, getScenesByOperationField as getOrderScenesByOperationField, findSceneById as findOrderSceneById, findSceneByMoveEntry as findOrderSceneByMoveEntry, getScenesByPermissionLayer as getOrderScenesByPermissionLayer, getScenesByReversibility as getOrderScenesByReversibility, getFieldDef as getOrderFieldDef, getMutableFields as getOrderMutableFields, getImmutableFields as getOrderImmutableFields, getFrozenAfterProgressFields as getOrderFrozenAfterProgressFields, getOneTimeSetFields as getOrderOneTimeSetFields, inferSceneFromIntent as inferOrderSceneFromIntent, getEmittedEvents as getOrderEmittedEvents, getInferredEvents as getOrderInferredEvents, getOrderScenesCount, sdkToMoveField as sdkToMoveOrderField, moveToSdkField as moveToSdkOrderField, type OrderScene, type OrderPermissionLayer, type OrderReversibility, type OrderFieldDef, type OrderState, type OrderLifecycleEvent } from "./order-ledger.js";
55
42
  import { initPuzzleFromIntent as initOrderPuzzleFromIntent, checkPuzzleCompleteness as checkOrderPuzzleCompleteness, validateConstraints as validateOrderConstraints, generateConfirmationText as generateOrderPuzzleConfirmationText, verifySnapshotMechanism as verifyOrderSnapshotMechanism, inferLifecyclePhase as inferOrderLifecyclePhase, matchSceneFromPuzzle as matchOrderSceneFromPuzzle, listAllScenes as listAllOrderScenes, lookupScene as lookupOrderScene, type OrderIntentPuzzle, type OrderBindingPuzzle, type OrderDataSourcePuzzle, type OrderOperation, type OrderOperationPuzzle, type OrderLogicPuzzle, type OrderConstraintChecklist, type OrderPuzzleDimension, type OrderPuzzle, type OrderPuzzleCompleteness, type OrderConstraintViolation } from "./order-puzzle.js";
56
- import { ORDER_TRANSLATION_VERSION, SEMANTIC_TO_SCHEMA_RULES as ORDER_SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES as ORDER_SCHEMA_TO_SEMANTIC_RULES, ORDER_CONSTRAINT_RULES, matchSemanticPattern as matchOrderPattern, explainOrderCallData, explainField as explainOrderField, explainOp as explainOrderOp, explainOrderError, getConstraintsByCategory as getOrderConstraintsByCategory, explainPermissionLayer as explainOrderPermissionLayer, resolveFieldName as resolveOrderFieldName, matchSceneFromOperation as matchOrderSceneFromOperation, explainOrderIntent, type SemanticToSchemaRule as OrderSemanticToSchemaRule, type SchemaToSemanticRule as OrderSchemaToSemanticRule, type OrderConstraintRule, type OrderCallData } from "./order-translation.js";
57
43
  import { ORDER_TEMPLATES, ORDER_TEMPLATES_VERSION, ORDER_TEMPLATES_COUNT, getAllOrderTemplates, getTemplateById as getOrderTemplateById, getTemplatesByScene as getOrderTemplatesByScene, getTemplatesByIndustry as getOrderTemplatesByIndustry, getTemplatesByPermissionLayer as getOrderTemplatesByPermissionLayer, getIrreversibleTemplates as getIrreversibleOrderTemplates, suggestTemplateForScene as suggestOrderTemplateForScene, listOrderTemplates, fillTemplate as fillOrderTemplate, suggestTemplateFromIntent as suggestOrderTemplateFromIntent, getTemplateParameters as getOrderTemplateParameters, validateTemplateParams as validateOrderTemplateParams, type TemplateParamType as OrderTemplateParamType, type OrderTemplateParam, type OrderTemplate, type FillTemplateResult as FillOrderTemplateResult } from "./order-templates.js";
58
44
  import { ORDER_RISK_VERSION, assessOrderRisks, getAllOrderRiskRules, getOrderRiskRulesCount, getOrderRiskRulesByCategory, getOrderRiskRuleById, checkPermissionLayer as checkOrderPermissionLayer, type OrderRisk, type OrderRiskAssessment, type OrderRiskLevel, type OrderRiskCategory, type OrderRiskRule, type OrderStakeholder, type OrderRiskCheckContext } from "./order-risk.js";
59
- import { ORDER_CONFIRM_VERSION, ORDER_PUBLISH_CHECKLIST, ORDER_CONFIRMATION_QUESTIONS, runOrderConfirmGate, progressiveOrderCheck, type OrderConfirmGateResult, type OrderConfirmGateStatus, type OrderChecklistResult, type OrderChecklistItem, type OrderUserConfirmation, type OrderConfirmationQuestion, type OrderConfirmationResponse, type OrderEnvironmentResult, type OrderDecisionRecord, type OrderJsonForConfirm, type OrderConfirmGateInput, type OrderProgressiveCheckResult } from "./order-confirm.js";
60
- import { ORDER_CONTEXT_VERSION, buildOrderContext, buildPromptFromOrderContext, getOrderContextSummary, getStakeholderAdvice as getOrderStakeholderAdvice, type OrderContextBundle, type OrderInjectionMode, type OrderStakeholderPerspective, type OrderCrossObjectRef, type OrderOnchainConstraint, type OrderRenderingHints, type BuildOrderContextInput } from "./order-context.js";
61
45
  import { PROGRESS_LEDGER_VERSION, PROGRESS_SCENES, PROGRESS_PERMISSIONS as PROGRESS_BUILTIN_PERMISSIONS, PROGRESS_NEW, PROGRESS_NAMED_OPERATOR, PROGRESS_TASK, PROGRESS_CONTEXT_REPOSITORY, PROGRESS_UNHOLD, PROGRESS_OWNER_RECEIVE, PROGRESS_CROSS_OBJECT_REFS, getScenesByPhase as getProgressScenesByPhase, findSceneById as findProgressSceneById, getScenesByIndustry as getProgressScenesByIndustry, getBuiltinPermissionByIndex as getProgressBuiltinPermissionByIndex, isProgressBuiltinPermission, inferSceneFromIntent as inferProgressSceneFromIntent, getAllBuiltinPermissions as getAllProgressBuiltinPermissions, getProgressScenesCount, validateNamedOperatorAddressList, validateNamedOperatorCount, validateContextRepositoryCount, type ProgressPhase, type ProgressBuiltinPermissionEntry, type ProgressScene } from "./progress-ledger.js";
62
46
  import { initPuzzleFromIntent as initProgressPuzzleFromIntent, checkPuzzleCompleteness as checkProgressPuzzleCompleteness, validateConstraints as validateProgressConstraints, generateConfirmationText as generateProgressPuzzleConfirmationText, resolveBuiltinPermission as resolveProgressBuiltinPermission, isOrderHolderForward, getRelevantDimensions as getProgressRelevantDimensions, type ProgressIntentPuzzle, type ProgressWorkflowPuzzle, type ProgressNamedOperatorPuzzle, type ProgressTaskPuzzle, type ProgressPermissionPuzzle, type ProgressConstraintChecklist, type ProgressPuzzleDimension, type ProgressPuzzle, type ProgressPuzzleCompleteness, type ProgressConstraintViolation } from "./progress-puzzle.js";
63
- import { PROGRESS_TRANSLATION_VERSION, PROGRESS_SEMANTIC_TO_SCHEMA_RULES, PROGRESS_SCHEMA_TO_SEMANTIC_RULES, PROGRESS_CONSTRAINT_RULES, matchSemanticPattern as matchProgressPattern, explainProgressCallData, explainField as explainProgressField, explainOp as explainProgressOp, getConstraintsByCategory as getProgressConstraintsByCategory, explainPermissionIndex as explainProgressPermissionIndex, type ProgressSemanticToSchemaRule, type ProgressSchemaToSemanticRule, type ProgressConstraintRule, type ProgressCallDataForExplanation } from "./progress-translation.js";
64
47
  import { PROGRESS_TEMPLATES, PROGRESS_TEMPLATES_VERSION, getAllProgressTemplates, getProgressTemplateById, getProgressTemplatesByScene, getProgressTemplatesByIndustry, suggestProgressTemplateForScene, listProgressTemplates, fillProgressTemplate, type ProgressTemplateParamType, type ProgressTemplateParam, type ProgressTemplate } from "./progress-templates.js";
65
48
  import { PROGRESS_RISK_VERSION, assessProgressRisks, getAllProgressRiskRules, getProgressRiskRulesCount, getProgressRiskRulesByCategory, type ProgressRisk, type ProgressRiskAssessment, type ProgressRiskLevel, type ProgressRiskCategory, type ProgressRiskRule, type ProgressStakeholder, type ProgressRiskCheckContext } from "./progress-risk.js";
66
- import { PROGRESS_CONFIRM_VERSION, PROGRESS_OPERATION_CHECKLIST, PROGRESS_CONFIRMATION_QUESTIONS, runProgressConfirmGate, progressiveProgressCheck, type ProgressConfirmGateResult, type ProgressConfirmGateStatus, type ProgressChecklistResult, type ProgressChecklistItem, type ProgressUserConfirmation, type ProgressConfirmationQuestion, type ProgressConfirmationResponse, type ProgressEnvironmentResult, type ProgressDecisionRecord, type ProgressJsonForConfirm, type ProgressConfirmGateInput, type ProgressiveProgressCheckResult } from "./progress-confirm.js";
67
- import { PROGRESS_CONTEXT_VERSION, buildProgressContext, buildPromptFromProgressContext, getProgressContextSummary, buildStakeholderContext as buildProgressStakeholderContext, quickValidateProgressJson, getProgressKnowledgeSnapshot, type ProgressContextBundle, type ProgressInjectionMode, type ProgressStakeholderPerspective, type ProgressCrossObjectRef, type ProgressOnchainConstraint, type ProgressRenderingHints, type BuildProgressContextInput } from "./progress-context.js";
68
49
  import { ARBITRATION_LEDGER_VERSION, ARBITRATION_SCENES, ARBITRATION_PERMISSIONS as ARBITRATION_BUILTIN_PERMISSIONS, ARB_STATUS_CODE, ARB_TERMINAL_STATUSES, ARB_STATUS_ALIASES, DUAL_GUARD_MATRIX, getScenesByCategory as getArbitrationScenesByCategory, findSceneById as findArbitrationSceneById, findSceneByPermissionIndex as findArbitrationSceneByPermissionIndex, getPermissionByIndex as getArbitrationPermissionByIndex, getPermissionByName as getArbitrationPermissionByName, isReservedIndex as isArbitrationReservedIndex, isUsedPermissionIndex as isArbitrationUsedPermissionIndex, getActivePermissionCount as getArbitrationActivePermissionCount, inferSceneFromIntent as inferArbitrationSceneFromIntent, getDualGuardMatrixEntry, isValidArbStatusTransition, isTerminalArbStatus, getScenesProducingStatus as getArbitrationScenesProducingStatus, getScenesRequiringStatus as getArbitrationScenesRequiringStatus, getArbitrationScenesCount, getAllArbitrationPermissions, getActiveArbitrationPermissions, type ArbitrationScene, type ArbStatus, type ArbitrationPermissionEntry, type VotingGuardEntry, type DualGuardMatrix } from "./arbitration-ledger.js";
69
50
  import { initPuzzleFromIntent as initArbitrationPuzzleFromIntent, checkPuzzleCompleteness as checkArbitrationPuzzleCompleteness, validateConstraints as validateArbitrationConstraints, generateConfirmationText as generateArbitrationPuzzleConfirmationText, type IntentPuzzle as ArbitrationIntentPuzzle, type ArbitrationConfigPuzzle, type VotingGuardPuzzle, type UsageGuardPuzzle, type ArbiterConfigPuzzle, type ConstraintChecklist as ArbitrationConstraintChecklist, type PuzzleDimension as ArbitrationPuzzleDimension, type ArbitrationPuzzle, type PuzzleCompleteness as ArbitrationPuzzleCompleteness, type ConstraintViolation as ArbitrationConstraintViolation } from "./arbitration-puzzle.js";
70
- import { ARBITRATION_TRANSLATION_VERSION, SEMANTIC_TO_SCHEMA_RULES as ARBITRATION_SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES as ARBITRATION_SCHEMA_TO_SEMANTIC_RULES, ARBITRATION_CONSTRAINT_RULES, matchSemanticPattern as matchArbitrationPattern, explainArbitrationCallData, explainField as explainArbitrationField, explainOp as explainArbitrationOp, explainStatus as explainArbitrationStatus, getConstraintsByCategory as getArbitrationConstraintsByCategory, explainPermissionIndex as explainArbitrationPermissionIndex, explainArbStatus, type SemanticToSchemaRule as ArbitrationSemanticToSchemaRule, type SchemaToSemanticRule as ArbitrationSchemaToSemanticRule, type ArbitrationConstraintRule } from "./arbitration-translation.js";
71
51
  import { ARBITRATION_TEMPLATES, ARBITRATION_TEMPLATES_VERSION, getAllTemplates as getAllArbitrationTemplates, getTemplateById as getArbitrationTemplateById, getTemplatesByScene as getArbitrationTemplatesByScene, getTemplatesByIndustry as getArbitrationTemplatesByIndustry, suggestTemplateForScene as suggestArbitrationTemplateForScene, listTemplates as listArbitrationTemplates, fillTemplate as fillArbitrationTemplate, type TemplateParamType as ArbitrationTemplateParamType, type ArbitrationTemplateParam, type ArbitrationTemplate } from "./arbitration-templates.js";
72
52
  import { ARBITRATION_RISK_VERSION, assessArbitrationRisks, getAllRiskRules as getAllArbitrationRiskRules, getRiskRulesCount as getArbitrationRiskRulesCount, getRiskRulesByCategory as getArbitrationRiskRulesByCategory, type ArbitrationRisk, type ArbitrationRiskAssessment, type RiskLevel as ArbitrationRiskLevel, type RiskCategory as ArbitrationRiskCategory, type RiskRule as ArbitrationRiskRule, type ArbitrationStakeholder, type RiskCheckContext as ArbitrationRiskCheckContext } from "./arbitration-risk.js";
73
- import { ARBITRATION_CONFIRM_VERSION, ARBITRATION_OPERATION_CHECKLIST, ARBITRATION_CONFIRMATION_QUESTIONS, runArbitrationConfirmGate, progressiveArbitrationCheck, type ConfirmGateResult as ArbitrationConfirmGateResult, type ConfirmGateStatus as ArbitrationConfirmGateStatus, type ChecklistResult as ArbitrationChecklistResult, type ChecklistItem as ArbitrationChecklistItem, type UserConfirmation as ArbitrationUserConfirmation, type ConfirmationQuestion as ArbitrationConfirmationQuestion, type ConfirmationResponse as ArbitrationConfirmationResponse, type EnvironmentResult as ArbitrationEnvironmentResult, type DecisionRecord as ArbitrationDecisionRecord, type ArbitrationJsonForConfirm, type ConfirmGateInput as ArbitrationConfirmGateInput, type ProgressiveCheckResult as ProgressiveArbitrationCheckResult } from "./arbitration-confirm.js";
74
- import { ARBITRATION_CONTEXT_VERSION, buildArbitrationContext, buildPromptFromArbitrationContext, getArbitrationContextSummary, type ArbitrationContextBundle, type ArbitrationInjectionMode, type ArbitrationStakeholderPerspective, type ArbLifecycleContext, type ArbitrationCrossObjectRef, type ArbitrationOnchainConstraint, type ArbitrationRenderingHints, type BuildArbitrationContextInput } from "./arbitration-context.js";
75
53
  import { REWARD_LEDGER_VERSION, REWARD_SCENES, REWARD_PERMISSIONS, REWARD_FIELDS, REWARD_GUARD_CONSTRUCTORS, REWARD_ERROR_CODES, REWARD_CROSS_OBJECT_REFS, MAX_GUARD_COUNT_REWARD, MAX_RECORD_COUNT_REWARD, getScenesByPhase as getRewardScenesByPhase, findSceneById as findRewardSceneById, getScenesByIndustry as getRewardScenesByIndustry, getBuiltinPermissionByIndex as getRewardBuiltinPermissionByIndex, isRewardBuiltinPermission, getAllBuiltinPermissions as getAllRewardBuiltinPermissions, getRewardScenesCount, getGuardConstructorSpec as getRewardGuardConstructorSpec, resolveGuardConstructor as resolveRewardGuardConstructor, getRewardErrorByCode, getRewardErrorByName, validateGuardCount as validateRewardGuardCount, validateRecordCount as validateRewardRecordCount, inferSceneFromIntent as inferRewardSceneFromIntent, type RewardPhase, type RewardBuiltinPermissionEntry, type RewardRecipientType, type RewardAmountType, type RewardGuardConstructor, type RewardGuardConstructorSpec, type RewardScene, type RewardFieldEntry, type RewardErrorCodeEntry } from "./reward-ledger.js";
76
54
  import { REWARD_FIELD_MUTABILITY, initPuzzleFromIntent as initRewardPuzzleFromIntent, checkPuzzleCompleteness as checkRewardPuzzleCompleteness, validateConstraints as validateRewardConstraints, generateConfirmationText as generateRewardPuzzleConfirmationText, resolveBuiltinPermission as resolveRewardBuiltinPermission, requiresGuardConfig as requiresRewardGuardConfig, requiresPassport as requiresRewardPassport, getRelevantDimensions as getRewardRelevantDimensions, getFieldMutability as getRewardFieldMutability, isAdminMutableField as isRewardAdminMutableField, getFieldPermissionIndex as getRewardFieldPermissionIndex, type RewardIntentPuzzle, type RewardConfigPuzzle, type RewardGuardPuzzle, type RewardFundsPuzzle, type RewardPermissionPuzzle, type RewardConstraintChecklist, type RewardPuzzleDimension, type RewardPuzzle, type RewardPuzzleCompleteness, type RewardFieldMutability as RewardFieldMutabilityType, type RewardFieldMutabilityEntry, type RewardConstraintViolation } from "./reward-puzzle.js";
77
55
  import { REWARD_RISK_VERSION, REWARD_STAKEHOLDERS, assessRewardRisks, getAllRewardRiskRules, getRewardRiskRulesCount, getRewardRiskRulesByCategory, getRewardRiskRulesByStakeholder, type RewardRisk, type RewardRiskLevel, type RewardRiskCategory, type RewardRiskRule, type RewardStakeholder, type RewardRiskCheckContext, type RewardRiskAssessment, type RewardGuardAddEntry } from "./reward-risk.js";
78
- import { REWARD_CONFIRM_VERSION, REWARD_OPERATION_CHECKLIST, REWARD_CONFIRMATION_QUESTIONS, runRewardConfirmGate, progressiveRewardCheck, type RewardConfirmGateResult, type RewardConfirmGateStatus, type RewardChecklistResult, type RewardChecklistItem, type RewardUserConfirmation, type RewardConfirmationQuestion, type RewardConfirmationResponse, type RewardEnvironmentResult, type RewardDecisionRecord, type RewardJsonForConfirm, type RewardConfirmGateInput, type ProgressiveRewardCheckResult } from "./reward-confirm.js";
79
- import { REWARD_TRANSLATION_VERSION, REWARD_SEMANTIC_TO_SCHEMA_RULES, REWARD_SCHEMA_TO_SEMANTIC_RULES, REWARD_CONSTRAINT_RULES, matchSemanticPattern as matchRewardPattern, explainRewardCallData, explainField as explainRewardField, explainOp as explainRewardOp, explainConstructor as explainRewardConstructor, getConstraintsByCategory as getRewardConstraintsByCategory, explainPermissionIndex as explainRewardPermissionIndex, type RewardSemanticToSchemaRule, type RewardSchemaToSemanticRule, type RewardConstraintRule, type RewardCallDataForExplanation } from "./reward-translation.js";
80
- import { REWARD_CONTEXT_VERSION, buildRewardContext, buildPromptFromRewardContext, getRewardContextSummary, buildStakeholderContext as buildRewardStakeholderContext, quickValidateRewardJson, getRewardKnowledgeSnapshot, type RewardContextBundle, type RewardInjectionMode, type RewardStakeholderPerspective, type RewardCrossObjectRef, type RewardOnchainConstraint, type RewardRenderingHints, type BuildRewardContextInput } from "./reward-context.js";
81
56
  import { PASSPORT_LEDGER_VERSION, PASSPORT_ERROR_CODES, PASSPORT_SCENARIOS, MAX_GUARD_COUNT_PASSPORT, MAX_SUBMISSION_SIZE_PASSPORT, getAllScenarios as getAllPassportScenarios, getScenariosCount as getPassportScenesCount, findScenarioById as findPassportScenarioById, getScenariosByConsumer as getPassportScenariosByConsumer, getScenariosUsingRelies as getPassportScenariosUsingRelies, inferScenarioFromIntent as inferPassportScenarioFromIntent, impackRoleFromBoolean, impackRoleToBoolean, reliesLogicFromBoolean, reliesLogicToBoolean, getErrorName as getPassportErrorName, getErrorDescription as getPassportErrorDescription, type ImpackRole, type ReliesLogic, type PassportLifecycleStage, type PassportScenario, type PassportConsumerObject, type PassportParticipant } from "./passport-ledger.js";
82
- import { PASSPORT_PUZZLE_VERSION, initPuzzleFromIntent as initPassportPuzzleFromIntent, checkPuzzleCompleteness as checkPassportPuzzleCompleteness, validateConstraints as validatePassportConstraints, generateConfirmationText as generatePassportPuzzleConfirmationText, buildResultPuzzle as buildPassportResultPuzzle, buildDefaultVerifyFlow as buildDefaultPassportVerifyFlow, buildDefaultLifecycleStages as buildDefaultPassportLifecycleStages, buildPassportPuzzle, type PassportIntentPuzzle, type PassportBindingPuzzle, type SubmissionEntry as PassportSubmissionEntry, type PassportSubmissionPuzzle, type PassportVerifyPuzzle, type PassportResultPuzzle, type PassportLifecyclePuzzle, type PassportPuzzleDimension, type PassportPuzzle, type PassportPuzzleCompleteness, type InitPuzzleInput as PassportInitPuzzleInput, type PassportConstraintViolation } from "./passport-puzzle.js";
83
- import { PASSPORT_RISK_VERSION, assessPassportRisks, getAllRiskRules as getAllPassportRiskRules, getRiskRulesCount as getPassportRiskRulesCount, getRiskRulesByCategory as getPassportRiskRulesByCategory, type PassportRiskLevel, type PassportRiskCategory, type PassportStakeholder, type PassportRisk, type PassportRiskRule, type PassportRiskCheckContext, type PassportRiskAssessment } from "./passport-risk.js";
84
- import { PASSPORT_CONFIRM_VERSION, PASSPORT_CONFIRMATION_RULES, preCheckPassportCreation, preCheckPassportOperation, checkPassportStateConsistency, runPassportConfirmGate, estimateSubmissionSize, getAllConfirmationRules as getAllPassportConfirmationRules, getConfirmationRulesByLayer as getPassportConfirmationRulesByLayer, getConfirmationRuleById as getPassportConfirmationRuleById, type ConfirmAction as PassportConfirmAction, type ConfirmSeverity as PassportConfirmSeverity, type ConfirmGateStatus as PassportConfirmGateStatus, type PassportConfirmationRule, type CheckResult as PassportCheckResult, type ConfirmGateResult as PassportConfirmGateResult, type DecisionRecord as PassportDecisionRecord, type PassportGuardInfo, type ObjectPassport, type ObjectGuard as PassportObjectGuard, type PassportOperation, type CreationCheckInput as PassportCreationCheckInput, type OperationCheckInput as PassportOperationCheckInput, type ConsistencyCheckInput as PassportConsistencyCheckInput, type ConfirmGateInput as PassportConfirmGateInput } from "./passport-confirm.js";
85
- import { PASSPORT_TRANSLATION_VERSION, SEMANTIC_TO_SCHEMA_RULES as PASSPORT_SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES as PASSPORT_SCHEMA_TO_SEMANTIC_RULES, PASSPORT_CONSTRAINT_RULES, matchSemanticPattern as matchPassportPattern, explainPassport, passportJsonToSemantic, semanticToPassportJson, explainField as explainPassportField, explainOp as explainPassportOp, explainImpack, explainReliesLogic, explainError as explainPassportError, getConstraintsByCategory as getPassportConstraintsByCategory, type SemanticToSchemaRule as PassportSemanticToSchemaRule, type SchemaToSemanticRule as PassportSchemaToSemanticRule, type PassportConstraintRule, type PassportCallData, type SemanticIntent as PassportSemanticIntent } from "./passport-translation.js";
86
57
  import { PASSPORT_TEMPLATES, PASSPORT_TEMPLATES_VERSION, getAllTemplates as getAllPassportTemplates, getTemplateById as getPassportTemplateById, getTemplatesByScenario as getPassportTemplatesByScenario, getTemplatesByIndustry as getPassportTemplatesByIndustry, suggestTemplateForScenario as suggestPassportTemplateForScenario, listTemplates as listPassportTemplates, fillTemplate as fillPassportTemplate, type TemplateParamType as PassportTemplateParamType, type PassportTemplateParam, type PassportTemplate } from "./passport-templates.js";
87
- import { PASSPORT_CONTEXT_VERSION, buildPassportContext, getPassportContext, buildPromptFromPassportContext, getPassportContextSummary, type PassportContextBundle, type PassportInjectionMode, type PassportStakeholderPerspective, type PassportCrossObjectRef, type PassportOnchainConstraint, type PassportRenderingHints, type BuildPassportContextInput } from "./passport-context.js";
88
58
  import { PROOF_RISK_RULES, checkProofRisks, getProofRiskById, type ProofRiskLevel, type ProofRiskCategory, type ProofStakeholder, type ProofRisk, type ProofRiskCheckContext } from "./proof-risk.js";
89
- import { preCheckProofCreation, canCreateProof, formatProofCreationSummary, type ConfirmSeverity as ProofConfirmSeverity, type ProofConfirmItem, type ProofCreationCheckInput } from "./proof-confirm.js";
90
- import { SEMANTIC_TO_PROOF_SCHEMA_RULES, PROOF_FIELD_TRANSLATIONS, PROOF_CONSTRAINT_RULES, explainProof, type SemanticToProofSchemaRule, type ProofFieldTranslation, type ProofConstraintRule, type ProofExplainInput, type ProofExplanation } from "./proof-translation.js";
91
59
  import { REPOSITORY_RISK_RULES, checkRepositoryRisks, getRepositoryRiskById, parseIdFromForRiskCheck, type RepositoryRiskLevel, type RepositoryRiskCategory, type RepositoryStakeholder, type RepositoryRisk, type RepositoryRiskCheckContext } from "./repository-risk.js";
92
- import { preCheckRepositoryOp, canProceedRepositoryOp, formatRepositoryOpSummary, type ConfirmSeverity as RepositoryConfirmSeverity, type RepositoryConfirmItem, type RepositoryPolicyInput as RepositoryConfirmPolicyInput, type RepositoryOpCheckInput } from "./repository-confirm.js";
93
- import { SEMANTIC_TO_REPOSITORY_SCHEMA_RULES, REPOSITORY_FIELD_TRANSLATIONS, REPOSITORY_CONSTRAINT_RULES, explainRepository, type SemanticToRepositorySchemaRule, type RepositoryFieldTranslation, type RepositoryConstraintRule, type RepositoryPolicyInput as RepositoryTranslationPolicyInput, type RepositoryExplainInput, type RepositoryExplanation } from "./repository-translation.js";
94
60
  import { DEMAND_RISK_RULES, checkDemandRisks, getDemandRiskById, type DemandRiskLevel, type DemandRiskCategory, type DemandStakeholder, type DemandRisk, type DemandRiskCheckContext } from "./demand-risk.js";
95
- import { preCheckDemandCreation, canCreateDemand, formatDemandCreationSummary, type ConfirmSeverity as DemandConfirmSeverity, type DemandConfirmItem, type DemandCreationCheckInput } from "./demand-confirm.js";
96
- import { SEMANTIC_TO_DEMAND_SCHEMA_RULES, DEMAND_FIELD_TRANSLATIONS, DEMAND_CONSTRAINT_RULES, explainDemand, type SemanticToDemandSchemaRule, type DemandFieldTranslation, type DemandConstraintRule, type DemandExplainInput, type DemandExplanation } from "./demand-translation.js";
97
61
  import { CONTACT_RISK_RULES, CONTACT_RISK_VERSION, checkContactRisks, getContactRiskById, type ContactRiskLevel, type ContactRiskCategory, type ContactStakeholder, type ContactRisk, type ContactRiskCheckContext } from "./contact-risk.js";
98
62
  import { RESOURCE_RISK_RULES, RESOURCE_RISK_VERSION, checkResourceRisks, getResourceRiskById, type ResourceRiskLevel, type ResourceRiskCategory, type ResourceStakeholder, type ResourceRisk, type ResourceRiskCheckContext } from "./resource-risk.js";
99
63
  import { PAYMENT_RISK_RULES, PAYMENT_RISK_VERSION, checkPaymentRisks, getPaymentRiskById, type PaymentRiskLevel, type PaymentRiskCategory, type PaymentStakeholder, type PaymentRisk, type PaymentRiskCheckContext } from "./payment-risk.js";
@@ -105,12 +69,8 @@ import { BRIDGE_RISK_RULES, BRIDGE_RISK_VERSION, checkBridgeRisks, getBridgeRisk
105
69
  import { TOOLS_REFERENCE, getToolReference, searchToolReference, getToolSequence, type ToolReferenceEntry } from "./tools-reference.js";
106
70
  import { SCENARIO_MODES, SCENARIO_MODES_VERSION, MODE_COMPOSITIONS, matchScenarioMode, inferScenarioTraits, getScenarioMode, listScenarioModes, getShippedModes, getModeCompositions, type IndustryModeName, type ScenarioTraits, type ModeAllocatorStrategy, type ModeGuardRef, type ModeMachineNode, type ScenarioMode, type ModeComposition } from "./scenario-modes.js";
107
71
  import { GUARD_DESIGN_PATTERNS, GUARD_DESIGN_PATTERNS_VERSION, VERIFIER_LEVEL_GUIDANCE, getGuardDesignPattern, searchGuardDesignPatterns, getPatternsByHost, getPatternsByIndustry, getPatternsByDataSourceClass, getVerifierLevelGuidance, suggestPatternForRequirement, type GuardDataSourceClass, type VerifierConstraintLevel, type GuardHostObject, type GuardDesignPattern, type VerifierLevelGuidance } from "./guard-design-patterns.js";
108
- import { GUARD_BYTECODE_SPEC_VERSION, VALUE_TYPE_BYTES, OPCODE_SPECS, QUERY_REGISTRY, QUERY_BANDS, GUARD_LIMITS, SERIALIZATION, COMMON_MOVE_MISALIGNED, getQueryById, queriesByObject, queryByName, opcodeByByte, opcodeByName, isValueTypeByte, isNumberTypeByte, type OpcodeSpec, type QuerySpec, type QueryBand } from "./guard-bytecode-spec.js";
109
- export { suggestGuardForMessenger, type MessengerGuardSuggestion, } from "./messenger-guard-guidance.js";
110
- export { CONCEPT_GLOSSARY, CONCEPT_GLOSSARY_VERSION, resolveTerm, lookupEntry, validateText, auditSchemaFields, type GlossaryEntry, type GlossaryCategory, type GlossaryDrift, };
111
72
  export { CONFIRMATION_RULES, SAFETY_RULES_VERSION, OBJECT_REUSE_RULES, CREATE_VS_MODIFY_PATTERN, IMMUTABILITY_RULES, OPERATION_TYPE_CLASSIFICATION, OPERATION_CLASS_META, classifyTool, NAMING_CONVENTIONS, checkObjectReuseRules, checkImmutabilityRules, type ConfirmationRule, type OperationPreview, type ConfirmLevel, type ReuseRecommendation, type ObjectReuseRule, type ImmutabilityRule, type OperationClass, type OperationClassMeta, type SafetyRiskItem, };
112
73
  export { TOOL_CONSTRAINTS, TOOL_CONSTRAINTS_VERSION, validateOperation, hasBlockingViolations, getWarningViolations, type ConstraintSeverity, type FieldConstraint, type OperationConstraint, type ConstraintViolation, };
113
- export { PERMISSION_TYPES, GAME_ELEMENTS, getPermissionType, getGameElement, getGameElementsByType, PROCESS_MODEL_VERSION, type PermissionScope, type PermissionTypeDef, type GameElementType, type GameElementDef, };
114
74
  export { REWARD_TEMPLATES, REWARD_TEMPLATES_VERSION, getRewardTemplate, listRewardTemplates, suggestRewardTemplate, type RewardTemplateType, type RewardTemplate, };
115
75
  export { AUDIT_RULES, AUDIT_RULES_VERSION, auditService, hasBlockingErrors, getErrors, getWarnings, summarizeFindings, type AuditSeverity, type AuditFinding, type AuditRule, type AuditContext, };
116
76
  export { suggestPricing, MUTABLE_FIELDS, DYNAMIC_PRICING_VERSION, type MarketSignals, type PricingSuggestion, type MutableFieldInfo, };
@@ -120,7 +80,7 @@ export { INDUSTRY_FLYWHEELS, getFlywheelForIndustry, listIndustries, suggestAcqu
120
80
  export { INDUSTRY_REGISTRY_VERSION, getIndustryProfile, listIndustries as listRegistryIndustries, registerIndustry, getIndustryTraits, resolveIndustryName, getRegistrySize, listBuiltinIndustryNames, type IndustryTraits, type IndustryProfile, type IndustrySource, type IndustryEvolutionMeta, type ExtendedIndustry, };
121
81
  export { DEFAULT_TRAITS, inferTraitsFromDescription, synthesizeProfile, findSimilarIndustries, composeIndustries, type TraitInferenceResult, type SimilarIndustryMatch, };
122
82
  export { INDUSTRY_EVOLUTION_THRESHOLDS, aggregateIndustryMetrics, evaluateIndustryHealth, suggestIndustryUpdate, applyIndustryUpdate, runIndustryHealthPipeline, type IndustryMetrics, type OrderRawDataPoint, type IndustryHealthReport, type TraitDrift, type IndustryUpdateSuggestion, };
123
- export { FLYWHEEL_LOOP_VERSION, FLYWHEEL_LOOP_MIN_SIGNALS, EVOLUTION_STATE_VERSION, recordIndustrySignal, updateIndustryCognition, injectEvolutionContext, getIndustryEvolutionStatus, getIndustrySignalCount, getIndustrySignals, listIndustriesWithSignals, getPendingSuggestions, recordDecisionContext, queryDecisionsByIndustry, queryDecisionsByNode, backfillDecisionOutcome, setEvolutionSchedule, getEvolutionSchedule, setIndustryIntent, getIndustryIntent, saveEvolutionState, loadEvolutionState, hasPersistedEvolutionState, type IndustrySignal, type DecisionContext, type CognitionUpdateResult, type EvolutionContext, type IndustryEvolutionStatus, type EvolutionScheduleConfig, type EvolutionScheduleMode, };
83
+ export { FLYWHEEL_LOOP_VERSION, FLYWHEEL_LOOP_MIN_SIGNALS, recordIndustrySignal, updateIndustryCognition, injectEvolutionContext, type IndustrySignal, type CognitionUpdateResult, type EvolutionContext, };
124
84
  export { BUILTIN_INTENT_SPECS, registerIntentProfile, getIntentProfile, listIntents, evaluateIndustryHealthByIntent, suggestIndustryUpdateByIntent, evaluateIndustryHealthMultiIntent, getRoleAdvice, filterSuggestionsByRole, type BusinessIntent, type MetricDimension, type IntentMetricSpec, type IntentSuggestionTrigger, type AdviceRole, };
125
85
  export { GUARD_SCENES, findScene, inferSceneFromAction, getImmutableScenes, getNumericIdentifierScenes, type GuardScene, };
126
86
  export { SEMANTIC_TO_SCHEMA_RULES, SCHEMA_TO_SEMANTIC_RULES, GUARD_CONSTRAINT_RULES, matchSemanticPattern, explainNode, explainWitness, getConstraintsByCategory, type SemanticToSchemaRule, type SchemaToSemanticRule, type GuardConstraintRule, };
@@ -132,85 +92,39 @@ export { SEMANTIC_TO_MACHINE_RULES, MACHINE_CONSTRAINT_RULES, MACHINE_TRANSLATIO
132
92
  export { MACHINE_RISK_RULES, MACHINE_RISK_VERSION, MACHINE_RISK_RULES_COUNT, assessMachineRisks, getMachineRiskRulesByCategory, getRiskRulesBySeverity, getAutoFixableMachineRules, getMachineRiskSummary, getRiskRuleById, type MachineRiskRule, type MachineRiskLevel, type MachineRiskCategory, type MachineRisk, type MachineRiskAssessment, type ProjectContextForRisk, type MachineJsonForRisk, };
133
93
  export { analyzeTopology, identifyTopologyPattern, formatTopologySummary, MACHINE_TOPOLOGY_VERSION, MAX_NODE_COUNT, MAX_NODE_PAIR_COUNT, MAX_FORWARD_COUNT, type MachineTopology, type MachineNode, type MachinePair, type MachineForward, };
134
94
  export { initMachinePuzzleFromIntent, initPuzzleFromTemplate, checkMachinePuzzleCompleteness, recommendMachineNextStep, derivePuzzleFromMachineJson, generateMachineConfirmationText, MACHINE_PUZZLE_VERSION, type MachinePuzzle, type BusinessFlowPuzzle, type NodeDesignPuzzle, type GuardAcceptancePuzzle, type PermissionModelPuzzle, type ThresholdWeightPuzzle, type BranchTopologyPuzzle, type OverallObjectivePuzzle, type RiskAssessmentPuzzle, type NamedOperatorRole, type MachinePuzzleCompleteness, type MachinePuzzleDimension, };
135
- export { PUBLISH_CHECKLIST, CONFIRMATION_QUESTIONS, MACHINE_CONFIRM_VERSION, runStaticChecklist, integrateRiskAssessment, parseUserConfirmation, generateFullConfirmationText, verifyEnvironment, confirmPublish, progressiveCheck, overrideBlockWithReason, prePublishHook, postConfirmationHook, formatBlockError, type ConfirmGateStatus, type ConfirmGateResult, type ChecklistResult, type ChecklistItem, type RiskAssessmentResult, type UserConfirmation, type ConfirmationQuestion, type EnvironmentResult, type DecisionRecord, type MachineJsonForConfirm, type ProjectContextForConfirm, };
136
- export { MACHINE_CONTEXT_VERSION, MACHINE_VERIFICATION_NOTES, injectMachineContext, getMachineKnowledgeSnapshot, suggestWorkflow, buildPromptFromContext, getRelatedGuardScenes, getVerificationNotes, CONTEXT_PRESETS, type ContextInjectionMode, type InjectionOptions, type MachineContextBundle, type MachineContextSnapshot, type WorkflowSuggestion, type GuardBridgeInfo, type VerificationNote, };
137
95
  export { SERVICE_SCENES, SERVICE_LEDGER_VERSION, SERVICE_PERMISSIONS, SERVICE_ORDER_FLOW_STAGES, SERVICE_CROSS_OBJECT_BINDINGS, getServiceScenesByCategory, findServiceSceneById, getServicePermissionByIndex, isServicePermission, getPermissionsByMutability, getImmutablePostPublishPermissions, getLockedByDurationPermissions, inferServiceSceneFromIntent, getAllServiceScenes, getServiceScenesCount, getServicePermissionsCount, getOrderFlowStage, getServiceCrossObjectBindings, type ServiceScene, type ServicePermissionEntry, type ServiceCrossObjectBinding, type ServiceOrderFlowStage, };
138
96
  export { initServicePuzzleFromIntent, checkServicePuzzleCompleteness, validateServiceConstraints, generateServicePuzzleConfirmationText, initOrderFlowPuzzle, checkOrderFlowCompleteness, type ServicePuzzle, type ServicePuzzleCompleteness, type ServiceIntentPuzzle, type ServiceBindingPuzzle, type ServicePermissionAllocatorPuzzle, type ServiceGuardProtectionPuzzle, type ServiceDisputeHandlingPuzzle, type ServiceConstraintChecklist, type ServiceOrderFlowPuzzle, type ServiceConstraintViolation, type ServicePuzzleDimension, };
139
97
  export { SERVICE_RISK_VERSION, assessServiceRisks, getAllServiceRiskRules, getServiceRiskRulesCount, getServiceRiskRulesByCategory, type ServiceRisk, type ServiceRiskAssessment, type ServiceStakeholder, type ServiceRiskLevel, type ServiceRiskCategory, type ServiceRiskRule, type ServiceRiskCheckContext, };
140
- export { SERVICE_TRANSLATION_VERSION, SERVICE_SEMANTIC_TO_SCHEMA_RULES, SERVICE_SCHEMA_TO_SEMANTIC_RULES, SERVICE_CONSTRAINT_RULES, matchServicePattern, explainServiceCallData, explainServicePermissionIndex, explainServiceField, explainServiceOp, getServiceConstraintsByCategory, type ServiceSemanticToSchemaRule, type ServiceSchemaToSemanticRule, type ServiceConstraintRule, };
141
98
  export { SERVICE_TEMPLATES, SERVICE_TEMPLATES_VERSION, getServiceTemplateById, getServiceTemplatesByScene, getServiceTemplatesByIndustry, suggestServiceTemplateForScene, listServiceTemplates, fillServiceTemplate, getAllServiceTemplates, type ServiceTemplate, type ServiceTemplateParam, type FillServiceTemplateResult, };
142
- export { SERVICE_CONFIRM_VERSION, SERVICE_PUBLISH_CHECKLIST, SERVICE_CONFIRMATION_QUESTIONS, runServiceConfirmGate, progressiveServiceCheck, type ServiceConfirmGateResult, type ServiceConfirmGateStatus, type ServiceConfirmGateInput, type ServiceJsonForConfirm, type ServiceChecklistResult, type ServiceChecklistItem, type ServiceUserConfirmation, type ServiceConfirmationQuestion, type ServiceConfirmationResponse, type ServiceEnvironmentResult, type ServiceDecisionRecord, type ServiceProgressiveCheckResult, };
143
- export { SERVICE_CONTEXT_VERSION, buildServiceContext, buildPromptFromServiceContext, getServiceContextSummary, type ServiceContextBundle, type ServiceInjectionMode, type ServiceStakeholderPerspective, type ServiceCrossObjectRef, type ServiceOnchainConstraint, type ServiceRenderingHints, type BuildServiceContextInput, };
144
99
  export { ALLOCATION_SCENES, ALLOCATION_LEDGER_VERSION, MAX_ALLOCATOR_COUNT, ALLOCATION_MAX_SHARING_COUNT, ALLOCATION_MODE_AMOUNT, ALLOCATION_MODE_RATE, ALLOCATION_MODE_SURPLUS, RATE_TOTAL_FULL, ALLOCATION_ERROR_CODES, getAllocationScenesByTriggerSource, getAllocationScenesByMode, getAllocationScenesByStrategy, findAllocationSceneById, inferAllocationSceneFromIntent, getAllAllocationScenes, getAllocationScenesCount, allocationModeToNumber, allocationModeFromNumber, getRecipientType, isSignerRecipient, isEntityRecipient, isGuardIdentifierRecipient, getAllocationErrorName, getAllocationErrorDescription, type AllocationScene, type AllocationMode, type TriggerSource, type RecipientType, type Recipient, };
145
100
  export { initAllocationPuzzleFromIntent, checkAllocationPuzzleCompleteness, validateAllocationConstraints, generateAllocationPuzzleConfirmationText, buildDefaultAllocFlow, buildDefaultRecipientRules, buildDefaultLogicPuzzle, ALLOCATION_PUZZLE_VERSION, type AllocationPuzzle, type AllocationPuzzleCompleteness, type AllocationIntentPuzzle, type AllocationBindingPuzzle, type AllocatorConfig, type AllocatorsConfig, type PaymentInfoConfig, type AllocationDataSourcePuzzle, type AllocationOperation, type AllocationOperationPuzzle, type AllocationLogicPuzzle, type AllocationConstraintChecklist, type AllocationPuzzleDimension, type AllocationConstraintViolation, };
146
101
  export { ALLOCATION_RISK_VERSION, assessAllocationRisks, getAllAllocationRiskRules, getAllocationRiskRulesCount, getAllocationRiskRulesByCategory, type AllocationRisk, type AllocationRiskAssessment, type AllocationStakeholder, type AllocationRiskLevel, type AllocationRiskCategory, type AllocationRiskRule, type AllocationRiskCheckContext, };
147
- export { ALLOCATION_TRANSLATION_VERSION, ALLOCATION_SEMANTIC_TO_SCHEMA_RULES, ALLOCATION_SCHEMA_TO_SEMANTIC_RULES, ALLOCATION_CONSTRAINT_RULES, matchAllocationPattern, explainAllocationCallData, explainAllocationField, explainAllocationOp, explainAllocationMode, explainAllocationRecipient, getAllocationConstraintsByCategory, explainAllocationError, type AllocationSemanticToSchemaRule, type AllocationSchemaToSemanticRule, type AllocationConstraintRule, type AllocationCallData, };
148
102
  export { ALLOCATION_TEMPLATES, ALLOCATION_TEMPLATES_VERSION, getAllAllocationTemplates, getAllocationTemplateById, getAllocationTemplatesByScene, getAllocationTemplatesByIndustry, suggestAllocationTemplateForScene, listAllocationTemplates, fillAllocationTemplate, type AllocationTemplate, type AllocationTemplateParam, type AllocationTemplateParamType, };
149
- export { ALLOCATION_CONFIRM_VERSION, ALLOCATION_PUBLISH_CHECKLIST, ALLOCATION_CONFIRMATION_QUESTIONS, runAllocationConfirmGate, progressiveAllocationCheck, type AllocationConfirmGateResult, type AllocationConfirmGateStatus, type AllocationConfirmGateInput, type AllocationChecklistResult, type AllocationChecklistItem, type AllocationUserConfirmation, type AllocationConfirmationQuestion, type AllocationConfirmationResponse, type AllocationEnvironmentResult, type AllocationDecisionRecord, type AllocationJsonForConfirm, type AllocationProgressiveCheckResult, };
150
- export { ALLOCATION_CONTEXT_VERSION, buildAllocationContext, buildPromptFromAllocationContext, getAllocationContextSummary, type AllocationContextBundle, type AllocationInjectionMode, type AllocationStakeholderPerspective, type AllocationCrossObjectRef, type AllocationOnchainConstraint, type AllocationRenderingHints, type BuildAllocationContextInput, };
151
103
  export { TREASURY_LEDGER_VERSION, TREASURY_SCENES, TREASURY_BUILTIN_PERMISSIONS, getTreasuryScenesByHostObject, findTreasurySceneById, findTreasurySceneByPermissionIndex, getTreasuryBuiltinPermissionByIndex, isBuiltinTreasuryPermission, getActiveTreasuryBuiltinPermissions, getReservedTreasuryBuiltinPermissions, inferTreasurySceneFromIntent, getTreasuryScenesCount, getTreasuryMoveFunctionsForPermissionIndex, type TreasuryScene, type BuiltinTreasuryPermissionEntry, };
152
104
  export { initTreasuryPuzzleFromIntent, checkTreasuryPuzzleCompleteness, validateTreasuryConstraints, generateTreasuryPuzzleConfirmationText, MAX_EXTERNAL_DEPOSIT_GUARD_COUNT, MAX_EXTERNAL_WITHDRAW_GUARD_COUNT, TREASURY_MAX_DESCRIPTION_LENGTH, type TreasuryIntentPuzzle, type TreasuryBindingPuzzle, type TreasuryDataSourcePuzzle, type AmountFromDepositGuardPuzzle, type AmountFromWithdrawGuardPuzzle, type TreasuryOperation, type TreasuryOperationPuzzle, type TreasuryLogicPuzzle, type TreasuryConstraintChecklist, type TreasuryPuzzleDimension, type TreasuryPuzzle, type TreasuryPuzzleCompleteness, type TreasuryConstraintViolation, };
153
- export { TREASURY_TRANSLATION_VERSION, TREASURY_SEMANTIC_TO_SCHEMA_RULES, TREASURY_SCHEMA_TO_SEMANTIC_RULES, TREASURY_CONSTRAINT_RULES, matchTreasuryPattern, explainTreasuryCallData, explainTreasuryField, explainTreasuryOp, explainTreasuryPermissionIndex, getTreasuryConstraintsByCategory, type TreasurySemanticToSchemaRule, type TreasurySchemaToSemanticRule, type TreasuryConstraintRule, type TreasuryCallDataForExplanation, };
154
105
  export { TREASURY_TEMPLATES, TREASURY_TEMPLATES_VERSION, getAllTreasuryTemplates, getTreasuryTemplateById, getTreasuryTemplatesByScene, getTreasuryTemplatesByIndustry, suggestTreasuryTemplateForScene, listTreasuryTemplates, fillTreasuryTemplate, type TreasuryTemplateParamType, type TreasuryTemplateParam, type TreasuryTemplate, };
155
106
  export { TREASURY_RISK_VERSION, assessTreasuryRisks, getAllTreasuryRiskRules, getTreasuryRiskRulesCount, getTreasuryRiskRulesByCategory, type TreasuryRisk, type TreasuryRiskAssessment, type TreasuryRiskLevel, type TreasuryRiskCategory, type TreasuryRiskRule, type TreasuryStakeholder, type TreasuryRiskCheckContext, };
156
- export { TREASURY_CONFIRM_VERSION, TREASURY_PUBLISH_CHECKLIST, TREASURY_CONFIRMATION_QUESTIONS, runTreasuryConfirmGate, progressiveTreasuryCheck, type TreasuryConfirmGateResult, type TreasuryConfirmGateStatus, type TreasuryChecklistResult, type TreasuryChecklistItem, type TreasuryUserConfirmation, type TreasuryConfirmationQuestion, type TreasuryConfirmationResponse, type TreasuryEnvironmentResult, type TreasuryDecisionRecord, type TreasuryJsonForConfirm, type TreasuryConfirmGateInput, type ProgressiveTreasuryCheckResult, };
157
- export { TREASURY_CONTEXT_VERSION, buildTreasuryContext, buildPromptFromTreasuryContext, getTreasuryContextSummary, type TreasuryContextBundle, type TreasuryInjectionMode, type TreasuryStakeholderPerspective, type TreasuryCrossObjectRef, type TreasuryOnchainConstraint, type TreasuryRenderingHints, type BuildTreasuryContextInput, };
158
107
  export { ORDER_LEDGER_VERSION, ORDER_SCENES, ORDER_FIELDS, ORDER_STATES, ORDER_STATE_TRANSITIONS, ORDER_LIFECYCLE_EVENTS, ORDER_PERMISSION_MATRIX, ORDER_AUDIT_FORMULAS, getOrderScenesByOperationField, findOrderSceneById, findOrderSceneByMoveEntry, getOrderScenesByPermissionLayer, getOrderScenesByReversibility, getOrderFieldDef, getOrderMutableFields, getOrderImmutableFields, getOrderFrozenAfterProgressFields, getOrderOneTimeSetFields, inferOrderSceneFromIntent, getOrderEmittedEvents, getOrderInferredEvents, getOrderScenesCount, sdkToMoveOrderField, moveToSdkOrderField, type OrderScene, type OrderPermissionLayer, type OrderReversibility, type OrderFieldDef, type OrderState, type OrderLifecycleEvent, };
159
108
  export { initOrderPuzzleFromIntent, checkOrderPuzzleCompleteness, validateOrderConstraints, generateOrderPuzzleConfirmationText, verifyOrderSnapshotMechanism, inferOrderLifecyclePhase, matchOrderSceneFromPuzzle, listAllOrderScenes, lookupOrderScene, type OrderIntentPuzzle, type OrderBindingPuzzle, type OrderDataSourcePuzzle, type OrderOperation, type OrderOperationPuzzle, type OrderLogicPuzzle, type OrderConstraintChecklist, type OrderPuzzleDimension, type OrderPuzzle, type OrderPuzzleCompleteness, type OrderConstraintViolation, };
160
- export { ORDER_TRANSLATION_VERSION, ORDER_SEMANTIC_TO_SCHEMA_RULES, ORDER_SCHEMA_TO_SEMANTIC_RULES, ORDER_CONSTRAINT_RULES, matchOrderPattern, explainOrderCallData, explainOrderField, explainOrderOp, explainOrderError, getOrderConstraintsByCategory, explainOrderPermissionLayer, resolveOrderFieldName, matchOrderSceneFromOperation, explainOrderIntent, type OrderSemanticToSchemaRule, type OrderSchemaToSemanticRule, type OrderConstraintRule, type OrderCallData, };
161
109
  export { ORDER_TEMPLATES, ORDER_TEMPLATES_VERSION, ORDER_TEMPLATES_COUNT, getAllOrderTemplates, getOrderTemplateById, getOrderTemplatesByScene, getOrderTemplatesByIndustry, getOrderTemplatesByPermissionLayer, getIrreversibleOrderTemplates, suggestOrderTemplateForScene, listOrderTemplates, fillOrderTemplate, suggestOrderTemplateFromIntent, getOrderTemplateParameters, validateOrderTemplateParams, type OrderTemplateParamType, type OrderTemplateParam, type OrderTemplate, type FillOrderTemplateResult, };
162
110
  export { ORDER_RISK_VERSION, assessOrderRisks, getAllOrderRiskRules, getOrderRiskRulesCount, getOrderRiskRulesByCategory, getOrderRiskRuleById, checkOrderPermissionLayer, type OrderRisk, type OrderRiskAssessment, type OrderRiskLevel, type OrderRiskCategory, type OrderRiskRule, type OrderStakeholder, type OrderRiskCheckContext, };
163
- export { ORDER_CONFIRM_VERSION, ORDER_PUBLISH_CHECKLIST, ORDER_CONFIRMATION_QUESTIONS, runOrderConfirmGate, progressiveOrderCheck, type OrderConfirmGateResult, type OrderConfirmGateStatus, type OrderChecklistResult, type OrderChecklistItem, type OrderUserConfirmation, type OrderConfirmationQuestion, type OrderConfirmationResponse, type OrderEnvironmentResult, type OrderDecisionRecord, type OrderJsonForConfirm, type OrderConfirmGateInput, type OrderProgressiveCheckResult, };
164
- export { ORDER_CONTEXT_VERSION, buildOrderContext, buildPromptFromOrderContext, getOrderContextSummary, getOrderStakeholderAdvice, type OrderContextBundle, type OrderInjectionMode, type OrderStakeholderPerspective, type OrderCrossObjectRef, type OrderOnchainConstraint, type OrderRenderingHints, type BuildOrderContextInput, };
165
111
  export { PROGRESS_LEDGER_VERSION, PROGRESS_SCENES, PROGRESS_BUILTIN_PERMISSIONS, PROGRESS_NEW, PROGRESS_NAMED_OPERATOR, PROGRESS_TASK, PROGRESS_CONTEXT_REPOSITORY, PROGRESS_UNHOLD, PROGRESS_OWNER_RECEIVE, PROGRESS_CROSS_OBJECT_REFS, getProgressScenesByPhase, findProgressSceneById, getProgressScenesByIndustry, getProgressBuiltinPermissionByIndex, isProgressBuiltinPermission, inferProgressSceneFromIntent, getAllProgressBuiltinPermissions, getProgressScenesCount, validateNamedOperatorAddressList, validateNamedOperatorCount, validateContextRepositoryCount, type ProgressPhase, type ProgressBuiltinPermissionEntry, type ProgressScene, };
166
112
  export { initProgressPuzzleFromIntent, checkProgressPuzzleCompleteness, validateProgressConstraints, generateProgressPuzzleConfirmationText, resolveProgressBuiltinPermission, isOrderHolderForward, getProgressRelevantDimensions, type ProgressIntentPuzzle, type ProgressWorkflowPuzzle, type ProgressNamedOperatorPuzzle, type ProgressTaskPuzzle, type ProgressPermissionPuzzle, type ProgressConstraintChecklist, type ProgressPuzzleDimension, type ProgressPuzzle, type ProgressPuzzleCompleteness, type ProgressConstraintViolation, };
167
- export { PROGRESS_TRANSLATION_VERSION, PROGRESS_SEMANTIC_TO_SCHEMA_RULES, PROGRESS_SCHEMA_TO_SEMANTIC_RULES, PROGRESS_CONSTRAINT_RULES, matchProgressPattern, explainProgressCallData, explainProgressField, explainProgressOp, getProgressConstraintsByCategory, explainProgressPermissionIndex, type ProgressSemanticToSchemaRule, type ProgressSchemaToSemanticRule, type ProgressConstraintRule, type ProgressCallDataForExplanation, };
168
113
  export { PROGRESS_TEMPLATES, PROGRESS_TEMPLATES_VERSION, getAllProgressTemplates, getProgressTemplateById, getProgressTemplatesByScene, getProgressTemplatesByIndustry, suggestProgressTemplateForScene, listProgressTemplates, fillProgressTemplate, type ProgressTemplateParamType, type ProgressTemplateParam, type ProgressTemplate, };
169
114
  export { PROGRESS_RISK_VERSION, assessProgressRisks, getAllProgressRiskRules, getProgressRiskRulesCount, getProgressRiskRulesByCategory, type ProgressRisk, type ProgressRiskAssessment, type ProgressRiskLevel, type ProgressRiskCategory, type ProgressRiskRule, type ProgressStakeholder, type ProgressRiskCheckContext, };
170
- export { PROGRESS_CONFIRM_VERSION, PROGRESS_OPERATION_CHECKLIST, PROGRESS_CONFIRMATION_QUESTIONS, runProgressConfirmGate, progressiveProgressCheck, type ProgressConfirmGateResult, type ProgressConfirmGateStatus, type ProgressChecklistResult, type ProgressChecklistItem, type ProgressUserConfirmation, type ProgressConfirmationQuestion, type ProgressConfirmationResponse, type ProgressEnvironmentResult, type ProgressDecisionRecord, type ProgressJsonForConfirm, type ProgressConfirmGateInput, type ProgressiveProgressCheckResult, };
171
- export { PROGRESS_CONTEXT_VERSION, buildProgressContext, buildPromptFromProgressContext, getProgressContextSummary, buildProgressStakeholderContext, quickValidateProgressJson, getProgressKnowledgeSnapshot, type ProgressContextBundle, type ProgressInjectionMode, type ProgressStakeholderPerspective, type ProgressCrossObjectRef, type ProgressOnchainConstraint, type ProgressRenderingHints, type BuildProgressContextInput, };
172
115
  export { ARBITRATION_LEDGER_VERSION, ARBITRATION_SCENES, ARBITRATION_BUILTIN_PERMISSIONS, ARB_STATUS_CODE, ARB_TERMINAL_STATUSES, ARB_STATUS_ALIASES, DUAL_GUARD_MATRIX, getArbitrationScenesByCategory, findArbitrationSceneById, findArbitrationSceneByPermissionIndex, getArbitrationPermissionByIndex, getArbitrationPermissionByName, isArbitrationReservedIndex, isArbitrationUsedPermissionIndex, getArbitrationActivePermissionCount, inferArbitrationSceneFromIntent, getDualGuardMatrixEntry, isValidArbStatusTransition, isTerminalArbStatus, getArbitrationScenesProducingStatus, getArbitrationScenesRequiringStatus, getArbitrationScenesCount, getAllArbitrationPermissions, getActiveArbitrationPermissions, type ArbitrationScene, type ArbStatus, type ArbitrationPermissionEntry, type VotingGuardEntry, type DualGuardMatrix, };
173
116
  export { initArbitrationPuzzleFromIntent, checkArbitrationPuzzleCompleteness, validateArbitrationConstraints, generateArbitrationPuzzleConfirmationText, type ArbitrationIntentPuzzle, type ArbitrationConfigPuzzle, type VotingGuardPuzzle, type UsageGuardPuzzle, type ArbiterConfigPuzzle, type ArbitrationConstraintChecklist, type ArbitrationPuzzleDimension, type ArbitrationPuzzle, type ArbitrationPuzzleCompleteness, type ArbitrationConstraintViolation, };
174
- export { ARBITRATION_TRANSLATION_VERSION, ARBITRATION_SEMANTIC_TO_SCHEMA_RULES, ARBITRATION_SCHEMA_TO_SEMANTIC_RULES, ARBITRATION_CONSTRAINT_RULES, matchArbitrationPattern, explainArbitrationCallData, explainArbitrationField, explainArbitrationOp, explainArbitrationStatus, getArbitrationConstraintsByCategory, explainArbitrationPermissionIndex, explainArbStatus, type ArbitrationSemanticToSchemaRule, type ArbitrationSchemaToSemanticRule, type ArbitrationConstraintRule, };
175
117
  export { ARBITRATION_TEMPLATES, ARBITRATION_TEMPLATES_VERSION, getAllArbitrationTemplates, getArbitrationTemplateById, getArbitrationTemplatesByScene, getArbitrationTemplatesByIndustry, suggestArbitrationTemplateForScene, listArbitrationTemplates, fillArbitrationTemplate, type ArbitrationTemplateParamType, type ArbitrationTemplateParam, type ArbitrationTemplate, };
176
118
  export { ARBITRATION_RISK_VERSION, assessArbitrationRisks, getAllArbitrationRiskRules, getArbitrationRiskRulesCount, getArbitrationRiskRulesByCategory, type ArbitrationRisk, type ArbitrationRiskAssessment, type ArbitrationRiskLevel, type ArbitrationRiskCategory, type ArbitrationRiskRule, type ArbitrationStakeholder, type ArbitrationRiskCheckContext, };
177
- export { ARBITRATION_CONFIRM_VERSION, ARBITRATION_OPERATION_CHECKLIST, ARBITRATION_CONFIRMATION_QUESTIONS, runArbitrationConfirmGate, progressiveArbitrationCheck, type ArbitrationConfirmGateResult, type ArbitrationConfirmGateStatus, type ArbitrationChecklistResult, type ArbitrationChecklistItem, type ArbitrationUserConfirmation, type ArbitrationConfirmationQuestion, type ArbitrationConfirmationResponse, type ArbitrationEnvironmentResult, type ArbitrationDecisionRecord, type ArbitrationJsonForConfirm, type ArbitrationConfirmGateInput, type ProgressiveArbitrationCheckResult, };
178
- export { ARBITRATION_CONTEXT_VERSION, buildArbitrationContext, buildPromptFromArbitrationContext, getArbitrationContextSummary, type ArbitrationContextBundle, type ArbitrationInjectionMode, type ArbitrationStakeholderPerspective, type ArbLifecycleContext, type ArbitrationCrossObjectRef, type ArbitrationOnchainConstraint, type ArbitrationRenderingHints, type BuildArbitrationContextInput, };
179
119
  export { REWARD_LEDGER_VERSION, REWARD_SCENES, REWARD_PERMISSIONS, REWARD_FIELDS, REWARD_GUARD_CONSTRUCTORS, REWARD_ERROR_CODES, REWARD_CROSS_OBJECT_REFS, MAX_GUARD_COUNT_REWARD, MAX_RECORD_COUNT_REWARD, getRewardScenesByPhase, findRewardSceneById, getRewardScenesByIndustry, getRewardBuiltinPermissionByIndex, isRewardBuiltinPermission, getAllRewardBuiltinPermissions, getRewardScenesCount, getRewardGuardConstructorSpec, resolveRewardGuardConstructor, getRewardErrorByCode, getRewardErrorByName, validateRewardGuardCount, validateRewardRecordCount, inferRewardSceneFromIntent, type RewardPhase, type RewardBuiltinPermissionEntry, type RewardRecipientType, type RewardAmountType, type RewardGuardConstructor, type RewardGuardConstructorSpec, type RewardScene, type RewardFieldEntry, type RewardErrorCodeEntry, };
180
120
  export { REWARD_FIELD_MUTABILITY, initRewardPuzzleFromIntent, checkRewardPuzzleCompleteness, validateRewardConstraints, generateRewardPuzzleConfirmationText, resolveRewardBuiltinPermission, requiresRewardGuardConfig, requiresRewardPassport, getRewardRelevantDimensions, getRewardFieldMutability, isRewardAdminMutableField, getRewardFieldPermissionIndex, type RewardIntentPuzzle, type RewardConfigPuzzle, type RewardGuardPuzzle, type RewardFundsPuzzle, type RewardPermissionPuzzle, type RewardConstraintChecklist, type RewardPuzzleDimension, type RewardPuzzle, type RewardPuzzleCompleteness, type RewardFieldMutabilityType, type RewardFieldMutabilityEntry, type RewardConstraintViolation, };
181
121
  export { REWARD_RISK_VERSION, REWARD_STAKEHOLDERS, assessRewardRisks, getAllRewardRiskRules, getRewardRiskRulesCount, getRewardRiskRulesByCategory, getRewardRiskRulesByStakeholder, type RewardRisk, type RewardRiskLevel, type RewardRiskCategory, type RewardRiskRule, type RewardStakeholder, type RewardRiskCheckContext, type RewardRiskAssessment, type RewardGuardAddEntry, };
182
- export { REWARD_CONFIRM_VERSION, REWARD_OPERATION_CHECKLIST, REWARD_CONFIRMATION_QUESTIONS, runRewardConfirmGate, progressiveRewardCheck, type RewardConfirmGateResult, type RewardConfirmGateStatus, type RewardChecklistResult, type RewardChecklistItem, type RewardUserConfirmation, type RewardConfirmationQuestion, type RewardConfirmationResponse, type RewardEnvironmentResult, type RewardDecisionRecord, type RewardJsonForConfirm, type RewardConfirmGateInput, type ProgressiveRewardCheckResult, };
183
- export { REWARD_TRANSLATION_VERSION, REWARD_SEMANTIC_TO_SCHEMA_RULES, REWARD_SCHEMA_TO_SEMANTIC_RULES, REWARD_CONSTRAINT_RULES, matchRewardPattern, explainRewardCallData, explainRewardField, explainRewardOp, explainRewardConstructor, getRewardConstraintsByCategory, explainRewardPermissionIndex, type RewardSemanticToSchemaRule, type RewardSchemaToSemanticRule, type RewardConstraintRule, type RewardCallDataForExplanation, };
184
- export { REWARD_CONTEXT_VERSION, buildRewardContext, buildPromptFromRewardContext, getRewardContextSummary, buildRewardStakeholderContext, quickValidateRewardJson, getRewardKnowledgeSnapshot, type RewardContextBundle, type RewardInjectionMode, type RewardStakeholderPerspective, type RewardCrossObjectRef, type RewardOnchainConstraint, type RewardRenderingHints, type BuildRewardContextInput, };
185
122
  export { PASSPORT_LEDGER_VERSION, PASSPORT_ERROR_CODES, PASSPORT_SCENARIOS, MAX_GUARD_COUNT_PASSPORT, MAX_SUBMISSION_SIZE_PASSPORT, getAllPassportScenarios, getPassportScenesCount, findPassportScenarioById, getPassportScenariosByConsumer, getPassportScenariosUsingRelies, inferPassportScenarioFromIntent, impackRoleFromBoolean, impackRoleToBoolean, reliesLogicFromBoolean, reliesLogicToBoolean, getPassportErrorName, getPassportErrorDescription, type ImpackRole, type ReliesLogic, type PassportLifecycleStage, type PassportScenario, type PassportConsumerObject, type PassportParticipant, };
186
- export { PASSPORT_PUZZLE_VERSION, initPassportPuzzleFromIntent, checkPassportPuzzleCompleteness, validatePassportConstraints, generatePassportPuzzleConfirmationText, buildPassportResultPuzzle, buildDefaultPassportVerifyFlow, buildDefaultPassportLifecycleStages, buildPassportPuzzle, type PassportIntentPuzzle, type PassportBindingPuzzle, type PassportSubmissionEntry, type PassportSubmissionPuzzle, type PassportVerifyPuzzle, type PassportResultPuzzle, type PassportLifecyclePuzzle, type PassportPuzzleDimension, type PassportPuzzle, type PassportPuzzleCompleteness, type PassportInitPuzzleInput, type PassportConstraintViolation, };
187
- export { PASSPORT_RISK_VERSION, assessPassportRisks, getAllPassportRiskRules, getPassportRiskRulesCount, getPassportRiskRulesByCategory, type PassportRiskLevel, type PassportRiskCategory, type PassportStakeholder, type PassportRisk, type PassportRiskRule, type PassportRiskCheckContext, type PassportRiskAssessment, };
188
- export { PASSPORT_CONFIRM_VERSION, PASSPORT_CONFIRMATION_RULES, preCheckPassportCreation, preCheckPassportOperation, checkPassportStateConsistency, runPassportConfirmGate, estimateSubmissionSize, getAllPassportConfirmationRules, getPassportConfirmationRulesByLayer, getPassportConfirmationRuleById, type PassportConfirmAction, type PassportConfirmSeverity, type PassportConfirmGateStatus, type PassportConfirmationRule, type PassportCheckResult, type PassportConfirmGateResult, type PassportDecisionRecord, type PassportGuardInfo, type ObjectPassport, type PassportObjectGuard, type PassportOperation, type PassportCreationCheckInput, type PassportOperationCheckInput, type PassportConsistencyCheckInput, type PassportConfirmGateInput, };
189
- export { PASSPORT_TRANSLATION_VERSION, PASSPORT_SEMANTIC_TO_SCHEMA_RULES, PASSPORT_SCHEMA_TO_SEMANTIC_RULES, PASSPORT_CONSTRAINT_RULES, matchPassportPattern, explainPassport, passportJsonToSemantic, semanticToPassportJson, explainPassportField, explainPassportOp, explainImpack, explainReliesLogic, explainPassportError, getPassportConstraintsByCategory, type PassportSemanticToSchemaRule, type PassportSchemaToSemanticRule, type PassportConstraintRule, type PassportCallData, type PassportSemanticIntent, };
190
123
  export { PASSPORT_TEMPLATES, PASSPORT_TEMPLATES_VERSION, getAllPassportTemplates, getPassportTemplateById, getPassportTemplatesByScenario, getPassportTemplatesByIndustry, suggestPassportTemplateForScenario, listPassportTemplates, fillPassportTemplate, type PassportTemplateParamType, type PassportTemplateParam, type PassportTemplate, };
191
- export { PASSPORT_CONTEXT_VERSION, buildPassportContext, getPassportContext, buildPromptFromPassportContext, getPassportContextSummary, type PassportContextBundle, type PassportInjectionMode, type PassportStakeholderPerspective, type PassportCrossObjectRef, type PassportOnchainConstraint, type PassportRenderingHints, type BuildPassportContextInput, };
192
124
  export { PROOF_RISK_RULES, checkProofRisks, getProofRiskById, type ProofRiskLevel, type ProofRiskCategory, type ProofStakeholder, type ProofRisk, type ProofRiskCheckContext, };
193
- export { preCheckProofCreation, canCreateProof, formatProofCreationSummary, type ProofConfirmSeverity, type ProofConfirmItem, type ProofCreationCheckInput, };
194
- export { SEMANTIC_TO_PROOF_SCHEMA_RULES, PROOF_FIELD_TRANSLATIONS, PROOF_CONSTRAINT_RULES, explainProof, type SemanticToProofSchemaRule, type ProofFieldTranslation, type ProofConstraintRule, type ProofExplainInput, type ProofExplanation, };
195
- export { PROOF_LEDGER_VERSION, PROOF_FIELDS, PROOF_ERROR_CODES, PROOF_SCENES, getProofField, getProofFieldsCount, getProofErrorByCode, getProofErrorByValue, getProofSceneByType, inferProofSceneFromIntent, type ProofFieldMutability, type ProofFieldEntry, type ProofErrorEntry, type ProofSceneClassification, type ProofScene, } from "./proof-ledger.js";
196
- export { PROOF_PUZZLE_VERSION, initProofPuzzleFromIntent, checkProofPuzzleCompleteness, generateProofConfirmationText, type ProofPuzzleDimension, type ProofIntentPuzzle, type ProofFieldState, type ProofPuzzle, type ProofPuzzleCompleteness, type InitProofPuzzleInput, } from "./proof-puzzle.js";
197
- export { PROOF_TEMPLATES_VERSION, PROOF_TEMPLATES, getProofTemplateById, getProofTemplatesByScene, suggestProofTemplateForScene, listProofTemplates, type ProofTemplateParamType, type ProofTemplateParam, type ProofTemplate, } from "./proof-templates.js";
198
- export { PROOF_CONTEXT_VERSION, buildProofContext, getProofContextSummary, isWtsProof, type ProofContextBundle, type BuildProofContextInput, } from "./proof-context.js";
199
125
  export { REPOSITORY_RISK_RULES, checkRepositoryRisks, getRepositoryRiskById, parseIdFromForRiskCheck, type RepositoryRiskLevel, type RepositoryRiskCategory, type RepositoryStakeholder, type RepositoryRisk, type RepositoryRiskCheckContext, };
200
- export { preCheckRepositoryOp, canProceedRepositoryOp, formatRepositoryOpSummary, type RepositoryConfirmSeverity, type RepositoryConfirmItem, type RepositoryConfirmPolicyInput, type RepositoryOpCheckInput, };
201
- export { SEMANTIC_TO_REPOSITORY_SCHEMA_RULES, REPOSITORY_FIELD_TRANSLATIONS, REPOSITORY_CONSTRAINT_RULES, explainRepository, type SemanticToRepositorySchemaRule, type RepositoryFieldTranslation, type RepositoryConstraintRule, type RepositoryTranslationPolicyInput, type RepositoryExplainInput, type RepositoryExplanation, };
202
- export { REPOSITORY_LEDGER_VERSION, REPOSITORY_ID_FROM, REPOSITORY_POLICY_FIELDS, REPOSITORY_ERROR_CODES, getRepositoryIdFrom, getRepositoryErrorByCode, getRepositoryErrorByValue, getRepositoryErrorsCount, type RepositoryIdFromMode, type RepositoryIdFromEntry, type RepositoryFieldEntry, type RepositoryErrorEntry, } from "./repository-ledger.js";
203
- export { REPOSITORY_PUZZLE_VERSION, initRepositoryPuzzleFromIntent, checkRepositoryPuzzleCompleteness, type RepositoryIntentPuzzle, type RepositoryFieldState, type RepositoryPuzzle, type RepositoryPuzzleCompleteness, type InitRepositoryPuzzleInput, } from "./repository-puzzle.js";
204
- export { REPOSITORY_TEMPLATES_VERSION, REPOSITORY_TEMPLATES, getRepositoryTemplateById, listRepositoryTemplates, suggestRepositoryTemplateForMode, type RepositoryTemplate, } from "./repository-templates.js";
205
- export { REPOSITORY_CONTEXT_VERSION, buildRepositoryContext, getRepositoryContextSummary, type RepositoryContextBundle, type BuildRepositoryContextInput, } from "./repository-context.js";
206
126
  export { assessEvidenceReview, reviewEvidenceList, type EvidenceKind, type EvidenceItem, type EvidenceListResult, type EvidenceReviewInput, type EvidenceReviewResult, type ProofCandidate, type ReviewedEvidence, } from "./evidence-review.js";
207
127
  export { DEMAND_RISK_RULES, checkDemandRisks, getDemandRiskById, type DemandRiskLevel, type DemandRiskCategory, type DemandStakeholder, type DemandRisk, type DemandRiskCheckContext, };
208
- export { preCheckDemandCreation, canCreateDemand, formatDemandCreationSummary, type DemandConfirmSeverity, type DemandConfirmItem, type DemandCreationCheckInput, };
209
- export { SEMANTIC_TO_DEMAND_SCHEMA_RULES, DEMAND_FIELD_TRANSLATIONS, DEMAND_CONSTRAINT_RULES, explainDemand, type SemanticToDemandSchemaRule, type DemandFieldTranslation, type DemandConstraintRule, type DemandExplainInput, type DemandExplanation, };
210
- export { DEMAND_LEDGER_VERSION, DEMAND_SCENES, DEMAND_FIELDS, DEMAND_ERROR_CODES, getDemandField, getDemandErrorByCode, getDemandErrorByValue, getDemandSceneById, inferDemandSceneFromIntent, type DemandSceneClassification, type DemandScene, type DemandFieldEntry, type DemandErrorEntry, } from "./demand-ledger.js";
211
- export { DEMAND_PUZZLE_VERSION, initDemandPuzzleFromIntent, checkDemandPuzzleCompleteness, type DemandIntentPuzzle, type DemandFieldState, type DemandPuzzle, type DemandPuzzleCompleteness, type InitDemandPuzzleInput, } from "./demand-puzzle.js";
212
- export { DEMAND_TEMPLATES_VERSION, DEMAND_TEMPLATES, getDemandTemplateById, listDemandTemplates, suggestDemandTemplate, type DemandTemplate, } from "./demand-templates.js";
213
- export { DEMAND_CONTEXT_VERSION, buildDemandContext, getDemandContextSummary, isRewardedDemand, getDemandSceneByIdSafe, type DemandContextBundle, type BuildDemandContextInput, } from "./demand-context.js";
214
128
  export { CONTACT_RISK_RULES, CONTACT_RISK_VERSION, checkContactRisks, getContactRiskById, type ContactRiskLevel, type ContactRiskCategory, type ContactStakeholder, type ContactRisk, type ContactRiskCheckContext, };
215
129
  export { RESOURCE_RISK_RULES, RESOURCE_RISK_VERSION, checkResourceRisks, getResourceRiskById, type ResourceRiskLevel, type ResourceRiskCategory, type ResourceStakeholder, type ResourceRisk, type ResourceRiskCheckContext, };
216
130
  export { PAYMENT_RISK_RULES, PAYMENT_RISK_VERSION, checkPaymentRisks, getPaymentRiskById, type PaymentRiskLevel, type PaymentRiskCategory, type PaymentStakeholder, type PaymentRisk, type PaymentRiskCheckContext, };
@@ -219,35 +133,13 @@ export { PERSONAL_RISK_RULES, PERSONAL_RISK_VERSION, checkPersonalRisks, getPers
219
133
  export { UTIL_RISK_RULES, UTIL_RISK_VERSION, checkUtilRisks, getUtilRiskById, type UtilRiskLevel, type UtilRiskCategory, type UtilStakeholder, type UtilRisk, type UtilRiskCheckContext, };
220
134
  export { REGISTRAR_RISK_RULES, REGISTRAR_RISK_VERSION, checkRegistrarRisks, getRegistrarRiskById, type RegistrarRiskLevel, type RegistrarRiskCategory, type RegistrarStakeholder, type RegistrarRisk, type RegistrarRiskCheckContext, };
221
135
  export { BRIDGE_RISK_RULES, BRIDGE_RISK_VERSION, checkBridgeRisks, getBridgeRiskById, type BridgeRiskLevel, type BridgeRiskCategory, type BridgeStakeholder, type BridgeRisk, type BridgeRiskCheckContext, };
222
- export { CONTACT_CONFIRM_VERSION, preCheckContactOp, canProceedContactOp, formatContactOpSummary, type ConfirmSeverity as ContactConfirmSeverity, type ContactConfirmItem, type ContactOpCheckInput, } from "./contact-confirm.js";
223
- export { CONTACT_TRANSLATION_VERSION, SEMANTIC_TO_CONTACT_SCHEMA_RULES, CONTACT_FIELD_TRANSLATIONS, CONTACT_CONSTRAINT_RULES, explainContact, type SemanticToContactSchemaRule, type ContactFieldTranslation, type ContactConstraintRule, type ContactExplainInput, type ContactExplanation, } from "./contact-translation.js";
224
- export { PERSONAL_CONFIRM_VERSION, preCheckPersonalOp, canProceedPersonalOp, formatPersonalOpSummary, type ConfirmSeverity as PersonalConfirmSeverity, type PersonalConfirmItem, type PersonalOpCheckInput, } from "./personal-confirm.js";
225
- export { PERSONAL_TRANSLATION_VERSION, SEMANTIC_TO_PERSONAL_SCHEMA_RULES, PERSONAL_FIELD_TRANSLATIONS, PERSONAL_CONSTRAINT_RULES, explainPersonal, type SemanticToPersonalSchemaRule, type PersonalFieldTranslation, type PersonalConstraintRule, type PersonalExplainInput, type PersonalExplanation, } from "./personal-translation.js";
226
- export { RESOURCE_CONFIRM_VERSION, preCheckResourceOp, canProceedResourceOp, formatResourceOpSummary, type ConfirmSeverity as ResourceConfirmSeverity, type ResourceConfirmItem, type ResourceOpCheckInput, } from "./resource-confirm.js";
227
- export { RESOURCE_TRANSLATION_VERSION, SEMANTIC_TO_RESOURCE_SCHEMA_RULES, RESOURCE_FIELD_TRANSLATIONS, RESOURCE_CONSTRAINT_RULES, explainResource, type SemanticToResourceSchemaRule, type ResourceFieldTranslation, type ResourceConstraintRule, type ResourceExplainInput, type ResourceExplanation, } from "./resource-translation.js";
228
- export { PAYMENT_CONFIRM_VERSION, preCheckPaymentCreation, canCreatePayment, formatPaymentCreationSummary, type ConfirmSeverity as PaymentConfirmSeverity, type PaymentConfirmItem, type PaymentCreationCheckInput, } from "./payment-confirm.js";
229
- export { PAYMENT_TRANSLATION_VERSION, SEMANTIC_TO_PAYMENT_SCHEMA_RULES, PAYMENT_FIELD_TRANSLATIONS, PAYMENT_CONSTRAINT_RULES, explainPayment, type SemanticToPaymentSchemaRule, type PaymentFieldTranslation, type PaymentConstraintRule, type PaymentExplainInput, type PaymentExplanation, } from "./payment-translation.js";
230
- export { ARB_CONFIRM_VERSION, preCheckArbOp, canProceedArbOp, formatArbOpSummary, type ConfirmSeverity as ArbConfirmSeverity, type ArbConfirmItem, type ArbOpCheckInput, } from "./arb-confirm.js";
231
- export { ARB_TRANSLATION_VERSION, ARB_STATUS, SEMANTIC_TO_ARB_SCHEMA_RULES, ARB_FIELD_TRANSLATIONS, ARB_CONSTRAINT_RULES, explainArb, type SemanticToArbSchemaRule, type ArbFieldTranslation, type ArbConstraintRule, type ArbExplainInput, type ArbExplanation, } from "./arb-translation.js";
232
- export { UTIL_CONFIRM_VERSION, preCheckUtilCall, canProceedUtilCall, formatUtilCallSummary, type ConfirmSeverity as UtilConfirmSeverity, type UtilConfirmItem, type UtilCallCheckInput, } from "./util-confirm.js";
233
- export { UTIL_TRANSLATION_VERSION, UTIL_ADDRESS_BYTES, SEMANTIC_TO_UTIL_SCHEMA_RULES, UTIL_FIELD_TRANSLATIONS, UTIL_CONSTRAINT_RULES, explainUtil, type SemanticToUtilSchemaRule, type UtilFieldTranslation, type UtilConstraintRule, type UtilExplainInput, type UtilExplanation, } from "./util-translation.js";
234
- export { REGISTRAR_CONFIRM_VERSION, preCheckRegistrarOp, canProceedRegistrarOp, formatRegistrarOpSummary, type ConfirmSeverity as RegistrarConfirmSeverity, type RegistrarConfirmItem, type RegistrarOpCheckInput, } from "./registrar-confirm.js";
235
- export { REGISTRAR_TRANSLATION_VERSION, SEMANTIC_TO_REGISTRAR_SCHEMA_RULES, REGISTRAR_FIELD_TRANSLATIONS, REGISTRAR_CONSTRAINT_RULES, explainRegistrar, type SemanticToRegistrarSchemaRule, type RegistrarFieldTranslation, type RegistrarConstraintRule, type RegistrarExplainInput, type RegistrarExplanation, } from "./registrar-translation.js";
236
- export { BRIDGE_CONFIRM_VERSION, preCheckBridgeOp, canProceedBridgeOp, formatBridgeOpSummary, type ConfirmSeverity as BridgeConfirmSeverity, type BridgeConfirmItem, type BridgeOpCheckInput, } from "./bridge-confirm.js";
237
- export { BRIDGE_TRANSLATION_VERSION, SEMANTIC_TO_BRIDGE_SCHEMA_RULES, BRIDGE_FIELD_TRANSLATIONS, BRIDGE_CONSTRAINT_RULES, explainBridge, type SemanticToBridgeSchemaRule, type BridgeFieldTranslation, type BridgeConstraintRule, type BridgeExplainInput, type BridgeExplanation, } from "./bridge-translation.js";
238
136
  export { TOOLS_REFERENCE, getToolReference, searchToolReference, getToolSequence, type ToolReferenceEntry, };
239
137
  export { SCENARIO_MODES, SCENARIO_MODES_VERSION, MODE_COMPOSITIONS, matchScenarioMode, inferScenarioTraits, getScenarioMode, listScenarioModes, getShippedModes, getModeCompositions, type IndustryModeName, type ScenarioTraits, type ModeAllocatorStrategy, type ModeGuardRef, type ModeMachineNode, type ScenarioMode, type ModeComposition, };
240
138
  export { GUARD_DESIGN_PATTERNS, GUARD_DESIGN_PATTERNS_VERSION, VERIFIER_LEVEL_GUIDANCE, getGuardDesignPattern, searchGuardDesignPatterns, getPatternsByHost, getPatternsByIndustry, getPatternsByDataSourceClass, getVerifierLevelGuidance, suggestPatternForRequirement, type GuardDataSourceClass, type VerifierConstraintLevel, type GuardHostObject, type GuardDesignPattern, type VerifierLevelGuidance, };
241
- export { GUARD_BYTECODE_SPEC_VERSION, VALUE_TYPE_BYTES, OPCODE_SPECS, QUERY_REGISTRY, QUERY_BANDS, GUARD_LIMITS, SERIALIZATION, COMMON_MOVE_MISALIGNED, getQueryById, queriesByObject, queryByName, opcodeByByte, opcodeByName, isValueTypeByte, isNumberTypeByte, type OpcodeSpec, type QuerySpec, type QueryBand, };
242
- import { type OverrideConfig } from "./overrides-loader.js";
243
- export declare function getKnowledgeOverrides(): OverrideConfig;
244
- export declare function refreshKnowledgeOverrides(): OverrideConfig;
245
139
  export declare function getKnowledgeBase(): {
246
140
  version: {
247
- glossary: number;
248
141
  safety: number;
249
142
  tool_constraints: number;
250
- process_model: number;
251
143
  reward_templates: number;
252
144
  audit_rules: number;
253
145
  dynamic_pricing: number;
@@ -262,69 +154,29 @@ export declare function getKnowledgeBase(): {
262
154
  machine_risk: string;
263
155
  machine_topology: string;
264
156
  machine_puzzle: string;
265
- machine_confirm: string;
266
- machine_context: string;
267
157
  service_ledger: string;
268
158
  service_risk: string;
269
- service_translation: string;
270
159
  service_templates: string;
271
- service_confirm: string;
272
- service_context: string;
273
160
  allocation_ledger: string;
274
161
  allocation_puzzle: string;
275
162
  allocation_risk: string;
276
- allocation_translation: string;
277
163
  allocation_templates: string;
278
- allocation_confirm: string;
279
- allocation_context: string;
280
164
  treasury_ledger: string;
281
- treasury_translation: string;
282
165
  treasury_templates: string;
283
166
  treasury_risk: string;
284
- treasury_confirm: string;
285
- treasury_context: string;
286
167
  order_ledger: string;
287
- order_translation: string;
288
168
  order_templates: string;
289
169
  order_risk: string;
290
- order_confirm: string;
291
- order_context: string;
292
170
  progress_ledger: string;
293
- progress_translation: string;
294
171
  progress_templates: string;
295
172
  progress_risk: string;
296
- progress_confirm: string;
297
- progress_context: string;
298
173
  arbitration_ledger: string;
299
- arbitration_translation: string;
300
174
  arbitration_templates: string;
301
175
  arbitration_risk: string;
302
- arbitration_confirm: string;
303
- arbitration_context: string;
304
176
  reward_ledger: string;
305
177
  reward_risk: string;
306
- reward_confirm: string;
307
- reward_translation: string;
308
- reward_context: string;
309
178
  passport_ledger: string;
310
- passport_puzzle: string;
311
- passport_risk: string;
312
- passport_confirm: string;
313
- passport_translation: string;
314
179
  passport_templates: string;
315
- passport_context: string;
316
- proof_ledger: string;
317
- proof_puzzle: string;
318
- proof_templates: string;
319
- proof_context: string;
320
- repository_ledger: string;
321
- repository_puzzle: string;
322
- repository_templates: string;
323
- repository_context: string;
324
- demand_ledger: string;
325
- demand_puzzle: string;
326
- demand_templates: string;
327
- demand_context: string;
328
180
  contact_risk: string;
329
181
  resource_risk: string;
330
182
  payment_risk: string;
@@ -333,32 +185,12 @@ export declare function getKnowledgeBase(): {
333
185
  util_risk: string;
334
186
  registrar_risk: string;
335
187
  bridge_risk: string;
336
- contact_confirm: string;
337
- contact_translation: string;
338
- personal_confirm: string;
339
- personal_translation: string;
340
- resource_confirm: string;
341
- resource_translation: string;
342
- payment_confirm: string;
343
- payment_translation: string;
344
- arb_confirm: string;
345
- arb_translation: string;
346
- util_confirm: string;
347
- util_translation: string;
348
- registrar_confirm: string;
349
- registrar_translation: string;
350
- bridge_confirm: string;
351
- bridge_translation: string;
352
188
  scenario_modes: number;
353
189
  guard_design_patterns: number;
354
- guard_bytecode_spec: string;
355
190
  };
356
- glossary_entries: number;
357
191
  confirmation_rules: number;
358
192
  confirmation_rule_ids: string[];
359
193
  tool_constraints_count: number;
360
- permission_types_count: number;
361
- game_elements_count: number;
362
194
  reward_templates_count: number;
363
195
  audit_rules_count: number;
364
196
  mutable_fields_count: number;
@@ -372,19 +204,11 @@ export declare function getKnowledgeBase(): {
372
204
  guard_risk_rules_count: number;
373
205
  guard_templates_count: number;
374
206
  guard_lint_enabled: boolean;
375
- guard_opcodes_count: number;
376
- guard_query_registry_count: number;
377
- guard_query_bands_count: number;
378
- guard_query_defects_count: number;
379
207
  machine_scenes_count: number;
380
208
  machine_templates_count: number;
381
209
  machine_patterns_count: number;
382
210
  machine_constraint_rules_count: number;
383
211
  machine_risk_rules_count: number;
384
- machine_publish_checklist_count: number;
385
- machine_confirmation_questions_count: number;
386
- machine_verification_notes_count: number;
387
- machine_context_enabled: boolean;
388
212
  machine_on_chain_limits: {
389
213
  max_node_count: 100;
390
214
  max_node_pair_count: 40;
@@ -395,57 +219,33 @@ export declare function getKnowledgeBase(): {
395
219
  service_order_flow_stages_count: number;
396
220
  service_cross_object_bindings_count: number;
397
221
  service_risk_rules_count: number;
398
- service_translation_patterns_count: number;
399
- service_constraint_rules_count: number;
400
222
  service_templates_count: number;
401
- service_publish_checklist_count: number;
402
- service_confirmation_questions_count: number;
403
223
  service_context_enabled: boolean;
404
224
  allocation_scenes_count: number;
405
225
  allocation_risk_rules_count: number;
406
- allocation_translation_patterns_count: number;
407
- allocation_constraint_rules_count: number;
408
226
  allocation_templates_count: number;
409
- allocation_publish_checklist_count: number;
410
- allocation_confirmation_questions_count: number;
411
227
  allocation_context_enabled: boolean;
412
228
  treasury_scenes_count: number;
413
229
  treasury_builtin_permissions_count: number;
414
230
  treasury_risk_rules_count: number;
415
- treasury_translation_patterns_count: number;
416
- treasury_constraint_rules_count: number;
417
231
  treasury_templates_count: number;
418
- treasury_publish_checklist_count: number;
419
- treasury_confirmation_questions_count: number;
420
232
  treasury_context_enabled: boolean;
421
233
  order_scenes_count: number;
422
234
  order_fields_count: number;
423
235
  order_states_count: number;
424
236
  order_lifecycle_events_count: number;
425
237
  order_risk_rules_count: number;
426
- order_translation_patterns_count: number;
427
- order_constraint_rules_count: number;
428
238
  order_templates_count: number;
429
- order_publish_checklist_count: number;
430
- order_confirmation_questions_count: number;
431
239
  order_context_enabled: boolean;
432
240
  progress_scenes_count: number;
433
241
  progress_builtin_permissions_count: number;
434
242
  progress_risk_rules_count: number;
435
- progress_translation_patterns_count: number;
436
- progress_constraint_rules_count: number;
437
243
  progress_templates_count: number;
438
- progress_operation_checklist_count: number;
439
- progress_confirmation_questions_count: number;
440
244
  progress_context_enabled: boolean;
441
245
  arbitration_scenes_count: number;
442
246
  arbitration_builtin_permissions_count: number;
443
247
  arbitration_risk_rules_count: number;
444
- arbitration_translation_patterns_count: number;
445
- arbitration_constraint_rules_count: number;
446
248
  arbitration_templates_count: number;
447
- arbitration_operation_checklist_count: number;
448
- arbitration_confirmation_questions_count: number;
449
249
  arbitration_context_enabled: boolean;
450
250
  reward_scenes_count: number;
451
251
  reward_builtin_permissions_count: number;
@@ -453,37 +253,15 @@ export declare function getKnowledgeBase(): {
453
253
  reward_guard_constructors_count: number;
454
254
  reward_error_codes_count: number;
455
255
  reward_risk_rules_count: number;
456
- reward_translation_patterns_count: number;
457
- reward_constraint_rules_count: number;
458
- reward_operation_checklist_count: number;
459
- reward_confirmation_questions_count: number;
460
256
  reward_context_enabled: boolean;
461
257
  passport_scenarios_count: number;
462
258
  passport_max_guard_count: 20;
463
259
  passport_max_submission_size: 256;
464
- passport_risk_rules_count: number;
465
- passport_constraint_rules_count: number;
466
260
  passport_templates_count: number;
467
- passport_confirmation_rules_count: number;
468
261
  passport_context_enabled: boolean;
469
262
  proof_risk_rules_count: number;
470
- proof_constraint_rules_count: number;
471
- proof_fields_count: number;
472
- proof_error_codes_count: number;
473
- proof_scenes_count: number;
474
- proof_templates_count: number;
475
263
  repository_risk_rules_count: number;
476
- repository_constraint_rules_count: number;
477
- repository_id_from_count: number;
478
- repository_policy_fields_count: number;
479
- repository_error_codes_count: number;
480
- repository_templates_count: number;
481
264
  demand_risk_rules_count: number;
482
- demand_constraint_rules_count: number;
483
- demand_scenes_count: number;
484
- demand_fields_count: number;
485
- demand_error_codes_count: number;
486
- demand_templates_count: number;
487
265
  contact_risk_rules_count: number;
488
266
  resource_risk_rules_count: number;
489
267
  payment_risk_rules_count: number;
@@ -503,5 +281,4 @@ export { buildWorkspaceLists, type WorkspaceListsResult, type WorkspaceListItem,
503
281
  export { resolveSupplyChainGraph, type SupplyChainGraph, type SupplyChainEdge, type SupplyChainService, type SupplyChainSubmission, } from "./supply-chain.js";
504
282
  export { enumerateObjectOperations, operationCategoryOf, operationComplexityOf, isPermissionIndexType, type OperationCategory, type ComplexityLevel, type OperationComplexity, type WatchOperationDraft, } from "./operation-dictionary.js";
505
283
  export { enumerateServices, enumerateDemands, enumerateArbs, type ServicesEnumAnswer, type DemandsEnumAnswer, type ArbsEnumAnswer, } from "./jsonrpc-enum.js";
506
- export { IMMUTABLE_OBJECT_TYPES, IMMUTABILITY_FACTS, isFullyImmutable, immutabilityOf, type ImmutabilityFact, } from "./immutability.js";
507
284
  export { FIELD_MUTABILITY_RULES, LOCK_CONSTRAINTS, IRREVERSIBLE_OPERATIONS, STATE_MACHINE_TERMINALS, NUMERIC_LIMIT_CONSTRAINTS, EXTERNAL_ACCESS_MECHANISMS, fieldMutabilityOf, isActionForbidden, lockConstraintOf, numericLimitOf, externalAccessOf, type FieldMutabilityRule, type FieldAction, type LockConstraint, type IrreversibleOperation, type StateMachineTerminal, type NumericLimitConstraint, type ExternalAccessMechanism, } from "./contract-invariants.js";