gsd-pi 2.37.1-dev.7352347 → 2.37.1-dev.857ac92
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/resources/extensions/gsd/auto-dispatch.js +54 -1
- package/dist/resources/extensions/gsd/auto-post-unit.js +14 -0
- package/dist/resources/extensions/gsd/auto-prompts.js +55 -0
- package/dist/resources/extensions/gsd/auto-recovery.js +19 -1
- package/dist/resources/extensions/gsd/doctor-providers.js +35 -1
- package/dist/resources/extensions/gsd/files.js +41 -0
- package/dist/resources/extensions/gsd/observability-validator.js +24 -0
- package/dist/resources/extensions/gsd/preferences-types.js +2 -1
- package/dist/resources/extensions/gsd/preferences-validation.js +42 -0
- package/dist/resources/extensions/gsd/prompts/plan-slice.md +2 -1
- package/dist/resources/extensions/gsd/prompts/reactive-execute.md +41 -0
- package/dist/resources/extensions/gsd/reactive-graph.js +227 -0
- package/dist/resources/extensions/gsd/templates/task-plan.md +11 -3
- package/package.json +1 -1
- package/src/resources/extensions/gsd/auto-dispatch.ts +78 -0
- package/src/resources/extensions/gsd/auto-post-unit.ts +14 -0
- package/src/resources/extensions/gsd/auto-prompts.ts +68 -0
- package/src/resources/extensions/gsd/auto-recovery.ts +18 -0
- package/src/resources/extensions/gsd/doctor-providers.ts +38 -1
- package/src/resources/extensions/gsd/files.ts +45 -0
- package/src/resources/extensions/gsd/observability-validator.ts +27 -0
- package/src/resources/extensions/gsd/preferences-types.ts +5 -1
- package/src/resources/extensions/gsd/preferences-validation.ts +41 -0
- package/src/resources/extensions/gsd/prompts/plan-slice.md +2 -1
- package/src/resources/extensions/gsd/prompts/reactive-execute.md +41 -0
- package/src/resources/extensions/gsd/reactive-graph.ts +289 -0
- package/src/resources/extensions/gsd/templates/task-plan.md +11 -3
- package/src/resources/extensions/gsd/tests/doctor-providers.test.ts +108 -3
- package/src/resources/extensions/gsd/tests/plan-quality-validator.test.ts +111 -0
- package/src/resources/extensions/gsd/tests/reactive-executor.test.ts +367 -0
- package/src/resources/extensions/gsd/tests/reactive-graph.test.ts +299 -0
- package/src/resources/extensions/gsd/types.ts +41 -0
|
@@ -436,3 +436,44 @@ export interface ParallelConfig {
|
|
|
436
436
|
merge_strategy: MergeStrategy;
|
|
437
437
|
auto_merge: AutoMergeMode;
|
|
438
438
|
}
|
|
439
|
+
|
|
440
|
+
// ─── Reactive Task Execution Types ───────────────────────────────────────
|
|
441
|
+
|
|
442
|
+
/** IO signature extracted from a single task plan's Inputs/Expected Output sections. */
|
|
443
|
+
export interface TaskIO {
|
|
444
|
+
id: string; // e.g. "T01"
|
|
445
|
+
title: string;
|
|
446
|
+
inputFiles: string[];
|
|
447
|
+
outputFiles: string[];
|
|
448
|
+
done: boolean;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/** A task node with derived dependency edges from input/output intersection. */
|
|
452
|
+
export interface DerivedTaskNode extends TaskIO {
|
|
453
|
+
/** IDs of tasks whose outputFiles overlap with this task's inputFiles. */
|
|
454
|
+
dependsOn: string[];
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/** Configuration for reactive (graph-derived parallel) task execution within a slice. */
|
|
458
|
+
export interface ReactiveExecutionConfig {
|
|
459
|
+
enabled: boolean;
|
|
460
|
+
/** Maximum number of tasks to dispatch in parallel. Clamped to 1–8. */
|
|
461
|
+
max_parallel: number;
|
|
462
|
+
/** Isolation mode for parallel tasks within a slice. Currently only "same-tree" is supported. */
|
|
463
|
+
isolation_mode: "same-tree";
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/** Per-slice reactive execution runtime state, persisted to disk. */
|
|
467
|
+
export interface ReactiveExecutionState {
|
|
468
|
+
sliceId: string;
|
|
469
|
+
/** Task IDs that have been verified as completed. */
|
|
470
|
+
completed: string[];
|
|
471
|
+
/** Snapshot of the graph at last dispatch. */
|
|
472
|
+
graphSnapshot: {
|
|
473
|
+
taskCount: number;
|
|
474
|
+
edgeCount: number;
|
|
475
|
+
readySetSize: number;
|
|
476
|
+
ambiguous: boolean;
|
|
477
|
+
};
|
|
478
|
+
updatedAt: string;
|
|
479
|
+
}
|