@gitgov/core 2.7.1 → 2.8.0

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.
@@ -1,8 +1,8 @@
1
- import { A as ActorPayload, d as ActorRecord, e as AgentPayload, f as AgentRecord, C as ChangelogPayload, g as ChangelogRecord, h as CyclePayload, i as CycleRecord, E as EmbeddedMetadataHeader, j as EmbeddedMetadataRecord, k as ExecutionPayload, l as ExecutionRecord, F as FeedbackPayload, m as FeedbackRecord, n as GitGovActorRecord, o as GitGovAgentRecord, p as GitGovChangelogRecord, q as GitGovCycleRecord, r as GitGovError, s as GitGovExecutionRecord, t as GitGovFeedbackRecord, G as GitGovRecord, u as GitGovRecordPayload, v as GitGovRecordType, w as GitGovTaskRecord, S as Signature, T as TaskPayload, x as TaskRecord, D as DEFAULT_ID_ENCODER, I as IdEncoder, R as RecordStore, y as RecordStores, z as CollaborationMetrics, B as IRecordMetrics, H as ProductivityMetrics, J as RecordMetrics, K as RecordMetricsDependencies, L as SystemStatus, M as TaskHealthReport, N as ActivityEvent, O as ActorCreatedEvent, Q as ActorRevokedEvent, U as AgentRegisteredEvent, V as BaseEvent, W as ChangelogCreatedEvent, X as CycleCreatedEvent, Y as CycleStatusChangedEvent, Z as EventHandler, _ as EventMetadata, $ as EventSubscription, a0 as ExecutionCreatedEvent, a1 as FeedbackCreatedEvent, a2 as GitGovEvent, a3 as SystemDailyTickEvent, a4 as TaskCreatedEvent, a5 as TaskStatusChangedEvent, a as IRecordProjector, a6 as RecordProjectorDependencies, c as IndexData, a7 as IndexGenerationReport, a8 as IntegrityReport, a9 as AllRecords, aa as DerivedStates, ab as EnrichedTaskRecord, ac as DerivedStateSets, b as IRecordProjection, ad as IntegrityError, ae as IntegrityWarning, P as ProjectionContext } from './record_projection.types-D9NkQbL_.js';
2
- import { C as ConfigManager, E as EventBus, p as IEventStream, r as eventBus, s as publishEvent, t as subscribeToEvent, q as IIdentityAdapter, u as IdentityAdapterDependencies, I as ILintModule, v as LintModuleDependencies, c as LintRecordContext, d as LintResult, L as LintOptions, a as LintReport$1, F as FixRecordOptions, b as FixReport, w as FixResult, x as LintSummary, y as RecordEntry, R as RecordStores$1, V as ValidationContext$1, z as ValidatorType, e as ISyncStateModule, B as AuditScope$1, A as AuditStateOptions, i as AuditStateReport, g as ConflictDiff, D as ConflictFileDiff, G as ConflictInfo, H as ConflictType, J as ExpectedFilesScope, h as IntegrityViolation, f as StateDeltaFile, S as SyncStateModuleDependencies, l as SyncStatePullOptions, m as SyncStatePullResult, j as SyncStatePushOptions, k as SyncStatePushResult, n as SyncStateResolveOptions, o as SyncStateResolveResult } from './sync_state-C2a2RuBQ.js';
1
+ import { A as ActorPayload, d as ActorRecord, e as AgentPayload, f as AgentRecord, C as CyclePayload, g as CycleRecord, E as EmbeddedMetadataHeader, h as EmbeddedMetadataRecord, i as ExecutionPayload, j as ExecutionRecord, F as FeedbackPayload, k as FeedbackRecord, l as GitGovActorRecord, m as GitGovAgentRecord, n as GitGovCycleRecord, o as GitGovError, p as GitGovExecutionRecord, q as GitGovFeedbackRecord, G as GitGovRecord, r as GitGovRecordPayload, s as GitGovRecordType, t as GitGovTaskRecord, S as Signature, T as TaskPayload, u as TaskRecord, D as DEFAULT_ID_ENCODER, I as IdEncoder, R as RecordStore, v as RecordStores, w as CollaborationMetrics, x as IRecordMetrics, y as ProductivityMetrics, z as RecordMetrics, B as RecordMetricsDependencies, H as SystemStatus, J as TaskHealthReport, K as ActivityEvent, L as ActorCreatedEvent, M as ActorRevokedEvent, N as AgentRegisteredEvent, O as BaseEvent, Q as CycleCreatedEvent, U as CycleStatusChangedEvent, V as EventHandler, W as EventMetadata, X as EventSubscription, Y as ExecutionCreatedEvent, Z as FeedbackCreatedEvent, _ as GitGovEvent, $ as SystemDailyTickEvent, a0 as TaskCreatedEvent, a1 as TaskStatusChangedEvent, a as IRecordProjector, a2 as RecordProjectorDependencies, c as IndexData, a3 as IndexGenerationReport, a4 as IntegrityReport, a5 as AllRecords, a6 as DerivedStates, a7 as EnrichedTaskRecord, a8 as DerivedStateSets, b as IRecordProjection, a9 as IntegrityError, aa as IntegrityWarning, P as ProjectionContext } from './record_projection.types-B2OZbgoW.js';
2
+ import { C as ConfigManager, E as EventBus, p as IEventStream, r as eventBus, s as publishEvent, t as subscribeToEvent, q as IIdentityAdapter, u as IdentityAdapterDependencies, I as ILintModule, v as LintModuleDependencies, c as LintRecordContext, d as LintResult, L as LintOptions, a as LintReport$1, F as FixRecordOptions, b as FixReport, w as FixResult, x as LintSummary, y as RecordEntry, R as RecordStores$1, V as ValidationContext$1, z as ValidatorType, e as ISyncStateModule, B as AuditScope$1, A as AuditStateOptions, i as AuditStateReport, g as ConflictDiff, D as ConflictFileDiff, G as ConflictInfo, H as ConflictType, J as ExpectedFilesScope, h as IntegrityViolation, f as StateDeltaFile, S as SyncStateModuleDependencies, l as SyncStatePullOptions, m as SyncStatePullResult, j as SyncStatePushOptions, k as SyncStatePushResult, n as SyncStateResolveOptions, o as SyncStateResolveResult } from './sync_state-GmqG3pLj.js';
3
3
  import { A as ActorState, a as GitGovSession, k as ISessionManager, S as SyncPreferencesUpdate, l as SyncStatus, m as AuditState, n as AuditStateUpdate, G as GitGovConfig, o as IConfigManager, p as SyncConfig, q as SyncDefaults, K as KeyProvider, r as KeyProviderError, s as KeyProviderErrorCode, i as FileListOptions, h as FileLister, j as FileStats, F as FsFileListerOptions, M as MemoryFileListerOptions, I as IGitModule } from './index-LULVRsCZ.js';
4
4
  export { C as ConfigStore, t as Git } from './index-LULVRsCZ.js';
5
- import { S as SessionManager, g as IdentityAdapter, h as IExecutionAdapter, i as ExecutionAdapterDependencies, E as EnvironmentValidation, I as IProjectInitializer, d as FsKeyProvider, e as FsKeyProviderOptions, f as FsFileLister, D as DEFAULT_STATE_BRANCH, j as AgentExecutionContext, k as AgentOutput, c as AgentResponse, A as AgentRunnerDependencies, l as AgentRunnerEvent, m as ApiEngine, n as AuthConfig, o as AuthType, C as CustomEngine, p as Engine, q as EngineType, r as IAgentLoader, b as IAgentRunner, L as LocalEngine, M as McpEngine, s as ProtocolHandler, P as ProtocolHandlerRegistry, R as RunOptions, t as RuntimeHandler, u as RuntimeHandlerRegistry } from './agent_runner-DijNVjaF.js';
5
+ import { S as SessionManager, g as IdentityAdapter, h as IExecutionAdapter, i as ExecutionAdapterDependencies, E as EnvironmentValidation, I as IProjectInitializer, d as FsKeyProvider, e as FsKeyProviderOptions, f as FsFileLister, D as DEFAULT_STATE_BRANCH, j as AgentExecutionContext, k as AgentOutput, c as AgentResponse, A as AgentRunnerDependencies, l as AgentRunnerEvent, m as ApiEngine, n as AuthConfig, o as AuthType, C as CustomEngine, p as Engine, q as EngineType, r as IAgentLoader, b as IAgentRunner, L as LocalEngine, M as McpEngine, s as ProtocolHandler, P as ProtocolHandlerRegistry, R as RunOptions, t as RuntimeHandler, u as RuntimeHandlerRegistry } from './agent_runner-D3G5zzGv.js';
6
6
  import { E as EnvKeyProvider, a as EnvKeyProviderOptions, M as MockKeyProvider, b as MockKeyProviderOptions, c as MemoryFileLister } from './memory_file_lister-BCY4ZYGW.js';
7
7
  import { ValidateFunction } from 'ajv';
8
8
  import './session_store-I4Z6PW2c.js';
@@ -14,14 +14,14 @@ import './session_store-I4Z6PW2c.js';
14
14
  * Session state is ephemeral, machine-local, and NOT versioned in Git.
15
15
  */
16
16
 
17
- declare const index$s_ActorState: typeof ActorState;
18
- declare const index$s_GitGovSession: typeof GitGovSession;
19
- declare const index$s_ISessionManager: typeof ISessionManager;
20
- declare const index$s_SessionManager: typeof SessionManager;
21
- declare const index$s_SyncPreferencesUpdate: typeof SyncPreferencesUpdate;
22
- declare const index$s_SyncStatus: typeof SyncStatus;
23
- declare namespace index$s {
24
- export { index$s_ActorState as ActorState, index$s_GitGovSession as GitGovSession, index$s_ISessionManager as ISessionManager, index$s_SessionManager as SessionManager, index$s_SyncPreferencesUpdate as SyncPreferencesUpdate, index$s_SyncStatus as SyncStatus };
17
+ declare const index$r_ActorState: typeof ActorState;
18
+ declare const index$r_GitGovSession: typeof GitGovSession;
19
+ declare const index$r_ISessionManager: typeof ISessionManager;
20
+ declare const index$r_SessionManager: typeof SessionManager;
21
+ declare const index$r_SyncPreferencesUpdate: typeof SyncPreferencesUpdate;
22
+ declare const index$r_SyncStatus: typeof SyncStatus;
23
+ declare namespace index$r {
24
+ export { index$r_ActorState as ActorState, index$r_GitGovSession as GitGovSession, index$r_ISessionManager as ISessionManager, index$r_SessionManager as SessionManager, index$r_SyncPreferencesUpdate as SyncPreferencesUpdate, index$r_SyncStatus as SyncStatus };
25
25
  }
26
26
 
27
27
  /**
@@ -31,19 +31,19 @@ declare namespace index$s {
31
31
  * Configuration is versioned in Git and shared between collaborators.
32
32
  */
33
33
 
34
- declare const index$r_ActorState: typeof ActorState;
35
- declare const index$r_AuditState: typeof AuditState;
36
- declare const index$r_AuditStateUpdate: typeof AuditStateUpdate;
37
- declare const index$r_ConfigManager: typeof ConfigManager;
38
- declare const index$r_GitGovConfig: typeof GitGovConfig;
39
- declare const index$r_GitGovSession: typeof GitGovSession;
40
- declare const index$r_IConfigManager: typeof IConfigManager;
41
- declare const index$r_SessionManager: typeof SessionManager;
42
- declare const index$r_SyncConfig: typeof SyncConfig;
43
- declare const index$r_SyncDefaults: typeof SyncDefaults;
44
- declare const index$r_SyncStatus: typeof SyncStatus;
45
- declare namespace index$r {
46
- export { index$r_ActorState as ActorState, index$r_AuditState as AuditState, index$r_AuditStateUpdate as AuditStateUpdate, index$r_ConfigManager as ConfigManager, index$r_GitGovConfig as GitGovConfig, index$r_GitGovSession as GitGovSession, index$r_IConfigManager as IConfigManager, index$r_SessionManager as SessionManager, index$r_SyncConfig as SyncConfig, index$r_SyncDefaults as SyncDefaults, index$r_SyncStatus as SyncStatus };
34
+ declare const index$q_ActorState: typeof ActorState;
35
+ declare const index$q_AuditState: typeof AuditState;
36
+ declare const index$q_AuditStateUpdate: typeof AuditStateUpdate;
37
+ declare const index$q_ConfigManager: typeof ConfigManager;
38
+ declare const index$q_GitGovConfig: typeof GitGovConfig;
39
+ declare const index$q_GitGovSession: typeof GitGovSession;
40
+ declare const index$q_IConfigManager: typeof IConfigManager;
41
+ declare const index$q_SessionManager: typeof SessionManager;
42
+ declare const index$q_SyncConfig: typeof SyncConfig;
43
+ declare const index$q_SyncDefaults: typeof SyncDefaults;
44
+ declare const index$q_SyncStatus: typeof SyncStatus;
45
+ declare namespace index$q {
46
+ export { index$q_ActorState as ActorState, index$q_AuditState as AuditState, index$q_AuditStateUpdate as AuditStateUpdate, index$q_ConfigManager as ConfigManager, index$q_GitGovConfig as GitGovConfig, index$q_GitGovSession as GitGovSession, index$q_IConfigManager as IConfigManager, index$q_SessionManager as SessionManager, index$q_SyncConfig as SyncConfig, index$q_SyncDefaults as SyncDefaults, index$q_SyncStatus as SyncStatus };
47
47
  }
48
48
 
49
49
  /**
@@ -65,17 +65,13 @@ declare class FileListerError extends Error {
65
65
  * and run 'pnpm compile:types' to regenerate this file.
66
66
  */
67
67
  /**
68
- * Complete schema for workflow methodology configuration files that define state transitions, signatures, and custom rules
68
+ * Schema for workflow methodology configuration that defines named state transitions, signatures, and custom rules.
69
69
  */
70
70
  interface WorkflowRecord {
71
71
  /**
72
- * JSON Schema reference
73
- */
74
- $schema?: string;
75
- /**
76
- * Semantic version of the methodology configuration
72
+ * Unique identifier for the workflow record (10 timestamp + 1 dash + 8 'workflow' + 1 dash + max 50 slug = 70 max)
77
73
  */
78
- version: string;
74
+ id: string;
79
75
  /**
80
76
  * Human-readable name of the methodology
81
77
  */
@@ -85,7 +81,7 @@ interface WorkflowRecord {
85
81
  */
86
82
  description?: string;
87
83
  /**
88
- * Defines valid state transitions and their requirements
84
+ * Map of named transitions to their rules. Keys are transition names (e.g., submit, approve, activate, resume), not target states.
89
85
  */
90
86
  state_transitions: {
91
87
  [k: string]: {
@@ -95,17 +91,21 @@ interface WorkflowRecord {
95
91
  * @minItems 1
96
92
  */
97
93
  from: [string, ...string[]];
94
+ /**
95
+ * Target state for this transition
96
+ */
97
+ to: string;
98
98
  requires: {
99
99
  /**
100
- * CLI command that triggers this transition
100
+ * CLI command that triggers this transition (Command Gate)
101
101
  */
102
102
  command?: string;
103
103
  /**
104
- * System event that triggers this transition
104
+ * System event that triggers this transition (Event Gate)
105
105
  */
106
106
  event?: string;
107
107
  /**
108
- * Signature requirements keyed by role (e.g., 'approver:quality', 'developer:backend')
108
+ * Signature group requirements (Signature Gate)
109
109
  */
110
110
  signatures?: {
111
111
  [k: string]: {
@@ -128,7 +128,7 @@ interface WorkflowRecord {
128
128
  */
129
129
  actor_type?: 'human' | 'agent';
130
130
  /**
131
- * Optional: specific actors that can sign
131
+ * Optional: restrict to specific actor IDs
132
132
  */
133
133
  specific_actors?: string[];
134
134
  } | undefined;
@@ -158,7 +158,7 @@ interface WorkflowRecord {
158
158
  */
159
159
  parameters?: {};
160
160
  /**
161
- * Inline validation expression for 'custom' validation type. Implementation determines the runtime and language. Must return boolean or Promise<boolean>.
161
+ * Inline validation expression for 'custom' type. Must return boolean.
162
162
  */
163
163
  expression?: string;
164
164
  /**
@@ -168,7 +168,7 @@ interface WorkflowRecord {
168
168
  } | undefined;
169
169
  };
170
170
  /**
171
- * Optional agent automation configuration for methodology
171
+ * Optional agent automation configuration
172
172
  */
173
173
  agent_integration?: {
174
174
  /**
@@ -176,7 +176,7 @@ interface WorkflowRecord {
176
176
  */
177
177
  description?: string;
178
178
  /**
179
- * References to agents required for this methodology. Agent details (engine, knowledge, etc.) live in their AgentRecord.
179
+ * Agents required for this methodology
180
180
  */
181
181
  required_agents?: {
182
182
  [k: string]: unknown | undefined;
@@ -184,82 +184,78 @@ interface WorkflowRecord {
184
184
  };
185
185
  }
186
186
 
187
- declare const index$q_ActorPayload: typeof ActorPayload;
188
- declare const index$q_ActorRecord: typeof ActorRecord;
189
- declare const index$q_AgentPayload: typeof AgentPayload;
190
- declare const index$q_AgentRecord: typeof AgentRecord;
191
- declare const index$q_ChangelogPayload: typeof ChangelogPayload;
192
- declare const index$q_ChangelogRecord: typeof ChangelogRecord;
193
- declare const index$q_CyclePayload: typeof CyclePayload;
194
- declare const index$q_CycleRecord: typeof CycleRecord;
195
- declare const index$q_EmbeddedMetadataHeader: typeof EmbeddedMetadataHeader;
196
- declare const index$q_EmbeddedMetadataRecord: typeof EmbeddedMetadataRecord;
197
- declare const index$q_ExecutionPayload: typeof ExecutionPayload;
198
- declare const index$q_ExecutionRecord: typeof ExecutionRecord;
199
- declare const index$q_FeedbackPayload: typeof FeedbackPayload;
200
- declare const index$q_FeedbackRecord: typeof FeedbackRecord;
201
- declare const index$q_GitGovActorRecord: typeof GitGovActorRecord;
202
- declare const index$q_GitGovAgentRecord: typeof GitGovAgentRecord;
203
- declare const index$q_GitGovChangelogRecord: typeof GitGovChangelogRecord;
204
- declare const index$q_GitGovCycleRecord: typeof GitGovCycleRecord;
205
- declare const index$q_GitGovError: typeof GitGovError;
206
- declare const index$q_GitGovExecutionRecord: typeof GitGovExecutionRecord;
207
- declare const index$q_GitGovFeedbackRecord: typeof GitGovFeedbackRecord;
208
- declare const index$q_GitGovRecord: typeof GitGovRecord;
209
- declare const index$q_GitGovRecordPayload: typeof GitGovRecordPayload;
210
- declare const index$q_GitGovRecordType: typeof GitGovRecordType;
211
- declare const index$q_GitGovTaskRecord: typeof GitGovTaskRecord;
212
- declare const index$q_Signature: typeof Signature;
213
- declare const index$q_TaskPayload: typeof TaskPayload;
214
- declare const index$q_TaskRecord: typeof TaskRecord;
215
- type index$q_WorkflowRecord = WorkflowRecord;
216
- declare namespace index$q {
217
- export { index$q_ActorPayload as ActorPayload, index$q_ActorRecord as ActorRecord, index$q_AgentPayload as AgentPayload, index$q_AgentRecord as AgentRecord, index$q_ChangelogPayload as ChangelogPayload, index$q_ChangelogRecord as ChangelogRecord, index$q_CyclePayload as CyclePayload, index$q_CycleRecord as CycleRecord, index$q_EmbeddedMetadataHeader as EmbeddedMetadataHeader, index$q_EmbeddedMetadataRecord as EmbeddedMetadataRecord, index$q_ExecutionPayload as ExecutionPayload, index$q_ExecutionRecord as ExecutionRecord, index$q_FeedbackPayload as FeedbackPayload, index$q_FeedbackRecord as FeedbackRecord, index$q_GitGovActorRecord as GitGovActorRecord, index$q_GitGovAgentRecord as GitGovAgentRecord, index$q_GitGovChangelogRecord as GitGovChangelogRecord, index$q_GitGovCycleRecord as GitGovCycleRecord, index$q_GitGovError as GitGovError, index$q_GitGovExecutionRecord as GitGovExecutionRecord, index$q_GitGovFeedbackRecord as GitGovFeedbackRecord, index$q_GitGovRecord as GitGovRecord, index$q_GitGovRecordPayload as GitGovRecordPayload, index$q_GitGovRecordType as GitGovRecordType, index$q_GitGovTaskRecord as GitGovTaskRecord, index$q_Signature as Signature, index$q_TaskPayload as TaskPayload, index$q_TaskRecord as TaskRecord, type index$q_WorkflowRecord as WorkflowRecord };
218
- }
219
-
220
- declare const index$p_DEFAULT_ID_ENCODER: typeof DEFAULT_ID_ENCODER;
221
- declare const index$p_IdEncoder: typeof IdEncoder;
222
- declare const index$p_RecordStore: typeof RecordStore;
223
- declare const index$p_RecordStores: typeof RecordStores;
187
+ declare const index$p_ActorPayload: typeof ActorPayload;
188
+ declare const index$p_ActorRecord: typeof ActorRecord;
189
+ declare const index$p_AgentPayload: typeof AgentPayload;
190
+ declare const index$p_AgentRecord: typeof AgentRecord;
191
+ declare const index$p_CyclePayload: typeof CyclePayload;
192
+ declare const index$p_CycleRecord: typeof CycleRecord;
193
+ declare const index$p_EmbeddedMetadataHeader: typeof EmbeddedMetadataHeader;
194
+ declare const index$p_EmbeddedMetadataRecord: typeof EmbeddedMetadataRecord;
195
+ declare const index$p_ExecutionPayload: typeof ExecutionPayload;
196
+ declare const index$p_ExecutionRecord: typeof ExecutionRecord;
197
+ declare const index$p_FeedbackPayload: typeof FeedbackPayload;
198
+ declare const index$p_FeedbackRecord: typeof FeedbackRecord;
199
+ declare const index$p_GitGovActorRecord: typeof GitGovActorRecord;
200
+ declare const index$p_GitGovAgentRecord: typeof GitGovAgentRecord;
201
+ declare const index$p_GitGovCycleRecord: typeof GitGovCycleRecord;
202
+ declare const index$p_GitGovError: typeof GitGovError;
203
+ declare const index$p_GitGovExecutionRecord: typeof GitGovExecutionRecord;
204
+ declare const index$p_GitGovFeedbackRecord: typeof GitGovFeedbackRecord;
205
+ declare const index$p_GitGovRecord: typeof GitGovRecord;
206
+ declare const index$p_GitGovRecordPayload: typeof GitGovRecordPayload;
207
+ declare const index$p_GitGovRecordType: typeof GitGovRecordType;
208
+ declare const index$p_GitGovTaskRecord: typeof GitGovTaskRecord;
209
+ declare const index$p_Signature: typeof Signature;
210
+ declare const index$p_TaskPayload: typeof TaskPayload;
211
+ declare const index$p_TaskRecord: typeof TaskRecord;
212
+ type index$p_WorkflowRecord = WorkflowRecord;
224
213
  declare namespace index$p {
225
- export { index$p_DEFAULT_ID_ENCODER as DEFAULT_ID_ENCODER, index$p_IdEncoder as IdEncoder, index$p_RecordStore as RecordStore, index$p_RecordStores as RecordStores };
214
+ export { index$p_ActorPayload as ActorPayload, index$p_ActorRecord as ActorRecord, index$p_AgentPayload as AgentPayload, index$p_AgentRecord as AgentRecord, index$p_CyclePayload as CyclePayload, index$p_CycleRecord as CycleRecord, index$p_EmbeddedMetadataHeader as EmbeddedMetadataHeader, index$p_EmbeddedMetadataRecord as EmbeddedMetadataRecord, index$p_ExecutionPayload as ExecutionPayload, index$p_ExecutionRecord as ExecutionRecord, index$p_FeedbackPayload as FeedbackPayload, index$p_FeedbackRecord as FeedbackRecord, index$p_GitGovActorRecord as GitGovActorRecord, index$p_GitGovAgentRecord as GitGovAgentRecord, index$p_GitGovCycleRecord as GitGovCycleRecord, index$p_GitGovError as GitGovError, index$p_GitGovExecutionRecord as GitGovExecutionRecord, index$p_GitGovFeedbackRecord as GitGovFeedbackRecord, index$p_GitGovRecord as GitGovRecord, index$p_GitGovRecordPayload as GitGovRecordPayload, index$p_GitGovRecordType as GitGovRecordType, index$p_GitGovTaskRecord as GitGovTaskRecord, index$p_Signature as Signature, index$p_TaskPayload as TaskPayload, index$p_TaskRecord as TaskRecord, type index$p_WorkflowRecord as WorkflowRecord };
226
215
  }
227
216
 
228
- declare const index$o_CollaborationMetrics: typeof CollaborationMetrics;
229
- declare const index$o_IRecordMetrics: typeof IRecordMetrics;
230
- declare const index$o_ProductivityMetrics: typeof ProductivityMetrics;
231
- declare const index$o_RecordMetrics: typeof RecordMetrics;
232
- declare const index$o_RecordMetricsDependencies: typeof RecordMetricsDependencies;
233
- declare const index$o_SystemStatus: typeof SystemStatus;
234
- declare const index$o_TaskHealthReport: typeof TaskHealthReport;
217
+ declare const index$o_DEFAULT_ID_ENCODER: typeof DEFAULT_ID_ENCODER;
218
+ declare const index$o_IdEncoder: typeof IdEncoder;
219
+ declare const index$o_RecordStore: typeof RecordStore;
220
+ declare const index$o_RecordStores: typeof RecordStores;
235
221
  declare namespace index$o {
236
- export { index$o_CollaborationMetrics as CollaborationMetrics, index$o_IRecordMetrics as IRecordMetrics, index$o_ProductivityMetrics as ProductivityMetrics, index$o_RecordMetrics as RecordMetrics, index$o_RecordMetricsDependencies as RecordMetricsDependencies, index$o_SystemStatus as SystemStatus, index$o_TaskHealthReport as TaskHealthReport };
222
+ export { index$o_DEFAULT_ID_ENCODER as DEFAULT_ID_ENCODER, index$o_IdEncoder as IdEncoder, index$o_RecordStore as RecordStore, index$o_RecordStores as RecordStores };
237
223
  }
238
224
 
239
- declare const index$n_ActivityEvent: typeof ActivityEvent;
240
- declare const index$n_ActorCreatedEvent: typeof ActorCreatedEvent;
241
- declare const index$n_ActorRevokedEvent: typeof ActorRevokedEvent;
242
- declare const index$n_AgentRegisteredEvent: typeof AgentRegisteredEvent;
243
- declare const index$n_BaseEvent: typeof BaseEvent;
244
- declare const index$n_ChangelogCreatedEvent: typeof ChangelogCreatedEvent;
245
- declare const index$n_CycleCreatedEvent: typeof CycleCreatedEvent;
246
- declare const index$n_CycleStatusChangedEvent: typeof CycleStatusChangedEvent;
247
- declare const index$n_EventBus: typeof EventBus;
248
- declare const index$n_EventHandler: typeof EventHandler;
249
- declare const index$n_EventMetadata: typeof EventMetadata;
250
- declare const index$n_EventSubscription: typeof EventSubscription;
251
- declare const index$n_ExecutionCreatedEvent: typeof ExecutionCreatedEvent;
252
- declare const index$n_FeedbackCreatedEvent: typeof FeedbackCreatedEvent;
253
- declare const index$n_GitGovEvent: typeof GitGovEvent;
254
- declare const index$n_IEventStream: typeof IEventStream;
255
- declare const index$n_SystemDailyTickEvent: typeof SystemDailyTickEvent;
256
- declare const index$n_TaskCreatedEvent: typeof TaskCreatedEvent;
257
- declare const index$n_TaskStatusChangedEvent: typeof TaskStatusChangedEvent;
258
- declare const index$n_eventBus: typeof eventBus;
259
- declare const index$n_publishEvent: typeof publishEvent;
260
- declare const index$n_subscribeToEvent: typeof subscribeToEvent;
225
+ declare const index$n_CollaborationMetrics: typeof CollaborationMetrics;
226
+ declare const index$n_IRecordMetrics: typeof IRecordMetrics;
227
+ declare const index$n_ProductivityMetrics: typeof ProductivityMetrics;
228
+ declare const index$n_RecordMetrics: typeof RecordMetrics;
229
+ declare const index$n_RecordMetricsDependencies: typeof RecordMetricsDependencies;
230
+ declare const index$n_SystemStatus: typeof SystemStatus;
231
+ declare const index$n_TaskHealthReport: typeof TaskHealthReport;
261
232
  declare namespace index$n {
262
- export { index$n_ActivityEvent as ActivityEvent, index$n_ActorCreatedEvent as ActorCreatedEvent, index$n_ActorRevokedEvent as ActorRevokedEvent, index$n_AgentRegisteredEvent as AgentRegisteredEvent, index$n_BaseEvent as BaseEvent, index$n_ChangelogCreatedEvent as ChangelogCreatedEvent, index$n_CycleCreatedEvent as CycleCreatedEvent, index$n_CycleStatusChangedEvent as CycleStatusChangedEvent, index$n_EventBus as EventBus, index$n_EventHandler as EventHandler, index$n_EventMetadata as EventMetadata, index$n_EventSubscription as EventSubscription, index$n_ExecutionCreatedEvent as ExecutionCreatedEvent, index$n_FeedbackCreatedEvent as FeedbackCreatedEvent, index$n_GitGovEvent as GitGovEvent, index$n_IEventStream as IEventStream, index$n_SystemDailyTickEvent as SystemDailyTickEvent, index$n_TaskCreatedEvent as TaskCreatedEvent, index$n_TaskStatusChangedEvent as TaskStatusChangedEvent, index$n_eventBus as eventBus, index$n_publishEvent as publishEvent, index$n_subscribeToEvent as subscribeToEvent };
233
+ export { index$n_CollaborationMetrics as CollaborationMetrics, index$n_IRecordMetrics as IRecordMetrics, index$n_ProductivityMetrics as ProductivityMetrics, index$n_RecordMetrics as RecordMetrics, index$n_RecordMetricsDependencies as RecordMetricsDependencies, index$n_SystemStatus as SystemStatus, index$n_TaskHealthReport as TaskHealthReport };
234
+ }
235
+
236
+ declare const index$m_ActivityEvent: typeof ActivityEvent;
237
+ declare const index$m_ActorCreatedEvent: typeof ActorCreatedEvent;
238
+ declare const index$m_ActorRevokedEvent: typeof ActorRevokedEvent;
239
+ declare const index$m_AgentRegisteredEvent: typeof AgentRegisteredEvent;
240
+ declare const index$m_BaseEvent: typeof BaseEvent;
241
+ declare const index$m_CycleCreatedEvent: typeof CycleCreatedEvent;
242
+ declare const index$m_CycleStatusChangedEvent: typeof CycleStatusChangedEvent;
243
+ declare const index$m_EventBus: typeof EventBus;
244
+ declare const index$m_EventHandler: typeof EventHandler;
245
+ declare const index$m_EventMetadata: typeof EventMetadata;
246
+ declare const index$m_EventSubscription: typeof EventSubscription;
247
+ declare const index$m_ExecutionCreatedEvent: typeof ExecutionCreatedEvent;
248
+ declare const index$m_FeedbackCreatedEvent: typeof FeedbackCreatedEvent;
249
+ declare const index$m_GitGovEvent: typeof GitGovEvent;
250
+ declare const index$m_IEventStream: typeof IEventStream;
251
+ declare const index$m_SystemDailyTickEvent: typeof SystemDailyTickEvent;
252
+ declare const index$m_TaskCreatedEvent: typeof TaskCreatedEvent;
253
+ declare const index$m_TaskStatusChangedEvent: typeof TaskStatusChangedEvent;
254
+ declare const index$m_eventBus: typeof eventBus;
255
+ declare const index$m_publishEvent: typeof publishEvent;
256
+ declare const index$m_subscribeToEvent: typeof subscribeToEvent;
257
+ declare namespace index$m {
258
+ export { index$m_ActivityEvent as ActivityEvent, index$m_ActorCreatedEvent as ActorCreatedEvent, index$m_ActorRevokedEvent as ActorRevokedEvent, index$m_AgentRegisteredEvent as AgentRegisteredEvent, index$m_BaseEvent as BaseEvent, index$m_CycleCreatedEvent as CycleCreatedEvent, index$m_CycleStatusChangedEvent as CycleStatusChangedEvent, index$m_EventBus as EventBus, index$m_EventHandler as EventHandler, index$m_EventMetadata as EventMetadata, index$m_EventSubscription as EventSubscription, index$m_ExecutionCreatedEvent as ExecutionCreatedEvent, index$m_FeedbackCreatedEvent as FeedbackCreatedEvent, index$m_GitGovEvent as GitGovEvent, index$m_IEventStream as IEventStream, index$m_SystemDailyTickEvent as SystemDailyTickEvent, index$m_TaskCreatedEvent as TaskCreatedEvent, index$m_TaskStatusChangedEvent as TaskStatusChangedEvent, index$m_eventBus as eventBus, index$m_publishEvent as publishEvent, index$m_subscribeToEvent as subscribeToEvent };
263
259
  }
264
260
 
265
261
  /**
@@ -336,10 +332,6 @@ declare class RecordProjector implements IRecordProjector {
336
332
  * Reads all executions from stores.executions with full metadata.
337
333
  */
338
334
  private readAllExecutions;
339
- /**
340
- * Reads all changelogs from stores.changelogs with full metadata.
341
- */
342
- private readAllChangelogs;
343
335
  /**
344
336
  * Persists IndexData to sink if available.
345
337
  * [EARS-U4] No-op when sink is undefined (writeTime=0).
@@ -393,7 +385,7 @@ declare class RecordProjector implements IRecordProjector {
393
385
  * 5. Cycles (all cycles as array with id+title)
394
386
  * 6. Metrics (executionCount, blockingFeedbackCount, openQuestionCount)
395
387
  * 7. Time to resolution (for done tasks)
396
- * 8. Release info (isReleased, lastReleaseVersion from changelogs)
388
+ * 8. Release info
397
389
  * 9. Derived states (EARS-43: REUTILIZA pre-calculated derivedStates con O(1) lookup)
398
390
  * 10. Health score (0-100 using multi-factor algorithm)
399
391
  * 11. Time in current stage (days)
@@ -414,30 +406,30 @@ declare class RecordProjector implements IRecordProjector {
414
406
  private getTimestampFromId;
415
407
  }
416
408
 
417
- declare const index$m_AllRecords: typeof AllRecords;
418
- declare const index$m_DerivedStateSets: typeof DerivedStateSets;
419
- declare const index$m_DerivedStates: typeof DerivedStates;
420
- declare const index$m_EnrichedTaskRecord: typeof EnrichedTaskRecord;
421
- declare const index$m_IRecordProjection: typeof IRecordProjection;
422
- declare const index$m_IRecordProjector: typeof IRecordProjector;
423
- declare const index$m_IndexData: typeof IndexData;
424
- declare const index$m_IndexGenerationReport: typeof IndexGenerationReport;
425
- declare const index$m_IntegrityError: typeof IntegrityError;
426
- declare const index$m_IntegrityReport: typeof IntegrityReport;
427
- declare const index$m_IntegrityWarning: typeof IntegrityWarning;
428
- declare const index$m_ProjectionContext: typeof ProjectionContext;
429
- type index$m_RecordProjector = RecordProjector;
430
- declare const index$m_RecordProjector: typeof RecordProjector;
431
- declare const index$m_RecordProjectorDependencies: typeof RecordProjectorDependencies;
432
- declare namespace index$m {
433
- export { index$m_AllRecords as AllRecords, index$m_DerivedStateSets as DerivedStateSets, index$m_DerivedStates as DerivedStates, index$m_EnrichedTaskRecord as EnrichedTaskRecord, index$m_IRecordProjection as IRecordProjection, index$m_IRecordProjector as IRecordProjector, index$m_IndexData as IndexData, index$m_IndexGenerationReport as IndexGenerationReport, index$m_IntegrityError as IntegrityError, index$m_IntegrityReport as IntegrityReport, index$m_IntegrityWarning as IntegrityWarning, index$m_ProjectionContext as ProjectionContext, index$m_RecordProjector as RecordProjector, index$m_RecordProjectorDependencies as RecordProjectorDependencies };
409
+ declare const index$l_AllRecords: typeof AllRecords;
410
+ declare const index$l_DerivedStateSets: typeof DerivedStateSets;
411
+ declare const index$l_DerivedStates: typeof DerivedStates;
412
+ declare const index$l_EnrichedTaskRecord: typeof EnrichedTaskRecord;
413
+ declare const index$l_IRecordProjection: typeof IRecordProjection;
414
+ declare const index$l_IRecordProjector: typeof IRecordProjector;
415
+ declare const index$l_IndexData: typeof IndexData;
416
+ declare const index$l_IndexGenerationReport: typeof IndexGenerationReport;
417
+ declare const index$l_IntegrityError: typeof IntegrityError;
418
+ declare const index$l_IntegrityReport: typeof IntegrityReport;
419
+ declare const index$l_IntegrityWarning: typeof IntegrityWarning;
420
+ declare const index$l_ProjectionContext: typeof ProjectionContext;
421
+ type index$l_RecordProjector = RecordProjector;
422
+ declare const index$l_RecordProjector: typeof RecordProjector;
423
+ declare const index$l_RecordProjectorDependencies: typeof RecordProjectorDependencies;
424
+ declare namespace index$l {
425
+ export { index$l_AllRecords as AllRecords, index$l_DerivedStateSets as DerivedStateSets, index$l_DerivedStates as DerivedStates, index$l_EnrichedTaskRecord as EnrichedTaskRecord, index$l_IRecordProjection as IRecordProjection, index$l_IRecordProjector as IRecordProjector, index$l_IndexData as IndexData, index$l_IndexGenerationReport as IndexGenerationReport, index$l_IntegrityError as IntegrityError, index$l_IntegrityReport as IntegrityReport, index$l_IntegrityWarning as IntegrityWarning, index$l_ProjectionContext as ProjectionContext, index$l_RecordProjector as RecordProjector, index$l_RecordProjectorDependencies as RecordProjectorDependencies };
434
426
  }
435
427
 
436
- declare const index$l_IIdentityAdapter: typeof IIdentityAdapter;
437
- declare const index$l_IdentityAdapter: typeof IdentityAdapter;
438
- declare const index$l_IdentityAdapterDependencies: typeof IdentityAdapterDependencies;
439
- declare namespace index$l {
440
- export { index$l_IIdentityAdapter as IIdentityAdapter, index$l_IdentityAdapter as IdentityAdapter, index$l_IdentityAdapterDependencies as IdentityAdapterDependencies };
428
+ declare const index$k_IIdentityAdapter: typeof IIdentityAdapter;
429
+ declare const index$k_IdentityAdapter: typeof IdentityAdapter;
430
+ declare const index$k_IdentityAdapterDependencies: typeof IdentityAdapterDependencies;
431
+ declare namespace index$k {
432
+ export { index$k_IIdentityAdapter as IIdentityAdapter, index$k_IdentityAdapter as IdentityAdapter, index$k_IdentityAdapterDependencies as IdentityAdapterDependencies };
441
433
  }
442
434
 
443
435
  /**
@@ -621,21 +613,21 @@ declare class LintModule implements ILintModule {
621
613
  * For filesystem operations, use @gitgov/core/fs which exports FsLintModule.
622
614
  */
623
615
 
624
- declare const index$k_FixRecordOptions: typeof FixRecordOptions;
625
- declare const index$k_FixReport: typeof FixReport;
626
- declare const index$k_FixResult: typeof FixResult;
627
- declare const index$k_ILintModule: typeof ILintModule;
628
- type index$k_LintModule = LintModule;
629
- declare const index$k_LintModule: typeof LintModule;
630
- declare const index$k_LintModuleDependencies: typeof LintModuleDependencies;
631
- declare const index$k_LintOptions: typeof LintOptions;
632
- declare const index$k_LintRecordContext: typeof LintRecordContext;
633
- declare const index$k_LintResult: typeof LintResult;
634
- declare const index$k_LintSummary: typeof LintSummary;
635
- declare const index$k_RecordEntry: typeof RecordEntry;
636
- declare const index$k_ValidatorType: typeof ValidatorType;
637
- declare namespace index$k {
638
- export { index$k_FixRecordOptions as FixRecordOptions, index$k_FixReport as FixReport, index$k_FixResult as FixResult, index$k_ILintModule as ILintModule, index$k_LintModule as LintModule, index$k_LintModuleDependencies as LintModuleDependencies, index$k_LintOptions as LintOptions, index$k_LintRecordContext as LintRecordContext, LintReport$1 as LintReport, index$k_LintResult as LintResult, index$k_LintSummary as LintSummary, index$k_RecordEntry as RecordEntry, RecordStores$1 as RecordStores, ValidationContext$1 as ValidationContext, index$k_ValidatorType as ValidatorType };
616
+ declare const index$j_FixRecordOptions: typeof FixRecordOptions;
617
+ declare const index$j_FixReport: typeof FixReport;
618
+ declare const index$j_FixResult: typeof FixResult;
619
+ declare const index$j_ILintModule: typeof ILintModule;
620
+ type index$j_LintModule = LintModule;
621
+ declare const index$j_LintModule: typeof LintModule;
622
+ declare const index$j_LintModuleDependencies: typeof LintModuleDependencies;
623
+ declare const index$j_LintOptions: typeof LintOptions;
624
+ declare const index$j_LintRecordContext: typeof LintRecordContext;
625
+ declare const index$j_LintResult: typeof LintResult;
626
+ declare const index$j_LintSummary: typeof LintSummary;
627
+ declare const index$j_RecordEntry: typeof RecordEntry;
628
+ declare const index$j_ValidatorType: typeof ValidatorType;
629
+ declare namespace index$j {
630
+ export { index$j_FixRecordOptions as FixRecordOptions, index$j_FixReport as FixReport, index$j_FixResult as FixResult, index$j_ILintModule as ILintModule, index$j_LintModule as LintModule, index$j_LintModuleDependencies as LintModuleDependencies, index$j_LintOptions as LintOptions, index$j_LintRecordContext as LintRecordContext, LintReport$1 as LintReport, index$j_LintResult as LintResult, index$j_LintSummary as LintSummary, index$j_RecordEntry as RecordEntry, RecordStores$1 as RecordStores, ValidationContext$1 as ValidationContext, index$j_ValidatorType as ValidatorType };
639
631
  }
640
632
 
641
633
  /**
@@ -698,12 +690,12 @@ declare class ExecutionAdapter implements IExecutionAdapter {
698
690
  * Public exports for the execution_adapter module.
699
691
  */
700
692
 
701
- type index$j_ExecutionAdapter = ExecutionAdapter;
702
- declare const index$j_ExecutionAdapter: typeof ExecutionAdapter;
703
- declare const index$j_ExecutionAdapterDependencies: typeof ExecutionAdapterDependencies;
704
- declare const index$j_IExecutionAdapter: typeof IExecutionAdapter;
705
- declare namespace index$j {
706
- export { index$j_ExecutionAdapter as ExecutionAdapter, index$j_ExecutionAdapterDependencies as ExecutionAdapterDependencies, index$j_IExecutionAdapter as IExecutionAdapter };
693
+ type index$i_ExecutionAdapter = ExecutionAdapter;
694
+ declare const index$i_ExecutionAdapter: typeof ExecutionAdapter;
695
+ declare const index$i_ExecutionAdapterDependencies: typeof ExecutionAdapterDependencies;
696
+ declare const index$i_IExecutionAdapter: typeof IExecutionAdapter;
697
+ declare namespace index$i {
698
+ export { index$i_ExecutionAdapter as ExecutionAdapter, index$i_ExecutionAdapterDependencies as ExecutionAdapterDependencies, index$i_IExecutionAdapter as IExecutionAdapter };
707
699
  }
708
700
 
709
701
  /**
@@ -936,13 +928,13 @@ declare class FeedbackAdapter implements IFeedbackAdapter {
936
928
  * Public exports for the feedback_adapter module.
937
929
  */
938
930
 
939
- type index$i_FeedbackAdapter = FeedbackAdapter;
940
- declare const index$i_FeedbackAdapter: typeof FeedbackAdapter;
941
- type index$i_FeedbackAdapterDependencies = FeedbackAdapterDependencies;
942
- type index$i_FeedbackThread = FeedbackThread;
943
- type index$i_IFeedbackAdapter = IFeedbackAdapter;
944
- declare namespace index$i {
945
- export { index$i_FeedbackAdapter as FeedbackAdapter, type index$i_FeedbackAdapterDependencies as FeedbackAdapterDependencies, type index$i_FeedbackThread as FeedbackThread, type index$i_IFeedbackAdapter as IFeedbackAdapter };
931
+ type index$h_FeedbackAdapter = FeedbackAdapter;
932
+ declare const index$h_FeedbackAdapter: typeof FeedbackAdapter;
933
+ type index$h_FeedbackAdapterDependencies = FeedbackAdapterDependencies;
934
+ type index$h_FeedbackThread = FeedbackThread;
935
+ type index$h_IFeedbackAdapter = IFeedbackAdapter;
936
+ declare namespace index$h {
937
+ export { index$h_FeedbackAdapter as FeedbackAdapter, type index$h_FeedbackAdapterDependencies as FeedbackAdapterDependencies, type index$h_FeedbackThread as FeedbackThread, type index$h_IFeedbackAdapter as IFeedbackAdapter };
946
938
  }
947
939
 
948
940
  type TaskStatus = TaskRecord['status'];
@@ -993,6 +985,11 @@ declare class WorkflowAdapter implements IWorkflow {
993
985
  * the actor has matching capability roles.
994
986
  */
995
987
  private getApplicableSignatureGroup;
988
+ /**
989
+ * Finds a transition config by matching from and to states.
990
+ * Keys are transition names (e.g. submit, approve), target state is in transition.to.
991
+ */
992
+ private findTransitionByStates;
996
993
  /**
997
994
  * Determines if a state transition is legal according to the methodology
998
995
  */
@@ -1008,126 +1005,23 @@ declare class WorkflowAdapter implements IWorkflow {
1008
1005
  getAvailableTransitions(from: TaskStatus): Promise<TransitionRule[]>;
1009
1006
  }
1010
1007
 
1011
- type index$h_IWorkflow = IWorkflow;
1012
- type index$h_TransitionRule = TransitionRule;
1013
- type index$h_ValidationContext = ValidationContext;
1014
- type index$h_WorkflowAdapter = WorkflowAdapter;
1015
- declare const index$h_WorkflowAdapter: typeof WorkflowAdapter;
1016
- type index$h_WorkflowAdapterDependencies = WorkflowAdapterDependencies;
1017
- declare namespace index$h {
1018
- export { type index$h_IWorkflow as IWorkflow, type index$h_TransitionRule as TransitionRule, type index$h_ValidationContext as ValidationContext, index$h_WorkflowAdapter as WorkflowAdapter, type index$h_WorkflowAdapterDependencies as WorkflowAdapterDependencies };
1019
- }
1020
-
1021
- /**
1022
- * Options for filtering and sorting changelog lists
1023
- */
1024
- type ChangelogListOptions = {
1025
- tags?: string[];
1026
- version?: string;
1027
- limit?: number;
1028
- sortBy?: 'completedAt' | 'title';
1029
- sortOrder?: 'asc' | 'desc';
1030
- };
1031
- /**
1032
- * ChangelogAdapter Dependencies - Facade + Dependency Injection Pattern
1033
- */
1034
- type ChangelogAdapterDependencies = {
1035
- stores: Required<Pick<RecordStores, 'changelogs' | 'tasks' | 'cycles'>>;
1036
- identity: IdentityAdapter;
1037
- eventBus: IEventStream;
1038
- };
1039
- /**
1040
- * ChangelogAdapter Interface - Release Notes & Deliverables Historian
1041
- */
1042
- interface IChangelogAdapter {
1043
- /**
1044
- * Records a deliverable/release note aggregating multiple tasks.
1045
- */
1046
- create(payload: Partial<ChangelogRecord>, actorId: string): Promise<ChangelogRecord>;
1047
- /**
1048
- * Gets a specific ChangelogRecord by its ID.
1049
- */
1050
- getChangelog(changelogId: string): Promise<ChangelogRecord | null>;
1051
- /**
1052
- * Gets all ChangelogRecords for a specific task.
1053
- */
1054
- getChangelogsByTask(taskId: string): Promise<ChangelogRecord[]>;
1055
- /**
1056
- * Gets all ChangelogRecords in the system with optional filtering.
1057
- */
1058
- getAllChangelogs(options?: ChangelogListOptions): Promise<ChangelogRecord[]>;
1059
- /**
1060
- * Gets recent ChangelogRecords ordered by completedAt.
1061
- */
1062
- getRecentChangelogs(limit: number): Promise<ChangelogRecord[]>;
1063
- }
1064
-
1065
- /**
1066
- * ChangelogAdapter - Release Notes & Deliverables Historian
1067
- *
1068
- * Protocol v2: Aggregates N tasks into 1 release note/deliverable.
1069
- * Focus: Executive communication of delivered value.
1070
- */
1071
- declare class ChangelogAdapter implements IChangelogAdapter {
1072
- private stores;
1073
- private identity;
1074
- private eventBus;
1075
- constructor(dependencies: ChangelogAdapterDependencies);
1076
- /**
1077
- * [EARS-A1] Records a deliverable/release note.
1078
- *
1079
- * Description: Aggregates multiple tasks into a single deliverable/release note.
1080
- * Implementation: Validates required fields, builds record with factory, signs, persists and emits event.
1081
- * Usage: Invoked by `gitgov changelog add` to document deliverables.
1082
- * Returns: Complete and signed ChangelogRecord.
1083
- */
1084
- create(payload: Partial<ChangelogRecord>, actorId: string): Promise<ChangelogRecord>;
1085
- /**
1086
- * [EARS-B1] Gets a specific ChangelogRecord by its ID.
1087
- */
1088
- getChangelog(changelogId: string): Promise<ChangelogRecord | null>;
1089
- /**
1090
- * [EARS-C1] Gets all ChangelogRecords that include a specific task.
1091
- */
1092
- getChangelogsByTask(taskId: string): Promise<ChangelogRecord[]>;
1093
- /**
1094
- * [EARS-D1] Gets all ChangelogRecords with optional filtering and sorting.
1095
- */
1096
- getAllChangelogs(options?: ChangelogListOptions): Promise<ChangelogRecord[]>;
1097
- /**
1098
- * [EARS-E1] Gets recent ChangelogRecords ordered by completedAt.
1099
- */
1100
- getRecentChangelogs(limit: number): Promise<ChangelogRecord[]>;
1101
- /**
1102
- * Legacy method for backwards compatibility - maps to getChangelogsByTask
1103
- * @deprecated Use getChangelogsByTask instead
1104
- */
1105
- getChangelogsByEntity(entityId: string, _entityType?: string): Promise<ChangelogRecord[]>;
1106
- }
1107
-
1108
- /**
1109
- * ChangelogAdapter - Release Notes & Deliverables Historian
1110
- *
1111
- * Public exports for the changelog_adapter module.
1112
- */
1113
-
1114
- type index$g_ChangelogAdapter = ChangelogAdapter;
1115
- declare const index$g_ChangelogAdapter: typeof ChangelogAdapter;
1116
- type index$g_ChangelogAdapterDependencies = ChangelogAdapterDependencies;
1117
- type index$g_ChangelogListOptions = ChangelogListOptions;
1118
- type index$g_IChangelogAdapter = IChangelogAdapter;
1008
+ type index$g_IWorkflow = IWorkflow;
1009
+ type index$g_TransitionRule = TransitionRule;
1010
+ type index$g_ValidationContext = ValidationContext;
1011
+ type index$g_WorkflowAdapter = WorkflowAdapter;
1012
+ declare const index$g_WorkflowAdapter: typeof WorkflowAdapter;
1013
+ type index$g_WorkflowAdapterDependencies = WorkflowAdapterDependencies;
1119
1014
  declare namespace index$g {
1120
- export { index$g_ChangelogAdapter as ChangelogAdapter, type index$g_ChangelogAdapterDependencies as ChangelogAdapterDependencies, type index$g_ChangelogListOptions as ChangelogListOptions, type index$g_IChangelogAdapter as IChangelogAdapter };
1015
+ export { type index$g_IWorkflow as IWorkflow, type index$g_TransitionRule as TransitionRule, type index$g_ValidationContext as ValidationContext, index$g_WorkflowAdapter as WorkflowAdapter, type index$g_WorkflowAdapterDependencies as WorkflowAdapterDependencies };
1121
1016
  }
1122
1017
 
1123
1018
  /**
1124
1019
  * BacklogAdapter Dependencies - Facade + Dependency Injection Pattern
1125
1020
  */
1126
1021
  type BacklogAdapterDependencies = {
1127
- stores: Required<Pick<RecordStores, 'tasks' | 'cycles' | 'feedbacks' | 'changelogs'>>;
1022
+ stores: Required<Pick<RecordStores, 'tasks' | 'cycles' | 'feedbacks'>>;
1128
1023
  feedbackAdapter: FeedbackAdapter;
1129
1024
  executionAdapter: ExecutionAdapter;
1130
- changelogAdapter: ChangelogAdapter;
1131
1025
  metricsAdapter: RecordMetrics;
1132
1026
  workflowAdapter: IWorkflow;
1133
1027
  identity: IdentityAdapter;
@@ -1162,7 +1056,6 @@ interface IBacklogAdapter {
1162
1056
  getTasksAssignedToActor(actorId: string): Promise<TaskRecord[]>;
1163
1057
  handleFeedbackCreated(event: FeedbackCreatedEvent): Promise<void>;
1164
1058
  handleExecutionCreated(event: ExecutionCreatedEvent): Promise<void>;
1165
- handleChangelogCreated(event: ChangelogCreatedEvent): Promise<void>;
1166
1059
  handleCycleStatusChanged(event: CycleStatusChangedEvent): Promise<void>;
1167
1060
  handleDailyTick(event: SystemDailyTickEvent): Promise<void>;
1168
1061
  getSystemStatus(): Promise<SystemStatus>;
@@ -1279,10 +1172,6 @@ declare class BacklogAdapter implements IBacklogAdapter {
1279
1172
  * [EARS-35] Handles execution created events - transitions ready→active on first execution
1280
1173
  */
1281
1174
  handleExecutionCreated(event: ExecutionCreatedEvent): Promise<void>;
1282
- /**
1283
- * [EARS-37] Handles changelog created events - transitions done→archived
1284
- */
1285
- handleChangelogCreated(event: ChangelogCreatedEvent): Promise<void>;
1286
1175
  /**
1287
1176
  * [EARS-38] Handles daily tick events - proactive health auditing
1288
1177
  */
@@ -1624,10 +1513,6 @@ type index$c_BacklogAdapter = BacklogAdapter;
1624
1513
  declare const index$c_BacklogAdapter: typeof BacklogAdapter;
1625
1514
  type index$c_BacklogAdapterConfig = BacklogAdapterConfig;
1626
1515
  type index$c_BacklogAdapterDependencies = BacklogAdapterDependencies;
1627
- type index$c_ChangelogAdapter = ChangelogAdapter;
1628
- declare const index$c_ChangelogAdapter: typeof ChangelogAdapter;
1629
- type index$c_ChangelogAdapterDependencies = ChangelogAdapterDependencies;
1630
- type index$c_ChangelogListOptions = ChangelogListOptions;
1631
1516
  declare const index$c_EnvironmentValidation: typeof EnvironmentValidation;
1632
1517
  type index$c_ExecutionAdapter = ExecutionAdapter;
1633
1518
  declare const index$c_ExecutionAdapter: typeof ExecutionAdapter;
@@ -1638,7 +1523,6 @@ type index$c_FeedbackAdapterDependencies = FeedbackAdapterDependencies;
1638
1523
  type index$c_FeedbackThread = FeedbackThread;
1639
1524
  type index$c_IAgentAdapter = IAgentAdapter;
1640
1525
  type index$c_IBacklogAdapter = IBacklogAdapter;
1641
- type index$c_IChangelogAdapter = IChangelogAdapter;
1642
1526
  declare const index$c_IExecutionAdapter: typeof IExecutionAdapter;
1643
1527
  type index$c_IFeedbackAdapter = IFeedbackAdapter;
1644
1528
  declare const index$c_IIdentityAdapter: typeof IIdentityAdapter;
@@ -1662,7 +1546,7 @@ type index$c_WorkflowAdapter = WorkflowAdapter;
1662
1546
  declare const index$c_WorkflowAdapter: typeof WorkflowAdapter;
1663
1547
  type index$c_WorkflowAdapterDependencies = WorkflowAdapterDependencies;
1664
1548
  declare namespace index$c {
1665
- export { index$c_AgentAdapter as AgentAdapter, type index$c_AgentAdapterDependencies as AgentAdapterDependencies, type index$c_AuditReport as AuditReport, index$c_BacklogAdapter as BacklogAdapter, type index$c_BacklogAdapterConfig as BacklogAdapterConfig, type index$c_BacklogAdapterDependencies as BacklogAdapterDependencies, index$c_ChangelogAdapter as ChangelogAdapter, type index$c_ChangelogAdapterDependencies as ChangelogAdapterDependencies, type index$c_ChangelogListOptions as ChangelogListOptions, index$c_EnvironmentValidation as EnvironmentValidation, index$c_ExecutionAdapter as ExecutionAdapter, index$c_ExecutionAdapterDependencies as ExecutionAdapterDependencies, index$c_FeedbackAdapter as FeedbackAdapter, type index$c_FeedbackAdapterDependencies as FeedbackAdapterDependencies, type index$c_FeedbackThread as FeedbackThread, type index$c_IAgentAdapter as IAgentAdapter, type index$c_IBacklogAdapter as IBacklogAdapter, type index$c_IChangelogAdapter as IChangelogAdapter, index$c_IExecutionAdapter as IExecutionAdapter, type index$c_IFeedbackAdapter as IFeedbackAdapter, index$c_IIdentityAdapter as IIdentityAdapter, type index$c_IProjectAdapter as IProjectAdapter, type index$c_IWorkflow as IWorkflow, index$c_IdentityAdapter as IdentityAdapter, index$c_IdentityAdapterDependencies as IdentityAdapterDependencies, type index$c_LintReport as LintReport, index$c_ProjectAdapter as ProjectAdapter, type index$c_ProjectAdapterDependencies as ProjectAdapterDependencies, type index$c_ProjectContext as ProjectContext, type index$c_ProjectInfo as ProjectInfo, type index$c_ProjectInitOptions as ProjectInitOptions, type index$c_ProjectInitResult as ProjectInitResult, type index$c_ProjectReport as ProjectReport, type index$c_TemplateProcessingResult as TemplateProcessingResult, type index$c_TransitionRule as TransitionRule, type index$c_ValidationContext as ValidationContext, index$c_WorkflowAdapter as WorkflowAdapter, type index$c_WorkflowAdapterDependencies as WorkflowAdapterDependencies };
1549
+ export { index$c_AgentAdapter as AgentAdapter, type index$c_AgentAdapterDependencies as AgentAdapterDependencies, type index$c_AuditReport as AuditReport, index$c_BacklogAdapter as BacklogAdapter, type index$c_BacklogAdapterConfig as BacklogAdapterConfig, type index$c_BacklogAdapterDependencies as BacklogAdapterDependencies, index$c_EnvironmentValidation as EnvironmentValidation, index$c_ExecutionAdapter as ExecutionAdapter, index$c_ExecutionAdapterDependencies as ExecutionAdapterDependencies, index$c_FeedbackAdapter as FeedbackAdapter, type index$c_FeedbackAdapterDependencies as FeedbackAdapterDependencies, type index$c_FeedbackThread as FeedbackThread, type index$c_IAgentAdapter as IAgentAdapter, type index$c_IBacklogAdapter as IBacklogAdapter, index$c_IExecutionAdapter as IExecutionAdapter, type index$c_IFeedbackAdapter as IFeedbackAdapter, index$c_IIdentityAdapter as IIdentityAdapter, type index$c_IProjectAdapter as IProjectAdapter, type index$c_IWorkflow as IWorkflow, index$c_IdentityAdapter as IdentityAdapter, index$c_IdentityAdapterDependencies as IdentityAdapterDependencies, type index$c_LintReport as LintReport, index$c_ProjectAdapter as ProjectAdapter, type index$c_ProjectAdapterDependencies as ProjectAdapterDependencies, type index$c_ProjectContext as ProjectContext, type index$c_ProjectInfo as ProjectInfo, type index$c_ProjectInitOptions as ProjectInitOptions, type index$c_ProjectInitResult as ProjectInitResult, type index$c_ProjectReport as ProjectReport, type index$c_TemplateProcessingResult as TemplateProcessingResult, type index$c_TransitionRule as TransitionRule, type index$c_ValidationContext as ValidationContext, index$c_WorkflowAdapter as WorkflowAdapter, type index$c_WorkflowAdapterDependencies as WorkflowAdapterDependencies };
1666
1550
  }
1667
1551
 
1668
1552
  /**
@@ -1755,8 +1639,22 @@ declare function loadAgentRecord(data: unknown): GitGovAgentRecord;
1755
1639
 
1756
1640
  /**
1757
1641
  * Creates a new, fully-formed TaskRecord with validation.
1642
+ *
1643
+ * The factory is generic to preserve the metadata type for compile-time safety.
1644
+ *
1645
+ * @param payload - Partial TaskRecord payload with optional typed metadata
1646
+ * @returns TaskRecord<TMetadata> - The validated TaskRecord with preserved metadata type
1647
+ *
1648
+ * @example
1649
+ * interface EpicMeta { jira: string; storyPoints: number; }
1650
+ * const record = createTaskRecord<EpicMeta>({
1651
+ * title: 'Implement OAuth',
1652
+ * description: 'Full OAuth2 implementation',
1653
+ * metadata: { jira: 'AUTH-42', storyPoints: 5 }
1654
+ * });
1655
+ * // record.metadata?.jira is typed as string
1758
1656
  */
1759
- declare function createTaskRecord(payload: Partial<TaskRecord>): TaskRecord;
1657
+ declare function createTaskRecord<TMetadata extends object = object>(payload: Partial<TaskRecord<TMetadata>>): TaskRecord<TMetadata>;
1760
1658
  /**
1761
1659
  * Loads and validates an existing TaskRecord from untrusted data.
1762
1660
  * Used by RecordStore to validate records when reading from disk.
@@ -1770,8 +1668,21 @@ declare function loadTaskRecord(data: unknown): GitGovTaskRecord;
1770
1668
 
1771
1669
  /**
1772
1670
  * Creates a new, fully-formed CycleRecord with validation.
1671
+ *
1672
+ * The factory is generic to preserve the metadata type for compile-time safety.
1673
+ *
1674
+ * @param payload - Partial CycleRecord payload with optional typed metadata
1675
+ * @returns CycleRecord<TMetadata> - The validated CycleRecord with preserved metadata type
1676
+ *
1677
+ * @example
1678
+ * interface EpicCycleMeta { epic: boolean; phase: string; }
1679
+ * const record = createCycleRecord<EpicCycleMeta>({
1680
+ * title: 'Sprint Q4 Performance',
1681
+ * metadata: { epic: true, phase: 'active' }
1682
+ * });
1683
+ * // record.metadata?.epic is typed as boolean
1773
1684
  */
1774
- declare function createCycleRecord(payload: Partial<CycleRecord>): CycleRecord;
1685
+ declare function createCycleRecord<TMetadata extends object = object>(payload: Partial<CycleRecord<TMetadata>>): CycleRecord<TMetadata>;
1775
1686
  /**
1776
1687
  * Loads and validates an existing CycleRecord from untrusted data.
1777
1688
  * Used by RecordStore to validate records when reading from disk.
@@ -1812,24 +1723,6 @@ declare function createExecutionRecord<TMetadata extends object = object>(payloa
1812
1723
  */
1813
1724
  declare function loadExecutionRecord(data: unknown): GitGovExecutionRecord;
1814
1725
 
1815
- /**
1816
- * Creates a complete ChangelogRecord with validation (Protocol v2)
1817
- *
1818
- * @param payload - Partial ChangelogRecord payload
1819
- * @returns ChangelogRecord - The validated ChangelogRecord
1820
- */
1821
- declare function createChangelogRecord(payload: Partial<ChangelogRecord>): ChangelogRecord;
1822
- /**
1823
- * Loads and validates an existing ChangelogRecord from untrusted data.
1824
- * Used by RecordStore to validate records when reading from disk.
1825
- * Validates both header (embedded metadata) and payload (ChangelogRecord).
1826
- *
1827
- * @param data - Unknown data to validate as GitGovChangelogRecord
1828
- * @returns GitGovChangelogRecord - The validated complete record
1829
- * @throws DetailedValidationError if validation fails
1830
- */
1831
- declare function loadChangelogRecord(data: unknown): GitGovChangelogRecord;
1832
-
1833
1726
  /**
1834
1727
  * Creates a complete FeedbackRecord with validation.
1835
1728
  *
@@ -1915,7 +1808,6 @@ type index$a_CreateEmbeddedMetadataOptions = CreateEmbeddedMetadataOptions;
1915
1808
  type index$a_SignatureConfig = SignatureConfig;
1916
1809
  declare const index$a_createActorRecord: typeof createActorRecord;
1917
1810
  declare const index$a_createAgentRecord: typeof createAgentRecord;
1918
- declare const index$a_createChangelogRecord: typeof createChangelogRecord;
1919
1811
  declare const index$a_createCycleRecord: typeof createCycleRecord;
1920
1812
  declare const index$a_createDefaultWorkflowConfig: typeof createDefaultWorkflowConfig;
1921
1813
  declare const index$a_createEmbeddedMetadataRecord: typeof createEmbeddedMetadataRecord;
@@ -1926,13 +1818,12 @@ declare const index$a_createTestSignature: typeof createTestSignature;
1926
1818
  declare const index$a_createWorkflowConfig: typeof createWorkflowConfig;
1927
1819
  declare const index$a_loadActorRecord: typeof loadActorRecord;
1928
1820
  declare const index$a_loadAgentRecord: typeof loadAgentRecord;
1929
- declare const index$a_loadChangelogRecord: typeof loadChangelogRecord;
1930
1821
  declare const index$a_loadCycleRecord: typeof loadCycleRecord;
1931
1822
  declare const index$a_loadExecutionRecord: typeof loadExecutionRecord;
1932
1823
  declare const index$a_loadFeedbackRecord: typeof loadFeedbackRecord;
1933
1824
  declare const index$a_loadTaskRecord: typeof loadTaskRecord;
1934
1825
  declare namespace index$a {
1935
- export { type index$a_CreateEmbeddedMetadataOptions as CreateEmbeddedMetadataOptions, type index$a_SignatureConfig as SignatureConfig, index$a_createActorRecord as createActorRecord, index$a_createAgentRecord as createAgentRecord, index$a_createChangelogRecord as createChangelogRecord, index$a_createCycleRecord as createCycleRecord, index$a_createDefaultWorkflowConfig as createDefaultWorkflowConfig, index$a_createEmbeddedMetadataRecord as createEmbeddedMetadataRecord, index$a_createExecutionRecord as createExecutionRecord, index$a_createFeedbackRecord as createFeedbackRecord, index$a_createTaskRecord as createTaskRecord, index$a_createTestSignature as createTestSignature, index$a_createWorkflowConfig as createWorkflowConfig, index$a_loadActorRecord as loadActorRecord, index$a_loadAgentRecord as loadAgentRecord, index$a_loadChangelogRecord as loadChangelogRecord, index$a_loadCycleRecord as loadCycleRecord, index$a_loadExecutionRecord as loadExecutionRecord, index$a_loadFeedbackRecord as loadFeedbackRecord, index$a_loadTaskRecord as loadTaskRecord };
1826
+ export { type index$a_CreateEmbeddedMetadataOptions as CreateEmbeddedMetadataOptions, type index$a_SignatureConfig as SignatureConfig, index$a_createActorRecord as createActorRecord, index$a_createAgentRecord as createAgentRecord, index$a_createCycleRecord as createCycleRecord, index$a_createDefaultWorkflowConfig as createDefaultWorkflowConfig, index$a_createEmbeddedMetadataRecord as createEmbeddedMetadataRecord, index$a_createExecutionRecord as createExecutionRecord, index$a_createFeedbackRecord as createFeedbackRecord, index$a_createTaskRecord as createTaskRecord, index$a_createTestSignature as createTestSignature, index$a_createWorkflowConfig as createWorkflowConfig, index$a_loadActorRecord as loadActorRecord, index$a_loadAgentRecord as loadAgentRecord, index$a_loadCycleRecord as loadCycleRecord, index$a_loadExecutionRecord as loadExecutionRecord, index$a_loadFeedbackRecord as loadFeedbackRecord, index$a_loadTaskRecord as loadTaskRecord };
1936
1827
  }
1937
1828
 
1938
1829
  declare const index$9_EnvKeyProvider: typeof EnvKeyProvider;
@@ -2065,67 +1956,24 @@ declare const Schemas: {
2065
1956
  title: string;
2066
1957
  description: string;
2067
1958
  type: string;
1959
+ additionalProperties: boolean;
2068
1960
  required: string[];
2069
1961
  properties: {
2070
1962
  id: {
2071
1963
  type: string;
2072
1964
  pattern: string;
2073
1965
  description: string;
1966
+ examples: string[];
2074
1967
  };
2075
1968
  status: {
2076
1969
  type: string;
2077
1970
  enum: string[];
2078
1971
  default: string;
2079
- };
2080
- triggers: {
2081
- type: string;
2082
- default: never[];
2083
- description: string;
2084
- items: {
2085
- type: string;
2086
- properties: {
2087
- type: {
2088
- type: string;
2089
- enum: string[];
2090
- description: string;
2091
- };
2092
- };
2093
- required: string[];
2094
- additionalProperties: boolean;
2095
- };
2096
- };
2097
- knowledge_dependencies: {
2098
- type: string;
2099
- default: never[];
2100
- items: {
2101
- type: string;
2102
- description: string;
2103
- };
2104
- };
2105
- prompt_engine_requirements: {
2106
- type: string;
2107
- properties: {
2108
- roles: {
2109
- type: string;
2110
- items: {
2111
- type: string;
2112
- };
2113
- };
2114
- skills: {
2115
- type: string;
2116
- items: {
2117
- type: string;
2118
- };
2119
- };
2120
- };
2121
- };
2122
- metadata: {
2123
- type: string;
2124
1972
  description: string;
2125
- additionalProperties: boolean;
2126
1973
  };
2127
1974
  engine: {
2128
1975
  type: string;
1976
+ description: string;
2129
1977
  oneOf: ({
2130
1978
  required: string[];
2131
1979
  additionalProperties: boolean;
@@ -2168,6 +2016,7 @@ declare const Schemas: {
2168
2016
  type: string;
2169
2017
  enum: string[];
2170
2018
  default: string;
2019
+ description: string;
2171
2020
  };
2172
2021
  auth: {
2173
2022
  type: string;
@@ -2264,6 +2113,54 @@ declare const Schemas: {
2264
2113
  };
2265
2114
  })[];
2266
2115
  };
2116
+ triggers: {
2117
+ type: string;
2118
+ default: never[];
2119
+ description: string;
2120
+ items: {
2121
+ type: string;
2122
+ properties: {
2123
+ type: {
2124
+ type: string;
2125
+ enum: string[];
2126
+ description: string;
2127
+ };
2128
+ };
2129
+ required: string[];
2130
+ additionalProperties: boolean;
2131
+ };
2132
+ };
2133
+ knowledge_dependencies: {
2134
+ type: string;
2135
+ default: never[];
2136
+ items: {
2137
+ type: string;
2138
+ description: string;
2139
+ };
2140
+ };
2141
+ prompt_engine_requirements: {
2142
+ type: string;
2143
+ description: string;
2144
+ properties: {
2145
+ roles: {
2146
+ type: string;
2147
+ items: {
2148
+ type: string;
2149
+ };
2150
+ };
2151
+ skills: {
2152
+ type: string;
2153
+ items: {
2154
+ type: string;
2155
+ };
2156
+ };
2157
+ };
2158
+ };
2159
+ metadata: {
2160
+ type: string;
2161
+ description: string;
2162
+ additionalProperties: boolean;
2163
+ };
2267
2164
  };
2268
2165
  examples: ({
2269
2166
  id: string;
@@ -2586,7 +2483,7 @@ declare const Schemas: {
2586
2483
  metadata?: never;
2587
2484
  })[];
2588
2485
  };
2589
- readonly ChangelogRecord: {
2486
+ readonly CycleRecord: {
2590
2487
  $schema: string;
2591
2488
  $id: string;
2592
2489
  title: string;
@@ -2609,178 +2506,72 @@ declare const Schemas: {
2609
2506
  description: string;
2610
2507
  examples: string[];
2611
2508
  };
2612
- description: {
2613
- type: string;
2614
- minLength: number;
2615
- maxLength: number;
2616
- description: string;
2617
- };
2618
- relatedTasks: {
2619
- type: string;
2620
- items: {
2621
- type: string;
2622
- pattern: string;
2623
- };
2624
- minItems: number;
2625
- description: string;
2626
- };
2627
- completedAt: {
2509
+ status: {
2628
2510
  type: string;
2629
- minimum: number;
2511
+ enum: string[];
2630
2512
  description: string;
2631
2513
  };
2632
- relatedCycles: {
2514
+ taskIds: {
2633
2515
  type: string;
2634
2516
  items: {
2635
2517
  type: string;
2636
2518
  pattern: string;
2519
+ maxLength: number;
2637
2520
  };
2638
2521
  default: never[];
2639
2522
  description: string;
2523
+ examples: string[][];
2640
2524
  };
2641
- relatedExecutions: {
2525
+ childCycleIds: {
2642
2526
  type: string;
2643
2527
  items: {
2644
2528
  type: string;
2645
2529
  pattern: string;
2530
+ maxLength: number;
2646
2531
  };
2647
2532
  default: never[];
2648
2533
  description: string;
2649
- };
2650
- version: {
2651
- type: string;
2652
- minLength: number;
2653
- maxLength: number;
2654
- description: string;
2655
- examples: string[];
2534
+ examples: string[][];
2656
2535
  };
2657
2536
  tags: {
2658
2537
  type: string;
2659
2538
  items: {
2660
2539
  type: string;
2661
2540
  pattern: string;
2662
- };
2663
- default: never[];
2664
- description: string;
2665
- };
2666
- commits: {
2667
- type: string;
2668
- items: {
2669
- type: string;
2670
2541
  maxLength: number;
2671
2542
  };
2672
2543
  default: never[];
2673
2544
  description: string;
2545
+ examples: string[][];
2674
2546
  };
2675
- files: {
2547
+ notes: {
2676
2548
  type: string;
2677
- items: {
2678
- type: string;
2679
- maxLength: number;
2680
- };
2681
- default: never[];
2549
+ minLength: number;
2682
2550
  description: string;
2683
2551
  };
2684
- notes: {
2552
+ metadata: {
2685
2553
  type: string;
2686
- maxLength: number;
2687
- description: string;
2688
- };
2689
- };
2690
- examples: ({
2691
- id: string;
2692
- title: string;
2693
- description: string;
2694
- relatedTasks: string[];
2695
- completedAt: number;
2696
- relatedCycles: string[];
2697
- relatedExecutions: string[];
2698
- version: string;
2699
- tags: string[];
2700
- commits: string[];
2701
- files: string[];
2702
- notes: string;
2703
- } | {
2704
- id: string;
2705
- title: string;
2706
- description: string;
2707
- relatedTasks: string[];
2708
- completedAt: number;
2709
- version: string;
2710
- tags: string[];
2711
- commits: string[];
2712
- notes: string;
2713
- relatedCycles?: never;
2714
- relatedExecutions?: never;
2715
- files?: never;
2716
- })[];
2717
- };
2718
- readonly CycleRecord: {
2719
- $schema: string;
2720
- $id: string;
2721
- title: string;
2722
- description: string;
2723
- additionalProperties: boolean;
2724
- type: string;
2725
- required: string[];
2726
- properties: {
2727
- id: {
2728
- type: string;
2729
- pattern: string;
2730
- maxLength: number;
2731
- description: string;
2732
- examples: string[];
2733
- };
2734
- title: {
2735
- type: string;
2736
- minLength: number;
2737
- maxLength: number;
2738
- description: string;
2739
- examples: string[];
2740
- };
2741
- status: {
2742
- type: string;
2743
- enum: string[];
2744
- description: string;
2745
- };
2746
- taskIds: {
2747
- type: string;
2748
- items: {
2749
- type: string;
2750
- pattern: string;
2751
- maxLength: number;
2752
- };
2753
- default: never[];
2754
- description: string;
2755
- examples: string[][];
2756
- };
2757
- childCycleIds: {
2758
- type: string;
2759
- items: {
2760
- type: string;
2761
- pattern: string;
2762
- maxLength: number;
2763
- };
2764
- default: never[];
2765
- description: string;
2766
- examples: string[][];
2767
- };
2768
- tags: {
2769
- type: string;
2770
- items: {
2771
- type: string;
2772
- pattern: string;
2773
- maxLength: number;
2774
- };
2775
- default: never[];
2776
- description: string;
2777
- examples: string[][];
2778
- };
2779
- notes: {
2780
- type: string;
2781
- minLength: number;
2782
- maxLength: number;
2554
+ additionalProperties: boolean;
2783
2555
  description: string;
2556
+ examples: ({
2557
+ epic: boolean;
2558
+ phase: string;
2559
+ files: {
2560
+ overview: string;
2561
+ roadmap: string;
2562
+ plan: string;
2563
+ };
2564
+ sprint?: never;
2565
+ velocity?: never;
2566
+ team?: never;
2567
+ } | {
2568
+ sprint: number;
2569
+ velocity: number;
2570
+ team: string;
2571
+ epic?: never;
2572
+ phase?: never;
2573
+ files?: never;
2574
+ })[];
2784
2575
  };
2785
2576
  };
2786
2577
  examples: ({
@@ -2813,7 +2604,7 @@ declare const Schemas: {
2813
2604
  properties: {
2814
2605
  version: {
2815
2606
  type: string;
2816
- enum: string[];
2607
+ pattern: string;
2817
2608
  description: string;
2818
2609
  };
2819
2610
  type: {
@@ -2821,6 +2612,16 @@ declare const Schemas: {
2821
2612
  enum: string[];
2822
2613
  description: string;
2823
2614
  };
2615
+ schemaUrl: {
2616
+ type: string;
2617
+ format: string;
2618
+ description: string;
2619
+ };
2620
+ schemaChecksum: {
2621
+ type: string;
2622
+ pattern: string;
2623
+ description: string;
2624
+ };
2824
2625
  payloadChecksum: {
2825
2626
  type: string;
2826
2627
  pattern: string;
@@ -2857,6 +2658,7 @@ declare const Schemas: {
2857
2658
  };
2858
2659
  timestamp: {
2859
2660
  type: string;
2661
+ minimum: number;
2860
2662
  description: string;
2861
2663
  };
2862
2664
  };
@@ -2876,11 +2678,31 @@ declare const Schemas: {
2876
2678
  };
2877
2679
  required: string[];
2878
2680
  additionalProperties: boolean;
2879
- oneOf: {
2681
+ allOf: ({
2880
2682
  if: {
2683
+ properties: {
2684
+ header: {
2685
+ properties: {
2686
+ type: {
2687
+ const: string;
2688
+ };
2689
+ };
2690
+ };
2691
+ };
2692
+ };
2693
+ then: {
2881
2694
  properties: {
2882
2695
  header: {
2883
2696
  type: string;
2697
+ required: string[];
2698
+ };
2699
+ payload?: never;
2700
+ };
2701
+ };
2702
+ } | {
2703
+ if: {
2704
+ properties: {
2705
+ header: {
2884
2706
  properties: {
2885
2707
  type: {
2886
2708
  const: string;
@@ -2894,10 +2716,10 @@ declare const Schemas: {
2894
2716
  payload: {
2895
2717
  $ref: string;
2896
2718
  };
2719
+ header?: never;
2897
2720
  };
2898
2721
  };
2899
- else: boolean;
2900
- }[];
2722
+ })[];
2901
2723
  examples: ({
2902
2724
  header: {
2903
2725
  version: string;
@@ -2910,20 +2732,21 @@ declare const Schemas: {
2910
2732
  signature: string;
2911
2733
  timestamp: number;
2912
2734
  }[];
2735
+ schemaUrl?: never;
2736
+ schemaChecksum?: never;
2913
2737
  };
2914
2738
  payload: {
2915
2739
  id: string;
2740
+ type: string;
2741
+ displayName: string;
2742
+ publicKey: string;
2743
+ roles: string[];
2916
2744
  status: string;
2917
- priority: string;
2918
- description: string;
2919
- tags: string[];
2920
2745
  taskId?: never;
2921
- type?: never;
2922
2746
  title?: never;
2923
2747
  result?: never;
2924
- displayName?: never;
2925
- publicKey?: never;
2926
- roles?: never;
2748
+ deploymentId?: never;
2749
+ environment?: never;
2927
2750
  };
2928
2751
  } | {
2929
2752
  header: {
@@ -2937,6 +2760,8 @@ declare const Schemas: {
2937
2760
  signature: string;
2938
2761
  timestamp: number;
2939
2762
  }[];
2763
+ schemaUrl?: never;
2764
+ schemaChecksum?: never;
2940
2765
  };
2941
2766
  payload: {
2942
2767
  id: string;
@@ -2944,18 +2769,19 @@ declare const Schemas: {
2944
2769
  type: string;
2945
2770
  title: string;
2946
2771
  result: string;
2947
- status?: never;
2948
- priority?: never;
2949
- description?: never;
2950
- tags?: never;
2951
2772
  displayName?: never;
2952
2773
  publicKey?: never;
2953
2774
  roles?: never;
2775
+ status?: never;
2776
+ deploymentId?: never;
2777
+ environment?: never;
2954
2778
  };
2955
2779
  } | {
2956
2780
  header: {
2957
2781
  version: string;
2958
2782
  type: string;
2783
+ schemaUrl: string;
2784
+ schemaChecksum: string;
2959
2785
  payloadChecksum: string;
2960
2786
  signatures: {
2961
2787
  keyId: string;
@@ -2966,15 +2792,14 @@ declare const Schemas: {
2966
2792
  }[];
2967
2793
  };
2968
2794
  payload: {
2969
- id: string;
2970
- type: string;
2971
- displayName: string;
2972
- publicKey: string;
2973
- roles: string[];
2974
- status?: never;
2975
- priority?: never;
2976
- description?: never;
2977
- tags?: never;
2795
+ deploymentId: string;
2796
+ environment: string;
2797
+ status: string;
2798
+ id?: never;
2799
+ type?: never;
2800
+ displayName?: never;
2801
+ publicKey?: never;
2802
+ roles?: never;
2978
2803
  taskId?: never;
2979
2804
  title?: never;
2980
2805
  result?: never;
@@ -2995,7 +2820,6 @@ declare const Schemas: {
2995
2820
  pattern: string;
2996
2821
  maxLength: number;
2997
2822
  description: string;
2998
- examples: string[];
2999
2823
  };
3000
2824
  taskId: {
3001
2825
  type: string;
@@ -3005,32 +2829,29 @@ declare const Schemas: {
3005
2829
  };
3006
2830
  type: {
3007
2831
  type: string;
3008
- enum: string[];
2832
+ pattern: string;
3009
2833
  description: string;
3010
- examples: string[];
3011
2834
  };
3012
2835
  title: {
3013
2836
  type: string;
3014
2837
  minLength: number;
3015
2838
  maxLength: number;
3016
2839
  description: string;
3017
- examples: string[];
3018
2840
  };
3019
2841
  result: {
3020
2842
  type: string;
3021
2843
  minLength: number;
3022
- maxLength: number;
3023
2844
  description: string;
3024
2845
  };
3025
2846
  notes: {
3026
2847
  type: string;
3027
- maxLength: number;
3028
2848
  description: string;
3029
2849
  };
3030
2850
  references: {
3031
2851
  type: string;
3032
2852
  items: {
3033
2853
  type: string;
2854
+ minLength: number;
3034
2855
  maxLength: number;
3035
2856
  };
3036
2857
  default: never[];
@@ -3040,60 +2861,8 @@ declare const Schemas: {
3040
2861
  type: string;
3041
2862
  additionalProperties: boolean;
3042
2863
  description: string;
3043
- examples: ({
3044
- findings: {
3045
- type: string;
3046
- file: string;
3047
- line: number;
3048
- }[];
3049
- scannedFiles: number;
3050
- metrics?: never;
3051
- } | {
3052
- metrics: {
3053
- duration_ms: number;
3054
- memory_mb: number;
3055
- };
3056
- findings?: never;
3057
- scannedFiles?: never;
3058
- })[];
3059
2864
  };
3060
2865
  };
3061
- examples: ({
3062
- id: string;
3063
- taskId: string;
3064
- type: string;
3065
- title: string;
3066
- result: string;
3067
- notes: string;
3068
- references: string[];
3069
- metadata?: never;
3070
- } | {
3071
- id: string;
3072
- taskId: string;
3073
- type: string;
3074
- title: string;
3075
- result: string;
3076
- notes: string;
3077
- references: string[];
3078
- metadata: {
3079
- scannedFiles: number;
3080
- scannedLines: number;
3081
- duration_ms: number;
3082
- findings: {
3083
- id: string;
3084
- severity: string;
3085
- file: string;
3086
- line: number;
3087
- type: string;
3088
- }[];
3089
- summary: {
3090
- critical: number;
3091
- high: number;
3092
- medium: number;
3093
- low: number;
3094
- };
3095
- };
3096
- })[];
3097
2866
  };
3098
2867
  readonly FeedbackRecord: {
3099
2868
  $schema: string;
@@ -3127,7 +2896,6 @@ declare const Schemas: {
3127
2896
  type: string;
3128
2897
  enum: string[];
3129
2898
  description: string;
3130
- examples: string[];
3131
2899
  };
3132
2900
  status: {
3133
2901
  type: string;
@@ -3137,7 +2905,6 @@ declare const Schemas: {
3137
2905
  content: {
3138
2906
  type: string;
3139
2907
  minLength: number;
3140
- maxLength: number;
3141
2908
  description: string;
3142
2909
  };
3143
2910
  assignee: {
@@ -3158,15 +2925,26 @@ declare const Schemas: {
3158
2925
  type: string;
3159
2926
  additionalProperties: boolean;
3160
2927
  description: string;
3161
- examples: {
3162
- fingerprint: string;
3163
- ruleId: string;
3164
- file: string;
3165
- line: number;
3166
- expiresAt: string;
3167
- }[];
3168
2928
  };
3169
2929
  };
2930
+ allOf: {
2931
+ if: {
2932
+ required: string[];
2933
+ properties: {
2934
+ entityType: {
2935
+ const: string;
2936
+ };
2937
+ };
2938
+ };
2939
+ then: {
2940
+ properties: {
2941
+ entityId: {
2942
+ type: string;
2943
+ pattern: string;
2944
+ };
2945
+ };
2946
+ };
2947
+ }[];
3170
2948
  examples: ({
3171
2949
  id: string;
3172
2950
  entityType: string;
@@ -3232,19 +3010,16 @@ declare const Schemas: {
3232
3010
  status: {
3233
3011
  type: string;
3234
3012
  enum: string[];
3235
- maxLength: number;
3236
3013
  description: string;
3237
3014
  };
3238
3015
  priority: {
3239
3016
  type: string;
3240
3017
  enum: string[];
3241
- maxLength: number;
3242
3018
  description: string;
3243
3019
  };
3244
3020
  description: {
3245
3021
  type: string;
3246
3022
  minLength: number;
3247
- maxLength: number;
3248
3023
  description: string;
3249
3024
  };
3250
3025
  tags: {
@@ -3270,9 +3045,28 @@ declare const Schemas: {
3270
3045
  notes: {
3271
3046
  type: string;
3272
3047
  minLength: number;
3273
- maxLength: number;
3274
3048
  description: string;
3275
3049
  };
3050
+ metadata: {
3051
+ type: string;
3052
+ additionalProperties: boolean;
3053
+ description: string;
3054
+ examples: ({
3055
+ epic: boolean;
3056
+ phase: string;
3057
+ files: {
3058
+ overview: string;
3059
+ };
3060
+ jira?: never;
3061
+ storyPoints?: never;
3062
+ } | {
3063
+ jira: string;
3064
+ storyPoints: number;
3065
+ epic?: never;
3066
+ phase?: never;
3067
+ files?: never;
3068
+ })[];
3069
+ };
3276
3070
  };
3277
3071
  examples: ({
3278
3072
  id: string;
@@ -3305,13 +3099,10 @@ declare const Schemas: {
3305
3099
  required: string[];
3306
3100
  additionalProperties: boolean;
3307
3101
  properties: {
3308
- $schema: {
3309
- type: string;
3310
- description: string;
3311
- };
3312
- version: {
3102
+ id: {
3313
3103
  type: string;
3314
3104
  pattern: string;
3105
+ maxLength: number;
3315
3106
  description: string;
3316
3107
  };
3317
3108
  name: {
@@ -3328,6 +3119,9 @@ declare const Schemas: {
3328
3119
  state_transitions: {
3329
3120
  type: string;
3330
3121
  description: string;
3122
+ propertyNames: {
3123
+ pattern: string;
3124
+ };
3331
3125
  additionalProperties: {
3332
3126
  type: string;
3333
3127
  required: string[];
@@ -3342,6 +3136,11 @@ declare const Schemas: {
3342
3136
  minItems: number;
3343
3137
  description: string;
3344
3138
  };
3139
+ to: {
3140
+ type: string;
3141
+ pattern: string;
3142
+ description: string;
3143
+ };
3345
3144
  requires: {
3346
3145
  type: string;
3347
3146
  additionalProperties: boolean;
@@ -3503,152 +3302,12 @@ declare const Schemas: {
3503
3302
  };
3504
3303
  };
3505
3304
  };
3506
- examples: ({
3507
- version: string;
3508
- name: string;
3509
- description: string;
3510
- state_transitions: {
3511
- review: {
3512
- from: string[];
3513
- requires: {
3514
- command: string;
3515
- signatures?: never;
3516
- };
3517
- };
3518
- ready: {
3519
- from: string[];
3520
- requires: {
3521
- command: string;
3522
- signatures: {
3523
- __default__: {
3524
- role: string;
3525
- capability_roles: string[];
3526
- min_approvals: number;
3527
- };
3528
- design?: never;
3529
- quality?: never;
3530
- };
3531
- };
3532
- };
3533
- active: {
3534
- from: string[];
3535
- requires: {
3536
- event: string;
3537
- custom_rules?: never;
3538
- };
3539
- };
3540
- done: {
3541
- from: string[];
3542
- requires: {
3543
- command: string;
3544
- signatures?: never;
3545
- };
3546
- };
3547
- archived?: never;
3548
- paused?: never;
3549
- discarded?: never;
3550
- };
3551
- custom_rules?: never;
3552
- } | {
3553
- version: string;
3554
- name: string;
3555
- description: string;
3556
- state_transitions: {
3557
- review: {
3558
- from: string[];
3559
- requires: {
3560
- command: string;
3561
- signatures: {
3562
- __default__: {
3563
- role: string;
3564
- capability_roles: string[];
3565
- min_approvals: number;
3566
- };
3567
- };
3568
- };
3569
- };
3570
- ready: {
3571
- from: string[];
3572
- requires: {
3573
- command: string;
3574
- signatures: {
3575
- __default__: {
3576
- role: string;
3577
- capability_roles: string[];
3578
- min_approvals: number;
3579
- };
3580
- design: {
3581
- role: string;
3582
- capability_roles: string[];
3583
- min_approvals: number;
3584
- };
3585
- quality: {
3586
- role: string;
3587
- capability_roles: string[];
3588
- min_approvals: number;
3589
- };
3590
- };
3591
- };
3592
- };
3593
- active: {
3594
- from: string[];
3595
- requires: {
3596
- event: string;
3597
- custom_rules: string[];
3598
- };
3599
- };
3600
- done: {
3601
- from: string[];
3602
- requires: {
3603
- command: string;
3604
- signatures: {
3605
- __default__: {
3606
- role: string;
3607
- capability_roles: string[];
3608
- min_approvals: number;
3609
- };
3610
- };
3611
- };
3612
- };
3613
- archived: {
3614
- from: string[];
3615
- requires: {
3616
- event: string;
3617
- };
3618
- };
3619
- paused: {
3620
- from: string[];
3621
- requires: {
3622
- event: string;
3623
- };
3624
- };
3625
- discarded: {
3626
- from: string[];
3627
- requires: {
3628
- command: string;
3629
- signatures: {
3630
- __default__: {
3631
- role: string;
3632
- capability_roles: string[];
3633
- min_approvals: number;
3634
- };
3635
- };
3636
- };
3637
- };
3638
- };
3639
- custom_rules: {
3640
- task_must_have_valid_assignment_for_executor: {
3641
- description: string;
3642
- validation: string;
3643
- };
3644
- };
3645
- })[];
3646
3305
  };
3647
3306
  };
3648
3307
  /**
3649
3308
  * Schema names for type safety
3650
3309
  */
3651
- type SchemaName = "ActorRecord" | "AgentRecord" | "ChangelogRecord" | "CycleRecord" | "EmbeddedMetadata" | "ExecutionRecord" | "FeedbackRecord" | "TaskRecord" | "WorkflowRecord";
3310
+ type SchemaName = "ActorRecord" | "AgentRecord" | "CycleRecord" | "EmbeddedMetadata" | "ExecutionRecord" | "FeedbackRecord" | "TaskRecord" | "WorkflowRecord";
3652
3311
  /**
3653
3312
  * Get a schema by name
3654
3313
  */
@@ -3726,67 +3385,24 @@ declare function getSchema(name: SchemaName): {
3726
3385
  title: string;
3727
3386
  description: string;
3728
3387
  type: string;
3388
+ additionalProperties: boolean;
3729
3389
  required: string[];
3730
3390
  properties: {
3731
3391
  id: {
3732
3392
  type: string;
3733
3393
  pattern: string;
3734
3394
  description: string;
3395
+ examples: string[];
3735
3396
  };
3736
3397
  status: {
3737
3398
  type: string;
3738
3399
  enum: string[];
3739
3400
  default: string;
3740
- };
3741
- triggers: {
3742
- type: string;
3743
- default: never[];
3744
- description: string;
3745
- items: {
3746
- type: string;
3747
- properties: {
3748
- type: {
3749
- type: string;
3750
- enum: string[];
3751
- description: string;
3752
- };
3753
- };
3754
- required: string[];
3755
- additionalProperties: boolean;
3756
- };
3757
- };
3758
- knowledge_dependencies: {
3759
- type: string;
3760
- default: never[];
3761
- items: {
3762
- type: string;
3763
- description: string;
3764
- };
3765
- };
3766
- prompt_engine_requirements: {
3767
- type: string;
3768
- properties: {
3769
- roles: {
3770
- type: string;
3771
- items: {
3772
- type: string;
3773
- };
3774
- };
3775
- skills: {
3776
- type: string;
3777
- items: {
3778
- type: string;
3779
- };
3780
- };
3781
- };
3782
- };
3783
- metadata: {
3784
- type: string;
3785
3401
  description: string;
3786
- additionalProperties: boolean;
3787
3402
  };
3788
3403
  engine: {
3789
3404
  type: string;
3405
+ description: string;
3790
3406
  oneOf: ({
3791
3407
  required: string[];
3792
3408
  additionalProperties: boolean;
@@ -3829,6 +3445,7 @@ declare function getSchema(name: SchemaName): {
3829
3445
  type: string;
3830
3446
  enum: string[];
3831
3447
  default: string;
3448
+ description: string;
3832
3449
  };
3833
3450
  auth: {
3834
3451
  type: string;
@@ -3925,6 +3542,54 @@ declare function getSchema(name: SchemaName): {
3925
3542
  };
3926
3543
  })[];
3927
3544
  };
3545
+ triggers: {
3546
+ type: string;
3547
+ default: never[];
3548
+ description: string;
3549
+ items: {
3550
+ type: string;
3551
+ properties: {
3552
+ type: {
3553
+ type: string;
3554
+ enum: string[];
3555
+ description: string;
3556
+ };
3557
+ };
3558
+ required: string[];
3559
+ additionalProperties: boolean;
3560
+ };
3561
+ };
3562
+ knowledge_dependencies: {
3563
+ type: string;
3564
+ default: never[];
3565
+ items: {
3566
+ type: string;
3567
+ description: string;
3568
+ };
3569
+ };
3570
+ prompt_engine_requirements: {
3571
+ type: string;
3572
+ description: string;
3573
+ properties: {
3574
+ roles: {
3575
+ type: string;
3576
+ items: {
3577
+ type: string;
3578
+ };
3579
+ };
3580
+ skills: {
3581
+ type: string;
3582
+ items: {
3583
+ type: string;
3584
+ };
3585
+ };
3586
+ };
3587
+ };
3588
+ metadata: {
3589
+ type: string;
3590
+ description: string;
3591
+ additionalProperties: boolean;
3592
+ };
3928
3593
  };
3929
3594
  examples: ({
3930
3595
  id: string;
@@ -4203,176 +3868,48 @@ declare function getSchema(name: SchemaName): {
4203
3868
  } | {
4204
3869
  id: string;
4205
3870
  status: string;
4206
- engine: {
4207
- type: string;
4208
- url: string;
4209
- runtime?: never;
4210
- entrypoint?: never;
4211
- function?: never;
4212
- method?: never;
4213
- auth?: never;
4214
- protocol?: never;
4215
- config?: never;
4216
- };
4217
- knowledge_dependencies: string[];
4218
- triggers: {
4219
- type: string;
4220
- }[];
4221
- metadata?: never;
4222
- prompt_engine_requirements?: never;
4223
- } | {
4224
- id: string;
4225
- status: string;
4226
- engine: {
4227
- type: string;
4228
- runtime: string;
4229
- entrypoint: string;
4230
- function: string;
4231
- url?: never;
4232
- method?: never;
4233
- auth?: never;
4234
- protocol?: never;
4235
- config?: never;
4236
- };
4237
- prompt_engine_requirements: {
4238
- roles: string[];
4239
- skills: string[];
4240
- };
4241
- knowledge_dependencies: string[];
4242
- triggers: {
4243
- type: string;
4244
- event: string;
4245
- filter: string;
4246
- }[];
4247
- metadata?: never;
4248
- })[];
4249
- } | {
4250
- $schema: string;
4251
- $id: string;
4252
- title: string;
4253
- description: string;
4254
- additionalProperties: boolean;
4255
- type: string;
4256
- required: string[];
4257
- properties: {
4258
- id: {
4259
- type: string;
4260
- pattern: string;
4261
- maxLength: number;
4262
- description: string;
4263
- examples: string[];
4264
- };
4265
- title: {
4266
- type: string;
4267
- minLength: number;
4268
- maxLength: number;
4269
- description: string;
4270
- examples: string[];
4271
- };
4272
- description: {
4273
- type: string;
4274
- minLength: number;
4275
- maxLength: number;
4276
- description: string;
4277
- };
4278
- relatedTasks: {
4279
- type: string;
4280
- items: {
4281
- type: string;
4282
- pattern: string;
4283
- };
4284
- minItems: number;
4285
- description: string;
4286
- };
4287
- completedAt: {
4288
- type: string;
4289
- minimum: number;
4290
- description: string;
4291
- };
4292
- relatedCycles: {
4293
- type: string;
4294
- items: {
4295
- type: string;
4296
- pattern: string;
4297
- };
4298
- default: never[];
4299
- description: string;
4300
- };
4301
- relatedExecutions: {
4302
- type: string;
4303
- items: {
4304
- type: string;
4305
- pattern: string;
4306
- };
4307
- default: never[];
4308
- description: string;
4309
- };
4310
- version: {
4311
- type: string;
4312
- minLength: number;
4313
- maxLength: number;
4314
- description: string;
4315
- examples: string[];
4316
- };
4317
- tags: {
4318
- type: string;
4319
- items: {
4320
- type: string;
4321
- pattern: string;
4322
- };
4323
- default: never[];
4324
- description: string;
4325
- };
4326
- commits: {
4327
- type: string;
4328
- items: {
4329
- type: string;
4330
- maxLength: number;
4331
- };
4332
- default: never[];
4333
- description: string;
4334
- };
4335
- files: {
4336
- type: string;
4337
- items: {
4338
- type: string;
4339
- maxLength: number;
4340
- };
4341
- default: never[];
4342
- description: string;
4343
- };
4344
- notes: {
3871
+ engine: {
4345
3872
  type: string;
4346
- maxLength: number;
4347
- description: string;
3873
+ url: string;
3874
+ runtime?: never;
3875
+ entrypoint?: never;
3876
+ function?: never;
3877
+ method?: never;
3878
+ auth?: never;
3879
+ protocol?: never;
3880
+ config?: never;
4348
3881
  };
4349
- };
4350
- examples: ({
4351
- id: string;
4352
- title: string;
4353
- description: string;
4354
- relatedTasks: string[];
4355
- completedAt: number;
4356
- relatedCycles: string[];
4357
- relatedExecutions: string[];
4358
- version: string;
4359
- tags: string[];
4360
- commits: string[];
4361
- files: string[];
4362
- notes: string;
3882
+ knowledge_dependencies: string[];
3883
+ triggers: {
3884
+ type: string;
3885
+ }[];
3886
+ metadata?: never;
3887
+ prompt_engine_requirements?: never;
4363
3888
  } | {
4364
3889
  id: string;
4365
- title: string;
4366
- description: string;
4367
- relatedTasks: string[];
4368
- completedAt: number;
4369
- version: string;
4370
- tags: string[];
4371
- commits: string[];
4372
- notes: string;
4373
- relatedCycles?: never;
4374
- relatedExecutions?: never;
4375
- files?: never;
3890
+ status: string;
3891
+ engine: {
3892
+ type: string;
3893
+ runtime: string;
3894
+ entrypoint: string;
3895
+ function: string;
3896
+ url?: never;
3897
+ method?: never;
3898
+ auth?: never;
3899
+ protocol?: never;
3900
+ config?: never;
3901
+ };
3902
+ prompt_engine_requirements: {
3903
+ roles: string[];
3904
+ skills: string[];
3905
+ };
3906
+ knowledge_dependencies: string[];
3907
+ triggers: {
3908
+ type: string;
3909
+ event: string;
3910
+ filter: string;
3911
+ }[];
3912
+ metadata?: never;
4376
3913
  })[];
4377
3914
  } | {
4378
3915
  $schema: string;
@@ -4438,9 +3975,32 @@ declare function getSchema(name: SchemaName): {
4438
3975
  notes: {
4439
3976
  type: string;
4440
3977
  minLength: number;
4441
- maxLength: number;
4442
3978
  description: string;
4443
3979
  };
3980
+ metadata: {
3981
+ type: string;
3982
+ additionalProperties: boolean;
3983
+ description: string;
3984
+ examples: ({
3985
+ epic: boolean;
3986
+ phase: string;
3987
+ files: {
3988
+ overview: string;
3989
+ roadmap: string;
3990
+ plan: string;
3991
+ };
3992
+ sprint?: never;
3993
+ velocity?: never;
3994
+ team?: never;
3995
+ } | {
3996
+ sprint: number;
3997
+ velocity: number;
3998
+ team: string;
3999
+ epic?: never;
4000
+ phase?: never;
4001
+ files?: never;
4002
+ })[];
4003
+ };
4444
4004
  };
4445
4005
  examples: ({
4446
4006
  id: string;
@@ -4471,7 +4031,7 @@ declare function getSchema(name: SchemaName): {
4471
4031
  properties: {
4472
4032
  version: {
4473
4033
  type: string;
4474
- enum: string[];
4034
+ pattern: string;
4475
4035
  description: string;
4476
4036
  };
4477
4037
  type: {
@@ -4479,6 +4039,16 @@ declare function getSchema(name: SchemaName): {
4479
4039
  enum: string[];
4480
4040
  description: string;
4481
4041
  };
4042
+ schemaUrl: {
4043
+ type: string;
4044
+ format: string;
4045
+ description: string;
4046
+ };
4047
+ schemaChecksum: {
4048
+ type: string;
4049
+ pattern: string;
4050
+ description: string;
4051
+ };
4482
4052
  payloadChecksum: {
4483
4053
  type: string;
4484
4054
  pattern: string;
@@ -4515,6 +4085,7 @@ declare function getSchema(name: SchemaName): {
4515
4085
  };
4516
4086
  timestamp: {
4517
4087
  type: string;
4088
+ minimum: number;
4518
4089
  description: string;
4519
4090
  };
4520
4091
  };
@@ -4534,11 +4105,31 @@ declare function getSchema(name: SchemaName): {
4534
4105
  };
4535
4106
  required: string[];
4536
4107
  additionalProperties: boolean;
4537
- oneOf: {
4108
+ allOf: ({
4538
4109
  if: {
4110
+ properties: {
4111
+ header: {
4112
+ properties: {
4113
+ type: {
4114
+ const: string;
4115
+ };
4116
+ };
4117
+ };
4118
+ };
4119
+ };
4120
+ then: {
4539
4121
  properties: {
4540
4122
  header: {
4541
4123
  type: string;
4124
+ required: string[];
4125
+ };
4126
+ payload?: never;
4127
+ };
4128
+ };
4129
+ } | {
4130
+ if: {
4131
+ properties: {
4132
+ header: {
4542
4133
  properties: {
4543
4134
  type: {
4544
4135
  const: string;
@@ -4552,10 +4143,10 @@ declare function getSchema(name: SchemaName): {
4552
4143
  payload: {
4553
4144
  $ref: string;
4554
4145
  };
4146
+ header?: never;
4555
4147
  };
4556
4148
  };
4557
- else: boolean;
4558
- }[];
4149
+ })[];
4559
4150
  examples: ({
4560
4151
  header: {
4561
4152
  version: string;
@@ -4568,20 +4159,21 @@ declare function getSchema(name: SchemaName): {
4568
4159
  signature: string;
4569
4160
  timestamp: number;
4570
4161
  }[];
4162
+ schemaUrl?: never;
4163
+ schemaChecksum?: never;
4571
4164
  };
4572
4165
  payload: {
4573
4166
  id: string;
4167
+ type: string;
4168
+ displayName: string;
4169
+ publicKey: string;
4170
+ roles: string[];
4574
4171
  status: string;
4575
- priority: string;
4576
- description: string;
4577
- tags: string[];
4578
4172
  taskId?: never;
4579
- type?: never;
4580
4173
  title?: never;
4581
4174
  result?: never;
4582
- displayName?: never;
4583
- publicKey?: never;
4584
- roles?: never;
4175
+ deploymentId?: never;
4176
+ environment?: never;
4585
4177
  };
4586
4178
  } | {
4587
4179
  header: {
@@ -4595,6 +4187,8 @@ declare function getSchema(name: SchemaName): {
4595
4187
  signature: string;
4596
4188
  timestamp: number;
4597
4189
  }[];
4190
+ schemaUrl?: never;
4191
+ schemaChecksum?: never;
4598
4192
  };
4599
4193
  payload: {
4600
4194
  id: string;
@@ -4602,18 +4196,19 @@ declare function getSchema(name: SchemaName): {
4602
4196
  type: string;
4603
4197
  title: string;
4604
4198
  result: string;
4605
- status?: never;
4606
- priority?: never;
4607
- description?: never;
4608
- tags?: never;
4609
4199
  displayName?: never;
4610
4200
  publicKey?: never;
4611
4201
  roles?: never;
4202
+ status?: never;
4203
+ deploymentId?: never;
4204
+ environment?: never;
4612
4205
  };
4613
4206
  } | {
4614
4207
  header: {
4615
4208
  version: string;
4616
4209
  type: string;
4210
+ schemaUrl: string;
4211
+ schemaChecksum: string;
4617
4212
  payloadChecksum: string;
4618
4213
  signatures: {
4619
4214
  keyId: string;
@@ -4624,15 +4219,14 @@ declare function getSchema(name: SchemaName): {
4624
4219
  }[];
4625
4220
  };
4626
4221
  payload: {
4627
- id: string;
4628
- type: string;
4629
- displayName: string;
4630
- publicKey: string;
4631
- roles: string[];
4632
- status?: never;
4633
- priority?: never;
4634
- description?: never;
4635
- tags?: never;
4222
+ deploymentId: string;
4223
+ environment: string;
4224
+ status: string;
4225
+ id?: never;
4226
+ type?: never;
4227
+ displayName?: never;
4228
+ publicKey?: never;
4229
+ roles?: never;
4636
4230
  taskId?: never;
4637
4231
  title?: never;
4638
4232
  result?: never;
@@ -4652,7 +4246,6 @@ declare function getSchema(name: SchemaName): {
4652
4246
  pattern: string;
4653
4247
  maxLength: number;
4654
4248
  description: string;
4655
- examples: string[];
4656
4249
  };
4657
4250
  taskId: {
4658
4251
  type: string;
@@ -4662,32 +4255,29 @@ declare function getSchema(name: SchemaName): {
4662
4255
  };
4663
4256
  type: {
4664
4257
  type: string;
4665
- enum: string[];
4258
+ pattern: string;
4666
4259
  description: string;
4667
- examples: string[];
4668
4260
  };
4669
4261
  title: {
4670
4262
  type: string;
4671
4263
  minLength: number;
4672
4264
  maxLength: number;
4673
4265
  description: string;
4674
- examples: string[];
4675
4266
  };
4676
4267
  result: {
4677
4268
  type: string;
4678
4269
  minLength: number;
4679
- maxLength: number;
4680
4270
  description: string;
4681
4271
  };
4682
4272
  notes: {
4683
4273
  type: string;
4684
- maxLength: number;
4685
4274
  description: string;
4686
4275
  };
4687
4276
  references: {
4688
4277
  type: string;
4689
4278
  items: {
4690
4279
  type: string;
4280
+ minLength: number;
4691
4281
  maxLength: number;
4692
4282
  };
4693
4283
  default: never[];
@@ -4697,60 +4287,8 @@ declare function getSchema(name: SchemaName): {
4697
4287
  type: string;
4698
4288
  additionalProperties: boolean;
4699
4289
  description: string;
4700
- examples: ({
4701
- findings: {
4702
- type: string;
4703
- file: string;
4704
- line: number;
4705
- }[];
4706
- scannedFiles: number;
4707
- metrics?: never;
4708
- } | {
4709
- metrics: {
4710
- duration_ms: number;
4711
- memory_mb: number;
4712
- };
4713
- findings?: never;
4714
- scannedFiles?: never;
4715
- })[];
4716
4290
  };
4717
4291
  };
4718
- examples: ({
4719
- id: string;
4720
- taskId: string;
4721
- type: string;
4722
- title: string;
4723
- result: string;
4724
- notes: string;
4725
- references: string[];
4726
- metadata?: never;
4727
- } | {
4728
- id: string;
4729
- taskId: string;
4730
- type: string;
4731
- title: string;
4732
- result: string;
4733
- notes: string;
4734
- references: string[];
4735
- metadata: {
4736
- scannedFiles: number;
4737
- scannedLines: number;
4738
- duration_ms: number;
4739
- findings: {
4740
- id: string;
4741
- severity: string;
4742
- file: string;
4743
- line: number;
4744
- type: string;
4745
- }[];
4746
- summary: {
4747
- critical: number;
4748
- high: number;
4749
- medium: number;
4750
- low: number;
4751
- };
4752
- };
4753
- })[];
4754
4292
  } | {
4755
4293
  $schema: string;
4756
4294
  $id: string;
@@ -4783,7 +4321,6 @@ declare function getSchema(name: SchemaName): {
4783
4321
  type: string;
4784
4322
  enum: string[];
4785
4323
  description: string;
4786
- examples: string[];
4787
4324
  };
4788
4325
  status: {
4789
4326
  type: string;
@@ -4793,7 +4330,6 @@ declare function getSchema(name: SchemaName): {
4793
4330
  content: {
4794
4331
  type: string;
4795
4332
  minLength: number;
4796
- maxLength: number;
4797
4333
  description: string;
4798
4334
  };
4799
4335
  assignee: {
@@ -4814,15 +4350,26 @@ declare function getSchema(name: SchemaName): {
4814
4350
  type: string;
4815
4351
  additionalProperties: boolean;
4816
4352
  description: string;
4817
- examples: {
4818
- fingerprint: string;
4819
- ruleId: string;
4820
- file: string;
4821
- line: number;
4822
- expiresAt: string;
4823
- }[];
4824
4353
  };
4825
4354
  };
4355
+ allOf: {
4356
+ if: {
4357
+ required: string[];
4358
+ properties: {
4359
+ entityType: {
4360
+ const: string;
4361
+ };
4362
+ };
4363
+ };
4364
+ then: {
4365
+ properties: {
4366
+ entityId: {
4367
+ type: string;
4368
+ pattern: string;
4369
+ };
4370
+ };
4371
+ };
4372
+ }[];
4826
4373
  examples: ({
4827
4374
  id: string;
4828
4375
  entityType: string;
@@ -4887,19 +4434,16 @@ declare function getSchema(name: SchemaName): {
4887
4434
  status: {
4888
4435
  type: string;
4889
4436
  enum: string[];
4890
- maxLength: number;
4891
4437
  description: string;
4892
4438
  };
4893
4439
  priority: {
4894
4440
  type: string;
4895
4441
  enum: string[];
4896
- maxLength: number;
4897
4442
  description: string;
4898
4443
  };
4899
4444
  description: {
4900
4445
  type: string;
4901
4446
  minLength: number;
4902
- maxLength: number;
4903
4447
  description: string;
4904
4448
  };
4905
4449
  tags: {
@@ -4925,9 +4469,28 @@ declare function getSchema(name: SchemaName): {
4925
4469
  notes: {
4926
4470
  type: string;
4927
4471
  minLength: number;
4928
- maxLength: number;
4929
4472
  description: string;
4930
4473
  };
4474
+ metadata: {
4475
+ type: string;
4476
+ additionalProperties: boolean;
4477
+ description: string;
4478
+ examples: ({
4479
+ epic: boolean;
4480
+ phase: string;
4481
+ files: {
4482
+ overview: string;
4483
+ };
4484
+ jira?: never;
4485
+ storyPoints?: never;
4486
+ } | {
4487
+ jira: string;
4488
+ storyPoints: number;
4489
+ epic?: never;
4490
+ phase?: never;
4491
+ files?: never;
4492
+ })[];
4493
+ };
4931
4494
  };
4932
4495
  examples: ({
4933
4496
  id: string;
@@ -4959,13 +4522,10 @@ declare function getSchema(name: SchemaName): {
4959
4522
  required: string[];
4960
4523
  additionalProperties: boolean;
4961
4524
  properties: {
4962
- $schema: {
4963
- type: string;
4964
- description: string;
4965
- };
4966
- version: {
4525
+ id: {
4967
4526
  type: string;
4968
4527
  pattern: string;
4528
+ maxLength: number;
4969
4529
  description: string;
4970
4530
  };
4971
4531
  name: {
@@ -4982,6 +4542,9 @@ declare function getSchema(name: SchemaName): {
4982
4542
  state_transitions: {
4983
4543
  type: string;
4984
4544
  description: string;
4545
+ propertyNames: {
4546
+ pattern: string;
4547
+ };
4985
4548
  additionalProperties: {
4986
4549
  type: string;
4987
4550
  required: string[];
@@ -4996,6 +4559,11 @@ declare function getSchema(name: SchemaName): {
4996
4559
  minItems: number;
4997
4560
  description: string;
4998
4561
  };
4562
+ to: {
4563
+ type: string;
4564
+ pattern: string;
4565
+ description: string;
4566
+ };
4999
4567
  requires: {
5000
4568
  type: string;
5001
4569
  additionalProperties: boolean;
@@ -5157,146 +4725,6 @@ declare function getSchema(name: SchemaName): {
5157
4725
  };
5158
4726
  };
5159
4727
  };
5160
- examples: ({
5161
- version: string;
5162
- name: string;
5163
- description: string;
5164
- state_transitions: {
5165
- review: {
5166
- from: string[];
5167
- requires: {
5168
- command: string;
5169
- signatures?: never;
5170
- };
5171
- };
5172
- ready: {
5173
- from: string[];
5174
- requires: {
5175
- command: string;
5176
- signatures: {
5177
- __default__: {
5178
- role: string;
5179
- capability_roles: string[];
5180
- min_approvals: number;
5181
- };
5182
- design?: never;
5183
- quality?: never;
5184
- };
5185
- };
5186
- };
5187
- active: {
5188
- from: string[];
5189
- requires: {
5190
- event: string;
5191
- custom_rules?: never;
5192
- };
5193
- };
5194
- done: {
5195
- from: string[];
5196
- requires: {
5197
- command: string;
5198
- signatures?: never;
5199
- };
5200
- };
5201
- archived?: never;
5202
- paused?: never;
5203
- discarded?: never;
5204
- };
5205
- custom_rules?: never;
5206
- } | {
5207
- version: string;
5208
- name: string;
5209
- description: string;
5210
- state_transitions: {
5211
- review: {
5212
- from: string[];
5213
- requires: {
5214
- command: string;
5215
- signatures: {
5216
- __default__: {
5217
- role: string;
5218
- capability_roles: string[];
5219
- min_approvals: number;
5220
- };
5221
- };
5222
- };
5223
- };
5224
- ready: {
5225
- from: string[];
5226
- requires: {
5227
- command: string;
5228
- signatures: {
5229
- __default__: {
5230
- role: string;
5231
- capability_roles: string[];
5232
- min_approvals: number;
5233
- };
5234
- design: {
5235
- role: string;
5236
- capability_roles: string[];
5237
- min_approvals: number;
5238
- };
5239
- quality: {
5240
- role: string;
5241
- capability_roles: string[];
5242
- min_approvals: number;
5243
- };
5244
- };
5245
- };
5246
- };
5247
- active: {
5248
- from: string[];
5249
- requires: {
5250
- event: string;
5251
- custom_rules: string[];
5252
- };
5253
- };
5254
- done: {
5255
- from: string[];
5256
- requires: {
5257
- command: string;
5258
- signatures: {
5259
- __default__: {
5260
- role: string;
5261
- capability_roles: string[];
5262
- min_approvals: number;
5263
- };
5264
- };
5265
- };
5266
- };
5267
- archived: {
5268
- from: string[];
5269
- requires: {
5270
- event: string;
5271
- };
5272
- };
5273
- paused: {
5274
- from: string[];
5275
- requires: {
5276
- event: string;
5277
- };
5278
- };
5279
- discarded: {
5280
- from: string[];
5281
- requires: {
5282
- command: string;
5283
- signatures: {
5284
- __default__: {
5285
- role: string;
5286
- capability_roles: string[];
5287
- min_approvals: number;
5288
- };
5289
- };
5290
- };
5291
- };
5292
- };
5293
- custom_rules: {
5294
- task_must_have_valid_assignment_for_executor: {
5295
- description: string;
5296
- validation: string;
5297
- };
5298
- };
5299
- })[];
5300
4728
  };
5301
4729
  /**
5302
4730
  * Get all schema names
@@ -5829,25 +5257,6 @@ declare function validateFullExecutionRecord(record: GitGovRecord & {
5829
5257
  payload: ExecutionRecord;
5830
5258
  }, getPublicKey: (keyId: string) => Promise<string>): Promise<void>;
5831
5259
 
5832
- /**
5833
- * Schema-based validation for ChangelogRecord payload
5834
- */
5835
- declare function validateChangelogRecordSchema(data: unknown): [boolean, ValidateFunction["errors"]];
5836
- /**
5837
- * Type guard to check if data is a valid ChangelogRecord
5838
- */
5839
- declare function isChangelogRecord(data: unknown): data is ChangelogRecord;
5840
- /**
5841
- * Detailed validation with field-level error reporting
5842
- */
5843
- declare function validateChangelogRecordDetailed(data: unknown): ValidationResult;
5844
- /**
5845
- * Full validation including checksum and signature verification
5846
- */
5847
- declare function validateFullChangelogRecord(record: GitGovRecord & {
5848
- payload: ChangelogRecord;
5849
- }, getPublicKey: (keyId: string) => Promise<string>): Promise<void>;
5850
-
5851
5260
  /**
5852
5261
  * Schema-based validation for FeedbackRecord payload
5853
5262
  */
@@ -5917,7 +5326,6 @@ declare function validateWorkflowConfigBusinessRules(config: WorkflowRecord): {
5917
5326
  type index$4_ValidationResult = ValidationResult;
5918
5327
  declare const index$4_isActorRecord: typeof isActorRecord;
5919
5328
  declare const index$4_isAgentRecord: typeof isAgentRecord;
5920
- declare const index$4_isChangelogRecord: typeof isChangelogRecord;
5921
5329
  declare const index$4_isCycleRecord: typeof isCycleRecord;
5922
5330
  declare const index$4_isEmbeddedMetadataRecord: typeof isEmbeddedMetadataRecord;
5923
5331
  declare const index$4_isExecutionRecord: typeof isExecutionRecord;
@@ -5929,8 +5337,6 @@ declare const index$4_validateActorRecordSchema: typeof validateActorRecordSchem
5929
5337
  declare const index$4_validateAgentActorRelationship: typeof validateAgentActorRelationship;
5930
5338
  declare const index$4_validateAgentRecordDetailed: typeof validateAgentRecordDetailed;
5931
5339
  declare const index$4_validateAgentRecordSchema: typeof validateAgentRecordSchema;
5932
- declare const index$4_validateChangelogRecordDetailed: typeof validateChangelogRecordDetailed;
5933
- declare const index$4_validateChangelogRecordSchema: typeof validateChangelogRecordSchema;
5934
5340
  declare const index$4_validateCycleRecordDetailed: typeof validateCycleRecordDetailed;
5935
5341
  declare const index$4_validateCycleRecordSchema: typeof validateCycleRecordSchema;
5936
5342
  declare const index$4_validateEmbeddedMetadataDetailed: typeof validateEmbeddedMetadataDetailed;
@@ -5941,7 +5347,6 @@ declare const index$4_validateFeedbackRecordDetailed: typeof validateFeedbackRec
5941
5347
  declare const index$4_validateFeedbackRecordSchema: typeof validateFeedbackRecordSchema;
5942
5348
  declare const index$4_validateFullActorRecord: typeof validateFullActorRecord;
5943
5349
  declare const index$4_validateFullAgentRecord: typeof validateFullAgentRecord;
5944
- declare const index$4_validateFullChangelogRecord: typeof validateFullChangelogRecord;
5945
5350
  declare const index$4_validateFullCycleRecord: typeof validateFullCycleRecord;
5946
5351
  declare const index$4_validateFullEmbeddedMetadataRecord: typeof validateFullEmbeddedMetadataRecord;
5947
5352
  declare const index$4_validateFullExecutionRecord: typeof validateFullExecutionRecord;
@@ -5953,7 +5358,7 @@ declare const index$4_validateWorkflowConfigBusinessRules: typeof validateWorkfl
5953
5358
  declare const index$4_validateWorkflowConfigDetailed: typeof validateWorkflowConfigDetailed;
5954
5359
  declare const index$4_validateWorkflowConfigSchema: typeof validateWorkflowConfigSchema;
5955
5360
  declare namespace index$4 {
5956
- export { type index$4_ValidationResult as ValidationResult, index$4_isActorRecord as isActorRecord, index$4_isAgentRecord as isAgentRecord, index$4_isChangelogRecord as isChangelogRecord, index$4_isCycleRecord as isCycleRecord, index$4_isEmbeddedMetadataRecord as isEmbeddedMetadataRecord, index$4_isExecutionRecord as isExecutionRecord, index$4_isFeedbackRecord as isFeedbackRecord, index$4_isTaskRecord as isTaskRecord, index$4_isWorkflowConfig as isWorkflowConfig, index$4_validateActorRecordDetailed as validateActorRecordDetailed, index$4_validateActorRecordSchema as validateActorRecordSchema, index$4_validateAgentActorRelationship as validateAgentActorRelationship, index$4_validateAgentRecordDetailed as validateAgentRecordDetailed, index$4_validateAgentRecordSchema as validateAgentRecordSchema, index$4_validateChangelogRecordDetailed as validateChangelogRecordDetailed, index$4_validateChangelogRecordSchema as validateChangelogRecordSchema, index$4_validateCycleRecordDetailed as validateCycleRecordDetailed, index$4_validateCycleRecordSchema as validateCycleRecordSchema, index$4_validateEmbeddedMetadataDetailed as validateEmbeddedMetadataDetailed, index$4_validateEmbeddedMetadataSchema as validateEmbeddedMetadataSchema, index$4_validateExecutionRecordDetailed as validateExecutionRecordDetailed, index$4_validateExecutionRecordSchema as validateExecutionRecordSchema, index$4_validateFeedbackRecordDetailed as validateFeedbackRecordDetailed, index$4_validateFeedbackRecordSchema as validateFeedbackRecordSchema, index$4_validateFullActorRecord as validateFullActorRecord, index$4_validateFullAgentRecord as validateFullAgentRecord, index$4_validateFullChangelogRecord as validateFullChangelogRecord, index$4_validateFullCycleRecord as validateFullCycleRecord, index$4_validateFullEmbeddedMetadataRecord as validateFullEmbeddedMetadataRecord, index$4_validateFullExecutionRecord as validateFullExecutionRecord, index$4_validateFullFeedbackRecord as validateFullFeedbackRecord, index$4_validateFullTaskRecord as validateFullTaskRecord, index$4_validateTaskRecordDetailed as validateTaskRecordDetailed, index$4_validateTaskRecordSchema as validateTaskRecordSchema, index$4_validateWorkflowConfigBusinessRules as validateWorkflowConfigBusinessRules, index$4_validateWorkflowConfigDetailed as validateWorkflowConfigDetailed, index$4_validateWorkflowConfigSchema as validateWorkflowConfigSchema };
5361
+ export { type index$4_ValidationResult as ValidationResult, index$4_isActorRecord as isActorRecord, index$4_isAgentRecord as isAgentRecord, index$4_isCycleRecord as isCycleRecord, index$4_isEmbeddedMetadataRecord as isEmbeddedMetadataRecord, index$4_isExecutionRecord as isExecutionRecord, index$4_isFeedbackRecord as isFeedbackRecord, index$4_isTaskRecord as isTaskRecord, index$4_isWorkflowConfig as isWorkflowConfig, index$4_validateActorRecordDetailed as validateActorRecordDetailed, index$4_validateActorRecordSchema as validateActorRecordSchema, index$4_validateAgentActorRelationship as validateAgentActorRelationship, index$4_validateAgentRecordDetailed as validateAgentRecordDetailed, index$4_validateAgentRecordSchema as validateAgentRecordSchema, index$4_validateCycleRecordDetailed as validateCycleRecordDetailed, index$4_validateCycleRecordSchema as validateCycleRecordSchema, index$4_validateEmbeddedMetadataDetailed as validateEmbeddedMetadataDetailed, index$4_validateEmbeddedMetadataSchema as validateEmbeddedMetadataSchema, index$4_validateExecutionRecordDetailed as validateExecutionRecordDetailed, index$4_validateExecutionRecordSchema as validateExecutionRecordSchema, index$4_validateFeedbackRecordDetailed as validateFeedbackRecordDetailed, index$4_validateFeedbackRecordSchema as validateFeedbackRecordSchema, index$4_validateFullActorRecord as validateFullActorRecord, index$4_validateFullAgentRecord as validateFullAgentRecord, index$4_validateFullCycleRecord as validateFullCycleRecord, index$4_validateFullEmbeddedMetadataRecord as validateFullEmbeddedMetadataRecord, index$4_validateFullExecutionRecord as validateFullExecutionRecord, index$4_validateFullFeedbackRecord as validateFullFeedbackRecord, index$4_validateFullTaskRecord as validateFullTaskRecord, index$4_validateTaskRecordDetailed as validateTaskRecordDetailed, index$4_validateTaskRecordSchema as validateTaskRecordSchema, index$4_validateWorkflowConfigBusinessRules as validateWorkflowConfigBusinessRules, index$4_validateWorkflowConfigDetailed as validateWorkflowConfigDetailed, index$4_validateWorkflowConfigSchema as validateWorkflowConfigSchema };
5957
5362
  }
5958
5363
 
5959
5364
  /**
@@ -7073,4 +6478,4 @@ declare namespace index {
7073
6478
  export { type index_ActiveWaiver as ActiveWaiver, type index_AuditContentsInput as AuditContentsInput, type index_AuditOptions as AuditOptions, type index_AuditResult as AuditResult, type index_AuditScope as AuditScope, type index_AuditSummary as AuditSummary, type index_AuditTarget as AuditTarget, type index_CodeScope as CodeScope, type index_CreateWaiverOptions as CreateWaiverOptions, type index_FailOnSeverity as FailOnSeverity, type index_FileContent as FileContent, type index_GitgovScope as GitgovScope, type index_GroupByOption as GroupByOption, type index_IWaiverReader as IWaiverReader, type index_JiraScope as JiraScope, type index_OutputFormat as OutputFormat, type index_ScopeConfig as ScopeConfig, index_ScopeSelector as ScopeSelector, index_ScoringEngine as ScoringEngine, type index_SourceAuditorDependencies as SourceAuditorDependencies, index_SourceAuditorModule as SourceAuditorModule, type index_WaiverMetadata as WaiverMetadata, index_WaiverReader as WaiverReader, type index_WaiverStatus as WaiverStatus, index_WaiverWriter as WaiverWriter };
7074
6479
  }
7075
6480
 
7076
- export { ActivityEvent, ActorRecord, ActorState, index$c as Adapters, AgentRecord, AgentResponse, AllRecords, AuditState, AuditStateReport, index$f as BacklogAdapter, index$g as ChangelogAdapter, ChangelogRecord, CollaborationMetrics, index$r as Config, index$b as Crypto, CycleRecord, DerivedStates, index$2 as DiagramGenerator, EmbeddedMetadataRecord, EnrichedTaskRecord, EnvironmentValidation, index$n as EventBus, index$j as ExecutionAdapter, ExecutionRecord, index$a as Factories, index$i as FeedbackAdapter, FeedbackRecord, index$8 as FileLister, index$1 as FindingDetector, FixReport, GitGovActorRecord, GitGovAgentRecord, GitGovChangelogRecord, GitGovConfig, GitGovCycleRecord, GitGovExecutionRecord, GitGovFeedbackRecord, GitGovRecord, GitGovRecordPayload, GitGovRecordType, GitGovTaskRecord, type IAgentAdapter, IAgentRunner, type IBacklogAdapter, IConfigManager, IExecutionAdapter, type IFeedbackAdapter, FileLister as IFileLister, IIdentityAdapter, KeyProvider as IKeyProvider, ILintModule, IRecordMetrics, IRecordProjection, IRecordProjector, ISessionManager, ISyncStateModule, IdEncoder, index$l as IdentityAdapter, IndexData, IndexGenerationReport, IntegrityReport, index$9 as KeyProvider, index$k as Lint, LintOptions, LintReport$1 as LintReport, LintResult, index$7 as Logger, ProductivityMetrics, index$d as ProjectAdapter, type ProjectInitResult, index$e as ProjectInitializer, ProjectionContext, index$o as RecordMetrics, RecordMetricsDependencies, index$m as RecordProjection, RecordProjectorDependencies, RecordStore, RecordStores$1 as RecordStores, index$q as Records, RunOptions, index$3 as Runner, index$6 as Schemas, index$s as Session, Signature, index as SourceAuditor, index$p as Store, index$5 as SyncState, SyncStatePullResult, SyncStatePushResult, SyncStateResolveResult, SyncStatus, SystemStatus, TaskHealthReport, TaskRecord, index$4 as Validation, ValidatorType, index$h as WorkflowAdapter, type WorkflowRecord };
6481
+ export { ActivityEvent, ActorRecord, ActorState, index$c as Adapters, AgentRecord, AgentResponse, AllRecords, AuditState, AuditStateReport, index$f as BacklogAdapter, CollaborationMetrics, index$q as Config, index$b as Crypto, CycleRecord, DerivedStates, index$2 as DiagramGenerator, EmbeddedMetadataRecord, EnrichedTaskRecord, EnvironmentValidation, index$m as EventBus, index$i as ExecutionAdapter, ExecutionRecord, index$a as Factories, index$h as FeedbackAdapter, FeedbackRecord, index$8 as FileLister, index$1 as FindingDetector, FixReport, GitGovActorRecord, GitGovAgentRecord, GitGovConfig, GitGovCycleRecord, GitGovExecutionRecord, GitGovFeedbackRecord, GitGovRecord, GitGovRecordPayload, GitGovRecordType, GitGovTaskRecord, type IAgentAdapter, IAgentRunner, type IBacklogAdapter, IConfigManager, IExecutionAdapter, type IFeedbackAdapter, FileLister as IFileLister, IIdentityAdapter, KeyProvider as IKeyProvider, ILintModule, IRecordMetrics, IRecordProjection, IRecordProjector, ISessionManager, ISyncStateModule, IdEncoder, index$k as IdentityAdapter, IndexData, IndexGenerationReport, IntegrityReport, index$9 as KeyProvider, index$j as Lint, LintOptions, LintReport$1 as LintReport, LintResult, index$7 as Logger, ProductivityMetrics, index$d as ProjectAdapter, type ProjectInitResult, index$e as ProjectInitializer, ProjectionContext, index$n as RecordMetrics, RecordMetricsDependencies, index$l as RecordProjection, RecordProjectorDependencies, RecordStore, RecordStores$1 as RecordStores, index$p as Records, RunOptions, index$3 as Runner, index$6 as Schemas, index$r as Session, Signature, index as SourceAuditor, index$o as Store, index$5 as SyncState, SyncStatePullResult, SyncStatePushResult, SyncStateResolveResult, SyncStatus, SystemStatus, TaskHealthReport, TaskRecord, index$4 as Validation, ValidatorType, index$g as WorkflowAdapter, type WorkflowRecord };