gsd-pi 2.60.0-dev.2580e65 → 2.60.0-dev.d9052f5
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/ask-user-questions.js +4 -7
- package/dist/resources/extensions/gsd/auto/phases.js +7 -15
- package/dist/resources/extensions/gsd/auto-dashboard.js +8 -21
- package/dist/resources/extensions/gsd/auto-dispatch.js +3 -6
- package/dist/resources/extensions/gsd/auto-model-selection.js +9 -58
- package/dist/resources/extensions/gsd/auto-post-unit.js +2 -3
- package/dist/resources/extensions/gsd/auto-prompts.js +20 -36
- package/dist/resources/extensions/gsd/auto-recovery.js +18 -37
- package/dist/resources/extensions/gsd/auto-start.js +5 -9
- package/dist/resources/extensions/gsd/auto-timers.js +5 -11
- package/dist/resources/extensions/gsd/auto-unit-closeout.js +3 -5
- package/dist/resources/extensions/gsd/auto-verification.js +2 -3
- package/dist/resources/extensions/gsd/auto-worktree.js +55 -120
- package/dist/resources/extensions/gsd/auto.js +17 -39
- package/dist/resources/extensions/gsd/bootstrap/agent-end-recovery.js +3 -6
- package/dist/resources/extensions/gsd/bootstrap/db-tools.js +2 -2
- package/dist/resources/extensions/gsd/bootstrap/dynamic-tools.js +10 -4
- package/dist/resources/extensions/gsd/bootstrap/journal-tools.js +1 -2
- package/dist/resources/extensions/gsd/bootstrap/register-hooks.js +0 -7
- package/dist/resources/extensions/gsd/bootstrap/system-context.js +10 -11
- package/dist/resources/extensions/gsd/commands/catalog.js +0 -2
- package/dist/resources/extensions/gsd/commands-codebase.js +21 -48
- package/dist/resources/extensions/gsd/commands-inspect.js +1 -2
- package/dist/resources/extensions/gsd/commands-maintenance.js +19 -32
- package/dist/resources/extensions/gsd/complexity-classifier.js +4 -8
- package/dist/resources/extensions/gsd/custom-verification.js +2 -3
- package/dist/resources/extensions/gsd/gsd-db.js +13 -33
- package/dist/resources/extensions/gsd/guided-flow.js +9 -19
- package/dist/resources/extensions/gsd/init-wizard.js +0 -12
- package/dist/resources/extensions/gsd/markdown-renderer.js +9 -11
- package/dist/resources/extensions/gsd/md-importer.js +4 -5
- package/dist/resources/extensions/gsd/milestone-actions.js +2 -3
- package/dist/resources/extensions/gsd/milestone-ids.js +1 -2
- package/dist/resources/extensions/gsd/model-router.js +121 -156
- package/dist/resources/extensions/gsd/parallel-merge.js +3 -5
- package/dist/resources/extensions/gsd/parallel-orchestrator.js +14 -26
- package/dist/resources/extensions/gsd/preferences-types.js +0 -1
- package/dist/resources/extensions/gsd/preferences-validation.js +0 -45
- package/dist/resources/extensions/gsd/preferences.js +3 -15
- package/dist/resources/extensions/gsd/prompt-loader.js +2 -3
- package/dist/resources/extensions/gsd/prompts/rethink.md +1 -1
- package/dist/resources/extensions/gsd/rule-registry.js +6 -7
- package/dist/resources/extensions/gsd/safe-fs.js +8 -6
- package/dist/resources/extensions/gsd/tools/complete-milestone.js +2 -3
- package/dist/resources/extensions/gsd/tools/complete-slice.js +2 -3
- package/dist/resources/extensions/gsd/tools/complete-task.js +2 -3
- package/dist/resources/extensions/gsd/tools/plan-milestone.js +2 -3
- package/dist/resources/extensions/gsd/tools/plan-slice.js +2 -3
- package/dist/resources/extensions/gsd/tools/plan-task.js +1 -2
- package/dist/resources/extensions/gsd/tools/reassess-roadmap.js +4 -4
- package/dist/resources/extensions/gsd/tools/reopen-slice.js +1 -2
- package/dist/resources/extensions/gsd/tools/reopen-task.js +1 -2
- package/dist/resources/extensions/gsd/tools/replan-slice.js +1 -2
- package/dist/resources/extensions/gsd/tools/validate-milestone.js +1 -2
- package/dist/resources/extensions/gsd/triage-resolution.js +4 -11
- package/dist/resources/extensions/gsd/workflow-events.js +1 -2
- package/dist/resources/extensions/gsd/workflow-logger.js +4 -37
- package/dist/resources/extensions/gsd/workflow-migration.js +12 -14
- package/dist/resources/extensions/gsd/workflow-projections.js +2 -2
- package/dist/resources/extensions/gsd/workflow-reconcile.js +2 -2
- package/dist/resources/extensions/gsd/worktree-manager.js +14 -26
- package/dist/resources/extensions/shared/interview-ui.js +1 -3
- package/dist/web/standalone/.next/BUILD_ID +1 -1
- package/dist/web/standalone/.next/app-path-routes-manifest.json +19 -19
- package/dist/web/standalone/.next/build-manifest.json +2 -2
- package/dist/web/standalone/.next/prerender-manifest.json +3 -3
- package/dist/web/standalone/.next/server/app/_global-error.html +2 -2
- package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.html +1 -1
- package/dist/web/standalone/.next/server/app/index.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app-paths-manifest.json +19 -19
- package/dist/web/standalone/.next/server/pages/404.html +1 -1
- package/dist/web/standalone/.next/server/pages/500.html +2 -2
- package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
- package/package.json +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/loader.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/loader.js +0 -5
- package/packages/pi-coding-agent/dist/core/extensions/loader.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/runner.d.ts +1 -2
- package/packages/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/runner.js +0 -16
- package/packages/pi-coding-agent/dist/core/extensions/runner.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/types.d.ts +0 -26
- package/packages/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/types.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/lsp/config.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/lsp/config.js +1 -6
- package/packages/pi-coding-agent/dist/core/lsp/config.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/lsp/defaults.json +2 -2
- package/packages/pi-coding-agent/src/core/extensions/loader.ts +0 -6
- package/packages/pi-coding-agent/src/core/extensions/runner.ts +0 -19
- package/packages/pi-coding-agent/src/core/extensions/types.ts +0 -26
- package/packages/pi-coding-agent/src/core/lsp/config.ts +1 -7
- package/packages/pi-coding-agent/src/core/lsp/defaults.json +2 -2
- package/src/resources/extensions/ask-user-questions.ts +3 -7
- package/src/resources/extensions/gsd/auto/phases.ts +7 -17
- package/src/resources/extensions/gsd/auto-dashboard.ts +8 -22
- package/src/resources/extensions/gsd/auto-dispatch.ts +3 -7
- package/src/resources/extensions/gsd/auto-model-selection.ts +15 -77
- package/src/resources/extensions/gsd/auto-post-unit.ts +4 -4
- package/src/resources/extensions/gsd/auto-prompts.ts +20 -37
- package/src/resources/extensions/gsd/auto-recovery.ts +18 -38
- package/src/resources/extensions/gsd/auto-start.ts +9 -10
- package/src/resources/extensions/gsd/auto-timers.ts +5 -12
- package/src/resources/extensions/gsd/auto-unit-closeout.ts +2 -6
- package/src/resources/extensions/gsd/auto-verification.ts +6 -3
- package/src/resources/extensions/gsd/auto-worktree.ts +55 -121
- package/src/resources/extensions/gsd/auto.ts +17 -40
- package/src/resources/extensions/gsd/bootstrap/agent-end-recovery.ts +3 -4
- package/src/resources/extensions/gsd/bootstrap/db-tools.ts +2 -2
- package/src/resources/extensions/gsd/bootstrap/dynamic-tools.ts +16 -4
- package/src/resources/extensions/gsd/bootstrap/journal-tools.ts +1 -2
- package/src/resources/extensions/gsd/bootstrap/register-hooks.ts +0 -8
- package/src/resources/extensions/gsd/bootstrap/system-context.ts +10 -11
- package/src/resources/extensions/gsd/commands/catalog.ts +0 -2
- package/src/resources/extensions/gsd/commands-codebase.ts +20 -52
- package/src/resources/extensions/gsd/commands-inspect.ts +1 -2
- package/src/resources/extensions/gsd/commands-maintenance.ts +19 -28
- package/src/resources/extensions/gsd/complexity-classifier.ts +4 -9
- package/src/resources/extensions/gsd/custom-verification.ts +2 -3
- package/src/resources/extensions/gsd/gsd-db.ts +14 -12
- package/src/resources/extensions/gsd/guided-flow.ts +8 -9
- package/src/resources/extensions/gsd/init-wizard.ts +0 -12
- package/src/resources/extensions/gsd/markdown-renderer.ts +17 -11
- package/src/resources/extensions/gsd/md-importer.ts +4 -5
- package/src/resources/extensions/gsd/milestone-actions.ts +2 -3
- package/src/resources/extensions/gsd/milestone-ids.ts +1 -2
- package/src/resources/extensions/gsd/model-router.ts +173 -199
- package/src/resources/extensions/gsd/parallel-merge.ts +3 -5
- package/src/resources/extensions/gsd/parallel-orchestrator.ts +14 -18
- package/src/resources/extensions/gsd/preferences-types.ts +0 -13
- package/src/resources/extensions/gsd/preferences-validation.ts +0 -45
- package/src/resources/extensions/gsd/preferences.ts +3 -16
- package/src/resources/extensions/gsd/prompt-loader.ts +2 -3
- package/src/resources/extensions/gsd/prompts/rethink.md +1 -1
- package/src/resources/extensions/gsd/rule-registry.ts +6 -7
- package/src/resources/extensions/gsd/safe-fs.ts +5 -6
- package/src/resources/extensions/gsd/tests/codebase-generator.test.ts +0 -63
- package/src/resources/extensions/gsd/tests/complexity-classifier.test.ts +2 -27
- package/src/resources/extensions/gsd/tests/db-path-worktree-symlink.test.ts +4 -4
- package/src/resources/extensions/gsd/tests/model-router.test.ts +3 -403
- package/src/resources/extensions/gsd/tests/preferences.test.ts +0 -62
- package/src/resources/extensions/gsd/tests/remote-questions.test.ts +0 -21
- package/src/resources/extensions/gsd/tests/workflow-logger.test.ts +6 -6
- package/src/resources/extensions/gsd/tools/complete-milestone.ts +6 -3
- package/src/resources/extensions/gsd/tools/complete-slice.ts +6 -3
- package/src/resources/extensions/gsd/tools/complete-task.ts +6 -3
- package/src/resources/extensions/gsd/tools/plan-milestone.ts +6 -3
- package/src/resources/extensions/gsd/tools/plan-slice.ts +6 -3
- package/src/resources/extensions/gsd/tools/plan-task.ts +3 -2
- package/src/resources/extensions/gsd/tools/reassess-roadmap.ts +6 -4
- package/src/resources/extensions/gsd/tools/reopen-slice.ts +3 -2
- package/src/resources/extensions/gsd/tools/reopen-task.ts +3 -2
- package/src/resources/extensions/gsd/tools/replan-slice.ts +3 -2
- package/src/resources/extensions/gsd/tools/validate-milestone.ts +3 -2
- package/src/resources/extensions/gsd/triage-resolution.ts +4 -11
- package/src/resources/extensions/gsd/types.ts +0 -1
- package/src/resources/extensions/gsd/workflow-events.ts +1 -2
- package/src/resources/extensions/gsd/workflow-logger.ts +5 -52
- package/src/resources/extensions/gsd/workflow-migration.ts +12 -14
- package/src/resources/extensions/gsd/workflow-projections.ts +2 -2
- package/src/resources/extensions/gsd/workflow-reconcile.ts +2 -2
- package/src/resources/extensions/gsd/worktree-manager.ts +14 -16
- package/src/resources/extensions/shared/interview-ui.ts +1 -3
- package/packages/pi-coding-agent/dist/core/lsp/lsp-legacy-alias.test.d.ts +0 -2
- package/packages/pi-coding-agent/dist/core/lsp/lsp-legacy-alias.test.d.ts.map +0 -1
- package/packages/pi-coding-agent/dist/core/lsp/lsp-legacy-alias.test.js +0 -47
- package/packages/pi-coding-agent/dist/core/lsp/lsp-legacy-alias.test.js.map +0 -1
- package/packages/pi-coding-agent/src/core/lsp/lsp-legacy-alias.test.ts +0 -70
- package/src/resources/extensions/gsd/tests/capability-router.test.ts +0 -347
- package/src/resources/extensions/gsd/tests/integration/state-machine-edge-cases.test.ts +0 -1188
- package/src/resources/extensions/gsd/tests/integration/state-machine-runtime-failures.test.ts +0 -841
- package/src/resources/extensions/gsd/tests/silent-catch-diagnostics.test.ts +0 -284
- package/src/resources/extensions/gsd/tests/workflow-logger-audit.test.ts +0 -120
- package/src/resources/extensions/shared/tests/interview-notes-loop.test.ts +0 -144
- /package/dist/web/standalone/.next/static/{ogyMN7M-3bGGuRY08L5HR → JVkoVYumy0cDhOQISEYdG}/_buildManifest.js +0 -0
- /package/dist/web/standalone/.next/static/{ogyMN7M-3bGGuRY08L5HR → JVkoVYumy0cDhOQISEYdG}/_ssgManifest.js +0 -0
|
@@ -66,7 +66,6 @@ import {
|
|
|
66
66
|
isDebugEnabled,
|
|
67
67
|
getDebugLogPath,
|
|
68
68
|
} from "./debug-logger.js";
|
|
69
|
-
import { logWarning, logError } from "./workflow-logger.js";
|
|
70
69
|
import { parseUnitId } from "./unit-id.js";
|
|
71
70
|
import type { AutoSession } from "./auto/session.js";
|
|
72
71
|
import {
|
|
@@ -113,9 +112,8 @@ async function openProjectDbIfPresent(basePath: string): Promise<void> {
|
|
|
113
112
|
try {
|
|
114
113
|
const { openDatabase } = await import("./gsd-db.js");
|
|
115
114
|
openDatabase(gsdDbPath);
|
|
116
|
-
} catch
|
|
115
|
+
} catch {
|
|
117
116
|
/* non-fatal — DB lifecycle block below will retry */
|
|
118
|
-
logWarning("engine", `DB open failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
119
117
|
}
|
|
120
118
|
}
|
|
121
119
|
|
|
@@ -215,9 +213,8 @@ export async function bootstrapAutoSession(
|
|
|
215
213
|
try {
|
|
216
214
|
nativeAddAll(base);
|
|
217
215
|
nativeCommit(base, "chore: init gsd");
|
|
218
|
-
} catch
|
|
216
|
+
} catch {
|
|
219
217
|
/* nothing to commit */
|
|
220
|
-
logWarning("engine", `mkdir failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
221
218
|
}
|
|
222
219
|
}
|
|
223
220
|
|
|
@@ -578,7 +575,9 @@ export async function bootstrapAutoSession(
|
|
|
578
575
|
migrateFromMarkdown(s.basePath);
|
|
579
576
|
}
|
|
580
577
|
} catch (err) {
|
|
581
|
-
|
|
578
|
+
process.stderr.write(
|
|
579
|
+
`gsd-migrate: auto-migration failed: ${(err as Error).message}\n`,
|
|
580
|
+
);
|
|
582
581
|
}
|
|
583
582
|
}
|
|
584
583
|
if (existsSync(gsdDbPath) && !isDbAvailable()) {
|
|
@@ -586,7 +585,9 @@ export async function bootstrapAutoSession(
|
|
|
586
585
|
const { openDatabase: openDb } = await import("./gsd-db.js");
|
|
587
586
|
openDb(gsdDbPath);
|
|
588
587
|
} catch (err) {
|
|
589
|
-
|
|
588
|
+
process.stderr.write(
|
|
589
|
+
`gsd-db: failed to open existing database: ${(err as Error).message}\n`,
|
|
590
|
+
);
|
|
590
591
|
}
|
|
591
592
|
}
|
|
592
593
|
|
|
@@ -723,9 +724,8 @@ export async function bootstrapAutoSession(
|
|
|
723
724
|
}
|
|
724
725
|
}
|
|
725
726
|
}
|
|
726
|
-
} catch
|
|
727
|
+
} catch {
|
|
727
728
|
/* non-fatal */
|
|
728
|
-
logWarning("engine", `preflight validation failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
return true;
|
|
@@ -735,4 +735,3 @@ export async function bootstrapAutoSession(
|
|
|
735
735
|
throw err;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
|
|
@@ -24,7 +24,6 @@ import { saveActivityLog } from "./activity-log.js";
|
|
|
24
24
|
import { recoverTimedOutUnit, type RecoveryContext } from "./auto-timeout-recovery.js";
|
|
25
25
|
import { resolveAgentEndCancelled } from "./auto/resolve.js";
|
|
26
26
|
import type { AutoSession } from "./auto/session.js";
|
|
27
|
-
import { logWarning, logError } from "./workflow-logger.js";
|
|
28
27
|
|
|
29
28
|
export interface SupervisionContext {
|
|
30
29
|
s: AutoSession;
|
|
@@ -100,9 +99,8 @@ export function startUnitSupervision(sctx: SupervisionContext): void {
|
|
|
100
99
|
}
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
|
-
} catch
|
|
102
|
+
} catch {
|
|
104
103
|
// Non-fatal — fall through with no estimate
|
|
105
|
-
logWarning("timer", `operation failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
106
104
|
}
|
|
107
105
|
}
|
|
108
106
|
const estimateMinutes = taskEstimate ? parseEstimateMinutes(taskEstimate) : null;
|
|
@@ -216,14 +214,12 @@ export function startUnitSupervision(sctx: SupervisionContext): void {
|
|
|
216
214
|
await pauseAuto(ctx, pi);
|
|
217
215
|
} catch (err) {
|
|
218
216
|
const message = err instanceof Error ? err.message : String(err);
|
|
219
|
-
|
|
217
|
+
console.error(`[idle-watchdog] Unhandled error: ${message}`);
|
|
220
218
|
// Unblock any pending unit promise so the auto-loop is not orphaned.
|
|
221
219
|
resolveAgentEndCancelled({ message: `Idle watchdog error: ${message}`, category: "idle", isTransient: true });
|
|
222
220
|
try {
|
|
223
221
|
ctx.ui.notify(`Idle watchdog error: ${message}`, "warning");
|
|
224
|
-
} catch
|
|
225
|
-
logWarning("timer", `notification failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
226
|
-
}
|
|
222
|
+
} catch { /* best effort */ }
|
|
227
223
|
}
|
|
228
224
|
}, 15000);
|
|
229
225
|
|
|
@@ -252,14 +248,12 @@ export function startUnitSupervision(sctx: SupervisionContext): void {
|
|
|
252
248
|
await pauseAuto(ctx, pi);
|
|
253
249
|
} catch (err) {
|
|
254
250
|
const message = err instanceof Error ? err.message : String(err);
|
|
255
|
-
|
|
251
|
+
console.error(`[hard-timeout] Unhandled error: ${message}`);
|
|
256
252
|
// Unblock any pending unit promise so the auto-loop is not orphaned.
|
|
257
253
|
resolveAgentEndCancelled({ message: `Hard timeout error: ${message}`, category: "timeout", isTransient: true });
|
|
258
254
|
try {
|
|
259
255
|
ctx.ui.notify(`Hard timeout error: ${message}`, "warning");
|
|
260
|
-
} catch
|
|
261
|
-
logWarning("timer", `notification failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
262
|
-
}
|
|
256
|
+
} catch { /* best effort */ }
|
|
263
257
|
}
|
|
264
258
|
}, hardTimeoutMs);
|
|
265
259
|
|
|
@@ -317,4 +311,3 @@ export function startUnitSupervision(sctx: SupervisionContext): void {
|
|
|
317
311
|
}
|
|
318
312
|
}, 15_000);
|
|
319
313
|
}
|
|
320
|
-
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
import type { ExtensionContext } from "@gsd/pi-coding-agent";
|
|
8
8
|
import { snapshotUnitMetrics } from "./metrics.js";
|
|
9
9
|
import { saveActivityLog } from "./activity-log.js";
|
|
10
|
-
import { logWarning } from "./workflow-logger.js";
|
|
11
10
|
|
|
12
11
|
export interface CloseoutOptions {
|
|
13
12
|
promptCharCount?: number;
|
|
@@ -39,14 +38,11 @@ export async function closeoutUnit(
|
|
|
39
38
|
const llmCallFn = buildMemoryLLMCall(ctx);
|
|
40
39
|
if (llmCallFn) {
|
|
41
40
|
extractMemoriesFromUnit(activityFile, unitType, unitId, llmCallFn).catch((err) => {
|
|
42
|
-
|
|
41
|
+
if (process.env.GSD_DEBUG) console.error(`[gsd] memory extraction failed for ${unitType}/${unitId}:`, err);
|
|
43
42
|
});
|
|
44
43
|
}
|
|
45
|
-
} catch
|
|
46
|
-
logWarning("engine", `operation failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
47
|
-
}
|
|
44
|
+
} catch { /* non-fatal */ }
|
|
48
45
|
}
|
|
49
46
|
|
|
50
47
|
return activityFile ?? undefined;
|
|
51
48
|
}
|
|
52
|
-
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
runDependencyAudit,
|
|
23
23
|
} from "./verification-gate.js";
|
|
24
24
|
import { writeVerificationJSON } from "./verification-evidence.js";
|
|
25
|
-
import { logWarning } from "./workflow-logger.js";
|
|
26
25
|
import type { AutoSession } from "./auto/session.js";
|
|
27
26
|
import { join } from "node:path";
|
|
28
27
|
|
|
@@ -160,7 +159,9 @@ export async function runPostUnitVerification(
|
|
|
160
159
|
}
|
|
161
160
|
}
|
|
162
161
|
} catch (evidenceErr) {
|
|
163
|
-
|
|
162
|
+
process.stderr.write(
|
|
163
|
+
`verification-evidence: write error — ${(evidenceErr as Error).message}\n`,
|
|
164
|
+
);
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
167
|
|
|
@@ -216,7 +217,9 @@ export async function runPostUnitVerification(
|
|
|
216
217
|
}
|
|
217
218
|
} catch (err) {
|
|
218
219
|
// Gate errors are non-fatal
|
|
219
|
-
|
|
220
|
+
process.stderr.write(
|
|
221
|
+
`verification-gate: error — ${(err as Error).message}\n`,
|
|
222
|
+
);
|
|
220
223
|
return "continue";
|
|
221
224
|
}
|
|
222
225
|
}
|