@shapeshift-labs/frontier-swarm 0.3.0 → 0.5.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/README.md +34 -5
- package/benchmarks/package-bench.mjs +107 -0
- package/dist/index.d.ts +1369 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1741 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,64 @@ export declare const FRONTIER_SWARM_MERGE_PLAN_KIND = "frontier.swarm.merge-plan
|
|
|
31
31
|
export declare const FRONTIER_SWARM_MERGE_PLAN_VERSION = 1;
|
|
32
32
|
export declare const FRONTIER_SWARM_MERGE_BUNDLE_KIND = "frontier.swarm.merge-bundle";
|
|
33
33
|
export declare const FRONTIER_SWARM_MERGE_BUNDLE_VERSION = 1;
|
|
34
|
+
export declare const FRONTIER_SWARM_QUEUE_OVERLAY_KIND = "frontier.swarm.queue-overlay";
|
|
35
|
+
export declare const FRONTIER_SWARM_QUEUE_OVERLAY_VERSION = 1;
|
|
36
|
+
export declare const FRONTIER_SWARM_MERGE_INDEX_KIND = "frontier.swarm.merge-index";
|
|
37
|
+
export declare const FRONTIER_SWARM_MERGE_INDEX_VERSION = 1;
|
|
38
|
+
export declare const FRONTIER_SWARM_HOTSPOT_REPORT_KIND = "frontier.swarm.hotspot-report";
|
|
39
|
+
export declare const FRONTIER_SWARM_HOTSPOT_REPORT_VERSION = 1;
|
|
40
|
+
export declare const FRONTIER_SWARM_REVIEWER_LANE_PLAN_KIND = "frontier.swarm.reviewer-lane-plan";
|
|
41
|
+
export declare const FRONTIER_SWARM_REVIEWER_LANE_PLAN_VERSION = 1;
|
|
42
|
+
export declare const FRONTIER_SWARM_RUN_STORE_SHARDS_KIND = "frontier.swarm.run-store-shards";
|
|
43
|
+
export declare const FRONTIER_SWARM_RUN_STORE_SHARDS_VERSION = 1;
|
|
44
|
+
export declare const FRONTIER_SWARM_MERGE_ADMISSION_KIND = "frontier.swarm.merge-admission";
|
|
45
|
+
export declare const FRONTIER_SWARM_MERGE_ADMISSION_VERSION = 1;
|
|
46
|
+
export declare const FRONTIER_SWARM_CONTEXT_PACK_KIND = "frontier.swarm.context-pack";
|
|
47
|
+
export declare const FRONTIER_SWARM_CONTEXT_PACK_VERSION = 1;
|
|
48
|
+
export declare const FRONTIER_SWARM_ORACLE_CORPUS_KIND = "frontier.swarm.oracle-corpus";
|
|
49
|
+
export declare const FRONTIER_SWARM_ORACLE_CORPUS_VERSION = 1;
|
|
50
|
+
export declare const FRONTIER_SWARM_REPLAY_BUNDLE_KIND = "frontier.swarm.replay-bundle";
|
|
51
|
+
export declare const FRONTIER_SWARM_REPLAY_BUNDLE_VERSION = 1;
|
|
52
|
+
export declare const FRONTIER_SWARM_PARITY_ORACLE_KIND = "frontier.swarm.parity-oracle";
|
|
53
|
+
export declare const FRONTIER_SWARM_PARITY_ORACLE_VERSION = 1;
|
|
54
|
+
export declare const FRONTIER_SWARM_DIVERGENCE_REPORT_KIND = "frontier.swarm.divergence-report";
|
|
55
|
+
export declare const FRONTIER_SWARM_DIVERGENCE_REPORT_VERSION = 1;
|
|
56
|
+
export declare const FRONTIER_SWARM_OBSERVABILITY_POINT_KIND = "frontier.swarm.observability-point";
|
|
57
|
+
export declare const FRONTIER_SWARM_OBSERVABILITY_POINT_VERSION = 1;
|
|
58
|
+
export declare const FRONTIER_SWARM_WATCHPOINT_PLAN_KIND = "frontier.swarm.watchpoint-plan";
|
|
59
|
+
export declare const FRONTIER_SWARM_WATCHPOINT_PLAN_VERSION = 1;
|
|
60
|
+
export declare const FRONTIER_SWARM_DEBUG_HANDOFF_KIND = "frontier.swarm.debug-handoff";
|
|
61
|
+
export declare const FRONTIER_SWARM_DEBUG_HANDOFF_VERSION = 1;
|
|
62
|
+
export declare const FRONTIER_SWARM_INSTRUMENTATION_BUDGET_KIND = "frontier.swarm.instrumentation-budget";
|
|
63
|
+
export declare const FRONTIER_SWARM_INSTRUMENTATION_BUDGET_VERSION = 1;
|
|
64
|
+
export declare const FRONTIER_SWARM_BOTTLENECK_REPORT_KIND = "frontier.swarm.bottleneck-report";
|
|
65
|
+
export declare const FRONTIER_SWARM_BOTTLENECK_REPORT_VERSION = 1;
|
|
66
|
+
export declare const FRONTIER_SWARM_EVIDENCE_INDEX_KIND = "frontier.swarm.evidence-index";
|
|
67
|
+
export declare const FRONTIER_SWARM_EVIDENCE_INDEX_VERSION = 1;
|
|
68
|
+
export declare const FRONTIER_SWARM_BLACKBOARD_KIND = "frontier.swarm.blackboard";
|
|
69
|
+
export declare const FRONTIER_SWARM_BLACKBOARD_VERSION = 1;
|
|
70
|
+
export declare const FRONTIER_SWARM_REFERENCE_ORACLE_PLAN_KIND = "frontier.swarm.reference-oracle-plan";
|
|
71
|
+
export declare const FRONTIER_SWARM_REFERENCE_ORACLE_PLAN_VERSION = 1;
|
|
72
|
+
export declare const FRONTIER_SWARM_REFERENCE_ORACLE_RESPONSE_KIND = "frontier.swarm.reference-oracle-response";
|
|
73
|
+
export declare const FRONTIER_SWARM_REFERENCE_ORACLE_RESPONSE_VERSION = 1;
|
|
74
|
+
export declare const FRONTIER_SWARM_ARTIFACT_ROUTING_PLAN_KIND = "frontier.swarm.artifact-routing-plan";
|
|
75
|
+
export declare const FRONTIER_SWARM_ARTIFACT_ROUTING_PLAN_VERSION = 1;
|
|
76
|
+
export declare const FRONTIER_SWARM_SCHEDULER_RECOMMENDATIONS_KIND = "frontier.swarm.scheduler-recommendations";
|
|
77
|
+
export declare const FRONTIER_SWARM_SCHEDULER_RECOMMENDATIONS_VERSION = 1;
|
|
78
|
+
export declare const FRONTIER_SWARM_FIXTURE_CATALOG_KIND = "frontier.swarm.fixture-catalog";
|
|
79
|
+
export declare const FRONTIER_SWARM_FIXTURE_CATALOG_VERSION = 1;
|
|
80
|
+
export declare const FRONTIER_SWARM_PROGRESS_MODEL_KIND = "frontier.swarm.progress-model";
|
|
81
|
+
export declare const FRONTIER_SWARM_PROGRESS_MODEL_VERSION = 1;
|
|
82
|
+
export declare const FRONTIER_SWARM_AUTO_REVIEW_REPORT_KIND = "frontier.swarm.auto-review-report";
|
|
83
|
+
export declare const FRONTIER_SWARM_AUTO_REVIEW_REPORT_VERSION = 1;
|
|
84
|
+
export declare const FRONTIER_SWARM_REBASE_REPORT_KIND = "frontier.swarm.rebase-report";
|
|
85
|
+
export declare const FRONTIER_SWARM_REBASE_REPORT_VERSION = 1;
|
|
86
|
+
export declare const FRONTIER_SWARM_USAGE_GOVERNOR_KIND = "frontier.swarm.usage-governor";
|
|
87
|
+
export declare const FRONTIER_SWARM_USAGE_GOVERNOR_VERSION = 1;
|
|
88
|
+
export declare const FRONTIER_SWARM_LANE_PLAYBOOK_KIND = "frontier.swarm.lane-playbook";
|
|
89
|
+
export declare const FRONTIER_SWARM_LANE_PLAYBOOK_VERSION = 1;
|
|
90
|
+
export declare const FRONTIER_SWARM_PATCH_STACK_PLAN_KIND = "frontier.swarm.patch-stack-plan";
|
|
91
|
+
export declare const FRONTIER_SWARM_PATCH_STACK_PLAN_VERSION = 1;
|
|
34
92
|
export declare const FRONTIER_SWARM_DEFAULT_CODEX_COMPUTE_ID = "codex.gpt-5.5.xhigh";
|
|
35
93
|
export declare const FRONTIER_SWARM_DEFAULT_MODEL = "gpt-5.5";
|
|
36
94
|
export declare const FRONTIER_SWARM_DEFAULT_REASONING_EFFORT = "xhigh";
|
|
@@ -42,6 +100,17 @@ export type FrontierSwarmJobStatus = 'planned' | 'scheduled' | 'running' | 'bloc
|
|
|
42
100
|
export type FrontierSwarmMergeReadiness = 'discovery-only' | 'patch-candidate' | 'verified-patch' | 'rejected' | 'blocked' | string;
|
|
43
101
|
export type FrontierSwarmMergeDisposition = 'auto-mergeable' | 'needs-port' | 'discovery-only' | 'rejected' | 'blocked' | 'stale-against-head' | string;
|
|
44
102
|
export type FrontierSwarmRiskLevel = 'low' | 'medium' | 'high' | 'unknown' | string;
|
|
103
|
+
export type FrontierSwarmPatchStatus = 'unknown' | 'applies' | 'missing' | 'stale' | 'failed-check' | string;
|
|
104
|
+
export type FrontierSwarmQueueOverlayStatus = 'satisfied' | 'ready-to-apply' | 'needs-human-port' | 'failed-evidence' | 'stale-against-head' | 'discovery-only' | 'blocked' | 'rejected' | 'unknown' | string;
|
|
105
|
+
export type FrontierSwarmParityOracleStatus = 'pending' | 'passed' | 'failed' | 'blocked' | 'skipped' | string;
|
|
106
|
+
export type FrontierSwarmDivergenceSeverity = 'info' | 'warning' | 'error' | 'critical' | string;
|
|
107
|
+
export type FrontierSwarmWatchpointAction = 'break' | 'log' | 'capture' | 'handoff' | string;
|
|
108
|
+
export type FrontierSwarmBottleneckKind = 'correctness' | 'performance' | 'instrumentation-overhead' | 'missing-oracle' | 'flaky-harness' | 'blocked-dependency' | 'merge-review' | 'resource-capacity' | 'budget' | 'queue' | string;
|
|
109
|
+
export type FrontierSwarmConfidence = 'low' | 'medium' | 'high' | string;
|
|
110
|
+
export type FrontierSwarmBlackboardEntryKind = 'fact' | 'divergence' | 'rejected-theory' | 'ownership' | 'decision' | string;
|
|
111
|
+
export type FrontierSwarmProgressStatus = 'not-started' | 'declared' | 'implemented' | 'structure-verified' | 'visual-verified' | 'functional-verified' | 'collaboration-verified' | 'accepted' | 'rejected' | 'blocked' | string;
|
|
112
|
+
export type FrontierSwarmAutoReviewFindingKind = 'stub-risk' | 'missing-evidence' | 'ownership-violation' | 'overlarge-patch' | 'weak-evidence' | 'strict-source-policy' | string;
|
|
113
|
+
export type FrontierSwarmRebaseStatus = 'clean-apply' | 'textual-conflict' | 'semantic-overlap' | 'stale-evidence' | 'needs-rerun' | string;
|
|
45
114
|
export interface FrontierSwarmComputeInput {
|
|
46
115
|
id: string;
|
|
47
116
|
kind?: FrontierSwarmComputeKind;
|
|
@@ -404,6 +473,7 @@ export interface FrontierSwarmPlanInput extends FrontierSwarmPlanFilter {
|
|
|
404
473
|
maxLaneConcurrency?: Record<string, number>;
|
|
405
474
|
maxConcurrencyKeyConcurrency?: Record<string, number>;
|
|
406
475
|
maxComputeConcurrency?: Record<string, number>;
|
|
476
|
+
resourceQuotas?: Record<string, number>;
|
|
407
477
|
metadata?: unknown;
|
|
408
478
|
}
|
|
409
479
|
export interface FrontierSwarmPlan {
|
|
@@ -426,6 +496,7 @@ export interface FrontierSwarmScheduleLimits {
|
|
|
426
496
|
maxLaneConcurrency: Record<string, number>;
|
|
427
497
|
maxConcurrencyKeyConcurrency: Record<string, number>;
|
|
428
498
|
maxComputeConcurrency: Record<string, number>;
|
|
499
|
+
resourceQuotas: Record<string, number>;
|
|
429
500
|
}
|
|
430
501
|
export interface FrontierSwarmJob {
|
|
431
502
|
id: string;
|
|
@@ -532,6 +603,7 @@ export interface FrontierSwarmScheduleInput {
|
|
|
532
603
|
maxLaneConcurrency?: Record<string, number>;
|
|
533
604
|
maxConcurrencyKeyConcurrency?: Record<string, number>;
|
|
534
605
|
maxComputeConcurrency?: Record<string, number>;
|
|
606
|
+
resourceQuotas?: Record<string, number>;
|
|
535
607
|
}
|
|
536
608
|
export interface FrontierSwarmReviewPlanInput {
|
|
537
609
|
plan: FrontierSwarmPlan;
|
|
@@ -1028,6 +1100,1262 @@ export interface FrontierSwarmMergeBundle {
|
|
|
1028
1100
|
reasons: string[];
|
|
1029
1101
|
metadata?: JsonObject;
|
|
1030
1102
|
}
|
|
1103
|
+
export interface FrontierSwarmQueueOverlayInput {
|
|
1104
|
+
id?: string;
|
|
1105
|
+
runId?: string;
|
|
1106
|
+
bundles?: readonly FrontierSwarmMergeBundle[];
|
|
1107
|
+
results?: readonly (FrontierSwarmJobResult | FrontierSwarmJobResultInput)[];
|
|
1108
|
+
generatedAt?: number;
|
|
1109
|
+
metadata?: unknown;
|
|
1110
|
+
}
|
|
1111
|
+
export interface FrontierSwarmQueueOverlay {
|
|
1112
|
+
kind: typeof FRONTIER_SWARM_QUEUE_OVERLAY_KIND;
|
|
1113
|
+
version: typeof FRONTIER_SWARM_QUEUE_OVERLAY_VERSION;
|
|
1114
|
+
id: string;
|
|
1115
|
+
runId?: string;
|
|
1116
|
+
generatedAt: number;
|
|
1117
|
+
entries: FrontierSwarmQueueOverlayEntry[];
|
|
1118
|
+
byQueueItemId: Record<string, FrontierSwarmQueueOverlayEntry[]>;
|
|
1119
|
+
summary: {
|
|
1120
|
+
entryCount: number;
|
|
1121
|
+
queueItemCount: number;
|
|
1122
|
+
readyToApplyCount: number;
|
|
1123
|
+
needsHumanPortCount: number;
|
|
1124
|
+
failedEvidenceCount: number;
|
|
1125
|
+
staleAgainstHeadCount: number;
|
|
1126
|
+
discoveryOnlyCount: number;
|
|
1127
|
+
};
|
|
1128
|
+
metadata?: JsonObject;
|
|
1129
|
+
}
|
|
1130
|
+
export interface FrontierSwarmQueueOverlayEntry {
|
|
1131
|
+
queueItemId: string;
|
|
1132
|
+
jobId: string;
|
|
1133
|
+
status: FrontierSwarmQueueOverlayStatus;
|
|
1134
|
+
mergeReadiness: FrontierSwarmMergeReadiness;
|
|
1135
|
+
disposition: FrontierSwarmMergeDisposition;
|
|
1136
|
+
riskLevel: FrontierSwarmRiskLevel;
|
|
1137
|
+
patchPath?: string;
|
|
1138
|
+
evidencePaths: string[];
|
|
1139
|
+
changedPaths: string[];
|
|
1140
|
+
changedRegions: string[];
|
|
1141
|
+
reasons: string[];
|
|
1142
|
+
generatedAt: number;
|
|
1143
|
+
}
|
|
1144
|
+
export interface FrontierSwarmDerivedQueueStatusInput {
|
|
1145
|
+
snapshot: FrontierSwarmQueueSnapshot;
|
|
1146
|
+
overlays?: readonly FrontierSwarmQueueOverlay[];
|
|
1147
|
+
generatedAt?: number;
|
|
1148
|
+
}
|
|
1149
|
+
export interface FrontierSwarmDerivedQueueStatus {
|
|
1150
|
+
generatedAt: number;
|
|
1151
|
+
jobs: FrontierSwarmQueueJob[];
|
|
1152
|
+
byStatus: Record<string, string[]>;
|
|
1153
|
+
summary: FrontierSwarmQueueSnapshot['summary'];
|
|
1154
|
+
}
|
|
1155
|
+
export interface FrontierSwarmMergeIndexInput {
|
|
1156
|
+
id?: string;
|
|
1157
|
+
runId?: string;
|
|
1158
|
+
planId?: string;
|
|
1159
|
+
bundles: readonly FrontierSwarmMergeBundle[];
|
|
1160
|
+
patchStatuses?: Record<string, FrontierSwarmPatchStatus>;
|
|
1161
|
+
generatedAt?: number;
|
|
1162
|
+
metadata?: unknown;
|
|
1163
|
+
}
|
|
1164
|
+
export interface FrontierSwarmMergeIndex {
|
|
1165
|
+
kind: typeof FRONTIER_SWARM_MERGE_INDEX_KIND;
|
|
1166
|
+
version: typeof FRONTIER_SWARM_MERGE_INDEX_VERSION;
|
|
1167
|
+
id: string;
|
|
1168
|
+
runId?: string;
|
|
1169
|
+
planId?: string;
|
|
1170
|
+
generatedAt: number;
|
|
1171
|
+
entries: FrontierSwarmMergeIndexEntry[];
|
|
1172
|
+
conflicts: FrontierSwarmMergeConflict[];
|
|
1173
|
+
byDisposition: Record<string, string[]>;
|
|
1174
|
+
byPath: Record<string, string[]>;
|
|
1175
|
+
byRegion: Record<string, string[]>;
|
|
1176
|
+
summary: {
|
|
1177
|
+
entryCount: number;
|
|
1178
|
+
readyToApplyCount: number;
|
|
1179
|
+
needsHumanPortCount: number;
|
|
1180
|
+
failedEvidenceCount: number;
|
|
1181
|
+
staleAgainstHeadCount: number;
|
|
1182
|
+
discoveryOnlyCount: number;
|
|
1183
|
+
conflictCount: number;
|
|
1184
|
+
conflictedJobCount: number;
|
|
1185
|
+
};
|
|
1186
|
+
metadata?: JsonObject;
|
|
1187
|
+
}
|
|
1188
|
+
export interface FrontierSwarmMergeIndexEntry {
|
|
1189
|
+
jobId: string;
|
|
1190
|
+
taskId?: string;
|
|
1191
|
+
lane?: string;
|
|
1192
|
+
title?: string;
|
|
1193
|
+
status: FrontierSwarmJobStatus;
|
|
1194
|
+
mergeReadiness: FrontierSwarmMergeReadiness;
|
|
1195
|
+
disposition: FrontierSwarmMergeDisposition;
|
|
1196
|
+
riskLevel: FrontierSwarmRiskLevel;
|
|
1197
|
+
patchStatus: FrontierSwarmPatchStatus;
|
|
1198
|
+
staleAgainstHead: boolean;
|
|
1199
|
+
autoMergeable: boolean;
|
|
1200
|
+
changedPaths: string[];
|
|
1201
|
+
changedRegions: string[];
|
|
1202
|
+
conflictKeys: string[];
|
|
1203
|
+
conflictingJobIds: string[];
|
|
1204
|
+
ownedFilesTouched: string[];
|
|
1205
|
+
ownershipViolations: string[];
|
|
1206
|
+
patchPath?: string;
|
|
1207
|
+
patchHash?: string;
|
|
1208
|
+
evidencePaths: string[];
|
|
1209
|
+
queueItemIds: string[];
|
|
1210
|
+
reasons: string[];
|
|
1211
|
+
generatedAt: number;
|
|
1212
|
+
}
|
|
1213
|
+
export interface FrontierSwarmMergeConflict {
|
|
1214
|
+
jobIds: string[];
|
|
1215
|
+
key: string;
|
|
1216
|
+
kind: 'path' | 'region';
|
|
1217
|
+
path?: string;
|
|
1218
|
+
region?: string;
|
|
1219
|
+
}
|
|
1220
|
+
export interface FrontierSwarmRegionOwnershipInput {
|
|
1221
|
+
changedPaths?: readonly string[];
|
|
1222
|
+
changedRegions?: readonly string[];
|
|
1223
|
+
}
|
|
1224
|
+
export interface FrontierSwarmRegionOwnershipReport {
|
|
1225
|
+
ok: boolean;
|
|
1226
|
+
jobId: string;
|
|
1227
|
+
changedPaths: string[];
|
|
1228
|
+
changedRegions: string[];
|
|
1229
|
+
ownedRegions: string[];
|
|
1230
|
+
regionViolations: string[];
|
|
1231
|
+
unclassifiedChangedPaths: string[];
|
|
1232
|
+
}
|
|
1233
|
+
export interface FrontierSwarmHotspotReportInput {
|
|
1234
|
+
id?: string;
|
|
1235
|
+
bundles?: readonly FrontierSwarmMergeBundle[];
|
|
1236
|
+
results?: readonly (FrontierSwarmJobResult | FrontierSwarmJobResultInput)[];
|
|
1237
|
+
threshold?: number;
|
|
1238
|
+
generatedAt?: number;
|
|
1239
|
+
metadata?: unknown;
|
|
1240
|
+
}
|
|
1241
|
+
export interface FrontierSwarmHotspotReport {
|
|
1242
|
+
kind: typeof FRONTIER_SWARM_HOTSPOT_REPORT_KIND;
|
|
1243
|
+
version: typeof FRONTIER_SWARM_HOTSPOT_REPORT_VERSION;
|
|
1244
|
+
id: string;
|
|
1245
|
+
generatedAt: number;
|
|
1246
|
+
threshold: number;
|
|
1247
|
+
entries: FrontierSwarmHotspotEntry[];
|
|
1248
|
+
recommendations: FrontierSwarmHotspotRecommendation[];
|
|
1249
|
+
summary: {
|
|
1250
|
+
pathCount: number;
|
|
1251
|
+
hotspotCount: number;
|
|
1252
|
+
recommendationCount: number;
|
|
1253
|
+
};
|
|
1254
|
+
metadata?: JsonObject;
|
|
1255
|
+
}
|
|
1256
|
+
export interface FrontierSwarmHotspotEntry {
|
|
1257
|
+
path: string;
|
|
1258
|
+
touchCount: number;
|
|
1259
|
+
jobIds: string[];
|
|
1260
|
+
regions: string[];
|
|
1261
|
+
dispositions: string[];
|
|
1262
|
+
riskLevels: string[];
|
|
1263
|
+
}
|
|
1264
|
+
export interface FrontierSwarmHotspotRecommendation {
|
|
1265
|
+
path: string;
|
|
1266
|
+
reason: 'repeated-conflicts' | 'hot-file' | 'region-overlap';
|
|
1267
|
+
suggestedModuleId: string;
|
|
1268
|
+
suggestedOwnershipRegions: string[];
|
|
1269
|
+
jobIds: string[];
|
|
1270
|
+
}
|
|
1271
|
+
export interface FrontierSwarmReviewerLanePlanInput {
|
|
1272
|
+
id?: string;
|
|
1273
|
+
index: FrontierSwarmMergeIndex;
|
|
1274
|
+
admission?: FrontierSwarmMergeAdmission;
|
|
1275
|
+
reviewerLane?: string;
|
|
1276
|
+
reviewers?: readonly string[];
|
|
1277
|
+
includeAutoMergeable?: boolean;
|
|
1278
|
+
generatedAt?: number;
|
|
1279
|
+
metadata?: unknown;
|
|
1280
|
+
}
|
|
1281
|
+
export interface FrontierSwarmReviewerLanePlan {
|
|
1282
|
+
kind: typeof FRONTIER_SWARM_REVIEWER_LANE_PLAN_KIND;
|
|
1283
|
+
version: typeof FRONTIER_SWARM_REVIEWER_LANE_PLAN_VERSION;
|
|
1284
|
+
id: string;
|
|
1285
|
+
mergeIndexId: string;
|
|
1286
|
+
generatedAt: number;
|
|
1287
|
+
reviewerLane: string;
|
|
1288
|
+
assignments: FrontierSwarmReviewerLaneAssignment[];
|
|
1289
|
+
tasks: FrontierSwarmTaskInput[];
|
|
1290
|
+
summary: {
|
|
1291
|
+
assignmentCount: number;
|
|
1292
|
+
taskCount: number;
|
|
1293
|
+
};
|
|
1294
|
+
metadata?: JsonObject;
|
|
1295
|
+
}
|
|
1296
|
+
export interface FrontierSwarmReviewerLaneAssignment {
|
|
1297
|
+
jobId: string;
|
|
1298
|
+
reviewers: string[];
|
|
1299
|
+
required: boolean;
|
|
1300
|
+
reasons: string[];
|
|
1301
|
+
}
|
|
1302
|
+
export interface FrontierSwarmRunStoreShardsInput {
|
|
1303
|
+
id?: string;
|
|
1304
|
+
run?: FrontierSwarmRun;
|
|
1305
|
+
plan?: FrontierSwarmPlan;
|
|
1306
|
+
root?: string;
|
|
1307
|
+
shardSize?: number;
|
|
1308
|
+
groupBy?: 'lane' | 'hash' | 'none';
|
|
1309
|
+
generatedAt?: number;
|
|
1310
|
+
metadata?: unknown;
|
|
1311
|
+
}
|
|
1312
|
+
export interface FrontierSwarmRunStoreShards {
|
|
1313
|
+
kind: typeof FRONTIER_SWARM_RUN_STORE_SHARDS_KIND;
|
|
1314
|
+
version: typeof FRONTIER_SWARM_RUN_STORE_SHARDS_VERSION;
|
|
1315
|
+
id: string;
|
|
1316
|
+
runId?: string;
|
|
1317
|
+
planId?: string;
|
|
1318
|
+
root: string;
|
|
1319
|
+
generatedAt: number;
|
|
1320
|
+
groupBy: 'lane' | 'hash' | 'none';
|
|
1321
|
+
shardSize: number;
|
|
1322
|
+
shards: FrontierSwarmRunStoreShard[];
|
|
1323
|
+
summary: {
|
|
1324
|
+
shardCount: number;
|
|
1325
|
+
jobCount: number;
|
|
1326
|
+
};
|
|
1327
|
+
metadata?: JsonObject;
|
|
1328
|
+
}
|
|
1329
|
+
export interface FrontierSwarmRunStoreShard {
|
|
1330
|
+
id: string;
|
|
1331
|
+
lane?: string;
|
|
1332
|
+
path: string;
|
|
1333
|
+
eventPath: string;
|
|
1334
|
+
resultPath: string;
|
|
1335
|
+
checkpointPath: string;
|
|
1336
|
+
jobIds: string[];
|
|
1337
|
+
}
|
|
1338
|
+
export interface FrontierSwarmMergeAdmissionInput {
|
|
1339
|
+
id?: string;
|
|
1340
|
+
index: FrontierSwarmMergeIndex;
|
|
1341
|
+
maxReady?: number;
|
|
1342
|
+
maxChangedPaths?: number;
|
|
1343
|
+
maxChangedRegions?: number;
|
|
1344
|
+
maxHighRisk?: number;
|
|
1345
|
+
allowRisks?: readonly FrontierSwarmRiskLevel[];
|
|
1346
|
+
generatedAt?: number;
|
|
1347
|
+
metadata?: unknown;
|
|
1348
|
+
}
|
|
1349
|
+
export interface FrontierSwarmMergeAdmission {
|
|
1350
|
+
kind: typeof FRONTIER_SWARM_MERGE_ADMISSION_KIND;
|
|
1351
|
+
version: typeof FRONTIER_SWARM_MERGE_ADMISSION_VERSION;
|
|
1352
|
+
id: string;
|
|
1353
|
+
mergeIndexId: string;
|
|
1354
|
+
generatedAt: number;
|
|
1355
|
+
admitted: string[];
|
|
1356
|
+
deferred: FrontierSwarmMergeAdmissionDeferral[];
|
|
1357
|
+
budget: {
|
|
1358
|
+
maxReady: number;
|
|
1359
|
+
maxChangedPaths?: number;
|
|
1360
|
+
maxChangedRegions?: number;
|
|
1361
|
+
maxHighRisk?: number;
|
|
1362
|
+
allowRisks: string[];
|
|
1363
|
+
};
|
|
1364
|
+
summary: {
|
|
1365
|
+
admittedCount: number;
|
|
1366
|
+
deferredCount: number;
|
|
1367
|
+
changedPathCount: number;
|
|
1368
|
+
changedRegionCount: number;
|
|
1369
|
+
highRiskCount: number;
|
|
1370
|
+
};
|
|
1371
|
+
metadata?: JsonObject;
|
|
1372
|
+
}
|
|
1373
|
+
export interface FrontierSwarmMergeAdmissionDeferral {
|
|
1374
|
+
jobId: string;
|
|
1375
|
+
reasons: string[];
|
|
1376
|
+
}
|
|
1377
|
+
export interface FrontierSwarmContextPackInput {
|
|
1378
|
+
id?: string;
|
|
1379
|
+
job?: FrontierSwarmJob;
|
|
1380
|
+
task?: FrontierSwarmTask | FrontierSwarmTaskInput;
|
|
1381
|
+
title?: string;
|
|
1382
|
+
files?: readonly string[];
|
|
1383
|
+
apiMap?: Record<string, readonly string[]>;
|
|
1384
|
+
knownFailures?: readonly string[];
|
|
1385
|
+
commands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
1386
|
+
oracleCommands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
1387
|
+
evidenceSchema?: unknown;
|
|
1388
|
+
expectedEvidence?: readonly string[];
|
|
1389
|
+
exclusions?: readonly string[];
|
|
1390
|
+
avoidInvestigating?: readonly string[];
|
|
1391
|
+
playbookIds?: readonly string[];
|
|
1392
|
+
generatedAt?: number;
|
|
1393
|
+
metadata?: unknown;
|
|
1394
|
+
}
|
|
1395
|
+
export interface FrontierSwarmContextPack {
|
|
1396
|
+
kind: typeof FRONTIER_SWARM_CONTEXT_PACK_KIND;
|
|
1397
|
+
version: typeof FRONTIER_SWARM_CONTEXT_PACK_VERSION;
|
|
1398
|
+
id: string;
|
|
1399
|
+
jobId?: string;
|
|
1400
|
+
taskId?: string;
|
|
1401
|
+
lane?: string;
|
|
1402
|
+
title: string;
|
|
1403
|
+
generatedAt: number;
|
|
1404
|
+
files: string[];
|
|
1405
|
+
apiMap: Record<string, string[]>;
|
|
1406
|
+
knownFailures: string[];
|
|
1407
|
+
commands: FrontierSwarmCommand[];
|
|
1408
|
+
oracleCommands: FrontierSwarmCommand[];
|
|
1409
|
+
evidenceSchema?: JsonValue;
|
|
1410
|
+
expectedEvidence: string[];
|
|
1411
|
+
exclusions: string[];
|
|
1412
|
+
avoidInvestigating: string[];
|
|
1413
|
+
playbookIds: string[];
|
|
1414
|
+
metadata?: JsonObject;
|
|
1415
|
+
}
|
|
1416
|
+
export interface FrontierSwarmOracleArtifactInput {
|
|
1417
|
+
id: string;
|
|
1418
|
+
path: string;
|
|
1419
|
+
kind?: string;
|
|
1420
|
+
command?: string | FrontierSwarmCommandInput;
|
|
1421
|
+
hash?: string;
|
|
1422
|
+
sourceRef?: string;
|
|
1423
|
+
tags?: readonly string[];
|
|
1424
|
+
metadata?: unknown;
|
|
1425
|
+
}
|
|
1426
|
+
export interface FrontierSwarmOracleArtifact {
|
|
1427
|
+
id: string;
|
|
1428
|
+
path: string;
|
|
1429
|
+
kind: string;
|
|
1430
|
+
command?: FrontierSwarmCommand;
|
|
1431
|
+
hash?: string;
|
|
1432
|
+
sourceRef?: string;
|
|
1433
|
+
tags: string[];
|
|
1434
|
+
metadata?: JsonObject;
|
|
1435
|
+
}
|
|
1436
|
+
export interface FrontierSwarmOracleCorpusInput {
|
|
1437
|
+
id?: string;
|
|
1438
|
+
title?: string;
|
|
1439
|
+
artifacts?: readonly FrontierSwarmOracleArtifactInput[];
|
|
1440
|
+
generatedAt?: number;
|
|
1441
|
+
metadata?: unknown;
|
|
1442
|
+
}
|
|
1443
|
+
export interface FrontierSwarmOracleCorpus {
|
|
1444
|
+
kind: typeof FRONTIER_SWARM_ORACLE_CORPUS_KIND;
|
|
1445
|
+
version: typeof FRONTIER_SWARM_ORACLE_CORPUS_VERSION;
|
|
1446
|
+
id: string;
|
|
1447
|
+
title: string;
|
|
1448
|
+
generatedAt: number;
|
|
1449
|
+
artifacts: FrontierSwarmOracleArtifact[];
|
|
1450
|
+
byKind: Record<string, string[]>;
|
|
1451
|
+
byTag: Record<string, string[]>;
|
|
1452
|
+
summary: {
|
|
1453
|
+
artifactCount: number;
|
|
1454
|
+
kindCount: number;
|
|
1455
|
+
tagCount: number;
|
|
1456
|
+
};
|
|
1457
|
+
metadata?: JsonObject;
|
|
1458
|
+
}
|
|
1459
|
+
export interface FrontierSwarmNamedRefInput {
|
|
1460
|
+
id?: string;
|
|
1461
|
+
path?: string;
|
|
1462
|
+
uri?: string;
|
|
1463
|
+
kind?: string;
|
|
1464
|
+
role?: string;
|
|
1465
|
+
hash?: string;
|
|
1466
|
+
bytes?: number;
|
|
1467
|
+
tags?: readonly string[];
|
|
1468
|
+
metadata?: unknown;
|
|
1469
|
+
}
|
|
1470
|
+
export interface FrontierSwarmNamedRef {
|
|
1471
|
+
id: string;
|
|
1472
|
+
kind: string;
|
|
1473
|
+
path?: string;
|
|
1474
|
+
uri?: string;
|
|
1475
|
+
role?: string;
|
|
1476
|
+
hash?: string;
|
|
1477
|
+
bytes?: number;
|
|
1478
|
+
tags: string[];
|
|
1479
|
+
metadata?: JsonObject;
|
|
1480
|
+
}
|
|
1481
|
+
export interface FrontierSwarmObservabilityPointInput {
|
|
1482
|
+
id?: string;
|
|
1483
|
+
subject?: string;
|
|
1484
|
+
scope?: string;
|
|
1485
|
+
operationIndex?: number;
|
|
1486
|
+
at?: number;
|
|
1487
|
+
path?: string;
|
|
1488
|
+
selector?: string;
|
|
1489
|
+
before?: unknown;
|
|
1490
|
+
after?: unknown;
|
|
1491
|
+
eventRefs?: readonly (string | FrontierSwarmNamedRefInput)[];
|
|
1492
|
+
metadata?: unknown;
|
|
1493
|
+
}
|
|
1494
|
+
export interface FrontierSwarmObservabilityPoint {
|
|
1495
|
+
kind: typeof FRONTIER_SWARM_OBSERVABILITY_POINT_KIND;
|
|
1496
|
+
version: typeof FRONTIER_SWARM_OBSERVABILITY_POINT_VERSION;
|
|
1497
|
+
id: string;
|
|
1498
|
+
subject?: string;
|
|
1499
|
+
scope?: string;
|
|
1500
|
+
operationIndex?: number;
|
|
1501
|
+
at?: number;
|
|
1502
|
+
path?: string;
|
|
1503
|
+
selector?: string;
|
|
1504
|
+
before?: JsonValue;
|
|
1505
|
+
after?: JsonValue;
|
|
1506
|
+
eventRefs: FrontierSwarmNamedRef[];
|
|
1507
|
+
metadata?: JsonObject;
|
|
1508
|
+
}
|
|
1509
|
+
export interface FrontierSwarmReplayBundleInput {
|
|
1510
|
+
id?: string;
|
|
1511
|
+
title?: string;
|
|
1512
|
+
subject?: string;
|
|
1513
|
+
commands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
1514
|
+
inputs?: readonly FrontierSwarmNamedRefInput[];
|
|
1515
|
+
artifacts?: readonly FrontierSwarmNamedRefInput[];
|
|
1516
|
+
sourceRefs?: readonly (string | FrontierSwarmNamedRefInput)[];
|
|
1517
|
+
seeds?: readonly (string | number | FrontierSwarmNamedRefInput)[];
|
|
1518
|
+
environment?: unknown;
|
|
1519
|
+
expectedEvidence?: readonly string[];
|
|
1520
|
+
generatedAt?: number;
|
|
1521
|
+
metadata?: unknown;
|
|
1522
|
+
}
|
|
1523
|
+
export interface FrontierSwarmReplayBundle {
|
|
1524
|
+
kind: typeof FRONTIER_SWARM_REPLAY_BUNDLE_KIND;
|
|
1525
|
+
version: typeof FRONTIER_SWARM_REPLAY_BUNDLE_VERSION;
|
|
1526
|
+
id: string;
|
|
1527
|
+
title: string;
|
|
1528
|
+
subject?: string;
|
|
1529
|
+
generatedAt: number;
|
|
1530
|
+
commands: FrontierSwarmCommand[];
|
|
1531
|
+
inputs: FrontierSwarmNamedRef[];
|
|
1532
|
+
artifacts: FrontierSwarmNamedRef[];
|
|
1533
|
+
sourceRefs: FrontierSwarmNamedRef[];
|
|
1534
|
+
seeds: FrontierSwarmNamedRef[];
|
|
1535
|
+
environment?: JsonObject;
|
|
1536
|
+
expectedEvidence: string[];
|
|
1537
|
+
summary: {
|
|
1538
|
+
commandCount: number;
|
|
1539
|
+
inputCount: number;
|
|
1540
|
+
artifactCount: number;
|
|
1541
|
+
sourceRefCount: number;
|
|
1542
|
+
};
|
|
1543
|
+
metadata?: JsonObject;
|
|
1544
|
+
}
|
|
1545
|
+
export interface FrontierSwarmParityComparatorInput {
|
|
1546
|
+
id?: string;
|
|
1547
|
+
title?: string;
|
|
1548
|
+
status?: FrontierSwarmParityOracleStatus;
|
|
1549
|
+
expected?: unknown;
|
|
1550
|
+
actual?: unknown;
|
|
1551
|
+
path?: string;
|
|
1552
|
+
operationIndex?: number;
|
|
1553
|
+
evidenceRefs?: readonly (string | FrontierSwarmNamedRefInput)[];
|
|
1554
|
+
metadata?: unknown;
|
|
1555
|
+
}
|
|
1556
|
+
export interface FrontierSwarmParityComparator {
|
|
1557
|
+
id: string;
|
|
1558
|
+
title: string;
|
|
1559
|
+
status: FrontierSwarmParityOracleStatus;
|
|
1560
|
+
expected?: JsonValue;
|
|
1561
|
+
actual?: JsonValue;
|
|
1562
|
+
path?: string;
|
|
1563
|
+
operationIndex?: number;
|
|
1564
|
+
evidenceRefs: FrontierSwarmNamedRef[];
|
|
1565
|
+
metadata?: JsonObject;
|
|
1566
|
+
}
|
|
1567
|
+
export interface FrontierSwarmParityOracleInput {
|
|
1568
|
+
id?: string;
|
|
1569
|
+
title?: string;
|
|
1570
|
+
status?: FrontierSwarmParityOracleStatus;
|
|
1571
|
+
subject?: string;
|
|
1572
|
+
referenceCommands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
1573
|
+
testCommands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
1574
|
+
comparators?: readonly FrontierSwarmParityComparatorInput[];
|
|
1575
|
+
artifacts?: readonly FrontierSwarmNamedRefInput[];
|
|
1576
|
+
replayBundleIds?: readonly string[];
|
|
1577
|
+
generatedAt?: number;
|
|
1578
|
+
metadata?: unknown;
|
|
1579
|
+
}
|
|
1580
|
+
export interface FrontierSwarmParityOracle {
|
|
1581
|
+
kind: typeof FRONTIER_SWARM_PARITY_ORACLE_KIND;
|
|
1582
|
+
version: typeof FRONTIER_SWARM_PARITY_ORACLE_VERSION;
|
|
1583
|
+
id: string;
|
|
1584
|
+
title: string;
|
|
1585
|
+
status: FrontierSwarmParityOracleStatus;
|
|
1586
|
+
subject?: string;
|
|
1587
|
+
generatedAt: number;
|
|
1588
|
+
referenceCommands: FrontierSwarmCommand[];
|
|
1589
|
+
testCommands: FrontierSwarmCommand[];
|
|
1590
|
+
comparators: FrontierSwarmParityComparator[];
|
|
1591
|
+
artifacts: FrontierSwarmNamedRef[];
|
|
1592
|
+
replayBundleIds: string[];
|
|
1593
|
+
summary: {
|
|
1594
|
+
comparatorCount: number;
|
|
1595
|
+
passedCount: number;
|
|
1596
|
+
failedCount: number;
|
|
1597
|
+
blockedCount: number;
|
|
1598
|
+
};
|
|
1599
|
+
metadata?: JsonObject;
|
|
1600
|
+
}
|
|
1601
|
+
export interface FrontierSwarmDivergenceReportInput {
|
|
1602
|
+
id?: string;
|
|
1603
|
+
title?: string;
|
|
1604
|
+
status?: FrontierSwarmParityOracleStatus;
|
|
1605
|
+
severity?: FrontierSwarmDivergenceSeverity;
|
|
1606
|
+
subject?: string;
|
|
1607
|
+
confidence?: FrontierSwarmConfidence;
|
|
1608
|
+
divergesAt?: string;
|
|
1609
|
+
operationIndex?: number;
|
|
1610
|
+
expected?: unknown;
|
|
1611
|
+
actual?: unknown;
|
|
1612
|
+
observabilityPoints?: readonly (FrontierSwarmObservabilityPoint | FrontierSwarmObservabilityPointInput)[];
|
|
1613
|
+
traceRefs?: readonly (string | FrontierSwarmNamedRefInput)[];
|
|
1614
|
+
replayBundleIds?: readonly string[];
|
|
1615
|
+
evidenceRefs?: readonly (string | FrontierSwarmNamedRefInput)[];
|
|
1616
|
+
generatedAt?: number;
|
|
1617
|
+
metadata?: unknown;
|
|
1618
|
+
}
|
|
1619
|
+
export interface FrontierSwarmDivergenceReport {
|
|
1620
|
+
kind: typeof FRONTIER_SWARM_DIVERGENCE_REPORT_KIND;
|
|
1621
|
+
version: typeof FRONTIER_SWARM_DIVERGENCE_REPORT_VERSION;
|
|
1622
|
+
id: string;
|
|
1623
|
+
title: string;
|
|
1624
|
+
status: FrontierSwarmParityOracleStatus;
|
|
1625
|
+
severity: FrontierSwarmDivergenceSeverity;
|
|
1626
|
+
subject?: string;
|
|
1627
|
+
confidence: FrontierSwarmConfidence;
|
|
1628
|
+
divergesAt?: string;
|
|
1629
|
+
operationIndex?: number;
|
|
1630
|
+
expected?: JsonValue;
|
|
1631
|
+
actual?: JsonValue;
|
|
1632
|
+
observabilityPoints: FrontierSwarmObservabilityPoint[];
|
|
1633
|
+
traceRefs: FrontierSwarmNamedRef[];
|
|
1634
|
+
replayBundleIds: string[];
|
|
1635
|
+
evidenceRefs: FrontierSwarmNamedRef[];
|
|
1636
|
+
generatedAt: number;
|
|
1637
|
+
metadata?: JsonObject;
|
|
1638
|
+
}
|
|
1639
|
+
export interface FrontierSwarmWatchpointInput {
|
|
1640
|
+
id?: string;
|
|
1641
|
+
title?: string;
|
|
1642
|
+
target?: string;
|
|
1643
|
+
path?: string;
|
|
1644
|
+
selector?: string;
|
|
1645
|
+
operator?: string;
|
|
1646
|
+
value?: unknown;
|
|
1647
|
+
action?: FrontierSwarmWatchpointAction;
|
|
1648
|
+
metadata?: unknown;
|
|
1649
|
+
}
|
|
1650
|
+
export interface FrontierSwarmWatchpoint {
|
|
1651
|
+
id: string;
|
|
1652
|
+
title: string;
|
|
1653
|
+
target?: string;
|
|
1654
|
+
path?: string;
|
|
1655
|
+
selector?: string;
|
|
1656
|
+
operator: string;
|
|
1657
|
+
value?: JsonValue;
|
|
1658
|
+
action: FrontierSwarmWatchpointAction;
|
|
1659
|
+
metadata?: JsonObject;
|
|
1660
|
+
}
|
|
1661
|
+
export interface FrontierSwarmWatchpointPlanInput {
|
|
1662
|
+
id?: string;
|
|
1663
|
+
title?: string;
|
|
1664
|
+
subject?: string;
|
|
1665
|
+
matchMode?: 'all' | 'any' | string;
|
|
1666
|
+
watchpoints?: readonly FrontierSwarmWatchpointInput[];
|
|
1667
|
+
commands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
1668
|
+
replayBundleIds?: readonly string[];
|
|
1669
|
+
divergenceReportIds?: readonly string[];
|
|
1670
|
+
generatedAt?: number;
|
|
1671
|
+
metadata?: unknown;
|
|
1672
|
+
}
|
|
1673
|
+
export interface FrontierSwarmWatchpointPlan {
|
|
1674
|
+
kind: typeof FRONTIER_SWARM_WATCHPOINT_PLAN_KIND;
|
|
1675
|
+
version: typeof FRONTIER_SWARM_WATCHPOINT_PLAN_VERSION;
|
|
1676
|
+
id: string;
|
|
1677
|
+
title: string;
|
|
1678
|
+
subject?: string;
|
|
1679
|
+
matchMode: string;
|
|
1680
|
+
generatedAt: number;
|
|
1681
|
+
watchpoints: FrontierSwarmWatchpoint[];
|
|
1682
|
+
commands: FrontierSwarmCommand[];
|
|
1683
|
+
replayBundleIds: string[];
|
|
1684
|
+
divergenceReportIds: string[];
|
|
1685
|
+
summary: {
|
|
1686
|
+
watchpointCount: number;
|
|
1687
|
+
commandCount: number;
|
|
1688
|
+
};
|
|
1689
|
+
metadata?: JsonObject;
|
|
1690
|
+
}
|
|
1691
|
+
export interface FrontierSwarmDebugHandoffInput {
|
|
1692
|
+
id?: string;
|
|
1693
|
+
title?: string;
|
|
1694
|
+
status?: 'ready' | 'needs-review' | 'blocked' | 'failed' | string;
|
|
1695
|
+
subject?: string;
|
|
1696
|
+
focus?: FrontierSwarmObservabilityPointInput | FrontierSwarmObservabilityPoint;
|
|
1697
|
+
replayBundleIds?: readonly string[];
|
|
1698
|
+
divergenceReportIds?: readonly string[];
|
|
1699
|
+
watchpointPlanIds?: readonly string[];
|
|
1700
|
+
commands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
1701
|
+
files?: readonly FrontierSwarmNamedRefInput[];
|
|
1702
|
+
artifacts?: readonly FrontierSwarmNamedRefInput[];
|
|
1703
|
+
comparisons?: readonly FrontierSwarmParityComparatorInput[];
|
|
1704
|
+
environment?: unknown;
|
|
1705
|
+
generatedAt?: number;
|
|
1706
|
+
metadata?: unknown;
|
|
1707
|
+
}
|
|
1708
|
+
export interface FrontierSwarmDebugHandoff {
|
|
1709
|
+
kind: typeof FRONTIER_SWARM_DEBUG_HANDOFF_KIND;
|
|
1710
|
+
version: typeof FRONTIER_SWARM_DEBUG_HANDOFF_VERSION;
|
|
1711
|
+
id: string;
|
|
1712
|
+
title: string;
|
|
1713
|
+
status: string;
|
|
1714
|
+
subject?: string;
|
|
1715
|
+
focus?: FrontierSwarmObservabilityPoint;
|
|
1716
|
+
replayBundleIds: string[];
|
|
1717
|
+
divergenceReportIds: string[];
|
|
1718
|
+
watchpointPlanIds: string[];
|
|
1719
|
+
commands: FrontierSwarmCommand[];
|
|
1720
|
+
files: FrontierSwarmNamedRef[];
|
|
1721
|
+
artifacts: FrontierSwarmNamedRef[];
|
|
1722
|
+
comparisons: FrontierSwarmParityComparator[];
|
|
1723
|
+
environment?: JsonObject;
|
|
1724
|
+
generatedAt: number;
|
|
1725
|
+
metadata?: JsonObject;
|
|
1726
|
+
}
|
|
1727
|
+
export interface FrontierSwarmInstrumentationBudgetInput {
|
|
1728
|
+
id?: string;
|
|
1729
|
+
title?: string;
|
|
1730
|
+
lane?: string;
|
|
1731
|
+
maxEvents?: number;
|
|
1732
|
+
maxBytes?: number;
|
|
1733
|
+
maxDurationMs?: number;
|
|
1734
|
+
maxOverheadRatio?: number;
|
|
1735
|
+
captureKinds?: readonly string[];
|
|
1736
|
+
sampling?: {
|
|
1737
|
+
mode?: string;
|
|
1738
|
+
rate?: number;
|
|
1739
|
+
metadata?: unknown;
|
|
1740
|
+
};
|
|
1741
|
+
generatedAt?: number;
|
|
1742
|
+
metadata?: unknown;
|
|
1743
|
+
}
|
|
1744
|
+
export interface FrontierSwarmInstrumentationBudget {
|
|
1745
|
+
kind: typeof FRONTIER_SWARM_INSTRUMENTATION_BUDGET_KIND;
|
|
1746
|
+
version: typeof FRONTIER_SWARM_INSTRUMENTATION_BUDGET_VERSION;
|
|
1747
|
+
id: string;
|
|
1748
|
+
title: string;
|
|
1749
|
+
lane?: string;
|
|
1750
|
+
generatedAt: number;
|
|
1751
|
+
maxEvents?: number;
|
|
1752
|
+
maxBytes?: number;
|
|
1753
|
+
maxDurationMs?: number;
|
|
1754
|
+
maxOverheadRatio?: number;
|
|
1755
|
+
captureKinds: string[];
|
|
1756
|
+
sampling: {
|
|
1757
|
+
mode: string;
|
|
1758
|
+
rate?: number;
|
|
1759
|
+
metadata?: JsonObject;
|
|
1760
|
+
};
|
|
1761
|
+
metadata?: JsonObject;
|
|
1762
|
+
}
|
|
1763
|
+
export interface FrontierSwarmInstrumentationUsageInput {
|
|
1764
|
+
events?: number;
|
|
1765
|
+
bytes?: number;
|
|
1766
|
+
durationMs?: number;
|
|
1767
|
+
overheadRatio?: number;
|
|
1768
|
+
captureKinds?: readonly string[];
|
|
1769
|
+
metadata?: unknown;
|
|
1770
|
+
}
|
|
1771
|
+
export interface FrontierSwarmInstrumentationBudgetDecision {
|
|
1772
|
+
ok: boolean;
|
|
1773
|
+
budgetId: string;
|
|
1774
|
+
usage: {
|
|
1775
|
+
events: number;
|
|
1776
|
+
bytes: number;
|
|
1777
|
+
durationMs: number;
|
|
1778
|
+
overheadRatio: number;
|
|
1779
|
+
captureKinds: string[];
|
|
1780
|
+
metadata?: JsonObject;
|
|
1781
|
+
};
|
|
1782
|
+
violations: string[];
|
|
1783
|
+
}
|
|
1784
|
+
export interface FrontierSwarmBottleneckSource {
|
|
1785
|
+
jobId?: string;
|
|
1786
|
+
lane?: string;
|
|
1787
|
+
text?: string;
|
|
1788
|
+
status?: string;
|
|
1789
|
+
reasons?: readonly string[];
|
|
1790
|
+
verification?: readonly FrontierSwarmVerificationResultInput[];
|
|
1791
|
+
evidencePaths?: readonly string[];
|
|
1792
|
+
changedPaths?: readonly string[];
|
|
1793
|
+
metadata?: unknown;
|
|
1794
|
+
}
|
|
1795
|
+
export interface FrontierSwarmBottleneckClassification {
|
|
1796
|
+
kind: FrontierSwarmBottleneckKind;
|
|
1797
|
+
confidence: FrontierSwarmConfidence;
|
|
1798
|
+
reasons: string[];
|
|
1799
|
+
route: {
|
|
1800
|
+
lane?: string;
|
|
1801
|
+
workKind?: string;
|
|
1802
|
+
priority?: number;
|
|
1803
|
+
};
|
|
1804
|
+
}
|
|
1805
|
+
export interface FrontierSwarmBottleneckReportInput {
|
|
1806
|
+
id?: string;
|
|
1807
|
+
sources?: readonly (FrontierSwarmBottleneckSource | FrontierSwarmJobResultInput | FrontierSwarmMergeBundle)[];
|
|
1808
|
+
generatedAt?: number;
|
|
1809
|
+
metadata?: unknown;
|
|
1810
|
+
}
|
|
1811
|
+
export interface FrontierSwarmBottleneckReport {
|
|
1812
|
+
kind: typeof FRONTIER_SWARM_BOTTLENECK_REPORT_KIND;
|
|
1813
|
+
version: typeof FRONTIER_SWARM_BOTTLENECK_REPORT_VERSION;
|
|
1814
|
+
id: string;
|
|
1815
|
+
generatedAt: number;
|
|
1816
|
+
classifications: FrontierSwarmBottleneckClassification[];
|
|
1817
|
+
byKind: Record<string, FrontierSwarmBottleneckClassification[]>;
|
|
1818
|
+
summary: {
|
|
1819
|
+
sourceCount: number;
|
|
1820
|
+
kindCount: number;
|
|
1821
|
+
};
|
|
1822
|
+
metadata?: JsonObject;
|
|
1823
|
+
}
|
|
1824
|
+
export type FrontierSwarmEvidenceFacetValue = string | number | boolean;
|
|
1825
|
+
export interface FrontierSwarmEvidenceIndexEntryInput {
|
|
1826
|
+
id?: string;
|
|
1827
|
+
jobId?: string;
|
|
1828
|
+
queueItemId?: string;
|
|
1829
|
+
lane?: string;
|
|
1830
|
+
topic?: string;
|
|
1831
|
+
path?: string;
|
|
1832
|
+
kind?: string;
|
|
1833
|
+
status?: string;
|
|
1834
|
+
confidence?: number;
|
|
1835
|
+
tags?: readonly string[];
|
|
1836
|
+
facets?: Record<string, FrontierSwarmEvidenceFacetValue>;
|
|
1837
|
+
generatedAt?: number;
|
|
1838
|
+
metadata?: unknown;
|
|
1839
|
+
}
|
|
1840
|
+
export interface FrontierSwarmEvidenceIndexEntry {
|
|
1841
|
+
id: string;
|
|
1842
|
+
jobId?: string;
|
|
1843
|
+
queueItemId?: string;
|
|
1844
|
+
lane?: string;
|
|
1845
|
+
topic?: string;
|
|
1846
|
+
path?: string;
|
|
1847
|
+
kind: string;
|
|
1848
|
+
status: string;
|
|
1849
|
+
confidence: number;
|
|
1850
|
+
tags: string[];
|
|
1851
|
+
facets: Record<string, FrontierSwarmEvidenceFacetValue>;
|
|
1852
|
+
generatedAt: number;
|
|
1853
|
+
metadata?: JsonObject;
|
|
1854
|
+
}
|
|
1855
|
+
export interface FrontierSwarmEvidenceIndexInput {
|
|
1856
|
+
id?: string;
|
|
1857
|
+
run?: FrontierSwarmRun;
|
|
1858
|
+
entries?: readonly FrontierSwarmEvidenceIndexEntryInput[];
|
|
1859
|
+
generatedAt?: number;
|
|
1860
|
+
metadata?: unknown;
|
|
1861
|
+
}
|
|
1862
|
+
export interface FrontierSwarmEvidenceIndex {
|
|
1863
|
+
kind: typeof FRONTIER_SWARM_EVIDENCE_INDEX_KIND;
|
|
1864
|
+
version: typeof FRONTIER_SWARM_EVIDENCE_INDEX_VERSION;
|
|
1865
|
+
id: string;
|
|
1866
|
+
runId?: string;
|
|
1867
|
+
generatedAt: number;
|
|
1868
|
+
entries: FrontierSwarmEvidenceIndexEntry[];
|
|
1869
|
+
byJobId: Record<string, FrontierSwarmEvidenceIndexEntry[]>;
|
|
1870
|
+
byTopic: Record<string, FrontierSwarmEvidenceIndexEntry[]>;
|
|
1871
|
+
byPath: Record<string, FrontierSwarmEvidenceIndexEntry[]>;
|
|
1872
|
+
summary: {
|
|
1873
|
+
entryCount: number;
|
|
1874
|
+
jobCount: number;
|
|
1875
|
+
topicCount: number;
|
|
1876
|
+
pathCount: number;
|
|
1877
|
+
};
|
|
1878
|
+
metadata?: JsonObject;
|
|
1879
|
+
}
|
|
1880
|
+
export interface FrontierSwarmEvidenceIndexQuery {
|
|
1881
|
+
jobId?: string;
|
|
1882
|
+
lane?: string;
|
|
1883
|
+
topic?: string;
|
|
1884
|
+
pathIncludes?: string;
|
|
1885
|
+
kind?: string;
|
|
1886
|
+
status?: string;
|
|
1887
|
+
tag?: string;
|
|
1888
|
+
minConfidence?: number;
|
|
1889
|
+
facet?: Record<string, FrontierSwarmEvidenceFacetValue>;
|
|
1890
|
+
}
|
|
1891
|
+
export interface FrontierSwarmEvidenceIndexQueryResult {
|
|
1892
|
+
entries: FrontierSwarmEvidenceIndexEntry[];
|
|
1893
|
+
summary: {
|
|
1894
|
+
entryCount: number;
|
|
1895
|
+
};
|
|
1896
|
+
}
|
|
1897
|
+
export interface FrontierSwarmBlackboardEntryInput {
|
|
1898
|
+
id?: string;
|
|
1899
|
+
kind?: FrontierSwarmBlackboardEntryKind;
|
|
1900
|
+
topic?: string;
|
|
1901
|
+
status?: string;
|
|
1902
|
+
text?: string;
|
|
1903
|
+
lane?: string;
|
|
1904
|
+
jobId?: string;
|
|
1905
|
+
owner?: string;
|
|
1906
|
+
confidence?: FrontierSwarmConfidence;
|
|
1907
|
+
sourceIds?: readonly string[];
|
|
1908
|
+
paths?: readonly string[];
|
|
1909
|
+
tags?: readonly string[];
|
|
1910
|
+
supersedes?: readonly string[];
|
|
1911
|
+
generatedAt?: number;
|
|
1912
|
+
metadata?: unknown;
|
|
1913
|
+
}
|
|
1914
|
+
export interface FrontierSwarmBlackboardEntry {
|
|
1915
|
+
id: string;
|
|
1916
|
+
kind: FrontierSwarmBlackboardEntryKind;
|
|
1917
|
+
topic: string;
|
|
1918
|
+
status: string;
|
|
1919
|
+
text: string;
|
|
1920
|
+
lane?: string;
|
|
1921
|
+
jobId?: string;
|
|
1922
|
+
owner?: string;
|
|
1923
|
+
confidence: FrontierSwarmConfidence;
|
|
1924
|
+
sourceIds: string[];
|
|
1925
|
+
paths: string[];
|
|
1926
|
+
tags: string[];
|
|
1927
|
+
supersedes: string[];
|
|
1928
|
+
generatedAt: number;
|
|
1929
|
+
metadata?: JsonObject;
|
|
1930
|
+
}
|
|
1931
|
+
export interface FrontierSwarmBlackboardInput {
|
|
1932
|
+
id?: string;
|
|
1933
|
+
runId?: string;
|
|
1934
|
+
entries?: readonly FrontierSwarmBlackboardEntryInput[];
|
|
1935
|
+
generatedAt?: number;
|
|
1936
|
+
metadata?: unknown;
|
|
1937
|
+
}
|
|
1938
|
+
export interface FrontierSwarmBlackboard {
|
|
1939
|
+
kind: typeof FRONTIER_SWARM_BLACKBOARD_KIND;
|
|
1940
|
+
version: typeof FRONTIER_SWARM_BLACKBOARD_VERSION;
|
|
1941
|
+
id: string;
|
|
1942
|
+
runId?: string;
|
|
1943
|
+
generatedAt: number;
|
|
1944
|
+
entries: FrontierSwarmBlackboardEntry[];
|
|
1945
|
+
byTopic: Record<string, FrontierSwarmBlackboardEntry[]>;
|
|
1946
|
+
byKind: Record<string, FrontierSwarmBlackboardEntry[]>;
|
|
1947
|
+
summary: {
|
|
1948
|
+
entryCount: number;
|
|
1949
|
+
topicCount: number;
|
|
1950
|
+
kindCount: number;
|
|
1951
|
+
};
|
|
1952
|
+
metadata?: JsonObject;
|
|
1953
|
+
}
|
|
1954
|
+
export interface FrontierSwarmBlackboardQuery {
|
|
1955
|
+
kind?: FrontierSwarmBlackboardEntryKind;
|
|
1956
|
+
topic?: string;
|
|
1957
|
+
status?: string;
|
|
1958
|
+
lane?: string;
|
|
1959
|
+
jobId?: string;
|
|
1960
|
+
owner?: string;
|
|
1961
|
+
tag?: string;
|
|
1962
|
+
textIncludes?: string;
|
|
1963
|
+
}
|
|
1964
|
+
export interface FrontierSwarmBlackboardQueryResult {
|
|
1965
|
+
entries: FrontierSwarmBlackboardEntry[];
|
|
1966
|
+
summary: {
|
|
1967
|
+
entryCount: number;
|
|
1968
|
+
};
|
|
1969
|
+
}
|
|
1970
|
+
export interface FrontierSwarmReferenceOraclePlanInput {
|
|
1971
|
+
id?: string;
|
|
1972
|
+
serviceId?: string;
|
|
1973
|
+
subject?: string;
|
|
1974
|
+
fixtureId?: string;
|
|
1975
|
+
targets?: readonly {
|
|
1976
|
+
id: string;
|
|
1977
|
+
role?: string;
|
|
1978
|
+
command?: string | FrontierSwarmCommandInput;
|
|
1979
|
+
metadata?: unknown;
|
|
1980
|
+
}[];
|
|
1981
|
+
window?: {
|
|
1982
|
+
start?: number;
|
|
1983
|
+
end?: number;
|
|
1984
|
+
focus?: string;
|
|
1985
|
+
metadata?: unknown;
|
|
1986
|
+
};
|
|
1987
|
+
watchpoints?: readonly FrontierSwarmWatchpointInput[];
|
|
1988
|
+
artifactKinds?: readonly string[];
|
|
1989
|
+
generatedAt?: number;
|
|
1990
|
+
metadata?: unknown;
|
|
1991
|
+
}
|
|
1992
|
+
export interface FrontierSwarmReferenceOraclePlan {
|
|
1993
|
+
kind: typeof FRONTIER_SWARM_REFERENCE_ORACLE_PLAN_KIND;
|
|
1994
|
+
version: typeof FRONTIER_SWARM_REFERENCE_ORACLE_PLAN_VERSION;
|
|
1995
|
+
id: string;
|
|
1996
|
+
serviceId?: string;
|
|
1997
|
+
subject?: string;
|
|
1998
|
+
fixtureId?: string;
|
|
1999
|
+
generatedAt: number;
|
|
2000
|
+
targets: {
|
|
2001
|
+
id: string;
|
|
2002
|
+
role: string;
|
|
2003
|
+
command?: FrontierSwarmCommand;
|
|
2004
|
+
metadata?: JsonObject;
|
|
2005
|
+
}[];
|
|
2006
|
+
window?: {
|
|
2007
|
+
start?: number;
|
|
2008
|
+
end?: number;
|
|
2009
|
+
focus?: string;
|
|
2010
|
+
metadata?: JsonObject;
|
|
2011
|
+
};
|
|
2012
|
+
watchpoints: FrontierSwarmWatchpoint[];
|
|
2013
|
+
artifactKinds: string[];
|
|
2014
|
+
metadata?: JsonObject;
|
|
2015
|
+
}
|
|
2016
|
+
export interface FrontierSwarmReferenceOracleResponseInput {
|
|
2017
|
+
id?: string;
|
|
2018
|
+
planId?: string;
|
|
2019
|
+
status?: FrontierSwarmParityOracleStatus;
|
|
2020
|
+
subject?: string;
|
|
2021
|
+
targetResults?: readonly {
|
|
2022
|
+
targetId: string;
|
|
2023
|
+
status?: FrontierSwarmParityOracleStatus;
|
|
2024
|
+
artifacts?: readonly FrontierSwarmNamedRefInput[];
|
|
2025
|
+
metadata?: unknown;
|
|
2026
|
+
}[];
|
|
2027
|
+
divergence?: FrontierSwarmDivergenceReportInput;
|
|
2028
|
+
generatedAt?: number;
|
|
2029
|
+
metadata?: unknown;
|
|
2030
|
+
}
|
|
2031
|
+
export interface FrontierSwarmReferenceOracleResponse {
|
|
2032
|
+
kind: typeof FRONTIER_SWARM_REFERENCE_ORACLE_RESPONSE_KIND;
|
|
2033
|
+
version: typeof FRONTIER_SWARM_REFERENCE_ORACLE_RESPONSE_VERSION;
|
|
2034
|
+
id: string;
|
|
2035
|
+
planId?: string;
|
|
2036
|
+
status: FrontierSwarmParityOracleStatus;
|
|
2037
|
+
subject?: string;
|
|
2038
|
+
generatedAt: number;
|
|
2039
|
+
targetResults: {
|
|
2040
|
+
targetId: string;
|
|
2041
|
+
status: FrontierSwarmParityOracleStatus;
|
|
2042
|
+
artifacts: FrontierSwarmNamedRef[];
|
|
2043
|
+
metadata?: JsonObject;
|
|
2044
|
+
}[];
|
|
2045
|
+
divergence?: FrontierSwarmDivergenceReport;
|
|
2046
|
+
metadata?: JsonObject;
|
|
2047
|
+
}
|
|
2048
|
+
export interface FrontierSwarmRoutingHintInput {
|
|
2049
|
+
artifactKind?: string;
|
|
2050
|
+
pathPattern?: string;
|
|
2051
|
+
lane?: string;
|
|
2052
|
+
bucket?: FrontierSwarmQueueOverlayStatus;
|
|
2053
|
+
reason?: string;
|
|
2054
|
+
metadata?: unknown;
|
|
2055
|
+
}
|
|
2056
|
+
export interface FrontierSwarmRoutingHint {
|
|
2057
|
+
artifactKind?: string;
|
|
2058
|
+
pathPattern?: string;
|
|
2059
|
+
lane?: string;
|
|
2060
|
+
bucket: FrontierSwarmQueueOverlayStatus;
|
|
2061
|
+
reason: string;
|
|
2062
|
+
metadata?: JsonObject;
|
|
2063
|
+
}
|
|
2064
|
+
export interface FrontierSwarmArtifactRoutingPlanInput {
|
|
2065
|
+
id?: string;
|
|
2066
|
+
bundles?: readonly FrontierSwarmMergeBundle[];
|
|
2067
|
+
artifacts?: readonly FrontierSwarmNamedRefInput[];
|
|
2068
|
+
hints?: readonly FrontierSwarmRoutingHintInput[];
|
|
2069
|
+
generatedAt?: number;
|
|
2070
|
+
metadata?: unknown;
|
|
2071
|
+
}
|
|
2072
|
+
export interface FrontierSwarmArtifactRoutingPlan {
|
|
2073
|
+
kind: typeof FRONTIER_SWARM_ARTIFACT_ROUTING_PLAN_KIND;
|
|
2074
|
+
version: typeof FRONTIER_SWARM_ARTIFACT_ROUTING_PLAN_VERSION;
|
|
2075
|
+
id: string;
|
|
2076
|
+
generatedAt: number;
|
|
2077
|
+
routes: {
|
|
2078
|
+
artifact: FrontierSwarmNamedRef;
|
|
2079
|
+
bucket: FrontierSwarmQueueOverlayStatus;
|
|
2080
|
+
lane?: string;
|
|
2081
|
+
reasons: string[];
|
|
2082
|
+
}[];
|
|
2083
|
+
byBucket: Record<string, string[]>;
|
|
2084
|
+
summary: {
|
|
2085
|
+
routeCount: number;
|
|
2086
|
+
bucketCount: number;
|
|
2087
|
+
};
|
|
2088
|
+
metadata?: JsonObject;
|
|
2089
|
+
}
|
|
2090
|
+
export interface FrontierSwarmSchedulerRecommendationsInput {
|
|
2091
|
+
id?: string;
|
|
2092
|
+
schedule: FrontierSwarmSchedule;
|
|
2093
|
+
mergeIndex?: FrontierSwarmMergeIndex;
|
|
2094
|
+
generatedAt?: number;
|
|
2095
|
+
metadata?: unknown;
|
|
2096
|
+
}
|
|
2097
|
+
export interface FrontierSwarmSchedulerRecommendation {
|
|
2098
|
+
id: string;
|
|
2099
|
+
reason: string;
|
|
2100
|
+
jobIds: string[];
|
|
2101
|
+
resource?: string;
|
|
2102
|
+
lane?: string;
|
|
2103
|
+
action: string;
|
|
2104
|
+
priority: number;
|
|
2105
|
+
}
|
|
2106
|
+
export interface FrontierSwarmSchedulerRecommendations {
|
|
2107
|
+
kind: typeof FRONTIER_SWARM_SCHEDULER_RECOMMENDATIONS_KIND;
|
|
2108
|
+
version: typeof FRONTIER_SWARM_SCHEDULER_RECOMMENDATIONS_VERSION;
|
|
2109
|
+
id: string;
|
|
2110
|
+
scheduleId: string;
|
|
2111
|
+
generatedAt: number;
|
|
2112
|
+
recommendations: FrontierSwarmSchedulerRecommendation[];
|
|
2113
|
+
summary: {
|
|
2114
|
+
recommendationCount: number;
|
|
2115
|
+
};
|
|
2116
|
+
metadata?: JsonObject;
|
|
2117
|
+
}
|
|
2118
|
+
export interface FrontierSwarmFixtureInput {
|
|
2119
|
+
id: string;
|
|
2120
|
+
title?: string;
|
|
2121
|
+
description?: string;
|
|
2122
|
+
state?: unknown;
|
|
2123
|
+
artifacts?: readonly FrontierSwarmNamedRefInput[];
|
|
2124
|
+
setupCommands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
2125
|
+
tags?: readonly string[];
|
|
2126
|
+
metadata?: unknown;
|
|
2127
|
+
}
|
|
2128
|
+
export interface FrontierSwarmFixture {
|
|
2129
|
+
id: string;
|
|
2130
|
+
title: string;
|
|
2131
|
+
description?: string;
|
|
2132
|
+
state?: JsonValue;
|
|
2133
|
+
artifacts: FrontierSwarmNamedRef[];
|
|
2134
|
+
setupCommands: FrontierSwarmCommand[];
|
|
2135
|
+
tags: string[];
|
|
2136
|
+
metadata?: JsonObject;
|
|
2137
|
+
}
|
|
2138
|
+
export interface FrontierSwarmFixtureCatalogInput {
|
|
2139
|
+
id?: string;
|
|
2140
|
+
fixtures?: readonly FrontierSwarmFixtureInput[];
|
|
2141
|
+
generatedAt?: number;
|
|
2142
|
+
metadata?: unknown;
|
|
2143
|
+
}
|
|
2144
|
+
export interface FrontierSwarmFixtureCatalog {
|
|
2145
|
+
kind: typeof FRONTIER_SWARM_FIXTURE_CATALOG_KIND;
|
|
2146
|
+
version: typeof FRONTIER_SWARM_FIXTURE_CATALOG_VERSION;
|
|
2147
|
+
id: string;
|
|
2148
|
+
generatedAt: number;
|
|
2149
|
+
fixtures: FrontierSwarmFixture[];
|
|
2150
|
+
byTag: Record<string, string[]>;
|
|
2151
|
+
summary: {
|
|
2152
|
+
fixtureCount: number;
|
|
2153
|
+
tagCount: number;
|
|
2154
|
+
};
|
|
2155
|
+
metadata?: JsonObject;
|
|
2156
|
+
}
|
|
2157
|
+
export interface FrontierSwarmProgressItemInput {
|
|
2158
|
+
id: string;
|
|
2159
|
+
surface?: string;
|
|
2160
|
+
status?: FrontierSwarmProgressStatus;
|
|
2161
|
+
evidencePaths?: readonly string[];
|
|
2162
|
+
blockers?: readonly string[];
|
|
2163
|
+
metadata?: unknown;
|
|
2164
|
+
}
|
|
2165
|
+
export interface FrontierSwarmProgressItem {
|
|
2166
|
+
id: string;
|
|
2167
|
+
surface?: string;
|
|
2168
|
+
status: FrontierSwarmProgressStatus;
|
|
2169
|
+
evidencePaths: string[];
|
|
2170
|
+
blockers: string[];
|
|
2171
|
+
metadata?: JsonObject;
|
|
2172
|
+
}
|
|
2173
|
+
export interface FrontierSwarmProgressModelInput {
|
|
2174
|
+
id?: string;
|
|
2175
|
+
items?: readonly FrontierSwarmProgressItemInput[];
|
|
2176
|
+
generatedAt?: number;
|
|
2177
|
+
metadata?: unknown;
|
|
2178
|
+
}
|
|
2179
|
+
export interface FrontierSwarmProgressModel {
|
|
2180
|
+
kind: typeof FRONTIER_SWARM_PROGRESS_MODEL_KIND;
|
|
2181
|
+
version: typeof FRONTIER_SWARM_PROGRESS_MODEL_VERSION;
|
|
2182
|
+
id: string;
|
|
2183
|
+
generatedAt: number;
|
|
2184
|
+
items: FrontierSwarmProgressItem[];
|
|
2185
|
+
byStatus: Record<string, string[]>;
|
|
2186
|
+
summary: {
|
|
2187
|
+
itemCount: number;
|
|
2188
|
+
acceptedCount: number;
|
|
2189
|
+
blockedCount: number;
|
|
2190
|
+
};
|
|
2191
|
+
metadata?: JsonObject;
|
|
2192
|
+
}
|
|
2193
|
+
export interface FrontierSwarmAutoReviewFindingInput {
|
|
2194
|
+
id?: string;
|
|
2195
|
+
jobId?: string;
|
|
2196
|
+
kind?: FrontierSwarmAutoReviewFindingKind;
|
|
2197
|
+
severity?: FrontierSwarmDivergenceSeverity;
|
|
2198
|
+
message: string;
|
|
2199
|
+
paths?: readonly string[];
|
|
2200
|
+
evidencePaths?: readonly string[];
|
|
2201
|
+
metadata?: unknown;
|
|
2202
|
+
}
|
|
2203
|
+
export interface FrontierSwarmAutoReviewFinding {
|
|
2204
|
+
id: string;
|
|
2205
|
+
jobId?: string;
|
|
2206
|
+
kind: FrontierSwarmAutoReviewFindingKind;
|
|
2207
|
+
severity: FrontierSwarmDivergenceSeverity;
|
|
2208
|
+
message: string;
|
|
2209
|
+
paths: string[];
|
|
2210
|
+
evidencePaths: string[];
|
|
2211
|
+
metadata?: JsonObject;
|
|
2212
|
+
}
|
|
2213
|
+
export interface FrontierSwarmAutoReviewReportInput {
|
|
2214
|
+
id?: string;
|
|
2215
|
+
bundles?: readonly FrontierSwarmMergeBundle[];
|
|
2216
|
+
findings?: readonly FrontierSwarmAutoReviewFindingInput[];
|
|
2217
|
+
generatedAt?: number;
|
|
2218
|
+
metadata?: unknown;
|
|
2219
|
+
}
|
|
2220
|
+
export interface FrontierSwarmAutoReviewReport {
|
|
2221
|
+
kind: typeof FRONTIER_SWARM_AUTO_REVIEW_REPORT_KIND;
|
|
2222
|
+
version: typeof FRONTIER_SWARM_AUTO_REVIEW_REPORT_VERSION;
|
|
2223
|
+
id: string;
|
|
2224
|
+
generatedAt: number;
|
|
2225
|
+
findings: FrontierSwarmAutoReviewFinding[];
|
|
2226
|
+
byKind: Record<string, FrontierSwarmAutoReviewFinding[]>;
|
|
2227
|
+
summary: {
|
|
2228
|
+
findingCount: number;
|
|
2229
|
+
highSeverityCount: number;
|
|
2230
|
+
};
|
|
2231
|
+
metadata?: JsonObject;
|
|
2232
|
+
}
|
|
2233
|
+
export interface FrontierSwarmRebaseReportInput {
|
|
2234
|
+
id?: string;
|
|
2235
|
+
currentHead?: string;
|
|
2236
|
+
mergeIndex?: FrontierSwarmMergeIndex;
|
|
2237
|
+
bundles?: readonly FrontierSwarmMergeBundle[];
|
|
2238
|
+
entries?: readonly {
|
|
2239
|
+
jobId: string;
|
|
2240
|
+
status?: FrontierSwarmRebaseStatus;
|
|
2241
|
+
reasons?: readonly string[];
|
|
2242
|
+
metadata?: unknown;
|
|
2243
|
+
}[];
|
|
2244
|
+
generatedAt?: number;
|
|
2245
|
+
metadata?: unknown;
|
|
2246
|
+
}
|
|
2247
|
+
export interface FrontierSwarmRebaseReport {
|
|
2248
|
+
kind: typeof FRONTIER_SWARM_REBASE_REPORT_KIND;
|
|
2249
|
+
version: typeof FRONTIER_SWARM_REBASE_REPORT_VERSION;
|
|
2250
|
+
id: string;
|
|
2251
|
+
currentHead?: string;
|
|
2252
|
+
generatedAt: number;
|
|
2253
|
+
entries: {
|
|
2254
|
+
jobId: string;
|
|
2255
|
+
status: FrontierSwarmRebaseStatus;
|
|
2256
|
+
reasons: string[];
|
|
2257
|
+
metadata?: JsonObject;
|
|
2258
|
+
}[];
|
|
2259
|
+
byStatus: Record<string, string[]>;
|
|
2260
|
+
summary: {
|
|
2261
|
+
entryCount: number;
|
|
2262
|
+
cleanCount: number;
|
|
2263
|
+
conflictCount: number;
|
|
2264
|
+
staleCount: number;
|
|
2265
|
+
};
|
|
2266
|
+
metadata?: JsonObject;
|
|
2267
|
+
}
|
|
2268
|
+
export interface FrontierSwarmUsageGovernorInput {
|
|
2269
|
+
id?: string;
|
|
2270
|
+
maxWorkers?: number;
|
|
2271
|
+
maxTokensByLane?: Record<string, number>;
|
|
2272
|
+
maxCostUsd?: number;
|
|
2273
|
+
retryBudget?: number;
|
|
2274
|
+
stopConditions?: readonly string[];
|
|
2275
|
+
preferStaticWhenLowBudget?: boolean;
|
|
2276
|
+
generatedAt?: number;
|
|
2277
|
+
metadata?: unknown;
|
|
2278
|
+
}
|
|
2279
|
+
export interface FrontierSwarmUsageGovernor {
|
|
2280
|
+
kind: typeof FRONTIER_SWARM_USAGE_GOVERNOR_KIND;
|
|
2281
|
+
version: typeof FRONTIER_SWARM_USAGE_GOVERNOR_VERSION;
|
|
2282
|
+
id: string;
|
|
2283
|
+
generatedAt: number;
|
|
2284
|
+
maxWorkers?: number;
|
|
2285
|
+
maxTokensByLane: Record<string, number>;
|
|
2286
|
+
maxCostUsd?: number;
|
|
2287
|
+
retryBudget: number;
|
|
2288
|
+
stopConditions: string[];
|
|
2289
|
+
preferStaticWhenLowBudget: boolean;
|
|
2290
|
+
metadata?: JsonObject;
|
|
2291
|
+
}
|
|
2292
|
+
export interface FrontierSwarmUsageGovernorDecision {
|
|
2293
|
+
ok: boolean;
|
|
2294
|
+
reasons: string[];
|
|
2295
|
+
recommendedMaxWorkers?: number;
|
|
2296
|
+
preferStatic: boolean;
|
|
2297
|
+
}
|
|
2298
|
+
export interface FrontierSwarmLanePlaybookInput {
|
|
2299
|
+
id?: string;
|
|
2300
|
+
lane: string;
|
|
2301
|
+
title?: string;
|
|
2302
|
+
successfulBundles?: readonly FrontierSwarmMergeBundle[];
|
|
2303
|
+
notes?: readonly string[];
|
|
2304
|
+
commands?: readonly (string | FrontierSwarmCommandInput)[];
|
|
2305
|
+
avoidInvestigating?: readonly string[];
|
|
2306
|
+
evidencePatterns?: readonly string[];
|
|
2307
|
+
generatedAt?: number;
|
|
2308
|
+
metadata?: unknown;
|
|
2309
|
+
}
|
|
2310
|
+
export interface FrontierSwarmLanePlaybook {
|
|
2311
|
+
kind: typeof FRONTIER_SWARM_LANE_PLAYBOOK_KIND;
|
|
2312
|
+
version: typeof FRONTIER_SWARM_LANE_PLAYBOOK_VERSION;
|
|
2313
|
+
id: string;
|
|
2314
|
+
lane: string;
|
|
2315
|
+
title: string;
|
|
2316
|
+
generatedAt: number;
|
|
2317
|
+
notes: string[];
|
|
2318
|
+
commands: FrontierSwarmCommand[];
|
|
2319
|
+
avoidInvestigating: string[];
|
|
2320
|
+
evidencePatterns: string[];
|
|
2321
|
+
successfulJobIds: string[];
|
|
2322
|
+
hotPaths: string[];
|
|
2323
|
+
changedRegions: string[];
|
|
2324
|
+
metadata?: JsonObject;
|
|
2325
|
+
}
|
|
2326
|
+
export interface FrontierSwarmPatchStackPlanInput {
|
|
2327
|
+
id?: string;
|
|
2328
|
+
index: FrontierSwarmMergeIndex;
|
|
2329
|
+
maxStackSize?: number;
|
|
2330
|
+
generatedAt?: number;
|
|
2331
|
+
metadata?: unknown;
|
|
2332
|
+
}
|
|
2333
|
+
export interface FrontierSwarmPatchStackPlan {
|
|
2334
|
+
kind: typeof FRONTIER_SWARM_PATCH_STACK_PLAN_KIND;
|
|
2335
|
+
version: typeof FRONTIER_SWARM_PATCH_STACK_PLAN_VERSION;
|
|
2336
|
+
id: string;
|
|
2337
|
+
mergeIndexId: string;
|
|
2338
|
+
generatedAt: number;
|
|
2339
|
+
stacks: FrontierSwarmPatchStack[];
|
|
2340
|
+
summary: {
|
|
2341
|
+
stackCount: number;
|
|
2342
|
+
jobCount: number;
|
|
2343
|
+
conflictedStackCount: number;
|
|
2344
|
+
};
|
|
2345
|
+
metadata?: JsonObject;
|
|
2346
|
+
}
|
|
2347
|
+
export interface FrontierSwarmPatchStack {
|
|
2348
|
+
id: string;
|
|
2349
|
+
title: string;
|
|
2350
|
+
lane?: string;
|
|
2351
|
+
jobIds: string[];
|
|
2352
|
+
changedPaths: string[];
|
|
2353
|
+
changedRegions: string[];
|
|
2354
|
+
riskLevels: string[];
|
|
2355
|
+
dispositions: string[];
|
|
2356
|
+
conflicts: FrontierSwarmMergeConflict[];
|
|
2357
|
+
gateHints: string[];
|
|
2358
|
+
}
|
|
1031
2359
|
export interface FrontierSwarmProof {
|
|
1032
2360
|
kind: typeof FRONTIER_SWARM_PROOF_KIND;
|
|
1033
2361
|
version: typeof FRONTIER_SWARM_PROOF_VERSION;
|
|
@@ -1059,6 +2387,46 @@ export declare function classifySwarmMergeDisposition(result: FrontierSwarmJobRe
|
|
|
1059
2387
|
staleAgainstHead?: boolean;
|
|
1060
2388
|
}): FrontierSwarmMergeDisposition;
|
|
1061
2389
|
export declare function createSwarmMergeBundle(input: FrontierSwarmMergeBundleInput): FrontierSwarmMergeBundle;
|
|
2390
|
+
export declare function createSwarmQueueOverlay(input?: FrontierSwarmQueueOverlayInput): FrontierSwarmQueueOverlay;
|
|
2391
|
+
export declare function deriveSwarmQueueStatus(input: FrontierSwarmDerivedQueueStatusInput): FrontierSwarmDerivedQueueStatus;
|
|
2392
|
+
export declare function createSwarmMergeIndex(input: FrontierSwarmMergeIndexInput): FrontierSwarmMergeIndex;
|
|
2393
|
+
export declare function checkSwarmRegionOwnership(job: FrontierSwarmJob, input?: FrontierSwarmRegionOwnershipInput): FrontierSwarmRegionOwnershipReport;
|
|
2394
|
+
export declare function createSwarmHotspotReport(input?: FrontierSwarmHotspotReportInput): FrontierSwarmHotspotReport;
|
|
2395
|
+
export declare function createSwarmReviewerLanePlan(input: FrontierSwarmReviewerLanePlanInput): FrontierSwarmReviewerLanePlan;
|
|
2396
|
+
export declare function createSwarmRunStoreShards(input?: FrontierSwarmRunStoreShardsInput): FrontierSwarmRunStoreShards;
|
|
2397
|
+
export declare function createSwarmMergeAdmission(input: FrontierSwarmMergeAdmissionInput): FrontierSwarmMergeAdmission;
|
|
2398
|
+
export declare function createSwarmContextPack(input?: FrontierSwarmContextPackInput): FrontierSwarmContextPack;
|
|
2399
|
+
export declare function createSwarmOracleCorpus(input?: FrontierSwarmOracleCorpusInput): FrontierSwarmOracleCorpus;
|
|
2400
|
+
export declare function createSwarmObservabilityPoint(input?: FrontierSwarmObservabilityPointInput): FrontierSwarmObservabilityPoint;
|
|
2401
|
+
export declare function createSwarmReplayBundle(input?: FrontierSwarmReplayBundleInput): FrontierSwarmReplayBundle;
|
|
2402
|
+
export declare function createSwarmParityOracle(input?: FrontierSwarmParityOracleInput): FrontierSwarmParityOracle;
|
|
2403
|
+
export declare function createSwarmDivergenceReport(input?: FrontierSwarmDivergenceReportInput): FrontierSwarmDivergenceReport;
|
|
2404
|
+
export declare function createSwarmWatchpointPlan(input?: FrontierSwarmWatchpointPlanInput): FrontierSwarmWatchpointPlan;
|
|
2405
|
+
export declare function createSwarmDebugHandoff(input?: FrontierSwarmDebugHandoffInput): FrontierSwarmDebugHandoff;
|
|
2406
|
+
export declare function createSwarmInstrumentationBudget(input?: FrontierSwarmInstrumentationBudgetInput): FrontierSwarmInstrumentationBudget;
|
|
2407
|
+
export declare function checkSwarmInstrumentationBudget(budgetInput: FrontierSwarmInstrumentationBudget | FrontierSwarmInstrumentationBudgetInput, usageInput?: FrontierSwarmInstrumentationUsageInput): FrontierSwarmInstrumentationBudgetDecision;
|
|
2408
|
+
export declare function classifySwarmBottleneck(input: FrontierSwarmBottleneckSource | FrontierSwarmJobResultInput | FrontierSwarmMergeBundle): FrontierSwarmBottleneckClassification;
|
|
2409
|
+
export declare function createSwarmBottleneckReport(input?: FrontierSwarmBottleneckReportInput): FrontierSwarmBottleneckReport;
|
|
2410
|
+
export declare function createSwarmEvidenceIndex(input?: FrontierSwarmRun | FrontierSwarmEvidenceIndexInput): FrontierSwarmEvidenceIndex;
|
|
2411
|
+
export declare function querySwarmEvidenceIndex(index: FrontierSwarmEvidenceIndex, query?: FrontierSwarmEvidenceIndexQuery): FrontierSwarmEvidenceIndexQueryResult;
|
|
2412
|
+
export declare function createSwarmBlackboard(input?: FrontierSwarmBlackboardInput): FrontierSwarmBlackboard;
|
|
2413
|
+
export declare function querySwarmBlackboard(blackboard: FrontierSwarmBlackboard, query?: FrontierSwarmBlackboardQuery): FrontierSwarmBlackboardQueryResult;
|
|
2414
|
+
export declare function createSwarmReferenceOraclePlan(input?: FrontierSwarmReferenceOraclePlanInput): FrontierSwarmReferenceOraclePlan;
|
|
2415
|
+
export declare function createSwarmReferenceOracleResponse(input?: FrontierSwarmReferenceOracleResponseInput): FrontierSwarmReferenceOracleResponse;
|
|
2416
|
+
export declare function createSwarmArtifactRoutingPlan(input?: FrontierSwarmArtifactRoutingPlanInput): FrontierSwarmArtifactRoutingPlan;
|
|
2417
|
+
export declare function createSwarmFixtureCatalog(input?: FrontierSwarmFixtureCatalogInput): FrontierSwarmFixtureCatalog;
|
|
2418
|
+
export declare function createSwarmProgressModel(input?: FrontierSwarmProgressModelInput): FrontierSwarmProgressModel;
|
|
2419
|
+
export declare function createSwarmAutoReviewReport(input?: FrontierSwarmAutoReviewReportInput): FrontierSwarmAutoReviewReport;
|
|
2420
|
+
export declare function createSwarmRebaseReport(input?: FrontierSwarmRebaseReportInput): FrontierSwarmRebaseReport;
|
|
2421
|
+
export declare function createSwarmUsageGovernor(input?: FrontierSwarmUsageGovernorInput): FrontierSwarmUsageGovernor;
|
|
2422
|
+
export declare function checkSwarmUsageGovernor(governorInput: FrontierSwarmUsageGovernor | FrontierSwarmUsageGovernorInput, usage?: {
|
|
2423
|
+
activeWorkers?: number;
|
|
2424
|
+
costUsd?: number;
|
|
2425
|
+
tokensByLane?: Record<string, number>;
|
|
2426
|
+
retriesUsed?: number;
|
|
2427
|
+
}): FrontierSwarmUsageGovernorDecision;
|
|
2428
|
+
export declare function createSwarmLanePlaybook(input: FrontierSwarmLanePlaybookInput): FrontierSwarmLanePlaybook;
|
|
2429
|
+
export declare function createSwarmPatchStackPlan(input: FrontierSwarmPatchStackPlanInput): FrontierSwarmPatchStackPlan;
|
|
1062
2430
|
export declare function resolveSwarmCompute(manifestInput: FrontierSwarmManifest | FrontierSwarmManifestInput, taskInput: FrontierSwarmTask | FrontierSwarmTaskInput): FrontierSwarmCompute;
|
|
1063
2431
|
export declare function createSwarmProof(input: FrontierSwarmManifest | FrontierSwarmPlan | FrontierSwarmRun, options?: {
|
|
1064
2432
|
generatedAt?: number;
|
|
@@ -1066,6 +2434,7 @@ export declare function createSwarmProof(input: FrontierSwarmManifest | Frontier
|
|
|
1066
2434
|
metadata?: unknown;
|
|
1067
2435
|
}): FrontierSwarmProof;
|
|
1068
2436
|
export declare function createSwarmSchedule(input: FrontierSwarmPlan | FrontierSwarmScheduleInput): FrontierSwarmSchedule;
|
|
2437
|
+
export declare function createSwarmSchedulerRecommendations(input: FrontierSwarmSchedulerRecommendationsInput): FrontierSwarmSchedulerRecommendations;
|
|
1069
2438
|
export declare function createSwarmLeases(input: FrontierSwarmLeaseInput): FrontierSwarmLease[];
|
|
1070
2439
|
export declare function renewSwarmLease(input: FrontierSwarmLeaseRenewalInput): FrontierSwarmLease;
|
|
1071
2440
|
export declare function createSwarmQueueSnapshot(input: FrontierSwarmQueueSnapshotInput): FrontierSwarmQueueSnapshot;
|