@peer-agent/protocol 0.1.0-rc.20 → 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.
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peer-agent/protocol",
3
- "version": "0.1.0-rc.20",
3
+ "version": "0.1.0-rc.22",
4
4
  "description": "Shared host-neutral protocol contracts for Peer Agent runtimes and clients.",
5
5
  "type": "module",
6
6
  "license": "MIT",