@gitgov/core 2.7.2 → 2.9.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.
- package/dist/src/{agent_runner-DijNVjaF.d.ts → agent_runner-Cgle_zVX.d.ts} +2 -2
- package/dist/src/fs.d.ts +15 -176
- package/dist/src/fs.js +605 -2931
- package/dist/src/fs.js.map +1 -1
- package/dist/src/github.d.ts +115 -115
- package/dist/src/github.js +1594 -1596
- package/dist/src/github.js.map +1 -1
- package/dist/src/index.d.ts +775 -1221
- package/dist/src/index.js +815 -1196
- package/dist/src/index.js.map +1 -1
- package/dist/src/memory.d.ts +1 -1
- package/dist/src/prisma.d.ts +3 -1
- package/dist/src/prisma.js +7 -2
- package/dist/src/prisma.js.map +1 -1
- package/dist/src/{record_projection.types-D9NkQbL_.d.ts → record_projection.types-CFsl44em.d.ts} +139 -166
- package/dist/src/{sync_state-C2a2RuBQ.d.ts → sync_state-B8X4NDKF.d.ts} +8 -4
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as ActorPayload, d as ActorRecord, e as AgentPayload, f as AgentRecord, C as
|
|
2
|
-
import { C as ConfigManager, E as EventBus,
|
|
1
|
+
import { A as ActorPayload, d as ActorRecord, e as AgentPayload, f as AgentRecord, C as CyclePayload, g as CycleRecord, h as DIR_TO_TYPE, E as EmbeddedMetadataHeader, i as EmbeddedMetadataRecord, j as ExecutionPayload, k as ExecutionRecord, F as FeedbackPayload, l as FeedbackRecord, m as GitGovActorRecord, n as GitGovAgentRecord, o as GitGovCycleRecord, p as GitGovError, q as GitGovExecutionRecord, r as GitGovFeedbackRecord, G as GitGovRecord, s as GitGovRecordPayload, t as GitGovRecordType, u as GitGovTaskRecord, v as RECORD_TYPES, S as Signature, T as TYPE_TO_DIR, w 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 CycleCreatedEvent, X as CycleStatusChangedEvent, Y as EventHandler, Z as EventMetadata, _ as EventSubscription, $ as ExecutionCreatedEvent, a0 as FeedbackCreatedEvent, a1 as GitGovEvent, a2 as SystemDailyTickEvent, a3 as TaskCreatedEvent, a4 as TaskStatusChangedEvent, a as IRecordProjector, a5 as RecordProjectorDependencies, c as IndexData, a6 as IndexGenerationReport, a7 as IntegrityReport, a8 as AllRecords, a9 as DerivedStates, aa as EnrichedTaskRecord, ab as DerivedStateSets, b as IRecordProjection, ac as IntegrityError, ad as IntegrityWarning, P as ProjectionContext } from './record_projection.types-CFsl44em.js';
|
|
2
|
+
import { C as ConfigManager, E as EventBus, o as IEventStream, q as eventBus, r as publishEvent, s as subscribeToEvent, p as IIdentityAdapter, t as IdentityAdapterDependencies, I as ILintModule, u as LintModuleDependencies, c as LintRecordContext, d as LintResult, L as LintOptions, a as LintReport$1, F as FixRecordOptions, b as FixReport, v as FixResult, w as LintSummary, x as RecordEntry, R as RecordStores$1, V as ValidationContext$1, y as ValidatorType, e as ISyncStateModule, z as AuditScope$1, A as AuditStateOptions, n as AuditStateReport, l as ConflictDiff, B as ConflictFileDiff, D as ConflictInfo, G as ConflictType, H as ExpectedFilesScope, m as IntegrityViolation, k as StateDeltaFile, J as SyncStateModuleDependencies, g as SyncStatePullOptions, h as SyncStatePullResult, S as SyncStatePushOptions, f as SyncStatePushResult, i as SyncStateResolveOptions, j as SyncStateResolveResult } from './sync_state-B8X4NDKF.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-
|
|
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-Cgle_zVX.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';
|
|
@@ -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
|
-
*
|
|
68
|
+
* Schema for workflow methodology configuration that defines named state transitions, signatures, and custom rules.
|
|
69
69
|
*/
|
|
70
70
|
interface WorkflowRecord {
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Unique identifier for the workflow record (10 timestamp + 1 dash + 8 'workflow' + 1 dash + max 50 slug = 70 max)
|
|
73
73
|
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Semantic version of the methodology configuration
|
|
77
|
-
*/
|
|
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
|
-
*
|
|
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
|
|
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:
|
|
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'
|
|
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
|
|
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
|
-
*
|
|
179
|
+
* Agents required for this methodology
|
|
180
180
|
*/
|
|
181
181
|
required_agents?: {
|
|
182
182
|
[k: string]: unknown | undefined;
|
|
@@ -188,10 +188,9 @@ declare const index$q_ActorPayload: typeof ActorPayload;
|
|
|
188
188
|
declare const index$q_ActorRecord: typeof ActorRecord;
|
|
189
189
|
declare const index$q_AgentPayload: typeof AgentPayload;
|
|
190
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
191
|
declare const index$q_CyclePayload: typeof CyclePayload;
|
|
194
192
|
declare const index$q_CycleRecord: typeof CycleRecord;
|
|
193
|
+
declare const index$q_DIR_TO_TYPE: typeof DIR_TO_TYPE;
|
|
195
194
|
declare const index$q_EmbeddedMetadataHeader: typeof EmbeddedMetadataHeader;
|
|
196
195
|
declare const index$q_EmbeddedMetadataRecord: typeof EmbeddedMetadataRecord;
|
|
197
196
|
declare const index$q_ExecutionPayload: typeof ExecutionPayload;
|
|
@@ -200,7 +199,6 @@ declare const index$q_FeedbackPayload: typeof FeedbackPayload;
|
|
|
200
199
|
declare const index$q_FeedbackRecord: typeof FeedbackRecord;
|
|
201
200
|
declare const index$q_GitGovActorRecord: typeof GitGovActorRecord;
|
|
202
201
|
declare const index$q_GitGovAgentRecord: typeof GitGovAgentRecord;
|
|
203
|
-
declare const index$q_GitGovChangelogRecord: typeof GitGovChangelogRecord;
|
|
204
202
|
declare const index$q_GitGovCycleRecord: typeof GitGovCycleRecord;
|
|
205
203
|
declare const index$q_GitGovError: typeof GitGovError;
|
|
206
204
|
declare const index$q_GitGovExecutionRecord: typeof GitGovExecutionRecord;
|
|
@@ -209,12 +207,14 @@ declare const index$q_GitGovRecord: typeof GitGovRecord;
|
|
|
209
207
|
declare const index$q_GitGovRecordPayload: typeof GitGovRecordPayload;
|
|
210
208
|
declare const index$q_GitGovRecordType: typeof GitGovRecordType;
|
|
211
209
|
declare const index$q_GitGovTaskRecord: typeof GitGovTaskRecord;
|
|
210
|
+
declare const index$q_RECORD_TYPES: typeof RECORD_TYPES;
|
|
212
211
|
declare const index$q_Signature: typeof Signature;
|
|
212
|
+
declare const index$q_TYPE_TO_DIR: typeof TYPE_TO_DIR;
|
|
213
213
|
declare const index$q_TaskPayload: typeof TaskPayload;
|
|
214
214
|
declare const index$q_TaskRecord: typeof TaskRecord;
|
|
215
215
|
type index$q_WorkflowRecord = WorkflowRecord;
|
|
216
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$
|
|
217
|
+
export { index$q_ActorPayload as ActorPayload, index$q_ActorRecord as ActorRecord, index$q_AgentPayload as AgentPayload, index$q_AgentRecord as AgentRecord, index$q_CyclePayload as CyclePayload, index$q_CycleRecord as CycleRecord, index$q_DIR_TO_TYPE as DIR_TO_TYPE, 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_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_RECORD_TYPES as RECORD_TYPES, index$q_Signature as Signature, index$q_TYPE_TO_DIR as TYPE_TO_DIR, index$q_TaskPayload as TaskPayload, index$q_TaskRecord as TaskRecord, type index$q_WorkflowRecord as WorkflowRecord };
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
declare const index$p_DEFAULT_ID_ENCODER: typeof DEFAULT_ID_ENCODER;
|
|
@@ -241,7 +241,6 @@ declare const index$n_ActorCreatedEvent: typeof ActorCreatedEvent;
|
|
|
241
241
|
declare const index$n_ActorRevokedEvent: typeof ActorRevokedEvent;
|
|
242
242
|
declare const index$n_AgentRegisteredEvent: typeof AgentRegisteredEvent;
|
|
243
243
|
declare const index$n_BaseEvent: typeof BaseEvent;
|
|
244
|
-
declare const index$n_ChangelogCreatedEvent: typeof ChangelogCreatedEvent;
|
|
245
244
|
declare const index$n_CycleCreatedEvent: typeof CycleCreatedEvent;
|
|
246
245
|
declare const index$n_CycleStatusChangedEvent: typeof CycleStatusChangedEvent;
|
|
247
246
|
declare const index$n_EventBus: typeof EventBus;
|
|
@@ -259,7 +258,7 @@ declare const index$n_eventBus: typeof eventBus;
|
|
|
259
258
|
declare const index$n_publishEvent: typeof publishEvent;
|
|
260
259
|
declare const index$n_subscribeToEvent: typeof subscribeToEvent;
|
|
261
260
|
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$
|
|
261
|
+
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_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 };
|
|
263
262
|
}
|
|
264
263
|
|
|
265
264
|
/**
|
|
@@ -336,10 +335,6 @@ declare class RecordProjector implements IRecordProjector {
|
|
|
336
335
|
* Reads all executions from stores.executions with full metadata.
|
|
337
336
|
*/
|
|
338
337
|
private readAllExecutions;
|
|
339
|
-
/**
|
|
340
|
-
* Reads all changelogs from stores.changelogs with full metadata.
|
|
341
|
-
*/
|
|
342
|
-
private readAllChangelogs;
|
|
343
338
|
/**
|
|
344
339
|
* Persists IndexData to sink if available.
|
|
345
340
|
* [EARS-U4] No-op when sink is undefined (writeTime=0).
|
|
@@ -393,7 +388,7 @@ declare class RecordProjector implements IRecordProjector {
|
|
|
393
388
|
* 5. Cycles (all cycles as array with id+title)
|
|
394
389
|
* 6. Metrics (executionCount, blockingFeedbackCount, openQuestionCount)
|
|
395
390
|
* 7. Time to resolution (for done tasks)
|
|
396
|
-
* 8. Release info
|
|
391
|
+
* 8. Release info
|
|
397
392
|
* 9. Derived states (EARS-43: REUTILIZA pre-calculated derivedStates con O(1) lookup)
|
|
398
393
|
* 10. Health score (0-100 using multi-factor algorithm)
|
|
399
394
|
* 11. Time in current stage (days)
|
|
@@ -993,6 +988,11 @@ declare class WorkflowAdapter implements IWorkflow {
|
|
|
993
988
|
* the actor has matching capability roles.
|
|
994
989
|
*/
|
|
995
990
|
private getApplicableSignatureGroup;
|
|
991
|
+
/**
|
|
992
|
+
* Finds a transition config by matching from and to states.
|
|
993
|
+
* Keys are transition names (e.g. submit, approve), target state is in transition.to.
|
|
994
|
+
*/
|
|
995
|
+
private findTransitionByStates;
|
|
996
996
|
/**
|
|
997
997
|
* Determines if a state transition is legal according to the methodology
|
|
998
998
|
*/
|
|
@@ -1018,116 +1018,13 @@ declare namespace index$h {
|
|
|
1018
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
1019
|
}
|
|
1020
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;
|
|
1119
|
-
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 };
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
1021
|
/**
|
|
1124
1022
|
* BacklogAdapter Dependencies - Facade + Dependency Injection Pattern
|
|
1125
1023
|
*/
|
|
1126
1024
|
type BacklogAdapterDependencies = {
|
|
1127
|
-
stores: Required<Pick<RecordStores, 'tasks' | 'cycles' | 'feedbacks'
|
|
1025
|
+
stores: Required<Pick<RecordStores, 'tasks' | 'cycles' | 'feedbacks'>>;
|
|
1128
1026
|
feedbackAdapter: FeedbackAdapter;
|
|
1129
1027
|
executionAdapter: ExecutionAdapter;
|
|
1130
|
-
changelogAdapter: ChangelogAdapter;
|
|
1131
1028
|
metricsAdapter: RecordMetrics;
|
|
1132
1029
|
workflowAdapter: IWorkflow;
|
|
1133
1030
|
identity: IdentityAdapter;
|
|
@@ -1162,7 +1059,6 @@ interface IBacklogAdapter {
|
|
|
1162
1059
|
getTasksAssignedToActor(actorId: string): Promise<TaskRecord[]>;
|
|
1163
1060
|
handleFeedbackCreated(event: FeedbackCreatedEvent): Promise<void>;
|
|
1164
1061
|
handleExecutionCreated(event: ExecutionCreatedEvent): Promise<void>;
|
|
1165
|
-
handleChangelogCreated(event: ChangelogCreatedEvent): Promise<void>;
|
|
1166
1062
|
handleCycleStatusChanged(event: CycleStatusChangedEvent): Promise<void>;
|
|
1167
1063
|
handleDailyTick(event: SystemDailyTickEvent): Promise<void>;
|
|
1168
1064
|
getSystemStatus(): Promise<SystemStatus>;
|
|
@@ -1279,10 +1175,6 @@ declare class BacklogAdapter implements IBacklogAdapter {
|
|
|
1279
1175
|
* [EARS-35] Handles execution created events - transitions ready→active on first execution
|
|
1280
1176
|
*/
|
|
1281
1177
|
handleExecutionCreated(event: ExecutionCreatedEvent): Promise<void>;
|
|
1282
|
-
/**
|
|
1283
|
-
* [EARS-37] Handles changelog created events - transitions done→archived
|
|
1284
|
-
*/
|
|
1285
|
-
handleChangelogCreated(event: ChangelogCreatedEvent): Promise<void>;
|
|
1286
1178
|
/**
|
|
1287
1179
|
* [EARS-38] Handles daily tick events - proactive health auditing
|
|
1288
1180
|
*/
|
|
@@ -1349,21 +1241,21 @@ declare class BacklogAdapter implements IBacklogAdapter {
|
|
|
1349
1241
|
* Public exports for the backlog_adapter module.
|
|
1350
1242
|
*/
|
|
1351
1243
|
|
|
1352
|
-
type index$
|
|
1353
|
-
type index$
|
|
1354
|
-
declare const index$
|
|
1355
|
-
type index$
|
|
1356
|
-
type index$
|
|
1357
|
-
type index$
|
|
1358
|
-
type index$
|
|
1359
|
-
declare namespace index$
|
|
1360
|
-
export { type index$
|
|
1244
|
+
type index$g_AuditReport = AuditReport;
|
|
1245
|
+
type index$g_BacklogAdapter = BacklogAdapter;
|
|
1246
|
+
declare const index$g_BacklogAdapter: typeof BacklogAdapter;
|
|
1247
|
+
type index$g_BacklogAdapterConfig = BacklogAdapterConfig;
|
|
1248
|
+
type index$g_BacklogAdapterDependencies = BacklogAdapterDependencies;
|
|
1249
|
+
type index$g_IBacklogAdapter = IBacklogAdapter;
|
|
1250
|
+
type index$g_LintReport = LintReport;
|
|
1251
|
+
declare namespace index$g {
|
|
1252
|
+
export { type index$g_AuditReport as AuditReport, index$g_BacklogAdapter as BacklogAdapter, type index$g_BacklogAdapterConfig as BacklogAdapterConfig, type index$g_BacklogAdapterDependencies as BacklogAdapterDependencies, type index$g_IBacklogAdapter as IBacklogAdapter, type index$g_LintReport as LintReport };
|
|
1361
1253
|
}
|
|
1362
1254
|
|
|
1363
|
-
declare const index$
|
|
1364
|
-
declare const index$
|
|
1365
|
-
declare namespace index$
|
|
1366
|
-
export { index$
|
|
1255
|
+
declare const index$f_EnvironmentValidation: typeof EnvironmentValidation;
|
|
1256
|
+
declare const index$f_IProjectInitializer: typeof IProjectInitializer;
|
|
1257
|
+
declare namespace index$f {
|
|
1258
|
+
export { index$f_EnvironmentValidation as EnvironmentValidation, index$f_IProjectInitializer as IProjectInitializer };
|
|
1367
1259
|
}
|
|
1368
1260
|
|
|
1369
1261
|
/**
|
|
@@ -1601,8 +1493,47 @@ declare class ProjectAdapter implements IProjectAdapter {
|
|
|
1601
1493
|
* Re-exports for the Project Initialization Engine.
|
|
1602
1494
|
*/
|
|
1603
1495
|
|
|
1496
|
+
declare const index$e_EnvironmentValidation: typeof EnvironmentValidation;
|
|
1497
|
+
type index$e_IProjectAdapter = IProjectAdapter;
|
|
1498
|
+
type index$e_ProjectAdapter = ProjectAdapter;
|
|
1499
|
+
declare const index$e_ProjectAdapter: typeof ProjectAdapter;
|
|
1500
|
+
type index$e_ProjectAdapterDependencies = ProjectAdapterDependencies;
|
|
1501
|
+
type index$e_ProjectContext = ProjectContext;
|
|
1502
|
+
type index$e_ProjectInfo = ProjectInfo;
|
|
1503
|
+
type index$e_ProjectInitOptions = ProjectInitOptions;
|
|
1504
|
+
type index$e_ProjectInitResult = ProjectInitResult;
|
|
1505
|
+
type index$e_ProjectReport = ProjectReport;
|
|
1506
|
+
type index$e_TemplateProcessingResult = TemplateProcessingResult;
|
|
1507
|
+
declare namespace index$e {
|
|
1508
|
+
export { index$e_EnvironmentValidation as EnvironmentValidation, type index$e_IProjectAdapter as IProjectAdapter, index$e_ProjectAdapter as ProjectAdapter, type index$e_ProjectAdapterDependencies as ProjectAdapterDependencies, type index$e_ProjectContext as ProjectContext, type index$e_ProjectInfo as ProjectInfo, type index$e_ProjectInitOptions as ProjectInitOptions, type index$e_ProjectInitResult as ProjectInitResult, type index$e_ProjectReport as ProjectReport, type index$e_TemplateProcessingResult as TemplateProcessingResult };
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
type index$d_AgentAdapter = AgentAdapter;
|
|
1512
|
+
declare const index$d_AgentAdapter: typeof AgentAdapter;
|
|
1513
|
+
type index$d_AgentAdapterDependencies = AgentAdapterDependencies;
|
|
1514
|
+
type index$d_AuditReport = AuditReport;
|
|
1515
|
+
type index$d_BacklogAdapter = BacklogAdapter;
|
|
1516
|
+
declare const index$d_BacklogAdapter: typeof BacklogAdapter;
|
|
1517
|
+
type index$d_BacklogAdapterConfig = BacklogAdapterConfig;
|
|
1518
|
+
type index$d_BacklogAdapterDependencies = BacklogAdapterDependencies;
|
|
1604
1519
|
declare const index$d_EnvironmentValidation: typeof EnvironmentValidation;
|
|
1520
|
+
type index$d_ExecutionAdapter = ExecutionAdapter;
|
|
1521
|
+
declare const index$d_ExecutionAdapter: typeof ExecutionAdapter;
|
|
1522
|
+
declare const index$d_ExecutionAdapterDependencies: typeof ExecutionAdapterDependencies;
|
|
1523
|
+
type index$d_FeedbackAdapter = FeedbackAdapter;
|
|
1524
|
+
declare const index$d_FeedbackAdapter: typeof FeedbackAdapter;
|
|
1525
|
+
type index$d_FeedbackAdapterDependencies = FeedbackAdapterDependencies;
|
|
1526
|
+
type index$d_FeedbackThread = FeedbackThread;
|
|
1527
|
+
type index$d_IAgentAdapter = IAgentAdapter;
|
|
1528
|
+
type index$d_IBacklogAdapter = IBacklogAdapter;
|
|
1529
|
+
declare const index$d_IExecutionAdapter: typeof IExecutionAdapter;
|
|
1530
|
+
type index$d_IFeedbackAdapter = IFeedbackAdapter;
|
|
1531
|
+
declare const index$d_IIdentityAdapter: typeof IIdentityAdapter;
|
|
1605
1532
|
type index$d_IProjectAdapter = IProjectAdapter;
|
|
1533
|
+
type index$d_IWorkflow = IWorkflow;
|
|
1534
|
+
declare const index$d_IdentityAdapter: typeof IdentityAdapter;
|
|
1535
|
+
declare const index$d_IdentityAdapterDependencies: typeof IdentityAdapterDependencies;
|
|
1536
|
+
type index$d_LintReport = LintReport;
|
|
1606
1537
|
type index$d_ProjectAdapter = ProjectAdapter;
|
|
1607
1538
|
declare const index$d_ProjectAdapter: typeof ProjectAdapter;
|
|
1608
1539
|
type index$d_ProjectAdapterDependencies = ProjectAdapterDependencies;
|
|
@@ -1612,57 +1543,13 @@ type index$d_ProjectInitOptions = ProjectInitOptions;
|
|
|
1612
1543
|
type index$d_ProjectInitResult = ProjectInitResult;
|
|
1613
1544
|
type index$d_ProjectReport = ProjectReport;
|
|
1614
1545
|
type index$d_TemplateProcessingResult = TemplateProcessingResult;
|
|
1546
|
+
type index$d_TransitionRule = TransitionRule;
|
|
1547
|
+
type index$d_ValidationContext = ValidationContext;
|
|
1548
|
+
type index$d_WorkflowAdapter = WorkflowAdapter;
|
|
1549
|
+
declare const index$d_WorkflowAdapter: typeof WorkflowAdapter;
|
|
1550
|
+
type index$d_WorkflowAdapterDependencies = WorkflowAdapterDependencies;
|
|
1615
1551
|
declare namespace index$d {
|
|
1616
|
-
export { index$d_EnvironmentValidation as EnvironmentValidation, type index$d_IProjectAdapter as IProjectAdapter, index$d_ProjectAdapter as ProjectAdapter, type index$d_ProjectAdapterDependencies as ProjectAdapterDependencies, type index$d_ProjectContext as ProjectContext, type index$d_ProjectInfo as ProjectInfo, type index$d_ProjectInitOptions as ProjectInitOptions, type index$d_ProjectInitResult as ProjectInitResult, type index$d_ProjectReport as ProjectReport, type index$d_TemplateProcessingResult as TemplateProcessingResult };
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
type index$c_AgentAdapter = AgentAdapter;
|
|
1620
|
-
declare const index$c_AgentAdapter: typeof AgentAdapter;
|
|
1621
|
-
type index$c_AgentAdapterDependencies = AgentAdapterDependencies;
|
|
1622
|
-
type index$c_AuditReport = AuditReport;
|
|
1623
|
-
type index$c_BacklogAdapter = BacklogAdapter;
|
|
1624
|
-
declare const index$c_BacklogAdapter: typeof BacklogAdapter;
|
|
1625
|
-
type index$c_BacklogAdapterConfig = BacklogAdapterConfig;
|
|
1626
|
-
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
|
-
declare const index$c_EnvironmentValidation: typeof EnvironmentValidation;
|
|
1632
|
-
type index$c_ExecutionAdapter = ExecutionAdapter;
|
|
1633
|
-
declare const index$c_ExecutionAdapter: typeof ExecutionAdapter;
|
|
1634
|
-
declare const index$c_ExecutionAdapterDependencies: typeof ExecutionAdapterDependencies;
|
|
1635
|
-
type index$c_FeedbackAdapter = FeedbackAdapter;
|
|
1636
|
-
declare const index$c_FeedbackAdapter: typeof FeedbackAdapter;
|
|
1637
|
-
type index$c_FeedbackAdapterDependencies = FeedbackAdapterDependencies;
|
|
1638
|
-
type index$c_FeedbackThread = FeedbackThread;
|
|
1639
|
-
type index$c_IAgentAdapter = IAgentAdapter;
|
|
1640
|
-
type index$c_IBacklogAdapter = IBacklogAdapter;
|
|
1641
|
-
type index$c_IChangelogAdapter = IChangelogAdapter;
|
|
1642
|
-
declare const index$c_IExecutionAdapter: typeof IExecutionAdapter;
|
|
1643
|
-
type index$c_IFeedbackAdapter = IFeedbackAdapter;
|
|
1644
|
-
declare const index$c_IIdentityAdapter: typeof IIdentityAdapter;
|
|
1645
|
-
type index$c_IProjectAdapter = IProjectAdapter;
|
|
1646
|
-
type index$c_IWorkflow = IWorkflow;
|
|
1647
|
-
declare const index$c_IdentityAdapter: typeof IdentityAdapter;
|
|
1648
|
-
declare const index$c_IdentityAdapterDependencies: typeof IdentityAdapterDependencies;
|
|
1649
|
-
type index$c_LintReport = LintReport;
|
|
1650
|
-
type index$c_ProjectAdapter = ProjectAdapter;
|
|
1651
|
-
declare const index$c_ProjectAdapter: typeof ProjectAdapter;
|
|
1652
|
-
type index$c_ProjectAdapterDependencies = ProjectAdapterDependencies;
|
|
1653
|
-
type index$c_ProjectContext = ProjectContext;
|
|
1654
|
-
type index$c_ProjectInfo = ProjectInfo;
|
|
1655
|
-
type index$c_ProjectInitOptions = ProjectInitOptions;
|
|
1656
|
-
type index$c_ProjectInitResult = ProjectInitResult;
|
|
1657
|
-
type index$c_ProjectReport = ProjectReport;
|
|
1658
|
-
type index$c_TemplateProcessingResult = TemplateProcessingResult;
|
|
1659
|
-
type index$c_TransitionRule = TransitionRule;
|
|
1660
|
-
type index$c_ValidationContext = ValidationContext;
|
|
1661
|
-
type index$c_WorkflowAdapter = WorkflowAdapter;
|
|
1662
|
-
declare const index$c_WorkflowAdapter: typeof WorkflowAdapter;
|
|
1663
|
-
type index$c_WorkflowAdapterDependencies = WorkflowAdapterDependencies;
|
|
1664
|
-
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 };
|
|
1552
|
+
export { index$d_AgentAdapter as AgentAdapter, type index$d_AgentAdapterDependencies as AgentAdapterDependencies, type index$d_AuditReport as AuditReport, index$d_BacklogAdapter as BacklogAdapter, type index$d_BacklogAdapterConfig as BacklogAdapterConfig, type index$d_BacklogAdapterDependencies as BacklogAdapterDependencies, index$d_EnvironmentValidation as EnvironmentValidation, index$d_ExecutionAdapter as ExecutionAdapter, index$d_ExecutionAdapterDependencies as ExecutionAdapterDependencies, index$d_FeedbackAdapter as FeedbackAdapter, type index$d_FeedbackAdapterDependencies as FeedbackAdapterDependencies, type index$d_FeedbackThread as FeedbackThread, type index$d_IAgentAdapter as IAgentAdapter, type index$d_IBacklogAdapter as IBacklogAdapter, index$d_IExecutionAdapter as IExecutionAdapter, type index$d_IFeedbackAdapter as IFeedbackAdapter, index$d_IIdentityAdapter as IIdentityAdapter, type index$d_IProjectAdapter as IProjectAdapter, type index$d_IWorkflow as IWorkflow, index$d_IdentityAdapter as IdentityAdapter, index$d_IdentityAdapterDependencies as IdentityAdapterDependencies, type index$d_LintReport as LintReport, index$d_ProjectAdapter as ProjectAdapter, type index$d_ProjectAdapterDependencies as ProjectAdapterDependencies, type index$d_ProjectContext as ProjectContext, type index$d_ProjectInfo as ProjectInfo, type index$d_ProjectInitOptions as ProjectInitOptions, type index$d_ProjectInitResult as ProjectInitResult, type index$d_ProjectReport as ProjectReport, type index$d_TemplateProcessingResult as TemplateProcessingResult, type index$d_TransitionRule as TransitionRule, type index$d_ValidationContext as ValidationContext, index$d_WorkflowAdapter as WorkflowAdapter, type index$d_WorkflowAdapterDependencies as WorkflowAdapterDependencies };
|
|
1666
1553
|
}
|
|
1667
1554
|
|
|
1668
1555
|
/**
|
|
@@ -1709,13 +1596,13 @@ declare function verifySignatures(record: {
|
|
|
1709
1596
|
*/
|
|
1710
1597
|
declare function generateMockSignature(): string;
|
|
1711
1598
|
|
|
1712
|
-
declare const index$
|
|
1713
|
-
declare const index$
|
|
1714
|
-
declare const index$
|
|
1715
|
-
declare const index$
|
|
1716
|
-
declare const index$
|
|
1717
|
-
declare namespace index$
|
|
1718
|
-
export { index$
|
|
1599
|
+
declare const index$c_calculatePayloadChecksum: typeof calculatePayloadChecksum;
|
|
1600
|
+
declare const index$c_generateKeys: typeof generateKeys;
|
|
1601
|
+
declare const index$c_generateMockSignature: typeof generateMockSignature;
|
|
1602
|
+
declare const index$c_signPayload: typeof signPayload;
|
|
1603
|
+
declare const index$c_verifySignatures: typeof verifySignatures;
|
|
1604
|
+
declare namespace index$c {
|
|
1605
|
+
export { index$c_calculatePayloadChecksum as calculatePayloadChecksum, index$c_generateKeys as generateKeys, index$c_generateMockSignature as generateMockSignature, index$c_signPayload as signPayload, index$c_verifySignatures as verifySignatures };
|
|
1719
1606
|
}
|
|
1720
1607
|
|
|
1721
1608
|
/**
|
|
@@ -1755,8 +1642,22 @@ declare function loadAgentRecord(data: unknown): GitGovAgentRecord;
|
|
|
1755
1642
|
|
|
1756
1643
|
/**
|
|
1757
1644
|
* Creates a new, fully-formed TaskRecord with validation.
|
|
1645
|
+
*
|
|
1646
|
+
* The factory is generic to preserve the metadata type for compile-time safety.
|
|
1647
|
+
*
|
|
1648
|
+
* @param payload - Partial TaskRecord payload with optional typed metadata
|
|
1649
|
+
* @returns TaskRecord<TMetadata> - The validated TaskRecord with preserved metadata type
|
|
1650
|
+
*
|
|
1651
|
+
* @example
|
|
1652
|
+
* interface EpicMeta { jira: string; storyPoints: number; }
|
|
1653
|
+
* const record = createTaskRecord<EpicMeta>({
|
|
1654
|
+
* title: 'Implement OAuth',
|
|
1655
|
+
* description: 'Full OAuth2 implementation',
|
|
1656
|
+
* metadata: { jira: 'AUTH-42', storyPoints: 5 }
|
|
1657
|
+
* });
|
|
1658
|
+
* // record.metadata?.jira is typed as string
|
|
1758
1659
|
*/
|
|
1759
|
-
declare function createTaskRecord(payload: Partial<TaskRecord
|
|
1660
|
+
declare function createTaskRecord<TMetadata extends object = object>(payload: Partial<TaskRecord<TMetadata>>): TaskRecord<TMetadata>;
|
|
1760
1661
|
/**
|
|
1761
1662
|
* Loads and validates an existing TaskRecord from untrusted data.
|
|
1762
1663
|
* Used by RecordStore to validate records when reading from disk.
|
|
@@ -1770,8 +1671,21 @@ declare function loadTaskRecord(data: unknown): GitGovTaskRecord;
|
|
|
1770
1671
|
|
|
1771
1672
|
/**
|
|
1772
1673
|
* Creates a new, fully-formed CycleRecord with validation.
|
|
1674
|
+
*
|
|
1675
|
+
* The factory is generic to preserve the metadata type for compile-time safety.
|
|
1676
|
+
*
|
|
1677
|
+
* @param payload - Partial CycleRecord payload with optional typed metadata
|
|
1678
|
+
* @returns CycleRecord<TMetadata> - The validated CycleRecord with preserved metadata type
|
|
1679
|
+
*
|
|
1680
|
+
* @example
|
|
1681
|
+
* interface EpicCycleMeta { epic: boolean; phase: string; }
|
|
1682
|
+
* const record = createCycleRecord<EpicCycleMeta>({
|
|
1683
|
+
* title: 'Sprint Q4 Performance',
|
|
1684
|
+
* metadata: { epic: true, phase: 'active' }
|
|
1685
|
+
* });
|
|
1686
|
+
* // record.metadata?.epic is typed as boolean
|
|
1773
1687
|
*/
|
|
1774
|
-
declare function createCycleRecord(payload: Partial<CycleRecord
|
|
1688
|
+
declare function createCycleRecord<TMetadata extends object = object>(payload: Partial<CycleRecord<TMetadata>>): CycleRecord<TMetadata>;
|
|
1775
1689
|
/**
|
|
1776
1690
|
* Loads and validates an existing CycleRecord from untrusted data.
|
|
1777
1691
|
* Used by RecordStore to validate records when reading from disk.
|
|
@@ -1812,24 +1726,6 @@ declare function createExecutionRecord<TMetadata extends object = object>(payloa
|
|
|
1812
1726
|
*/
|
|
1813
1727
|
declare function loadExecutionRecord(data: unknown): GitGovExecutionRecord;
|
|
1814
1728
|
|
|
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
1729
|
/**
|
|
1834
1730
|
* Creates a complete FeedbackRecord with validation.
|
|
1835
1731
|
*
|
|
@@ -1911,55 +1807,53 @@ declare function createTestSignature(keyId?: string, role?: string, notes?: stri
|
|
|
1911
1807
|
*/
|
|
1912
1808
|
declare function createEmbeddedMetadataRecord<T extends GitGovRecordPayload>(payload: T, options?: CreateEmbeddedMetadataOptions): EmbeddedMetadataRecord<T>;
|
|
1913
1809
|
|
|
1914
|
-
type index$
|
|
1915
|
-
type index$
|
|
1916
|
-
declare const index$
|
|
1917
|
-
declare const index$
|
|
1918
|
-
declare const index$
|
|
1919
|
-
declare const index$
|
|
1920
|
-
declare const index$
|
|
1921
|
-
declare const index$
|
|
1922
|
-
declare const index$
|
|
1923
|
-
declare const index$
|
|
1924
|
-
declare const index$
|
|
1925
|
-
declare const index$
|
|
1926
|
-
declare const index$
|
|
1927
|
-
declare const index$
|
|
1928
|
-
declare const index$
|
|
1929
|
-
declare const index$
|
|
1930
|
-
declare const index$
|
|
1931
|
-
declare const index$
|
|
1932
|
-
declare
|
|
1933
|
-
|
|
1934
|
-
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 };
|
|
1810
|
+
type index$b_CreateEmbeddedMetadataOptions = CreateEmbeddedMetadataOptions;
|
|
1811
|
+
type index$b_SignatureConfig = SignatureConfig;
|
|
1812
|
+
declare const index$b_createActorRecord: typeof createActorRecord;
|
|
1813
|
+
declare const index$b_createAgentRecord: typeof createAgentRecord;
|
|
1814
|
+
declare const index$b_createCycleRecord: typeof createCycleRecord;
|
|
1815
|
+
declare const index$b_createDefaultWorkflowConfig: typeof createDefaultWorkflowConfig;
|
|
1816
|
+
declare const index$b_createEmbeddedMetadataRecord: typeof createEmbeddedMetadataRecord;
|
|
1817
|
+
declare const index$b_createExecutionRecord: typeof createExecutionRecord;
|
|
1818
|
+
declare const index$b_createFeedbackRecord: typeof createFeedbackRecord;
|
|
1819
|
+
declare const index$b_createTaskRecord: typeof createTaskRecord;
|
|
1820
|
+
declare const index$b_createTestSignature: typeof createTestSignature;
|
|
1821
|
+
declare const index$b_createWorkflowConfig: typeof createWorkflowConfig;
|
|
1822
|
+
declare const index$b_loadActorRecord: typeof loadActorRecord;
|
|
1823
|
+
declare const index$b_loadAgentRecord: typeof loadAgentRecord;
|
|
1824
|
+
declare const index$b_loadCycleRecord: typeof loadCycleRecord;
|
|
1825
|
+
declare const index$b_loadExecutionRecord: typeof loadExecutionRecord;
|
|
1826
|
+
declare const index$b_loadFeedbackRecord: typeof loadFeedbackRecord;
|
|
1827
|
+
declare const index$b_loadTaskRecord: typeof loadTaskRecord;
|
|
1828
|
+
declare namespace index$b {
|
|
1829
|
+
export { type index$b_CreateEmbeddedMetadataOptions as CreateEmbeddedMetadataOptions, type index$b_SignatureConfig as SignatureConfig, index$b_createActorRecord as createActorRecord, index$b_createAgentRecord as createAgentRecord, index$b_createCycleRecord as createCycleRecord, index$b_createDefaultWorkflowConfig as createDefaultWorkflowConfig, index$b_createEmbeddedMetadataRecord as createEmbeddedMetadataRecord, index$b_createExecutionRecord as createExecutionRecord, index$b_createFeedbackRecord as createFeedbackRecord, index$b_createTaskRecord as createTaskRecord, index$b_createTestSignature as createTestSignature, index$b_createWorkflowConfig as createWorkflowConfig, index$b_loadActorRecord as loadActorRecord, index$b_loadAgentRecord as loadAgentRecord, index$b_loadCycleRecord as loadCycleRecord, index$b_loadExecutionRecord as loadExecutionRecord, index$b_loadFeedbackRecord as loadFeedbackRecord, index$b_loadTaskRecord as loadTaskRecord };
|
|
1936
1830
|
}
|
|
1937
1831
|
|
|
1938
|
-
declare const index$
|
|
1939
|
-
declare const index$
|
|
1940
|
-
declare const index$
|
|
1941
|
-
declare const index$
|
|
1942
|
-
declare const index$
|
|
1943
|
-
declare const index$
|
|
1944
|
-
declare const index$
|
|
1945
|
-
declare const index$
|
|
1946
|
-
declare const index$
|
|
1947
|
-
declare namespace index$
|
|
1948
|
-
export { index$
|
|
1832
|
+
declare const index$a_EnvKeyProvider: typeof EnvKeyProvider;
|
|
1833
|
+
declare const index$a_EnvKeyProviderOptions: typeof EnvKeyProviderOptions;
|
|
1834
|
+
declare const index$a_FsKeyProvider: typeof FsKeyProvider;
|
|
1835
|
+
declare const index$a_FsKeyProviderOptions: typeof FsKeyProviderOptions;
|
|
1836
|
+
declare const index$a_KeyProvider: typeof KeyProvider;
|
|
1837
|
+
declare const index$a_KeyProviderError: typeof KeyProviderError;
|
|
1838
|
+
declare const index$a_KeyProviderErrorCode: typeof KeyProviderErrorCode;
|
|
1839
|
+
declare const index$a_MockKeyProvider: typeof MockKeyProvider;
|
|
1840
|
+
declare const index$a_MockKeyProviderOptions: typeof MockKeyProviderOptions;
|
|
1841
|
+
declare namespace index$a {
|
|
1842
|
+
export { index$a_EnvKeyProvider as EnvKeyProvider, index$a_EnvKeyProviderOptions as EnvKeyProviderOptions, index$a_FsKeyProvider as FsKeyProvider, index$a_FsKeyProviderOptions as FsKeyProviderOptions, index$a_KeyProvider as KeyProvider, index$a_KeyProviderError as KeyProviderError, index$a_KeyProviderErrorCode as KeyProviderErrorCode, index$a_MockKeyProvider as MockKeyProvider, index$a_MockKeyProviderOptions as MockKeyProviderOptions };
|
|
1949
1843
|
}
|
|
1950
1844
|
|
|
1951
|
-
declare const index$
|
|
1952
|
-
declare const index$
|
|
1953
|
-
type index$
|
|
1954
|
-
declare const index$
|
|
1955
|
-
type index$
|
|
1956
|
-
declare const index$
|
|
1957
|
-
declare const index$
|
|
1958
|
-
declare const index$
|
|
1959
|
-
declare const index$
|
|
1960
|
-
declare const index$
|
|
1961
|
-
declare namespace index$
|
|
1962
|
-
export { index$
|
|
1845
|
+
declare const index$9_FileListOptions: typeof FileListOptions;
|
|
1846
|
+
declare const index$9_FileLister: typeof FileLister;
|
|
1847
|
+
type index$9_FileListerError = FileListerError;
|
|
1848
|
+
declare const index$9_FileListerError: typeof FileListerError;
|
|
1849
|
+
type index$9_FileListerErrorCode = FileListerErrorCode;
|
|
1850
|
+
declare const index$9_FileStats: typeof FileStats;
|
|
1851
|
+
declare const index$9_FsFileLister: typeof FsFileLister;
|
|
1852
|
+
declare const index$9_FsFileListerOptions: typeof FsFileListerOptions;
|
|
1853
|
+
declare const index$9_MemoryFileLister: typeof MemoryFileLister;
|
|
1854
|
+
declare const index$9_MemoryFileListerOptions: typeof MemoryFileListerOptions;
|
|
1855
|
+
declare namespace index$9 {
|
|
1856
|
+
export { index$9_FileListOptions as FileListOptions, index$9_FileLister as FileLister, index$9_FileListerError as FileListerError, type index$9_FileListerErrorCode as FileListerErrorCode, index$9_FileStats as FileStats, index$9_FsFileLister as FsFileLister, index$9_FsFileListerOptions as FsFileListerOptions, index$9_MemoryFileLister as MemoryFileLister, index$9_MemoryFileListerOptions as MemoryFileListerOptions };
|
|
1963
1857
|
}
|
|
1964
1858
|
|
|
1965
1859
|
type LogLevel = "debug" | "info" | "warn" | "error" | "silent";
|
|
@@ -1972,12 +1866,12 @@ interface Logger {
|
|
|
1972
1866
|
declare function createLogger(prefix?: string, level?: LogLevel): Logger;
|
|
1973
1867
|
declare const logger: Logger;
|
|
1974
1868
|
|
|
1975
|
-
type index$
|
|
1976
|
-
type index$
|
|
1977
|
-
declare const index$
|
|
1978
|
-
declare const index$
|
|
1979
|
-
declare namespace index$
|
|
1980
|
-
export { type index$
|
|
1869
|
+
type index$8_LogLevel = LogLevel;
|
|
1870
|
+
type index$8_Logger = Logger;
|
|
1871
|
+
declare const index$8_createLogger: typeof createLogger;
|
|
1872
|
+
declare const index$8_logger: typeof logger;
|
|
1873
|
+
declare namespace index$8 {
|
|
1874
|
+
export { type index$8_LogLevel as LogLevel, type index$8_Logger as Logger, index$8_createLogger as createLogger, index$8_logger as logger };
|
|
1981
1875
|
}
|
|
1982
1876
|
|
|
1983
1877
|
/**
|
|
@@ -2065,67 +1959,24 @@ declare const Schemas: {
|
|
|
2065
1959
|
title: string;
|
|
2066
1960
|
description: string;
|
|
2067
1961
|
type: string;
|
|
1962
|
+
additionalProperties: boolean;
|
|
2068
1963
|
required: string[];
|
|
2069
1964
|
properties: {
|
|
2070
1965
|
id: {
|
|
2071
1966
|
type: string;
|
|
2072
1967
|
pattern: string;
|
|
2073
1968
|
description: string;
|
|
1969
|
+
examples: string[];
|
|
2074
1970
|
};
|
|
2075
1971
|
status: {
|
|
2076
1972
|
type: string;
|
|
2077
1973
|
enum: string[];
|
|
2078
1974
|
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
1975
|
description: string;
|
|
2125
|
-
additionalProperties: boolean;
|
|
2126
1976
|
};
|
|
2127
1977
|
engine: {
|
|
2128
1978
|
type: string;
|
|
1979
|
+
description: string;
|
|
2129
1980
|
oneOf: ({
|
|
2130
1981
|
required: string[];
|
|
2131
1982
|
additionalProperties: boolean;
|
|
@@ -2168,6 +2019,7 @@ declare const Schemas: {
|
|
|
2168
2019
|
type: string;
|
|
2169
2020
|
enum: string[];
|
|
2170
2021
|
default: string;
|
|
2022
|
+
description: string;
|
|
2171
2023
|
};
|
|
2172
2024
|
auth: {
|
|
2173
2025
|
type: string;
|
|
@@ -2264,6 +2116,54 @@ declare const Schemas: {
|
|
|
2264
2116
|
};
|
|
2265
2117
|
})[];
|
|
2266
2118
|
};
|
|
2119
|
+
triggers: {
|
|
2120
|
+
type: string;
|
|
2121
|
+
default: never[];
|
|
2122
|
+
description: string;
|
|
2123
|
+
items: {
|
|
2124
|
+
type: string;
|
|
2125
|
+
properties: {
|
|
2126
|
+
type: {
|
|
2127
|
+
type: string;
|
|
2128
|
+
enum: string[];
|
|
2129
|
+
description: string;
|
|
2130
|
+
};
|
|
2131
|
+
};
|
|
2132
|
+
required: string[];
|
|
2133
|
+
additionalProperties: boolean;
|
|
2134
|
+
};
|
|
2135
|
+
};
|
|
2136
|
+
knowledge_dependencies: {
|
|
2137
|
+
type: string;
|
|
2138
|
+
default: never[];
|
|
2139
|
+
items: {
|
|
2140
|
+
type: string;
|
|
2141
|
+
description: string;
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2144
|
+
prompt_engine_requirements: {
|
|
2145
|
+
type: string;
|
|
2146
|
+
description: string;
|
|
2147
|
+
properties: {
|
|
2148
|
+
roles: {
|
|
2149
|
+
type: string;
|
|
2150
|
+
items: {
|
|
2151
|
+
type: string;
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
skills: {
|
|
2155
|
+
type: string;
|
|
2156
|
+
items: {
|
|
2157
|
+
type: string;
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
};
|
|
2161
|
+
};
|
|
2162
|
+
metadata: {
|
|
2163
|
+
type: string;
|
|
2164
|
+
description: string;
|
|
2165
|
+
additionalProperties: boolean;
|
|
2166
|
+
};
|
|
2267
2167
|
};
|
|
2268
2168
|
examples: ({
|
|
2269
2169
|
id: string;
|
|
@@ -2586,7 +2486,7 @@ declare const Schemas: {
|
|
|
2586
2486
|
metadata?: never;
|
|
2587
2487
|
})[];
|
|
2588
2488
|
};
|
|
2589
|
-
readonly
|
|
2489
|
+
readonly CycleRecord: {
|
|
2590
2490
|
$schema: string;
|
|
2591
2491
|
$id: string;
|
|
2592
2492
|
title: string;
|
|
@@ -2609,178 +2509,72 @@ declare const Schemas: {
|
|
|
2609
2509
|
description: string;
|
|
2610
2510
|
examples: string[];
|
|
2611
2511
|
};
|
|
2612
|
-
|
|
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: {
|
|
2512
|
+
status: {
|
|
2628
2513
|
type: string;
|
|
2629
|
-
|
|
2514
|
+
enum: string[];
|
|
2630
2515
|
description: string;
|
|
2631
2516
|
};
|
|
2632
|
-
|
|
2517
|
+
taskIds: {
|
|
2633
2518
|
type: string;
|
|
2634
2519
|
items: {
|
|
2635
2520
|
type: string;
|
|
2636
2521
|
pattern: string;
|
|
2522
|
+
maxLength: number;
|
|
2637
2523
|
};
|
|
2638
2524
|
default: never[];
|
|
2639
2525
|
description: string;
|
|
2526
|
+
examples: string[][];
|
|
2640
2527
|
};
|
|
2641
|
-
|
|
2528
|
+
childCycleIds: {
|
|
2642
2529
|
type: string;
|
|
2643
2530
|
items: {
|
|
2644
2531
|
type: string;
|
|
2645
2532
|
pattern: string;
|
|
2533
|
+
maxLength: number;
|
|
2646
2534
|
};
|
|
2647
2535
|
default: never[];
|
|
2648
2536
|
description: string;
|
|
2649
|
-
|
|
2650
|
-
version: {
|
|
2651
|
-
type: string;
|
|
2652
|
-
minLength: number;
|
|
2653
|
-
maxLength: number;
|
|
2654
|
-
description: string;
|
|
2655
|
-
examples: string[];
|
|
2537
|
+
examples: string[][];
|
|
2656
2538
|
};
|
|
2657
2539
|
tags: {
|
|
2658
2540
|
type: string;
|
|
2659
2541
|
items: {
|
|
2660
2542
|
type: string;
|
|
2661
2543
|
pattern: string;
|
|
2662
|
-
};
|
|
2663
|
-
default: never[];
|
|
2664
|
-
description: string;
|
|
2665
|
-
};
|
|
2666
|
-
commits: {
|
|
2667
|
-
type: string;
|
|
2668
|
-
items: {
|
|
2669
|
-
type: string;
|
|
2670
2544
|
maxLength: number;
|
|
2671
2545
|
};
|
|
2672
2546
|
default: never[];
|
|
2673
2547
|
description: string;
|
|
2548
|
+
examples: string[][];
|
|
2674
2549
|
};
|
|
2675
|
-
|
|
2550
|
+
notes: {
|
|
2676
2551
|
type: string;
|
|
2677
|
-
|
|
2678
|
-
type: string;
|
|
2679
|
-
maxLength: number;
|
|
2680
|
-
};
|
|
2681
|
-
default: never[];
|
|
2552
|
+
minLength: number;
|
|
2682
2553
|
description: string;
|
|
2683
2554
|
};
|
|
2684
|
-
|
|
2555
|
+
metadata: {
|
|
2685
2556
|
type: string;
|
|
2686
|
-
|
|
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;
|
|
2557
|
+
additionalProperties: boolean;
|
|
2783
2558
|
description: string;
|
|
2559
|
+
examples: ({
|
|
2560
|
+
epic: boolean;
|
|
2561
|
+
phase: string;
|
|
2562
|
+
files: {
|
|
2563
|
+
overview: string;
|
|
2564
|
+
roadmap: string;
|
|
2565
|
+
plan: string;
|
|
2566
|
+
};
|
|
2567
|
+
sprint?: never;
|
|
2568
|
+
velocity?: never;
|
|
2569
|
+
team?: never;
|
|
2570
|
+
} | {
|
|
2571
|
+
sprint: number;
|
|
2572
|
+
velocity: number;
|
|
2573
|
+
team: string;
|
|
2574
|
+
epic?: never;
|
|
2575
|
+
phase?: never;
|
|
2576
|
+
files?: never;
|
|
2577
|
+
})[];
|
|
2784
2578
|
};
|
|
2785
2579
|
};
|
|
2786
2580
|
examples: ({
|
|
@@ -2813,7 +2607,7 @@ declare const Schemas: {
|
|
|
2813
2607
|
properties: {
|
|
2814
2608
|
version: {
|
|
2815
2609
|
type: string;
|
|
2816
|
-
|
|
2610
|
+
pattern: string;
|
|
2817
2611
|
description: string;
|
|
2818
2612
|
};
|
|
2819
2613
|
type: {
|
|
@@ -2821,6 +2615,16 @@ declare const Schemas: {
|
|
|
2821
2615
|
enum: string[];
|
|
2822
2616
|
description: string;
|
|
2823
2617
|
};
|
|
2618
|
+
schemaUrl: {
|
|
2619
|
+
type: string;
|
|
2620
|
+
format: string;
|
|
2621
|
+
description: string;
|
|
2622
|
+
};
|
|
2623
|
+
schemaChecksum: {
|
|
2624
|
+
type: string;
|
|
2625
|
+
pattern: string;
|
|
2626
|
+
description: string;
|
|
2627
|
+
};
|
|
2824
2628
|
payloadChecksum: {
|
|
2825
2629
|
type: string;
|
|
2826
2630
|
pattern: string;
|
|
@@ -2857,6 +2661,7 @@ declare const Schemas: {
|
|
|
2857
2661
|
};
|
|
2858
2662
|
timestamp: {
|
|
2859
2663
|
type: string;
|
|
2664
|
+
minimum: number;
|
|
2860
2665
|
description: string;
|
|
2861
2666
|
};
|
|
2862
2667
|
};
|
|
@@ -2876,7 +2681,29 @@ declare const Schemas: {
|
|
|
2876
2681
|
};
|
|
2877
2682
|
required: string[];
|
|
2878
2683
|
additionalProperties: boolean;
|
|
2879
|
-
|
|
2684
|
+
allOf: ({
|
|
2685
|
+
if: {
|
|
2686
|
+
properties: {
|
|
2687
|
+
header: {
|
|
2688
|
+
type: string;
|
|
2689
|
+
properties: {
|
|
2690
|
+
type: {
|
|
2691
|
+
const: string;
|
|
2692
|
+
};
|
|
2693
|
+
};
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
};
|
|
2697
|
+
then: {
|
|
2698
|
+
properties: {
|
|
2699
|
+
header: {
|
|
2700
|
+
type: string;
|
|
2701
|
+
required: string[];
|
|
2702
|
+
};
|
|
2703
|
+
payload?: never;
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2706
|
+
} | {
|
|
2880
2707
|
if: {
|
|
2881
2708
|
properties: {
|
|
2882
2709
|
header: {
|
|
@@ -2894,10 +2721,10 @@ declare const Schemas: {
|
|
|
2894
2721
|
payload: {
|
|
2895
2722
|
$ref: string;
|
|
2896
2723
|
};
|
|
2724
|
+
header?: never;
|
|
2897
2725
|
};
|
|
2898
2726
|
};
|
|
2899
|
-
|
|
2900
|
-
}[];
|
|
2727
|
+
})[];
|
|
2901
2728
|
examples: ({
|
|
2902
2729
|
header: {
|
|
2903
2730
|
version: string;
|
|
@@ -2910,20 +2737,21 @@ declare const Schemas: {
|
|
|
2910
2737
|
signature: string;
|
|
2911
2738
|
timestamp: number;
|
|
2912
2739
|
}[];
|
|
2740
|
+
schemaUrl?: never;
|
|
2741
|
+
schemaChecksum?: never;
|
|
2913
2742
|
};
|
|
2914
2743
|
payload: {
|
|
2915
2744
|
id: string;
|
|
2745
|
+
type: string;
|
|
2746
|
+
displayName: string;
|
|
2747
|
+
publicKey: string;
|
|
2748
|
+
roles: string[];
|
|
2916
2749
|
status: string;
|
|
2917
|
-
priority: string;
|
|
2918
|
-
description: string;
|
|
2919
|
-
tags: string[];
|
|
2920
2750
|
taskId?: never;
|
|
2921
|
-
type?: never;
|
|
2922
2751
|
title?: never;
|
|
2923
2752
|
result?: never;
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
roles?: never;
|
|
2753
|
+
deploymentId?: never;
|
|
2754
|
+
environment?: never;
|
|
2927
2755
|
};
|
|
2928
2756
|
} | {
|
|
2929
2757
|
header: {
|
|
@@ -2937,6 +2765,8 @@ declare const Schemas: {
|
|
|
2937
2765
|
signature: string;
|
|
2938
2766
|
timestamp: number;
|
|
2939
2767
|
}[];
|
|
2768
|
+
schemaUrl?: never;
|
|
2769
|
+
schemaChecksum?: never;
|
|
2940
2770
|
};
|
|
2941
2771
|
payload: {
|
|
2942
2772
|
id: string;
|
|
@@ -2944,18 +2774,19 @@ declare const Schemas: {
|
|
|
2944
2774
|
type: string;
|
|
2945
2775
|
title: string;
|
|
2946
2776
|
result: string;
|
|
2947
|
-
status?: never;
|
|
2948
|
-
priority?: never;
|
|
2949
|
-
description?: never;
|
|
2950
|
-
tags?: never;
|
|
2951
2777
|
displayName?: never;
|
|
2952
2778
|
publicKey?: never;
|
|
2953
2779
|
roles?: never;
|
|
2780
|
+
status?: never;
|
|
2781
|
+
deploymentId?: never;
|
|
2782
|
+
environment?: never;
|
|
2954
2783
|
};
|
|
2955
2784
|
} | {
|
|
2956
2785
|
header: {
|
|
2957
2786
|
version: string;
|
|
2958
2787
|
type: string;
|
|
2788
|
+
schemaUrl: string;
|
|
2789
|
+
schemaChecksum: string;
|
|
2959
2790
|
payloadChecksum: string;
|
|
2960
2791
|
signatures: {
|
|
2961
2792
|
keyId: string;
|
|
@@ -2966,15 +2797,14 @@ declare const Schemas: {
|
|
|
2966
2797
|
}[];
|
|
2967
2798
|
};
|
|
2968
2799
|
payload: {
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
tags?: never;
|
|
2800
|
+
deploymentId: string;
|
|
2801
|
+
environment: string;
|
|
2802
|
+
status: string;
|
|
2803
|
+
id?: never;
|
|
2804
|
+
type?: never;
|
|
2805
|
+
displayName?: never;
|
|
2806
|
+
publicKey?: never;
|
|
2807
|
+
roles?: never;
|
|
2978
2808
|
taskId?: never;
|
|
2979
2809
|
title?: never;
|
|
2980
2810
|
result?: never;
|
|
@@ -2995,7 +2825,6 @@ declare const Schemas: {
|
|
|
2995
2825
|
pattern: string;
|
|
2996
2826
|
maxLength: number;
|
|
2997
2827
|
description: string;
|
|
2998
|
-
examples: string[];
|
|
2999
2828
|
};
|
|
3000
2829
|
taskId: {
|
|
3001
2830
|
type: string;
|
|
@@ -3005,32 +2834,29 @@ declare const Schemas: {
|
|
|
3005
2834
|
};
|
|
3006
2835
|
type: {
|
|
3007
2836
|
type: string;
|
|
3008
|
-
|
|
2837
|
+
pattern: string;
|
|
3009
2838
|
description: string;
|
|
3010
|
-
examples: string[];
|
|
3011
2839
|
};
|
|
3012
2840
|
title: {
|
|
3013
2841
|
type: string;
|
|
3014
2842
|
minLength: number;
|
|
3015
2843
|
maxLength: number;
|
|
3016
2844
|
description: string;
|
|
3017
|
-
examples: string[];
|
|
3018
2845
|
};
|
|
3019
2846
|
result: {
|
|
3020
2847
|
type: string;
|
|
3021
2848
|
minLength: number;
|
|
3022
|
-
maxLength: number;
|
|
3023
2849
|
description: string;
|
|
3024
2850
|
};
|
|
3025
2851
|
notes: {
|
|
3026
2852
|
type: string;
|
|
3027
|
-
maxLength: number;
|
|
3028
2853
|
description: string;
|
|
3029
2854
|
};
|
|
3030
2855
|
references: {
|
|
3031
2856
|
type: string;
|
|
3032
2857
|
items: {
|
|
3033
2858
|
type: string;
|
|
2859
|
+
minLength: number;
|
|
3034
2860
|
maxLength: number;
|
|
3035
2861
|
};
|
|
3036
2862
|
default: never[];
|
|
@@ -3040,60 +2866,8 @@ declare const Schemas: {
|
|
|
3040
2866
|
type: string;
|
|
3041
2867
|
additionalProperties: boolean;
|
|
3042
2868
|
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
2869
|
};
|
|
3060
2870
|
};
|
|
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
2871
|
};
|
|
3098
2872
|
readonly FeedbackRecord: {
|
|
3099
2873
|
$schema: string;
|
|
@@ -3127,7 +2901,6 @@ declare const Schemas: {
|
|
|
3127
2901
|
type: string;
|
|
3128
2902
|
enum: string[];
|
|
3129
2903
|
description: string;
|
|
3130
|
-
examples: string[];
|
|
3131
2904
|
};
|
|
3132
2905
|
status: {
|
|
3133
2906
|
type: string;
|
|
@@ -3137,7 +2910,6 @@ declare const Schemas: {
|
|
|
3137
2910
|
content: {
|
|
3138
2911
|
type: string;
|
|
3139
2912
|
minLength: number;
|
|
3140
|
-
maxLength: number;
|
|
3141
2913
|
description: string;
|
|
3142
2914
|
};
|
|
3143
2915
|
assignee: {
|
|
@@ -3158,15 +2930,26 @@ declare const Schemas: {
|
|
|
3158
2930
|
type: string;
|
|
3159
2931
|
additionalProperties: boolean;
|
|
3160
2932
|
description: string;
|
|
3161
|
-
examples: {
|
|
3162
|
-
fingerprint: string;
|
|
3163
|
-
ruleId: string;
|
|
3164
|
-
file: string;
|
|
3165
|
-
line: number;
|
|
3166
|
-
expiresAt: string;
|
|
3167
|
-
}[];
|
|
3168
2933
|
};
|
|
3169
2934
|
};
|
|
2935
|
+
allOf: {
|
|
2936
|
+
if: {
|
|
2937
|
+
required: string[];
|
|
2938
|
+
properties: {
|
|
2939
|
+
entityType: {
|
|
2940
|
+
const: string;
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
then: {
|
|
2945
|
+
properties: {
|
|
2946
|
+
entityId: {
|
|
2947
|
+
type: string;
|
|
2948
|
+
pattern: string;
|
|
2949
|
+
};
|
|
2950
|
+
};
|
|
2951
|
+
};
|
|
2952
|
+
}[];
|
|
3170
2953
|
examples: ({
|
|
3171
2954
|
id: string;
|
|
3172
2955
|
entityType: string;
|
|
@@ -3232,19 +3015,16 @@ declare const Schemas: {
|
|
|
3232
3015
|
status: {
|
|
3233
3016
|
type: string;
|
|
3234
3017
|
enum: string[];
|
|
3235
|
-
maxLength: number;
|
|
3236
3018
|
description: string;
|
|
3237
3019
|
};
|
|
3238
3020
|
priority: {
|
|
3239
3021
|
type: string;
|
|
3240
3022
|
enum: string[];
|
|
3241
|
-
maxLength: number;
|
|
3242
3023
|
description: string;
|
|
3243
3024
|
};
|
|
3244
3025
|
description: {
|
|
3245
3026
|
type: string;
|
|
3246
3027
|
minLength: number;
|
|
3247
|
-
maxLength: number;
|
|
3248
3028
|
description: string;
|
|
3249
3029
|
};
|
|
3250
3030
|
tags: {
|
|
@@ -3270,9 +3050,28 @@ declare const Schemas: {
|
|
|
3270
3050
|
notes: {
|
|
3271
3051
|
type: string;
|
|
3272
3052
|
minLength: number;
|
|
3273
|
-
maxLength: number;
|
|
3274
3053
|
description: string;
|
|
3275
3054
|
};
|
|
3055
|
+
metadata: {
|
|
3056
|
+
type: string;
|
|
3057
|
+
additionalProperties: boolean;
|
|
3058
|
+
description: string;
|
|
3059
|
+
examples: ({
|
|
3060
|
+
epic: boolean;
|
|
3061
|
+
phase: string;
|
|
3062
|
+
files: {
|
|
3063
|
+
overview: string;
|
|
3064
|
+
};
|
|
3065
|
+
jira?: never;
|
|
3066
|
+
storyPoints?: never;
|
|
3067
|
+
} | {
|
|
3068
|
+
jira: string;
|
|
3069
|
+
storyPoints: number;
|
|
3070
|
+
epic?: never;
|
|
3071
|
+
phase?: never;
|
|
3072
|
+
files?: never;
|
|
3073
|
+
})[];
|
|
3074
|
+
};
|
|
3276
3075
|
};
|
|
3277
3076
|
examples: ({
|
|
3278
3077
|
id: string;
|
|
@@ -3305,13 +3104,10 @@ declare const Schemas: {
|
|
|
3305
3104
|
required: string[];
|
|
3306
3105
|
additionalProperties: boolean;
|
|
3307
3106
|
properties: {
|
|
3308
|
-
|
|
3309
|
-
type: string;
|
|
3310
|
-
description: string;
|
|
3311
|
-
};
|
|
3312
|
-
version: {
|
|
3107
|
+
id: {
|
|
3313
3108
|
type: string;
|
|
3314
3109
|
pattern: string;
|
|
3110
|
+
maxLength: number;
|
|
3315
3111
|
description: string;
|
|
3316
3112
|
};
|
|
3317
3113
|
name: {
|
|
@@ -3328,6 +3124,9 @@ declare const Schemas: {
|
|
|
3328
3124
|
state_transitions: {
|
|
3329
3125
|
type: string;
|
|
3330
3126
|
description: string;
|
|
3127
|
+
propertyNames: {
|
|
3128
|
+
pattern: string;
|
|
3129
|
+
};
|
|
3331
3130
|
additionalProperties: {
|
|
3332
3131
|
type: string;
|
|
3333
3132
|
required: string[];
|
|
@@ -3342,6 +3141,11 @@ declare const Schemas: {
|
|
|
3342
3141
|
minItems: number;
|
|
3343
3142
|
description: string;
|
|
3344
3143
|
};
|
|
3144
|
+
to: {
|
|
3145
|
+
type: string;
|
|
3146
|
+
pattern: string;
|
|
3147
|
+
description: string;
|
|
3148
|
+
};
|
|
3345
3149
|
requires: {
|
|
3346
3150
|
type: string;
|
|
3347
3151
|
additionalProperties: boolean;
|
|
@@ -3503,152 +3307,12 @@ declare const Schemas: {
|
|
|
3503
3307
|
};
|
|
3504
3308
|
};
|
|
3505
3309
|
};
|
|
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
3310
|
};
|
|
3647
3311
|
};
|
|
3648
3312
|
/**
|
|
3649
3313
|
* Schema names for type safety
|
|
3650
3314
|
*/
|
|
3651
|
-
type SchemaName = "ActorRecord" | "AgentRecord" | "
|
|
3315
|
+
type SchemaName = "ActorRecord" | "AgentRecord" | "CycleRecord" | "EmbeddedMetadata" | "ExecutionRecord" | "FeedbackRecord" | "TaskRecord" | "WorkflowRecord";
|
|
3652
3316
|
/**
|
|
3653
3317
|
* Get a schema by name
|
|
3654
3318
|
*/
|
|
@@ -3726,67 +3390,24 @@ declare function getSchema(name: SchemaName): {
|
|
|
3726
3390
|
title: string;
|
|
3727
3391
|
description: string;
|
|
3728
3392
|
type: string;
|
|
3393
|
+
additionalProperties: boolean;
|
|
3729
3394
|
required: string[];
|
|
3730
3395
|
properties: {
|
|
3731
3396
|
id: {
|
|
3732
3397
|
type: string;
|
|
3733
3398
|
pattern: string;
|
|
3734
3399
|
description: string;
|
|
3400
|
+
examples: string[];
|
|
3735
3401
|
};
|
|
3736
3402
|
status: {
|
|
3737
3403
|
type: string;
|
|
3738
3404
|
enum: string[];
|
|
3739
3405
|
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
3406
|
description: string;
|
|
3786
|
-
additionalProperties: boolean;
|
|
3787
3407
|
};
|
|
3788
3408
|
engine: {
|
|
3789
3409
|
type: string;
|
|
3410
|
+
description: string;
|
|
3790
3411
|
oneOf: ({
|
|
3791
3412
|
required: string[];
|
|
3792
3413
|
additionalProperties: boolean;
|
|
@@ -3829,6 +3450,7 @@ declare function getSchema(name: SchemaName): {
|
|
|
3829
3450
|
type: string;
|
|
3830
3451
|
enum: string[];
|
|
3831
3452
|
default: string;
|
|
3453
|
+
description: string;
|
|
3832
3454
|
};
|
|
3833
3455
|
auth: {
|
|
3834
3456
|
type: string;
|
|
@@ -3925,6 +3547,54 @@ declare function getSchema(name: SchemaName): {
|
|
|
3925
3547
|
};
|
|
3926
3548
|
})[];
|
|
3927
3549
|
};
|
|
3550
|
+
triggers: {
|
|
3551
|
+
type: string;
|
|
3552
|
+
default: never[];
|
|
3553
|
+
description: string;
|
|
3554
|
+
items: {
|
|
3555
|
+
type: string;
|
|
3556
|
+
properties: {
|
|
3557
|
+
type: {
|
|
3558
|
+
type: string;
|
|
3559
|
+
enum: string[];
|
|
3560
|
+
description: string;
|
|
3561
|
+
};
|
|
3562
|
+
};
|
|
3563
|
+
required: string[];
|
|
3564
|
+
additionalProperties: boolean;
|
|
3565
|
+
};
|
|
3566
|
+
};
|
|
3567
|
+
knowledge_dependencies: {
|
|
3568
|
+
type: string;
|
|
3569
|
+
default: never[];
|
|
3570
|
+
items: {
|
|
3571
|
+
type: string;
|
|
3572
|
+
description: string;
|
|
3573
|
+
};
|
|
3574
|
+
};
|
|
3575
|
+
prompt_engine_requirements: {
|
|
3576
|
+
type: string;
|
|
3577
|
+
description: string;
|
|
3578
|
+
properties: {
|
|
3579
|
+
roles: {
|
|
3580
|
+
type: string;
|
|
3581
|
+
items: {
|
|
3582
|
+
type: string;
|
|
3583
|
+
};
|
|
3584
|
+
};
|
|
3585
|
+
skills: {
|
|
3586
|
+
type: string;
|
|
3587
|
+
items: {
|
|
3588
|
+
type: string;
|
|
3589
|
+
};
|
|
3590
|
+
};
|
|
3591
|
+
};
|
|
3592
|
+
};
|
|
3593
|
+
metadata: {
|
|
3594
|
+
type: string;
|
|
3595
|
+
description: string;
|
|
3596
|
+
additionalProperties: boolean;
|
|
3597
|
+
};
|
|
3928
3598
|
};
|
|
3929
3599
|
examples: ({
|
|
3930
3600
|
id: string;
|
|
@@ -4240,139 +3910,11 @@ declare function getSchema(name: SchemaName): {
|
|
|
4240
3910
|
};
|
|
4241
3911
|
knowledge_dependencies: string[];
|
|
4242
3912
|
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: {
|
|
4345
|
-
type: string;
|
|
4346
|
-
maxLength: number;
|
|
4347
|
-
description: string;
|
|
4348
|
-
};
|
|
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;
|
|
4363
|
-
} | {
|
|
4364
|
-
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;
|
|
3913
|
+
type: string;
|
|
3914
|
+
event: string;
|
|
3915
|
+
filter: string;
|
|
3916
|
+
}[];
|
|
3917
|
+
metadata?: never;
|
|
4376
3918
|
})[];
|
|
4377
3919
|
} | {
|
|
4378
3920
|
$schema: string;
|
|
@@ -4438,9 +3980,32 @@ declare function getSchema(name: SchemaName): {
|
|
|
4438
3980
|
notes: {
|
|
4439
3981
|
type: string;
|
|
4440
3982
|
minLength: number;
|
|
4441
|
-
maxLength: number;
|
|
4442
3983
|
description: string;
|
|
4443
3984
|
};
|
|
3985
|
+
metadata: {
|
|
3986
|
+
type: string;
|
|
3987
|
+
additionalProperties: boolean;
|
|
3988
|
+
description: string;
|
|
3989
|
+
examples: ({
|
|
3990
|
+
epic: boolean;
|
|
3991
|
+
phase: string;
|
|
3992
|
+
files: {
|
|
3993
|
+
overview: string;
|
|
3994
|
+
roadmap: string;
|
|
3995
|
+
plan: string;
|
|
3996
|
+
};
|
|
3997
|
+
sprint?: never;
|
|
3998
|
+
velocity?: never;
|
|
3999
|
+
team?: never;
|
|
4000
|
+
} | {
|
|
4001
|
+
sprint: number;
|
|
4002
|
+
velocity: number;
|
|
4003
|
+
team: string;
|
|
4004
|
+
epic?: never;
|
|
4005
|
+
phase?: never;
|
|
4006
|
+
files?: never;
|
|
4007
|
+
})[];
|
|
4008
|
+
};
|
|
4444
4009
|
};
|
|
4445
4010
|
examples: ({
|
|
4446
4011
|
id: string;
|
|
@@ -4471,7 +4036,7 @@ declare function getSchema(name: SchemaName): {
|
|
|
4471
4036
|
properties: {
|
|
4472
4037
|
version: {
|
|
4473
4038
|
type: string;
|
|
4474
|
-
|
|
4039
|
+
pattern: string;
|
|
4475
4040
|
description: string;
|
|
4476
4041
|
};
|
|
4477
4042
|
type: {
|
|
@@ -4479,6 +4044,16 @@ declare function getSchema(name: SchemaName): {
|
|
|
4479
4044
|
enum: string[];
|
|
4480
4045
|
description: string;
|
|
4481
4046
|
};
|
|
4047
|
+
schemaUrl: {
|
|
4048
|
+
type: string;
|
|
4049
|
+
format: string;
|
|
4050
|
+
description: string;
|
|
4051
|
+
};
|
|
4052
|
+
schemaChecksum: {
|
|
4053
|
+
type: string;
|
|
4054
|
+
pattern: string;
|
|
4055
|
+
description: string;
|
|
4056
|
+
};
|
|
4482
4057
|
payloadChecksum: {
|
|
4483
4058
|
type: string;
|
|
4484
4059
|
pattern: string;
|
|
@@ -4515,6 +4090,7 @@ declare function getSchema(name: SchemaName): {
|
|
|
4515
4090
|
};
|
|
4516
4091
|
timestamp: {
|
|
4517
4092
|
type: string;
|
|
4093
|
+
minimum: number;
|
|
4518
4094
|
description: string;
|
|
4519
4095
|
};
|
|
4520
4096
|
};
|
|
@@ -4534,7 +4110,29 @@ declare function getSchema(name: SchemaName): {
|
|
|
4534
4110
|
};
|
|
4535
4111
|
required: string[];
|
|
4536
4112
|
additionalProperties: boolean;
|
|
4537
|
-
|
|
4113
|
+
allOf: ({
|
|
4114
|
+
if: {
|
|
4115
|
+
properties: {
|
|
4116
|
+
header: {
|
|
4117
|
+
type: string;
|
|
4118
|
+
properties: {
|
|
4119
|
+
type: {
|
|
4120
|
+
const: string;
|
|
4121
|
+
};
|
|
4122
|
+
};
|
|
4123
|
+
};
|
|
4124
|
+
};
|
|
4125
|
+
};
|
|
4126
|
+
then: {
|
|
4127
|
+
properties: {
|
|
4128
|
+
header: {
|
|
4129
|
+
type: string;
|
|
4130
|
+
required: string[];
|
|
4131
|
+
};
|
|
4132
|
+
payload?: never;
|
|
4133
|
+
};
|
|
4134
|
+
};
|
|
4135
|
+
} | {
|
|
4538
4136
|
if: {
|
|
4539
4137
|
properties: {
|
|
4540
4138
|
header: {
|
|
@@ -4552,10 +4150,10 @@ declare function getSchema(name: SchemaName): {
|
|
|
4552
4150
|
payload: {
|
|
4553
4151
|
$ref: string;
|
|
4554
4152
|
};
|
|
4153
|
+
header?: never;
|
|
4555
4154
|
};
|
|
4556
4155
|
};
|
|
4557
|
-
|
|
4558
|
-
}[];
|
|
4156
|
+
})[];
|
|
4559
4157
|
examples: ({
|
|
4560
4158
|
header: {
|
|
4561
4159
|
version: string;
|
|
@@ -4568,20 +4166,21 @@ declare function getSchema(name: SchemaName): {
|
|
|
4568
4166
|
signature: string;
|
|
4569
4167
|
timestamp: number;
|
|
4570
4168
|
}[];
|
|
4169
|
+
schemaUrl?: never;
|
|
4170
|
+
schemaChecksum?: never;
|
|
4571
4171
|
};
|
|
4572
4172
|
payload: {
|
|
4573
4173
|
id: string;
|
|
4174
|
+
type: string;
|
|
4175
|
+
displayName: string;
|
|
4176
|
+
publicKey: string;
|
|
4177
|
+
roles: string[];
|
|
4574
4178
|
status: string;
|
|
4575
|
-
priority: string;
|
|
4576
|
-
description: string;
|
|
4577
|
-
tags: string[];
|
|
4578
4179
|
taskId?: never;
|
|
4579
|
-
type?: never;
|
|
4580
4180
|
title?: never;
|
|
4581
4181
|
result?: never;
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
roles?: never;
|
|
4182
|
+
deploymentId?: never;
|
|
4183
|
+
environment?: never;
|
|
4585
4184
|
};
|
|
4586
4185
|
} | {
|
|
4587
4186
|
header: {
|
|
@@ -4595,6 +4194,8 @@ declare function getSchema(name: SchemaName): {
|
|
|
4595
4194
|
signature: string;
|
|
4596
4195
|
timestamp: number;
|
|
4597
4196
|
}[];
|
|
4197
|
+
schemaUrl?: never;
|
|
4198
|
+
schemaChecksum?: never;
|
|
4598
4199
|
};
|
|
4599
4200
|
payload: {
|
|
4600
4201
|
id: string;
|
|
@@ -4602,18 +4203,19 @@ declare function getSchema(name: SchemaName): {
|
|
|
4602
4203
|
type: string;
|
|
4603
4204
|
title: string;
|
|
4604
4205
|
result: string;
|
|
4605
|
-
status?: never;
|
|
4606
|
-
priority?: never;
|
|
4607
|
-
description?: never;
|
|
4608
|
-
tags?: never;
|
|
4609
4206
|
displayName?: never;
|
|
4610
4207
|
publicKey?: never;
|
|
4611
4208
|
roles?: never;
|
|
4209
|
+
status?: never;
|
|
4210
|
+
deploymentId?: never;
|
|
4211
|
+
environment?: never;
|
|
4612
4212
|
};
|
|
4613
4213
|
} | {
|
|
4614
4214
|
header: {
|
|
4615
4215
|
version: string;
|
|
4616
4216
|
type: string;
|
|
4217
|
+
schemaUrl: string;
|
|
4218
|
+
schemaChecksum: string;
|
|
4617
4219
|
payloadChecksum: string;
|
|
4618
4220
|
signatures: {
|
|
4619
4221
|
keyId: string;
|
|
@@ -4624,15 +4226,14 @@ declare function getSchema(name: SchemaName): {
|
|
|
4624
4226
|
}[];
|
|
4625
4227
|
};
|
|
4626
4228
|
payload: {
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
tags?: never;
|
|
4229
|
+
deploymentId: string;
|
|
4230
|
+
environment: string;
|
|
4231
|
+
status: string;
|
|
4232
|
+
id?: never;
|
|
4233
|
+
type?: never;
|
|
4234
|
+
displayName?: never;
|
|
4235
|
+
publicKey?: never;
|
|
4236
|
+
roles?: never;
|
|
4636
4237
|
taskId?: never;
|
|
4637
4238
|
title?: never;
|
|
4638
4239
|
result?: never;
|
|
@@ -4652,7 +4253,6 @@ declare function getSchema(name: SchemaName): {
|
|
|
4652
4253
|
pattern: string;
|
|
4653
4254
|
maxLength: number;
|
|
4654
4255
|
description: string;
|
|
4655
|
-
examples: string[];
|
|
4656
4256
|
};
|
|
4657
4257
|
taskId: {
|
|
4658
4258
|
type: string;
|
|
@@ -4662,32 +4262,29 @@ declare function getSchema(name: SchemaName): {
|
|
|
4662
4262
|
};
|
|
4663
4263
|
type: {
|
|
4664
4264
|
type: string;
|
|
4665
|
-
|
|
4265
|
+
pattern: string;
|
|
4666
4266
|
description: string;
|
|
4667
|
-
examples: string[];
|
|
4668
4267
|
};
|
|
4669
4268
|
title: {
|
|
4670
4269
|
type: string;
|
|
4671
4270
|
minLength: number;
|
|
4672
4271
|
maxLength: number;
|
|
4673
4272
|
description: string;
|
|
4674
|
-
examples: string[];
|
|
4675
4273
|
};
|
|
4676
4274
|
result: {
|
|
4677
4275
|
type: string;
|
|
4678
4276
|
minLength: number;
|
|
4679
|
-
maxLength: number;
|
|
4680
4277
|
description: string;
|
|
4681
4278
|
};
|
|
4682
4279
|
notes: {
|
|
4683
4280
|
type: string;
|
|
4684
|
-
maxLength: number;
|
|
4685
4281
|
description: string;
|
|
4686
4282
|
};
|
|
4687
4283
|
references: {
|
|
4688
4284
|
type: string;
|
|
4689
4285
|
items: {
|
|
4690
4286
|
type: string;
|
|
4287
|
+
minLength: number;
|
|
4691
4288
|
maxLength: number;
|
|
4692
4289
|
};
|
|
4693
4290
|
default: never[];
|
|
@@ -4697,60 +4294,8 @@ declare function getSchema(name: SchemaName): {
|
|
|
4697
4294
|
type: string;
|
|
4698
4295
|
additionalProperties: boolean;
|
|
4699
4296
|
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
4297
|
};
|
|
4717
4298
|
};
|
|
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
4299
|
} | {
|
|
4755
4300
|
$schema: string;
|
|
4756
4301
|
$id: string;
|
|
@@ -4783,7 +4328,6 @@ declare function getSchema(name: SchemaName): {
|
|
|
4783
4328
|
type: string;
|
|
4784
4329
|
enum: string[];
|
|
4785
4330
|
description: string;
|
|
4786
|
-
examples: string[];
|
|
4787
4331
|
};
|
|
4788
4332
|
status: {
|
|
4789
4333
|
type: string;
|
|
@@ -4793,7 +4337,6 @@ declare function getSchema(name: SchemaName): {
|
|
|
4793
4337
|
content: {
|
|
4794
4338
|
type: string;
|
|
4795
4339
|
minLength: number;
|
|
4796
|
-
maxLength: number;
|
|
4797
4340
|
description: string;
|
|
4798
4341
|
};
|
|
4799
4342
|
assignee: {
|
|
@@ -4814,15 +4357,26 @@ declare function getSchema(name: SchemaName): {
|
|
|
4814
4357
|
type: string;
|
|
4815
4358
|
additionalProperties: boolean;
|
|
4816
4359
|
description: string;
|
|
4817
|
-
examples: {
|
|
4818
|
-
fingerprint: string;
|
|
4819
|
-
ruleId: string;
|
|
4820
|
-
file: string;
|
|
4821
|
-
line: number;
|
|
4822
|
-
expiresAt: string;
|
|
4823
|
-
}[];
|
|
4824
4360
|
};
|
|
4825
4361
|
};
|
|
4362
|
+
allOf: {
|
|
4363
|
+
if: {
|
|
4364
|
+
required: string[];
|
|
4365
|
+
properties: {
|
|
4366
|
+
entityType: {
|
|
4367
|
+
const: string;
|
|
4368
|
+
};
|
|
4369
|
+
};
|
|
4370
|
+
};
|
|
4371
|
+
then: {
|
|
4372
|
+
properties: {
|
|
4373
|
+
entityId: {
|
|
4374
|
+
type: string;
|
|
4375
|
+
pattern: string;
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
};
|
|
4379
|
+
}[];
|
|
4826
4380
|
examples: ({
|
|
4827
4381
|
id: string;
|
|
4828
4382
|
entityType: string;
|
|
@@ -4887,19 +4441,16 @@ declare function getSchema(name: SchemaName): {
|
|
|
4887
4441
|
status: {
|
|
4888
4442
|
type: string;
|
|
4889
4443
|
enum: string[];
|
|
4890
|
-
maxLength: number;
|
|
4891
4444
|
description: string;
|
|
4892
4445
|
};
|
|
4893
4446
|
priority: {
|
|
4894
4447
|
type: string;
|
|
4895
4448
|
enum: string[];
|
|
4896
|
-
maxLength: number;
|
|
4897
4449
|
description: string;
|
|
4898
4450
|
};
|
|
4899
4451
|
description: {
|
|
4900
4452
|
type: string;
|
|
4901
4453
|
minLength: number;
|
|
4902
|
-
maxLength: number;
|
|
4903
4454
|
description: string;
|
|
4904
4455
|
};
|
|
4905
4456
|
tags: {
|
|
@@ -4925,9 +4476,28 @@ declare function getSchema(name: SchemaName): {
|
|
|
4925
4476
|
notes: {
|
|
4926
4477
|
type: string;
|
|
4927
4478
|
minLength: number;
|
|
4928
|
-
maxLength: number;
|
|
4929
4479
|
description: string;
|
|
4930
4480
|
};
|
|
4481
|
+
metadata: {
|
|
4482
|
+
type: string;
|
|
4483
|
+
additionalProperties: boolean;
|
|
4484
|
+
description: string;
|
|
4485
|
+
examples: ({
|
|
4486
|
+
epic: boolean;
|
|
4487
|
+
phase: string;
|
|
4488
|
+
files: {
|
|
4489
|
+
overview: string;
|
|
4490
|
+
};
|
|
4491
|
+
jira?: never;
|
|
4492
|
+
storyPoints?: never;
|
|
4493
|
+
} | {
|
|
4494
|
+
jira: string;
|
|
4495
|
+
storyPoints: number;
|
|
4496
|
+
epic?: never;
|
|
4497
|
+
phase?: never;
|
|
4498
|
+
files?: never;
|
|
4499
|
+
})[];
|
|
4500
|
+
};
|
|
4931
4501
|
};
|
|
4932
4502
|
examples: ({
|
|
4933
4503
|
id: string;
|
|
@@ -4959,13 +4529,10 @@ declare function getSchema(name: SchemaName): {
|
|
|
4959
4529
|
required: string[];
|
|
4960
4530
|
additionalProperties: boolean;
|
|
4961
4531
|
properties: {
|
|
4962
|
-
|
|
4963
|
-
type: string;
|
|
4964
|
-
description: string;
|
|
4965
|
-
};
|
|
4966
|
-
version: {
|
|
4532
|
+
id: {
|
|
4967
4533
|
type: string;
|
|
4968
4534
|
pattern: string;
|
|
4535
|
+
maxLength: number;
|
|
4969
4536
|
description: string;
|
|
4970
4537
|
};
|
|
4971
4538
|
name: {
|
|
@@ -4982,6 +4549,9 @@ declare function getSchema(name: SchemaName): {
|
|
|
4982
4549
|
state_transitions: {
|
|
4983
4550
|
type: string;
|
|
4984
4551
|
description: string;
|
|
4552
|
+
propertyNames: {
|
|
4553
|
+
pattern: string;
|
|
4554
|
+
};
|
|
4985
4555
|
additionalProperties: {
|
|
4986
4556
|
type: string;
|
|
4987
4557
|
required: string[];
|
|
@@ -4996,6 +4566,11 @@ declare function getSchema(name: SchemaName): {
|
|
|
4996
4566
|
minItems: number;
|
|
4997
4567
|
description: string;
|
|
4998
4568
|
};
|
|
4569
|
+
to: {
|
|
4570
|
+
type: string;
|
|
4571
|
+
pattern: string;
|
|
4572
|
+
description: string;
|
|
4573
|
+
};
|
|
4999
4574
|
requires: {
|
|
5000
4575
|
type: string;
|
|
5001
4576
|
additionalProperties: boolean;
|
|
@@ -5157,146 +4732,6 @@ declare function getSchema(name: SchemaName): {
|
|
|
5157
4732
|
};
|
|
5158
4733
|
};
|
|
5159
4734
|
};
|
|
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
4735
|
};
|
|
5301
4736
|
/**
|
|
5302
4737
|
* Get all schema names
|
|
@@ -5364,20 +4799,20 @@ declare class DetailedValidationError extends GitGovError {
|
|
|
5364
4799
|
}>);
|
|
5365
4800
|
}
|
|
5366
4801
|
|
|
5367
|
-
type index$
|
|
5368
|
-
declare const index$
|
|
5369
|
-
declare const index$
|
|
5370
|
-
type index$
|
|
5371
|
-
type index$
|
|
5372
|
-
declare const index$
|
|
5373
|
-
type index$
|
|
5374
|
-
declare const index$
|
|
5375
|
-
declare const index$
|
|
5376
|
-
declare const index$
|
|
5377
|
-
declare const index$
|
|
5378
|
-
declare const index$
|
|
5379
|
-
declare namespace index$
|
|
5380
|
-
export { index$
|
|
4802
|
+
type index$7_DetailedValidationError = DetailedValidationError;
|
|
4803
|
+
declare const index$7_DetailedValidationError: typeof DetailedValidationError;
|
|
4804
|
+
declare const index$7_GitGovError: typeof GitGovError;
|
|
4805
|
+
type index$7_SchemaName = SchemaName;
|
|
4806
|
+
type index$7_SchemaValidationCache = SchemaValidationCache;
|
|
4807
|
+
declare const index$7_SchemaValidationCache: typeof SchemaValidationCache;
|
|
4808
|
+
type index$7_SchemaValidationError = SchemaValidationError;
|
|
4809
|
+
declare const index$7_SchemaValidationError: typeof SchemaValidationError;
|
|
4810
|
+
declare const index$7_Schemas: typeof Schemas;
|
|
4811
|
+
declare const index$7_getSchema: typeof getSchema;
|
|
4812
|
+
declare const index$7_getSchemaNames: typeof getSchemaNames;
|
|
4813
|
+
declare const index$7_hasSchema: typeof hasSchema;
|
|
4814
|
+
declare namespace index$7 {
|
|
4815
|
+
export { index$7_DetailedValidationError as DetailedValidationError, index$7_GitGovError as GitGovError, type index$7_SchemaName as SchemaName, index$7_SchemaValidationCache as SchemaValidationCache, index$7_SchemaValidationError as SchemaValidationError, index$7_Schemas as Schemas, index$7_getSchema as getSchema, index$7_getSchemaNames as getSchemaNames, index$7_hasSchema as hasSchema };
|
|
5381
4816
|
}
|
|
5382
4817
|
|
|
5383
4818
|
/**
|
|
@@ -5650,64 +5085,206 @@ declare function isActorIdentityMismatchError(error: unknown): error is ActorIde
|
|
|
5650
5085
|
declare function isWorktreeSetupError(error: unknown): error is WorktreeSetupError;
|
|
5651
5086
|
declare function isRebaseAlreadyInProgressError(error: unknown): error is RebaseAlreadyInProgressError;
|
|
5652
5087
|
|
|
5653
|
-
type index$
|
|
5654
|
-
declare const index$
|
|
5655
|
-
declare const index$
|
|
5656
|
-
declare const index$
|
|
5657
|
-
declare const index$
|
|
5658
|
-
declare const index$
|
|
5659
|
-
declare const index$
|
|
5660
|
-
type index$
|
|
5661
|
-
declare const index$
|
|
5662
|
-
declare const index$
|
|
5663
|
-
type index$
|
|
5664
|
-
declare const index$
|
|
5665
|
-
declare const index$
|
|
5666
|
-
declare const index$
|
|
5667
|
-
declare const index$
|
|
5668
|
-
declare const index$
|
|
5669
|
-
type index$
|
|
5670
|
-
declare const index$
|
|
5671
|
-
type index$
|
|
5672
|
-
declare const index$
|
|
5673
|
-
type index$
|
|
5674
|
-
declare const index$
|
|
5675
|
-
type index$
|
|
5676
|
-
type index$
|
|
5677
|
-
type index$
|
|
5678
|
-
type index$
|
|
5679
|
-
declare const index$
|
|
5680
|
-
type index$
|
|
5681
|
-
declare const index$
|
|
5682
|
-
type index$
|
|
5683
|
-
declare const index$
|
|
5684
|
-
declare const index$
|
|
5685
|
-
type index$
|
|
5686
|
-
declare const index$
|
|
5687
|
-
declare const index$
|
|
5688
|
-
declare const index$
|
|
5689
|
-
declare const index$
|
|
5690
|
-
declare const index$
|
|
5691
|
-
declare const index$
|
|
5692
|
-
declare const index$
|
|
5693
|
-
declare const index$
|
|
5694
|
-
type index$
|
|
5695
|
-
declare const index$
|
|
5696
|
-
type index$
|
|
5697
|
-
declare const index$
|
|
5698
|
-
declare const index$
|
|
5699
|
-
declare const index$
|
|
5700
|
-
declare const index$
|
|
5701
|
-
declare const index$
|
|
5702
|
-
declare const index$
|
|
5703
|
-
declare const index$
|
|
5704
|
-
declare const index$
|
|
5705
|
-
declare const index$
|
|
5706
|
-
declare const index$
|
|
5707
|
-
declare const index$
|
|
5708
|
-
declare const index$
|
|
5088
|
+
type index$6_ActorIdentityMismatchError = ActorIdentityMismatchError;
|
|
5089
|
+
declare const index$6_ActorIdentityMismatchError: typeof ActorIdentityMismatchError;
|
|
5090
|
+
declare const index$6_AuditStateOptions: typeof AuditStateOptions;
|
|
5091
|
+
declare const index$6_AuditStateReport: typeof AuditStateReport;
|
|
5092
|
+
declare const index$6_ConflictDiff: typeof ConflictDiff;
|
|
5093
|
+
declare const index$6_ConflictFileDiff: typeof ConflictFileDiff;
|
|
5094
|
+
declare const index$6_ConflictInfo: typeof ConflictInfo;
|
|
5095
|
+
type index$6_ConflictMarkersPresentError = ConflictMarkersPresentError;
|
|
5096
|
+
declare const index$6_ConflictMarkersPresentError: typeof ConflictMarkersPresentError;
|
|
5097
|
+
declare const index$6_ConflictType: typeof ConflictType;
|
|
5098
|
+
type index$6_CryptoModuleRequiredError = CryptoModuleRequiredError;
|
|
5099
|
+
declare const index$6_CryptoModuleRequiredError: typeof CryptoModuleRequiredError;
|
|
5100
|
+
declare const index$6_DEFAULT_STATE_BRANCH: typeof DEFAULT_STATE_BRANCH;
|
|
5101
|
+
declare const index$6_ExpectedFilesScope: typeof ExpectedFilesScope;
|
|
5102
|
+
declare const index$6_ISyncStateModule: typeof ISyncStateModule;
|
|
5103
|
+
declare const index$6_IntegrityViolation: typeof IntegrityViolation;
|
|
5104
|
+
type index$6_IntegrityViolationError = IntegrityViolationError;
|
|
5105
|
+
declare const index$6_IntegrityViolationError: typeof IntegrityViolationError;
|
|
5106
|
+
type index$6_NoRebaseInProgressError = NoRebaseInProgressError;
|
|
5107
|
+
declare const index$6_NoRebaseInProgressError: typeof NoRebaseInProgressError;
|
|
5108
|
+
type index$6_PullScheduler = PullScheduler;
|
|
5109
|
+
declare const index$6_PullScheduler: typeof PullScheduler;
|
|
5110
|
+
type index$6_PullSchedulerConfig = PullSchedulerConfig;
|
|
5111
|
+
type index$6_PullSchedulerDependencies = PullSchedulerDependencies;
|
|
5112
|
+
type index$6_PullSchedulerResult = PullSchedulerResult;
|
|
5113
|
+
type index$6_PushFromStateBranchError = PushFromStateBranchError;
|
|
5114
|
+
declare const index$6_PushFromStateBranchError: typeof PushFromStateBranchError;
|
|
5115
|
+
type index$6_RebaseAlreadyInProgressError = RebaseAlreadyInProgressError;
|
|
5116
|
+
declare const index$6_RebaseAlreadyInProgressError: typeof RebaseAlreadyInProgressError;
|
|
5117
|
+
type index$6_StateBranchSetupError = StateBranchSetupError;
|
|
5118
|
+
declare const index$6_StateBranchSetupError: typeof StateBranchSetupError;
|
|
5119
|
+
declare const index$6_StateDeltaFile: typeof StateDeltaFile;
|
|
5120
|
+
type index$6_SyncStateError = SyncStateError;
|
|
5121
|
+
declare const index$6_SyncStateError: typeof SyncStateError;
|
|
5122
|
+
declare const index$6_SyncStateModuleDependencies: typeof SyncStateModuleDependencies;
|
|
5123
|
+
declare const index$6_SyncStatePullOptions: typeof SyncStatePullOptions;
|
|
5124
|
+
declare const index$6_SyncStatePullResult: typeof SyncStatePullResult;
|
|
5125
|
+
declare const index$6_SyncStatePushOptions: typeof SyncStatePushOptions;
|
|
5126
|
+
declare const index$6_SyncStatePushResult: typeof SyncStatePushResult;
|
|
5127
|
+
declare const index$6_SyncStateResolveOptions: typeof SyncStateResolveOptions;
|
|
5128
|
+
declare const index$6_SyncStateResolveResult: typeof SyncStateResolveResult;
|
|
5129
|
+
type index$6_UncommittedChangesError = UncommittedChangesError;
|
|
5130
|
+
declare const index$6_UncommittedChangesError: typeof UncommittedChangesError;
|
|
5131
|
+
type index$6_WorktreeSetupError = WorktreeSetupError;
|
|
5132
|
+
declare const index$6_WorktreeSetupError: typeof WorktreeSetupError;
|
|
5133
|
+
declare const index$6_isActorIdentityMismatchError: typeof isActorIdentityMismatchError;
|
|
5134
|
+
declare const index$6_isConflictMarkersPresentError: typeof isConflictMarkersPresentError;
|
|
5135
|
+
declare const index$6_isCryptoModuleRequiredError: typeof isCryptoModuleRequiredError;
|
|
5136
|
+
declare const index$6_isIntegrityViolationError: typeof isIntegrityViolationError;
|
|
5137
|
+
declare const index$6_isNoRebaseInProgressError: typeof isNoRebaseInProgressError;
|
|
5138
|
+
declare const index$6_isPushFromStateBranchError: typeof isPushFromStateBranchError;
|
|
5139
|
+
declare const index$6_isRebaseAlreadyInProgressError: typeof isRebaseAlreadyInProgressError;
|
|
5140
|
+
declare const index$6_isStateBranchSetupError: typeof isStateBranchSetupError;
|
|
5141
|
+
declare const index$6_isSyncStateError: typeof isSyncStateError;
|
|
5142
|
+
declare const index$6_isUncommittedChangesError: typeof isUncommittedChangesError;
|
|
5143
|
+
declare const index$6_isWorktreeSetupError: typeof isWorktreeSetupError;
|
|
5144
|
+
declare namespace index$6 {
|
|
5145
|
+
export { index$6_ActorIdentityMismatchError as ActorIdentityMismatchError, AuditScope$1 as AuditScope, index$6_AuditStateOptions as AuditStateOptions, index$6_AuditStateReport as AuditStateReport, index$6_ConflictDiff as ConflictDiff, index$6_ConflictFileDiff as ConflictFileDiff, index$6_ConflictInfo as ConflictInfo, index$6_ConflictMarkersPresentError as ConflictMarkersPresentError, index$6_ConflictType as ConflictType, index$6_CryptoModuleRequiredError as CryptoModuleRequiredError, index$6_DEFAULT_STATE_BRANCH as DEFAULT_STATE_BRANCH, index$6_ExpectedFilesScope as ExpectedFilesScope, index$6_ISyncStateModule as ISyncStateModule, index$6_IntegrityViolation as IntegrityViolation, index$6_IntegrityViolationError as IntegrityViolationError, index$6_NoRebaseInProgressError as NoRebaseInProgressError, index$6_PullScheduler as PullScheduler, type index$6_PullSchedulerConfig as PullSchedulerConfig, type index$6_PullSchedulerDependencies as PullSchedulerDependencies, type index$6_PullSchedulerResult as PullSchedulerResult, index$6_PushFromStateBranchError as PushFromStateBranchError, index$6_RebaseAlreadyInProgressError as RebaseAlreadyInProgressError, index$6_StateBranchSetupError as StateBranchSetupError, index$6_StateDeltaFile as StateDeltaFile, index$6_SyncStateError as SyncStateError, index$6_SyncStateModuleDependencies as SyncStateModuleDependencies, index$6_SyncStatePullOptions as SyncStatePullOptions, index$6_SyncStatePullResult as SyncStatePullResult, index$6_SyncStatePushOptions as SyncStatePushOptions, index$6_SyncStatePushResult as SyncStatePushResult, index$6_SyncStateResolveOptions as SyncStateResolveOptions, index$6_SyncStateResolveResult as SyncStateResolveResult, index$6_UncommittedChangesError as UncommittedChangesError, index$6_WorktreeSetupError as WorktreeSetupError, index$6_isActorIdentityMismatchError as isActorIdentityMismatchError, index$6_isConflictMarkersPresentError as isConflictMarkersPresentError, index$6_isCryptoModuleRequiredError as isCryptoModuleRequiredError, index$6_isIntegrityViolationError as isIntegrityViolationError, index$6_isNoRebaseInProgressError as isNoRebaseInProgressError, index$6_isPushFromStateBranchError as isPushFromStateBranchError, index$6_isRebaseAlreadyInProgressError as isRebaseAlreadyInProgressError, index$6_isStateBranchSetupError as isStateBranchSetupError, index$6_isSyncStateError as isSyncStateError, index$6_isUncommittedChangesError as isUncommittedChangesError, index$6_isWorktreeSetupError as isWorktreeSetupError };
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
/**
|
|
5149
|
+
* Hook Handler Types
|
|
5150
|
+
*
|
|
5151
|
+
* Types for the passive governance hook handler module.
|
|
5152
|
+
* Based on hook_handler_module.md blueprint.
|
|
5153
|
+
*
|
|
5154
|
+
* All EARS prefixes map to hook_handler_module.md §4.
|
|
5155
|
+
*/
|
|
5156
|
+
|
|
5157
|
+
/** Types of events the hook handler can receive */
|
|
5158
|
+
type HookEventType = 'command-executed' | 'file-changed' | 'task-completed' | 'teammate-idle' | 'session-end';
|
|
5159
|
+
/** PostToolUse Bash event — commits, PRs, test runs, other commands */
|
|
5160
|
+
type CommandExecutedEvent = {
|
|
5161
|
+
tool_name: 'Bash';
|
|
5162
|
+
tool_input: {
|
|
5163
|
+
command: string;
|
|
5164
|
+
description?: string;
|
|
5165
|
+
};
|
|
5166
|
+
tool_output?: string;
|
|
5167
|
+
exit_code?: number;
|
|
5168
|
+
};
|
|
5169
|
+
/** PostToolUse Write/Edit event — file modifications (not recorded, too granular) */
|
|
5170
|
+
type FileChangedEvent = {
|
|
5171
|
+
tool_name: 'Write' | 'Edit';
|
|
5172
|
+
tool_input: {
|
|
5173
|
+
file_path: string;
|
|
5174
|
+
content?: string;
|
|
5175
|
+
old_string?: string;
|
|
5176
|
+
new_string?: string;
|
|
5177
|
+
};
|
|
5178
|
+
};
|
|
5179
|
+
/** Claude Code TaskCompleted notification event */
|
|
5180
|
+
type TaskCompletedEvent = {
|
|
5181
|
+
hook_type: 'TaskCompleted';
|
|
5182
|
+
task: {
|
|
5183
|
+
id: string;
|
|
5184
|
+
subject: string;
|
|
5185
|
+
description?: string;
|
|
5186
|
+
status: string;
|
|
5187
|
+
owner?: string;
|
|
5188
|
+
};
|
|
5189
|
+
session_id?: string;
|
|
5190
|
+
team_name?: string;
|
|
5191
|
+
};
|
|
5192
|
+
/** Claude Code TeammateIdle notification event (informational, no record in MVP) */
|
|
5193
|
+
type TeammateIdleEvent = {
|
|
5194
|
+
hook_type: 'TeammateIdle';
|
|
5195
|
+
agent: {
|
|
5196
|
+
name: string;
|
|
5197
|
+
agent_id?: string;
|
|
5198
|
+
};
|
|
5199
|
+
session_id?: string;
|
|
5200
|
+
team_name?: string;
|
|
5201
|
+
};
|
|
5202
|
+
/** Claude Code Stop event — session ending */
|
|
5203
|
+
type SessionEndEvent = {
|
|
5204
|
+
hook_type: 'Stop';
|
|
5205
|
+
session_id?: string;
|
|
5206
|
+
cwd?: string;
|
|
5207
|
+
};
|
|
5208
|
+
/** Union of all possible hook events */
|
|
5209
|
+
type HookEvent = CommandExecutedEvent | FileChangedEvent | TaskCompletedEvent | TeammateIdleEvent | SessionEndEvent;
|
|
5210
|
+
/** Result of processing a hook event. Never throws — always returns. */
|
|
5211
|
+
type HookResult = {
|
|
5212
|
+
action: 'recorded' | 'skipped';
|
|
5213
|
+
reason?: string;
|
|
5214
|
+
executionId?: string;
|
|
5215
|
+
};
|
|
5216
|
+
/** Dependencies injected into HookHandler via constructor */
|
|
5217
|
+
interface HookHandlerDependencies {
|
|
5218
|
+
executionAdapter: IExecutionAdapter;
|
|
5219
|
+
sessionManager: ISessionManager;
|
|
5220
|
+
configManager: IConfigManager;
|
|
5221
|
+
}
|
|
5222
|
+
/** Classification result for a bash command */
|
|
5223
|
+
type CommandClassification = {
|
|
5224
|
+
kind: 'commit';
|
|
5225
|
+
hash: string;
|
|
5226
|
+
message: string;
|
|
5227
|
+
filesChanged: number;
|
|
5228
|
+
} | {
|
|
5229
|
+
kind: 'pr';
|
|
5230
|
+
number: string;
|
|
5231
|
+
} | {
|
|
5232
|
+
kind: 'test';
|
|
5233
|
+
passed: number;
|
|
5234
|
+
failed: number;
|
|
5235
|
+
total: number;
|
|
5236
|
+
} | {
|
|
5237
|
+
kind: 'unknown';
|
|
5238
|
+
};
|
|
5239
|
+
|
|
5240
|
+
/**
|
|
5241
|
+
* HookHandler — Pure logic module for passive governance.
|
|
5242
|
+
*
|
|
5243
|
+
* Receives parsed hook events from Claude Code, classifies them,
|
|
5244
|
+
* and creates ExecutionRecords via the ExecutionAdapter.
|
|
5245
|
+
*
|
|
5246
|
+
* NO I/O — the CLI hook command handles stdin/stdout.
|
|
5247
|
+
* Fail-silent — never throws, always returns HookResult.
|
|
5248
|
+
*
|
|
5249
|
+
* All EARS prefixes map to hook_handler_module.md §4.
|
|
5250
|
+
*/
|
|
5251
|
+
|
|
5252
|
+
declare class HookHandler {
|
|
5253
|
+
private readonly executionAdapter;
|
|
5254
|
+
private readonly sessionManager;
|
|
5255
|
+
private readonly configManager;
|
|
5256
|
+
constructor(deps: HookHandlerDependencies);
|
|
5257
|
+
/**
|
|
5258
|
+
* Process a hook event and decide whether to create an ExecutionRecord.
|
|
5259
|
+
* Fail-silent: catches all errors and returns { action: 'skipped', reason }.
|
|
5260
|
+
*/
|
|
5261
|
+
handleEvent(event: HookEvent, options?: {
|
|
5262
|
+
dryRun?: boolean;
|
|
5263
|
+
}): Promise<HookResult>;
|
|
5264
|
+
private handleCommandExecuted;
|
|
5265
|
+
private buildCommandPayload;
|
|
5266
|
+
private handleTaskCompleted;
|
|
5267
|
+
private handleSessionEnd;
|
|
5268
|
+
private resolveActorId;
|
|
5269
|
+
}
|
|
5270
|
+
/** Classify a bash command to determine what kind of record to create */
|
|
5271
|
+
declare function classifyCommand(command: string, output?: string): CommandClassification;
|
|
5272
|
+
|
|
5273
|
+
type index$5_CommandClassification = CommandClassification;
|
|
5274
|
+
type index$5_CommandExecutedEvent = CommandExecutedEvent;
|
|
5275
|
+
type index$5_FileChangedEvent = FileChangedEvent;
|
|
5276
|
+
type index$5_HookEvent = HookEvent;
|
|
5277
|
+
type index$5_HookEventType = HookEventType;
|
|
5278
|
+
type index$5_HookHandler = HookHandler;
|
|
5279
|
+
declare const index$5_HookHandler: typeof HookHandler;
|
|
5280
|
+
type index$5_HookHandlerDependencies = HookHandlerDependencies;
|
|
5281
|
+
type index$5_HookResult = HookResult;
|
|
5282
|
+
type index$5_SessionEndEvent = SessionEndEvent;
|
|
5283
|
+
type index$5_TaskCompletedEvent = TaskCompletedEvent;
|
|
5284
|
+
type index$5_TeammateIdleEvent = TeammateIdleEvent;
|
|
5285
|
+
declare const index$5_classifyCommand: typeof classifyCommand;
|
|
5709
5286
|
declare namespace index$5 {
|
|
5710
|
-
export {
|
|
5287
|
+
export { type index$5_CommandClassification as CommandClassification, type index$5_CommandExecutedEvent as CommandExecutedEvent, type index$5_FileChangedEvent as FileChangedEvent, type index$5_HookEvent as HookEvent, type index$5_HookEventType as HookEventType, index$5_HookHandler as HookHandler, type index$5_HookHandlerDependencies as HookHandlerDependencies, type index$5_HookResult as HookResult, type index$5_SessionEndEvent as SessionEndEvent, type index$5_TaskCompletedEvent as TaskCompletedEvent, type index$5_TeammateIdleEvent as TeammateIdleEvent, index$5_classifyCommand as classifyCommand };
|
|
5711
5288
|
}
|
|
5712
5289
|
|
|
5713
5290
|
/**
|
|
@@ -5829,25 +5406,6 @@ declare function validateFullExecutionRecord(record: GitGovRecord & {
|
|
|
5829
5406
|
payload: ExecutionRecord;
|
|
5830
5407
|
}, getPublicKey: (keyId: string) => Promise<string>): Promise<void>;
|
|
5831
5408
|
|
|
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
5409
|
/**
|
|
5852
5410
|
* Schema-based validation for FeedbackRecord payload
|
|
5853
5411
|
*/
|
|
@@ -5917,7 +5475,6 @@ declare function validateWorkflowConfigBusinessRules(config: WorkflowRecord): {
|
|
|
5917
5475
|
type index$4_ValidationResult = ValidationResult;
|
|
5918
5476
|
declare const index$4_isActorRecord: typeof isActorRecord;
|
|
5919
5477
|
declare const index$4_isAgentRecord: typeof isAgentRecord;
|
|
5920
|
-
declare const index$4_isChangelogRecord: typeof isChangelogRecord;
|
|
5921
5478
|
declare const index$4_isCycleRecord: typeof isCycleRecord;
|
|
5922
5479
|
declare const index$4_isEmbeddedMetadataRecord: typeof isEmbeddedMetadataRecord;
|
|
5923
5480
|
declare const index$4_isExecutionRecord: typeof isExecutionRecord;
|
|
@@ -5929,8 +5486,6 @@ declare const index$4_validateActorRecordSchema: typeof validateActorRecordSchem
|
|
|
5929
5486
|
declare const index$4_validateAgentActorRelationship: typeof validateAgentActorRelationship;
|
|
5930
5487
|
declare const index$4_validateAgentRecordDetailed: typeof validateAgentRecordDetailed;
|
|
5931
5488
|
declare const index$4_validateAgentRecordSchema: typeof validateAgentRecordSchema;
|
|
5932
|
-
declare const index$4_validateChangelogRecordDetailed: typeof validateChangelogRecordDetailed;
|
|
5933
|
-
declare const index$4_validateChangelogRecordSchema: typeof validateChangelogRecordSchema;
|
|
5934
5489
|
declare const index$4_validateCycleRecordDetailed: typeof validateCycleRecordDetailed;
|
|
5935
5490
|
declare const index$4_validateCycleRecordSchema: typeof validateCycleRecordSchema;
|
|
5936
5491
|
declare const index$4_validateEmbeddedMetadataDetailed: typeof validateEmbeddedMetadataDetailed;
|
|
@@ -5941,7 +5496,6 @@ declare const index$4_validateFeedbackRecordDetailed: typeof validateFeedbackRec
|
|
|
5941
5496
|
declare const index$4_validateFeedbackRecordSchema: typeof validateFeedbackRecordSchema;
|
|
5942
5497
|
declare const index$4_validateFullActorRecord: typeof validateFullActorRecord;
|
|
5943
5498
|
declare const index$4_validateFullAgentRecord: typeof validateFullAgentRecord;
|
|
5944
|
-
declare const index$4_validateFullChangelogRecord: typeof validateFullChangelogRecord;
|
|
5945
5499
|
declare const index$4_validateFullCycleRecord: typeof validateFullCycleRecord;
|
|
5946
5500
|
declare const index$4_validateFullEmbeddedMetadataRecord: typeof validateFullEmbeddedMetadataRecord;
|
|
5947
5501
|
declare const index$4_validateFullExecutionRecord: typeof validateFullExecutionRecord;
|
|
@@ -5953,7 +5507,7 @@ declare const index$4_validateWorkflowConfigBusinessRules: typeof validateWorkfl
|
|
|
5953
5507
|
declare const index$4_validateWorkflowConfigDetailed: typeof validateWorkflowConfigDetailed;
|
|
5954
5508
|
declare const index$4_validateWorkflowConfigSchema: typeof validateWorkflowConfigSchema;
|
|
5955
5509
|
declare namespace index$4 {
|
|
5956
|
-
export { type index$4_ValidationResult as ValidationResult, index$4_isActorRecord as isActorRecord, index$4_isAgentRecord as isAgentRecord, index$
|
|
5510
|
+
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
5511
|
}
|
|
5958
5512
|
|
|
5959
5513
|
/**
|
|
@@ -7073,4 +6627,4 @@ declare namespace index {
|
|
|
7073
6627
|
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
6628
|
}
|
|
7075
6629
|
|
|
7076
|
-
export { ActivityEvent, ActorRecord, ActorState, index$
|
|
6630
|
+
export { ActivityEvent, ActorRecord, ActorState, index$d as Adapters, AgentRecord, AgentResponse, AllRecords, AuditState, AuditStateReport, index$g as BacklogAdapter, CollaborationMetrics, type CommandClassification, index$r as Config, index$c as Crypto, CycleRecord, DerivedStates, index$2 as DiagramGenerator, EmbeddedMetadataRecord, EnrichedTaskRecord, EnvironmentValidation, index$n as EventBus, index$j as ExecutionAdapter, ExecutionRecord, index$b as Factories, index$i as FeedbackAdapter, FeedbackRecord, index$9 as FileLister, index$1 as FindingDetector, FixReport, GitGovActorRecord, GitGovAgentRecord, GitGovConfig, GitGovCycleRecord, GitGovExecutionRecord, GitGovFeedbackRecord, GitGovRecord, GitGovRecordPayload, GitGovRecordType, GitGovTaskRecord, type HookEvent, type HookEventType, index$5 as HookHandler, type HookHandlerDependencies, type HookResult, 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$a as KeyProvider, index$k as Lint, LintOptions, LintReport$1 as LintReport, LintResult, index$8 as Logger, ProductivityMetrics, index$e as ProjectAdapter, type ProjectInitResult, index$f 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$7 as Schemas, index$s as Session, Signature, index as SourceAuditor, index$p as Store, index$6 as SyncState, SyncStatePullResult, SyncStatePushResult, SyncStateResolveResult, SyncStatus, SystemStatus, TaskHealthReport, TaskRecord, index$4 as Validation, ValidatorType, index$h as WorkflowAdapter, type WorkflowRecord };
|