@peer-agent/protocol 0.1.0-rc.21 → 0.1.0-rc.22
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/delegation.d.ts +23 -0
- package/package.json +1 -1
package/dist/delegation.d.ts
CHANGED
|
@@ -239,6 +239,29 @@ export interface VerificationVerdict {
|
|
|
239
239
|
readonly checks: readonly VerificationCheck[];
|
|
240
240
|
readonly evidenceRefs: readonly string[];
|
|
241
241
|
}
|
|
242
|
+
/** Bounded persisted diagnostics, never an input to acceptance or Evidence authority. */
|
|
243
|
+
export interface VerificationAttemptDiagnostic {
|
|
244
|
+
readonly verifierRunId: string;
|
|
245
|
+
readonly status: 'passed' | 'failed';
|
|
246
|
+
readonly diagnosticOnly: true;
|
|
247
|
+
/** null means this historical run has no source-version binding. */
|
|
248
|
+
readonly matchesCurrentSource: boolean | null;
|
|
249
|
+
readonly completedAt: string;
|
|
250
|
+
readonly failureReason: string;
|
|
251
|
+
readonly failedCriteria: readonly {
|
|
252
|
+
readonly criterionId: string;
|
|
253
|
+
readonly reason: string;
|
|
254
|
+
readonly evidenceRefs: readonly string[];
|
|
255
|
+
}[];
|
|
256
|
+
readonly missingEvidence: readonly {
|
|
257
|
+
readonly taskId: string;
|
|
258
|
+
readonly reason: string;
|
|
259
|
+
readonly evidenceRefs: readonly string[];
|
|
260
|
+
}[];
|
|
261
|
+
readonly risks: readonly string[];
|
|
262
|
+
readonly recommendedNextAction: string;
|
|
263
|
+
readonly evidenceRefs: readonly string[];
|
|
264
|
+
}
|
|
242
265
|
export type AcceptancePolicy = 'auto' | 'confirm';
|
|
243
266
|
export type AcceptanceReason = 'verdict_not_passed' | 'manual_criteria_pending' | 'external_side_effects' | 'destructive_operation' | 'out_of_scope_write' | 'project_requires_confirm' | 'user_requested_review' | 'verification_below_floor';
|
|
244
267
|
export interface AcceptanceDecision {
|