@neuroverseos/governance 0.3.4 → 0.4.1

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 (129) hide show
  1. package/README.md +280 -405
  2. package/dist/adapters/autoresearch.cjs +63 -9
  3. package/dist/adapters/autoresearch.d.cts +2 -1
  4. package/dist/adapters/autoresearch.d.ts +2 -1
  5. package/dist/adapters/autoresearch.js +3 -3
  6. package/dist/adapters/deep-agents.cjs +63 -9
  7. package/dist/adapters/deep-agents.d.cts +3 -2
  8. package/dist/adapters/deep-agents.d.ts +3 -2
  9. package/dist/adapters/deep-agents.js +3 -3
  10. package/dist/adapters/express.cjs +63 -9
  11. package/dist/adapters/express.d.cts +2 -1
  12. package/dist/adapters/express.d.ts +2 -1
  13. package/dist/adapters/express.js +3 -3
  14. package/dist/adapters/index.cjs +961 -9
  15. package/dist/adapters/index.d.cts +4 -2
  16. package/dist/adapters/index.d.ts +4 -2
  17. package/dist/adapters/index.js +54 -17
  18. package/dist/adapters/langchain.cjs +63 -9
  19. package/dist/adapters/langchain.d.cts +3 -2
  20. package/dist/adapters/langchain.d.ts +3 -2
  21. package/dist/adapters/langchain.js +3 -3
  22. package/dist/adapters/mentraos.cjs +2181 -0
  23. package/dist/adapters/mentraos.d.cts +319 -0
  24. package/dist/adapters/mentraos.d.ts +319 -0
  25. package/dist/adapters/mentraos.js +48 -0
  26. package/dist/adapters/openai.cjs +63 -9
  27. package/dist/adapters/openai.d.cts +3 -2
  28. package/dist/adapters/openai.d.ts +3 -2
  29. package/dist/adapters/openai.js +3 -3
  30. package/dist/adapters/openclaw.cjs +63 -9
  31. package/dist/adapters/openclaw.d.cts +3 -2
  32. package/dist/adapters/openclaw.d.ts +3 -2
  33. package/dist/adapters/openclaw.js +3 -3
  34. package/dist/{add-ROOZLU62.js → add-XSANI3FK.js} +1 -1
  35. package/dist/{behavioral-MJO34S6Q.js → behavioral-SLW7ALEK.js} +4 -4
  36. package/dist/{bootstrap-CQRZVOXK.js → bootstrap-2OW5ZLBL.js} +4 -4
  37. package/dist/bootstrap-contract-DcV6t-8M.d.cts +216 -0
  38. package/dist/bootstrap-contract-DcV6t-8M.d.ts +216 -0
  39. package/dist/browser.global.js +149 -5
  40. package/dist/{build-ZHPMX5AZ.js → build-EGBGZFIJ.js} +6 -6
  41. package/dist/{chunk-A7GKPPU7.js → chunk-2VAWP6FI.js} +1 -1
  42. package/dist/{chunk-3WQLXYTP.js → chunk-3AYKQHYI.js} +2 -2
  43. package/dist/{chunk-EMQDLDAF.js → chunk-3NZMMSOW.js} +80 -2
  44. package/dist/chunk-3S5AD4AB.js +421 -0
  45. package/dist/{chunk-VXHSMA3I.js → chunk-6CV4XG3J.js} +1 -1
  46. package/dist/{chunk-BNKJPUPQ.js → chunk-A7SHG75T.js} +2 -2
  47. package/dist/{chunk-U6U7EJZL.js → chunk-AV7XJJWK.js} +2 -2
  48. package/dist/{chunk-ZWI3NIXK.js → chunk-CYDMUJVZ.js} +54 -3
  49. package/dist/{chunk-F66BVUYB.js → chunk-DA5MHFRR.js} +3 -3
  50. package/dist/{chunk-YEKMVDWK.js → chunk-FHXXD2TI.js} +7 -7
  51. package/dist/{chunk-5TPFNWRU.js → chunk-FS2UUJJO.js} +3 -3
  52. package/dist/{chunk-4FLICVVA.js → chunk-FVOGUCB6.js} +2 -2
  53. package/dist/chunk-GTPV2XGO.js +893 -0
  54. package/dist/{chunk-CTZHONLA.js → chunk-I4RTIMLX.js} +2 -2
  55. package/dist/{chunk-B6OXJLJ5.js → chunk-J2IZBHXJ.js} +4 -4
  56. package/dist/{chunk-TG6SEF24.js → chunk-OQU65525.js} +1 -1
  57. package/dist/{chunk-QXBFT7NI.js → chunk-QMVQ6KPL.js} +2 -2
  58. package/dist/{chunk-G7DJ6VOD.js → chunk-RDA7ISWC.js} +2 -2
  59. package/dist/{chunk-O5ABKEA7.js → chunk-YJ34R5NB.js} +2 -2
  60. package/dist/{chunk-PVTQQS3Y.js → chunk-YPCVY4GS.js} +31 -0
  61. package/dist/{chunk-W7LLXRGY.js → chunk-ZAF6JH23.js} +65 -10
  62. package/dist/{chunk-IS4WUH6Y.js → chunk-ZEIT2QLM.js} +4 -4
  63. package/dist/cli/neuroverse.cjs +4436 -1035
  64. package/dist/cli/neuroverse.js +40 -24
  65. package/dist/cli/plan.cjs +176 -12
  66. package/dist/cli/plan.js +2 -2
  67. package/dist/cli/run.cjs +63 -9
  68. package/dist/cli/run.js +2 -2
  69. package/dist/configure-world-XU2COHOZ.js +705 -0
  70. package/dist/{decision-flow-M63D47LO.js → decision-flow-3K4D72G4.js} +2 -2
  71. package/dist/{demo-G43RLCPK.js → demo-6OQYWRR6.js} +4 -4
  72. package/dist/{derive-LMDUTXDD.js → derive-7Y7YWVLU.js} +5 -5
  73. package/dist/{doctor-6BC6X2VO.js → doctor-NHXI7OQW.js} +3 -1
  74. package/dist/engine/bootstrap-emitter.cjs +241 -0
  75. package/dist/engine/bootstrap-emitter.d.cts +27 -0
  76. package/dist/engine/bootstrap-emitter.d.ts +27 -0
  77. package/dist/{bootstrap-emitter-Q7UIJZ2O.js → engine/bootstrap-emitter.js} +2 -2
  78. package/dist/engine/bootstrap-parser.cjs +560 -0
  79. package/dist/engine/bootstrap-parser.d.cts +96 -0
  80. package/dist/engine/bootstrap-parser.d.ts +96 -0
  81. package/dist/{bootstrap-parser-EEF36XDU.js → engine/bootstrap-parser.js} +2 -2
  82. package/dist/engine/guard-engine.cjs +1116 -0
  83. package/dist/engine/guard-engine.d.cts +60 -0
  84. package/dist/engine/guard-engine.d.ts +60 -0
  85. package/dist/engine/guard-engine.js +12 -0
  86. package/dist/engine/simulate-engine.cjs +390 -0
  87. package/dist/engine/simulate-engine.d.cts +105 -0
  88. package/dist/engine/simulate-engine.d.ts +105 -0
  89. package/dist/engine/simulate-engine.js +9 -0
  90. package/dist/{equity-penalties-SG5IZQ7I.js → equity-penalties-NVBAB5WL.js} +4 -4
  91. package/dist/{explain-RHBU2GBR.js → explain-HDFN4ION.js} +1 -1
  92. package/dist/github-TIKTWOGU.js +27 -0
  93. package/dist/{guard-AEEJNWLD.js → guard-6KSCWT2W.js} +4 -4
  94. package/dist/{guard-contract-B7lplwm9.d.cts → guard-contract-C991HDZp.d.cts} +32 -309
  95. package/dist/{guard-contract-B7lplwm9.d.ts → guard-contract-hHjTTjtR.d.ts} +32 -309
  96. package/dist/{impact-3XVDSCBU.js → impact-WIAM66IH.js} +3 -3
  97. package/dist/{improve-TQP4ECSY.js → improve-2PWGGO5B.js} +3 -3
  98. package/dist/index.cjs +682 -14
  99. package/dist/index.d.cts +231 -423
  100. package/dist/index.d.ts +231 -423
  101. package/dist/index.js +81 -58
  102. package/dist/{init-FYPV4SST.js → init-TKIJDR7I.js} +5 -1
  103. package/dist/lens-MHMUDCMQ.js +1084 -0
  104. package/dist/{mcp-server-5Y3ZM7TV.js → mcp-server-TNIWZ7B5.js} +3 -3
  105. package/dist/{playground-VZBNPPBO.js → playground-3FLDGBET.js} +3 -3
  106. package/dist/{redteam-MZPZD3EF.js → redteam-HV6LMKEH.js} +3 -3
  107. package/dist/{session-JYOARW54.js → session-XZP2754M.js} +3 -3
  108. package/dist/{shared-C_zpdvBm.d.cts → shared-DGnn1jiS.d.cts} +1 -1
  109. package/dist/{shared-Cf7yxx4-.d.ts → shared-U405h52W.d.ts} +1 -1
  110. package/dist/{simulate-LJXYBC6M.js → simulate-VT437EEL.js} +17 -4
  111. package/dist/spatial/index.cjs +682 -0
  112. package/dist/spatial/index.d.cts +517 -0
  113. package/dist/spatial/index.d.ts +517 -0
  114. package/dist/spatial/index.js +633 -0
  115. package/dist/{test-BOOR4A5F.js → test-4WTX6RKQ.js} +3 -3
  116. package/dist/{trace-PKV4KX56.js → trace-2YDNAXMK.js} +2 -2
  117. package/dist/types.cjs +18 -0
  118. package/dist/types.d.cts +370 -0
  119. package/dist/types.d.ts +370 -0
  120. package/dist/types.js +0 -0
  121. package/dist/{validate-RALX7CZS.js → validate-M52DX22Y.js} +1 -1
  122. package/dist/{world-BIP4GZBZ.js → world-O4HTQPDP.js} +1 -1
  123. package/dist/{world-loader-Y6HMQH2D.js → world-loader-YTYFOP7D.js} +1 -1
  124. package/dist/worlds/mentraos-smartglasses.nv-world.md +423 -0
  125. package/dist/worlds/mentraos-spatial.nv-world.md +68 -0
  126. package/dist/worlds/user-rules.nv-world.md +328 -0
  127. package/package.json +46 -3
  128. package/dist/guard-engine-PNR6MHCM.js +0 -10
  129. package/dist/{configure-ai-5MP5DWTT.js → configure-ai-LL3VAPQW.js} +3 -3
@@ -1,311 +1,4 @@
1
- /**
2
- * World Engine Types — Subset for Governance Engine
3
- *
4
- * These types map to the .nv-world.zip file format.
5
- * This file contains only the types referenced by the governance
6
- * engine (guard, validate, bootstrap). The full type system lives
7
- * in the main NeuroVerse OS repo.
8
- */
9
- interface ModelIdentity {
10
- modelName: string;
11
- acronymExpansion?: string;
12
- nameType: 'acronym' | 'metaphor';
13
- purpose: string;
14
- domain?: string;
15
- }
16
- interface WorldIdentity {
17
- world_id: string;
18
- name: string;
19
- thesis: string;
20
- version: string;
21
- runtime_mode: 'SIMULATION' | 'NARRATIVE' | 'COMPLIANCE' | 'CUSTOM';
22
- default_assumption_profile: string;
23
- default_alternative_profile: string;
24
- modules: string[];
25
- players: {
26
- thinking_space: boolean;
27
- experience_space: boolean;
28
- action_space: boolean;
29
- };
30
- modelIdentity?: ModelIdentity;
31
- }
32
- interface Invariant {
33
- id: string;
34
- label: string;
35
- enforcement: 'structural' | 'prompt';
36
- mutable: false;
37
- }
38
- interface AssumptionProfile {
39
- name: string;
40
- description: string;
41
- is_default_baseline?: boolean;
42
- is_default_alternative?: boolean;
43
- parameters: Record<string, string>;
44
- }
45
- interface ParameterDefinition {
46
- type: 'enum' | 'number' | 'boolean';
47
- options?: string[];
48
- min?: number;
49
- max?: number;
50
- label: string;
51
- description: string;
52
- }
53
- interface AssumptionConfig {
54
- profiles: Record<string, AssumptionProfile>;
55
- parameter_definitions: Record<string, ParameterDefinition>;
56
- }
57
- interface StateVariable {
58
- type: 'enum' | 'number' | 'boolean';
59
- options?: string[];
60
- min?: number;
61
- max?: number;
62
- step?: number;
63
- default: string | number | boolean;
64
- mutable: boolean;
65
- label: string;
66
- description: string;
67
- display_as?: 'percentage' | 'integer' | 'decimal';
68
- }
69
- interface StatePreset {
70
- description: string;
71
- values: Record<string, string | number | boolean>;
72
- }
73
- interface StateSchema {
74
- variables: Record<string, StateVariable>;
75
- presets: Record<string, StatePreset>;
76
- }
77
- type TriggerOperator = '==' | '!=' | '>' | '<' | '>=' | '<=' | 'in';
78
- type EffectOperation = 'multiply' | 'add' | 'subtract' | 'set' | 'set_boolean' | 'multiply_dynamic' | 'add_dynamic' | 'subtract_dynamic' | 'set_dynamic';
79
- type RuleSeverity = 'structural' | 'degradation' | 'advantage';
80
- interface Trigger {
81
- field: string;
82
- operator: TriggerOperator;
83
- value: string | number | boolean | string[];
84
- source: 'state' | 'assumption';
85
- }
86
- interface Effect {
87
- target: string;
88
- operation: EffectOperation;
89
- value: number | boolean | string;
90
- value_formula?: string;
91
- }
92
- interface CollapseCheck {
93
- field: string;
94
- operator: TriggerOperator;
95
- value: number;
96
- result: 'MODEL_COLLAPSES';
97
- }
98
- interface ConditionalEffect {
99
- condition: Trigger;
100
- and?: Trigger;
101
- or?: Trigger;
102
- condition_any?: Trigger[];
103
- effects: Effect[];
104
- }
105
- interface CausalTranslation {
106
- trigger_text: string;
107
- rule_text: string;
108
- shift_text: string;
109
- effect_text: string;
110
- }
111
- interface RuleRedirect {
112
- suggested_action: string;
113
- reason: string;
114
- fallback_state_changes?: Record<string, string | number | boolean>;
115
- }
116
- interface Rule {
117
- id: string;
118
- severity: RuleSeverity;
119
- label: string;
120
- description: string;
121
- order: number;
122
- triggers: Trigger[];
123
- effects?: Effect[];
124
- effects_conditional?: ConditionalEffect[];
125
- collapse_check?: CollapseCheck;
126
- secondary_check?: CollapseCheck;
127
- exclusive_with?: string;
128
- causal_translation: CausalTranslation;
129
- redirect?: RuleRedirect;
130
- }
131
- type ViabilityStatus = 'THRIVING' | 'STABLE' | 'COMPRESSED' | 'CRITICAL' | 'MODEL_COLLAPSES';
132
- interface ViabilityGate {
133
- status: ViabilityStatus;
134
- field: string;
135
- operator: TriggerOperator;
136
- value: number;
137
- color: string;
138
- icon: string;
139
- }
140
- interface CollapseVisual {
141
- background: string;
142
- text: string;
143
- border: string;
144
- label: string;
145
- }
146
- interface GatesConfig {
147
- viability_classification: ViabilityGate[];
148
- structural_override: {
149
- description: string;
150
- enforcement: 'mandatory';
151
- };
152
- sustainability_threshold: number;
153
- collapse_visual: CollapseVisual;
154
- }
155
- interface ComputedOutcome {
156
- id: string;
157
- type: 'number' | 'boolean' | 'enum';
158
- range?: [number, number];
159
- options?: string[];
160
- default?: number | boolean | string;
161
- display_as?: 'percentage' | 'integer' | 'decimal';
162
- label: string;
163
- primary?: boolean;
164
- initial_value?: string;
165
- derived_from?: string;
166
- assignment?: 'rule' | 'external';
167
- show_in_comparison: boolean;
168
- structural_indicator?: boolean;
169
- }
170
- interface ComparisonLayout {
171
- primary_card: string;
172
- status_badge: string;
173
- structural_indicators: string[];
174
- }
175
- interface OutcomesConfig {
176
- computed_outcomes: ComputedOutcome[];
177
- comparison_layout: ComparisonLayout;
178
- }
179
- interface WorldMetadata {
180
- format_version: string;
181
- created_at: string;
182
- last_modified: string;
183
- authoring_method: 'manual-authoring' | 'configurator-ai' | 'migration';
184
- integrity_hash?: string;
185
- }
186
- interface KernelConfig {
187
- artifact_type: string;
188
- kernel_id: string;
189
- version: string;
190
- domain: string;
191
- enforcement_level: 'standard' | 'strict' | 'permissive';
192
- input_boundaries: {
193
- forbidden_patterns: Array<{
194
- id: string;
195
- pattern: string;
196
- reason: string;
197
- action: 'BLOCK' | 'WARN';
198
- }>;
199
- };
200
- output_boundaries: {
201
- forbidden_patterns: Array<{
202
- id: string;
203
- pattern: string;
204
- reason: string;
205
- action: 'BLOCK' | 'WARN';
206
- }>;
207
- };
208
- response_vocabulary: Record<string, string>;
209
- metadata: {
210
- compiled_by: string;
211
- compiled_at: string;
212
- source_hash: string;
213
- compiler_version: string;
214
- };
215
- }
216
- type RoleArchetype = 'observer' | 'operator' | 'strategist' | 'guardian' | 'steward' | 'executor';
217
- type RoleAuthority = 'none' | 'execute_within_limits' | 'reprioritize_within_bounds' | 'block_violations' | 'escalate_audit_freeze' | 'execute_declared_actions';
218
- type RolePosture = 'analyze' | 'task_oriented' | 'long_term_coherence' | 'constraint_aware' | 'system_integrity' | 'efficient';
219
- interface WorldRoleDefinition {
220
- id: string;
221
- archetype: RoleArchetype;
222
- authority: RoleAuthority;
223
- posture: RolePosture;
224
- name: string;
225
- description: string;
226
- icon?: string;
227
- roleMandate: string;
228
- voiceStyle?: string;
229
- canDo: string[];
230
- cannotDo: string[];
231
- requiresApproval?: boolean;
232
- trackedOutcomes?: string[];
233
- ownedRules?: string[];
234
- }
235
- type RoleAssignment = 'dynamic' | 'per_session' | 'permanent';
236
- interface RoleTransition {
237
- from: string;
238
- to: string;
239
- initiator: 'self' | 'steward' | 'any';
240
- condition?: string;
241
- }
242
- interface RolesConfig {
243
- assignment: RoleAssignment;
244
- roles: WorldRoleDefinition[];
245
- transitions?: RoleTransition[];
246
- }
247
- interface Guard {
248
- id: string;
249
- label: string;
250
- description: string;
251
- category: 'structural' | 'operational' | 'advisory';
252
- enforcement: 'block' | 'pause' | 'warn' | 'modify' | 'penalize' | 'reward' | 'neutral';
253
- immutable: boolean;
254
- invariant_ref?: string;
255
- intent_patterns: string[];
256
- required_roles?: string[];
257
- redirect?: string;
258
- default_enabled?: boolean;
259
- /** Tool names this guard applies to (case-insensitive). Empty/absent = all tools. */
260
- appliesTo?: string[];
261
- player_modes?: {
262
- thinking?: 'annotate' | 'block' | 'ignore';
263
- experience?: 'simulate' | 'score' | 'ignore';
264
- action?: 'block' | 'pause' | 'warn' | 'modify' | 'penalize' | 'reward' | 'neutral';
265
- };
266
- /** Consequence to apply when enforcement is 'penalize' */
267
- consequence?: {
268
- type: 'freeze' | 'reduce_influence' | 'increase_risk' | 'cooldown' | 'custom';
269
- rounds?: number;
270
- magnitude?: number;
271
- description: string;
272
- };
273
- /** Reward to apply when enforcement is 'reward' */
274
- reward?: {
275
- type: 'boost_influence' | 'priority' | 'faster_execution' | 'weight_increase' | 'custom';
276
- rounds?: number;
277
- magnitude?: number;
278
- description: string;
279
- };
280
- /** For 'modify' enforcement: what the action should be changed to */
281
- modify_to?: string;
282
- }
283
- interface IntentPattern {
284
- label: string;
285
- pattern: string;
286
- }
287
- interface GuardsConfig {
288
- guards: Guard[];
289
- intent_vocabulary: Record<string, IntentPattern>;
290
- /** All known action surfaces (e.g. "shell", "http", "db", "email", "deploy").
291
- * When declared, the validator checks that every surface has at least one
292
- * governing guard — surfaces without guards are reported as fail-open. */
293
- tool_surfaces?: string[];
294
- }
295
- interface WorldDefinition {
296
- world: WorldIdentity;
297
- invariants: Invariant[];
298
- assumptions: AssumptionConfig;
299
- stateSchema: StateSchema;
300
- rules: Rule[];
301
- gates: GatesConfig;
302
- outcomes: OutcomesConfig;
303
- guards?: GuardsConfig;
304
- roles?: RolesConfig;
305
- kernel?: KernelConfig;
306
- enforcement?: string;
307
- metadata: WorldMetadata;
308
- }
1
+ import { GovernanceEvent } from './types.js';
309
2
 
310
3
  /**
311
4
  * Plan Contract — Plan Enforcement Types
@@ -681,6 +374,9 @@ interface GuardVerdict {
681
374
  intentRecord?: IntentRecord;
682
375
  /** Audit evidence — always present */
683
376
  evidence: VerdictEvidence;
377
+ /** Governance event emitted by this evaluation — always present.
378
+ * This is the bridge to Simulate: Guard → Event → State Evolution. */
379
+ event?: GovernanceEvent;
684
380
  /** Evaluation trace — present when trace mode is enabled */
685
381
  trace?: EvaluationTrace;
686
382
  }
@@ -821,6 +517,33 @@ interface GuardEngineOptions {
821
517
  * The caller owns mutation (applying consequences/rewards after verdict).
822
518
  */
823
519
  agentStates?: Map<string, AgentBehaviorState>;
520
+ /**
521
+ * Emergency override — the user is king.
522
+ *
523
+ * When active, the governance engine returns ALLOW for every action.
524
+ * All rules are bypassed. The user gets access to every tool the
525
+ * platform permits.
526
+ *
527
+ * What this overrides:
528
+ * - Spatial governance (public space camera blocks, bystander rules)
529
+ * - Multi-wearer handshake composition
530
+ * - Role restrictions, level constraints, plan enforcement
531
+ * - Behavioral penalties (cooldowns, freezes)
532
+ *
533
+ * What this CANNOT override:
534
+ * - Platform-enforced constraints (MentraOS SDK permission declarations,
535
+ * hardware capability matrix, session isolation, credential scope)
536
+ * - Physical impossibility (no camera on glasses without camera hardware)
537
+ *
538
+ * The override removes the governance layer, not the platform layer.
539
+ * Every action taken during override is still logged to the audit trail
540
+ * with emergency_override: true for accountability.
541
+ *
542
+ * Design: the user is king. In a life-threatening situation, governance
543
+ * steps aside. The audit trail is the accountability mechanism, not
544
+ * the block.
545
+ */
546
+ emergencyOverride?: boolean;
824
547
  }
825
548
  declare const GUARD_EXIT_CODES: {
826
549
  readonly ALLOW: 0;
@@ -834,4 +557,4 @@ declare const GUARD_EXIT_CODES: {
834
557
  };
835
558
  type GuardExitCode = (typeof GUARD_EXIT_CODES)[keyof typeof GUARD_EXIT_CODES];
836
559
 
837
- export { type AdvanceResult as A, type Consequence as C, type EvaluationTrace as E, type GuardEvent as G, type Invariant as I, type KernelRuleCheck as K, type LevelCheck as L, type PlanDefinition as P, type Reward as R, type StepEvidence as S, type ViabilityStatus as V, type WorldDefinition as W, type GuardVerdict as a, type GuardEngineOptions as b, type PlanProgress as c, type PlanVerdict as d, type PlanCheck as e, type AgentBehaviorState as f, type GuardStatus as g, type Guard as h, type Rule as i, GUARD_EXIT_CODES as j, type GuardCheck as k, type GuardExitCode as l, type IntentRecord as m, type InvariantCheck as n, PLAN_EXIT_CODES as o, type PlanCompletionMode as p, type PlanConstraint as q, type PlanExitCode as r, type PlanStatus as s, type PlanStep as t, type PrecedenceResolution as u, type RoleCheck as v, type SafetyCheck as w, type VerdictEvidence as x };
560
+ export { type AdvanceResult as A, type Consequence as C, type EvaluationTrace as E, type GuardEvent as G, type IntentRecord as I, type KernelRuleCheck as K, type LevelCheck as L, type PlanDefinition as P, type Reward as R, type StepEvidence as S, type VerdictEvidence as V, type GuardVerdict as a, type GuardEngineOptions as b, type PlanProgress as c, type GuardStatus as d, type PlanVerdict as e, type PlanCheck as f, type AgentBehaviorState as g, GUARD_EXIT_CODES as h, type GuardCheck as i, type GuardExitCode as j, type InvariantCheck as k, PLAN_EXIT_CODES as l, type PlanCompletionMode as m, type PlanConstraint as n, type PlanExitCode as o, type PlanStatus as p, type PlanStep as q, type PrecedenceResolution as r, type RoleCheck as s, type SafetyCheck as t };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  generateImpactReport,
3
3
  renderImpactReport
4
- } from "./chunk-TG6SEF24.js";
4
+ } from "./chunk-OQU65525.js";
5
5
  import {
6
6
  readAuditLog
7
- } from "./chunk-A7GKPPU7.js";
8
- import "./chunk-W7LLXRGY.js";
7
+ } from "./chunk-2VAWP6FI.js";
8
+ import "./chunk-ZAF6JH23.js";
9
9
  import "./chunk-QLPTHTVB.js";
10
10
  import "./chunk-QWGCMQQD.js";
11
11
 
@@ -4,12 +4,12 @@ import {
4
4
  import {
5
5
  improveWorld,
6
6
  renderImproveText
7
- } from "./chunk-F66BVUYB.js";
7
+ } from "./chunk-DA5MHFRR.js";
8
+ import "./chunk-CYDMUJVZ.js";
8
9
  import "./chunk-7P3S7MAY.js";
9
- import "./chunk-ZWI3NIXK.js";
10
10
  import {
11
11
  loadWorld
12
- } from "./chunk-CTZHONLA.js";
12
+ } from "./chunk-I4RTIMLX.js";
13
13
  import "./chunk-QWGCMQQD.js";
14
14
 
15
15
  // src/cli/improve.ts