@osovv/vv-opencode 1.4.2 → 1.4.3-rc.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/CHANGELOG.md +8 -0
- package/README.md +12 -4
- package/dist/lib/orchestration.js +8 -3
- package/dist/lib/orchestration.js.map +1 -1
- package/dist/plugins/system-context-injection/index.js +7 -7
- package/dist/plugins/system-context-injection/index.js.map +1 -1
- package/dist/plugins/workflow/checkpoints.d.ts +53 -1
- package/dist/plugins/workflow/checkpoints.js +350 -33
- package/dist/plugins/workflow/checkpoints.js.map +1 -1
- package/dist/plugins/workflow/delegated.d.ts +144 -2
- package/dist/plugins/workflow/delegated.js +542 -12
- package/dist/plugins/workflow/delegated.js.map +1 -1
- package/dist/plugins/workflow/index.js +265 -19
- package/dist/plugins/workflow/index.js.map +1 -1
- package/dist/plugins/workflow/persistence.d.ts +6 -4
- package/dist/plugins/workflow/persistence.js +192 -31
- package/dist/plugins/workflow/persistence.js.map +1 -1
- package/dist/plugins/workflow/repair.d.ts +2 -0
- package/dist/plugins/workflow/repair.js +16 -8
- package/dist/plugins/workflow/repair.js.map +1 -1
- package/dist/plugins/workflow/state.js +16 -3
- package/dist/plugins/workflow/state.js.map +1 -1
- package/dist/plugins/workflow/tooling.d.ts +36 -6
- package/dist/plugins/workflow/tooling.js +137 -20
- package/dist/plugins/workflow/tooling.js.map +1 -1
- package/package.json +1 -1
- package/schemas/vvoc/v3.json +1 -1
- package/templates/agents/vv-code-reviewer.md +1 -0
- package/templates/agents/vv-controller.md +14 -6
- package/templates/agents/vv-implementer.md +1 -0
- package/templates/agents/vv-spec-reviewer.md +1 -0
- package/templates/skills/vv-execute/SKILL.md +5 -4
- package/templates/skills/vv-review/SKILL.md +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// FILE: src/plugins/workflow/tooling.ts
|
|
2
|
-
// VERSION: 0.
|
|
2
|
+
// VERSION: 0.4.0
|
|
3
3
|
// START_MODULE_CONTRACT
|
|
4
4
|
// PURPOSE: Provide work-item tooling handlers that wrap explicit workflow state operations with structured protocol-friendly responses.
|
|
5
|
-
// SCOPE: work_item_open, work_item_list, and work_item_close tool definitions with delegated-mode open validation and mode-specific serialization; work_item_decide and work_checkpoint control-tool definitions wrapping delegated decisions, plan registration, checkpoint start/verify,
|
|
5
|
+
// SCOPE: work_item_open, work_item_list, and work_item_close tool definitions with delegated-mode open validation and mode-specific serialization including recovery-aware progress summaries; work_item_decide and work_checkpoint control-tool definitions wrapping delegated decisions, plan registration, checkpoint start/verify, failed-checkpoint rework authorization, and bounded recover for stopped or exhausted targets with optional root-user message authorization through a read-only lookup.
|
|
6
6
|
// DEPENDS: [src/plugins/workflow/checkpoint-io.ts, src/plugins/workflow/checkpoints.ts, src/plugins/workflow/delegated.ts, src/plugins/workflow/state.ts]
|
|
7
7
|
// LINKS: M-WORKFLOW-TOOLING, M-WORKFLOW-DELEGATED, M-WORKFLOW-CHECKPOINTS, M-PLUGIN-WORKFLOW
|
|
8
8
|
// ROLE: RUNTIME
|
|
@@ -12,11 +12,12 @@
|
|
|
12
12
|
// START_MODULE_MAP
|
|
13
13
|
// WorkflowToolContext - Minimal execution context required by workflow tools.
|
|
14
14
|
// WorkflowToolDefinition - Deterministic tool definition shape with an optionally async execute handler.
|
|
15
|
+
// DelegatedControlOptions - Optional read-only authorization lookup bound to the plugin SDK client.
|
|
15
16
|
// createWorkItemOpenTool - Creates work_item_open tool wrapper around explicit openWorkItem contract including standalone delegated tasks.
|
|
16
|
-
// createWorkItemListTool - Creates work_item_list tool wrapper with mode, round metadata, delegated acceptance state, and registered plan runs.
|
|
17
|
+
// createWorkItemListTool - Creates work_item_list tool wrapper with mode, round metadata, delegated acceptance and recovery state, and registered plan runs.
|
|
17
18
|
// createWorkItemCloseTool - Creates work_item_close tool wrapper with ready_to_close gating responses.
|
|
18
|
-
// createWorkItemDecideTool - Creates work_item_decide control wrapper around decideDelegatedWorkItem and
|
|
19
|
-
// createWorkCheckpointTool - Creates work_checkpoint control wrapper around plan registration, checkpoint start, and
|
|
19
|
+
// createWorkItemDecideTool - Creates work_item_decide control wrapper around decideDelegatedWorkItem, rework authorization, and bounded recovery.
|
|
20
|
+
// createWorkCheckpointTool - Creates work_checkpoint control wrapper around plan registration, checkpoint start, verify, and checkpoint recovery.
|
|
20
21
|
// DecideArgs - work_item_decide tool argument shape.
|
|
21
22
|
// CheckpointArgs - work_checkpoint tool argument shape.
|
|
22
23
|
// WorkCheckpointRegisterInput - Register-action input discriminator.
|
|
@@ -25,11 +26,11 @@
|
|
|
25
26
|
// END_MODULE_MAP
|
|
26
27
|
//
|
|
27
28
|
// START_CHANGE_SUMMARY
|
|
28
|
-
// LAST_CHANGE: [C-
|
|
29
|
+
// LAST_CHANGE: [C-WORKFLOW-BOUNDED-RECOVERY-R1 - Added decision recover and work_checkpoint action recover with bounded recovery text, stable recoveryId, optional userMessageId authorization, and recovery-aware inspection output.]
|
|
29
30
|
// END_CHANGE_SUMMARY
|
|
30
31
|
import { closeWorkItem, getReviewRound, listWorkItems, openWorkItem, } from "./state.js";
|
|
31
|
-
import { authorizeReworkFromFailedCheckpoint, getDelegatedRunView, registerDelegatedPlan, startDelegatedCheckpoint, verifyDelegatedCheckpoint, } from "./checkpoints.js";
|
|
32
|
-
import { currentDelegatedAcceptance, decideDelegatedWorkItem } from "./delegated.js";
|
|
32
|
+
import { authorizeReworkFromFailedCheckpoint, getDelegatedRunView, recoverDelegatedCheckpoint, registerDelegatedPlan, startDelegatedCheckpoint, verifyDelegatedCheckpoint, } from "./checkpoints.js";
|
|
33
|
+
import { currentDelegatedAcceptance, decideDelegatedWorkItem, recoverDelegatedWorkItem, summarizeDelegatedProgress, } from "./delegated.js";
|
|
33
34
|
function coerceNonEmptyString(value) {
|
|
34
35
|
if (typeof value !== "string")
|
|
35
36
|
return undefined;
|
|
@@ -171,11 +172,24 @@ function serializeWorkItem(record) {
|
|
|
171
172
|
accepted: currentDelegatedAcceptance(record) !== undefined,
|
|
172
173
|
acceptedAttempt: currentDelegatedAcceptance(record)?.attempt,
|
|
173
174
|
reworkCount: record.delegated.reworkHistory.length,
|
|
175
|
+
...serializeProgress(record),
|
|
174
176
|
},
|
|
175
177
|
}
|
|
176
178
|
: {}),
|
|
177
179
|
};
|
|
178
180
|
}
|
|
181
|
+
/** Recovery-aware progress fields shared by work-item serialization. */
|
|
182
|
+
function serializeProgress(record) {
|
|
183
|
+
const progress = summarizeDelegatedProgress(record);
|
|
184
|
+
return {
|
|
185
|
+
attemptBudget: progress.attemptBudget,
|
|
186
|
+
remainingAttempts: progress.remainingAttempts,
|
|
187
|
+
recoveryCount: progress.recoveryGrants,
|
|
188
|
+
autonomousGrantConsumed: progress.autonomousGrantConsumed,
|
|
189
|
+
reportRejectionCount: progress.reportRejectedAttempts,
|
|
190
|
+
nextAction: progress.nextAction,
|
|
191
|
+
};
|
|
192
|
+
}
|
|
179
193
|
// START_CONTRACT: createWorkItemOpenTool
|
|
180
194
|
// PURPOSE: Build work_item_open handler that supports deterministic batch idempotent open operations with explicit workflow intent.
|
|
181
195
|
// INPUTS: { store: WorkItemStore - workflow in-memory store }
|
|
@@ -299,17 +313,17 @@ export function createWorkItemCloseTool(store) {
|
|
|
299
313
|
};
|
|
300
314
|
}
|
|
301
315
|
// START_CONTRACT: createWorkItemDecideTool
|
|
302
|
-
// PURPOSE: Build work_item_decide handler wrapping explicit controller acceptance, change requests,
|
|
303
|
-
// INPUTS: { store: WorkItemStore - workflow in-memory store }
|
|
304
|
-
// OUTPUTS: { WorkflowToolDefinition<DecideArgs, Record<string, unknown
|
|
316
|
+
// PURPOSE: Build work_item_decide handler wrapping explicit controller acceptance, change requests, checkpoint-authorized rework, and bounded recovery.
|
|
317
|
+
// INPUTS: { store: WorkItemStore - workflow in-memory store, options?: DelegatedControlOptions - optional read-only authorization lookup }
|
|
318
|
+
// OUTPUTS: { WorkflowToolDefinition<DecideArgs, Promise<Record<string, unknown>>> - async executable control tool definition }
|
|
305
319
|
// SIDE_EFFECTS: [Mutates delegated work-item state through the domain layer]
|
|
306
320
|
// LINKS: [M-WORKFLOW-TOOLING, M-WORKFLOW-DELEGATED, M-WORKFLOW-CHECKPOINTS]
|
|
307
321
|
// END_CONTRACT: createWorkItemDecideTool
|
|
308
|
-
export function createWorkItemDecideTool(store) {
|
|
322
|
+
export function createWorkItemDecideTool(store, options) {
|
|
309
323
|
return {
|
|
310
324
|
name: "work_item_decide",
|
|
311
|
-
description: "Accept or request changes for the current completed delegated attempt,
|
|
312
|
-
execute
|
|
325
|
+
description: "Accept or request changes for the current completed delegated attempt, authorize bounded rework of an accepted task from a failed checkpoint, or recover a stopped or exhausted unaccepted task with a bounded diagnosis and changed condition.",
|
|
326
|
+
async execute(args, context, overrideStore) {
|
|
313
327
|
const s = overrideStore ?? store;
|
|
314
328
|
const workItemId = coerceNonEmptyString(args.workItemId);
|
|
315
329
|
const decision = args.decision;
|
|
@@ -363,13 +377,63 @@ export function createWorkItemDecideTool(store) {
|
|
|
363
377
|
state: s.getWorkItem(context.sessionId, workItemId)?.state,
|
|
364
378
|
};
|
|
365
379
|
}
|
|
380
|
+
if (decision === "recover") {
|
|
381
|
+
const recoveryId = coerceNonEmptyString(args.recoveryId);
|
|
382
|
+
const diagnosis = typeof args.diagnosis === "string" ? args.diagnosis : "";
|
|
383
|
+
const changedCondition = typeof args.changedCondition === "string" ? args.changedCondition : "";
|
|
384
|
+
const verification = Array.isArray(args.verification) ? args.verification.map(String) : [];
|
|
385
|
+
const userMessageId = coerceNonEmptyString(args.userMessageId);
|
|
386
|
+
if (!recoveryId) {
|
|
387
|
+
return {
|
|
388
|
+
tool: "work_item_decide",
|
|
389
|
+
sessionId: context.sessionId,
|
|
390
|
+
ok: false,
|
|
391
|
+
errorCode: "INVALID_INPUT",
|
|
392
|
+
message: "INVALID_INPUT: recover requires a stable recoveryId, diagnosis, changedCondition, and verification references",
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
const recovered = await recoverDelegatedWorkItem(s, {
|
|
396
|
+
sessionId: context.sessionId,
|
|
397
|
+
workItemId,
|
|
398
|
+
attempt: args.attempt,
|
|
399
|
+
diagnosis,
|
|
400
|
+
changedCondition,
|
|
401
|
+
verification,
|
|
402
|
+
recoveryId,
|
|
403
|
+
...(userMessageId !== undefined
|
|
404
|
+
? { userMessageId, lookupUserMessage: options?.lookupUserMessage }
|
|
405
|
+
: {}),
|
|
406
|
+
});
|
|
407
|
+
if (!recovered.ok) {
|
|
408
|
+
return {
|
|
409
|
+
tool: "work_item_decide",
|
|
410
|
+
sessionId: context.sessionId,
|
|
411
|
+
ok: false,
|
|
412
|
+
errorCode: recovered.errorCode,
|
|
413
|
+
message: recovered.message,
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
return {
|
|
417
|
+
tool: "work_item_decide",
|
|
418
|
+
sessionId: context.sessionId,
|
|
419
|
+
ok: true,
|
|
420
|
+
action: "recover",
|
|
421
|
+
workItemId,
|
|
422
|
+
recoveryId: recovered.recoveryId,
|
|
423
|
+
kind: recovered.kind,
|
|
424
|
+
attemptBudget: recovered.attemptBudget,
|
|
425
|
+
remainingAttempts: recovered.remainingAttempts,
|
|
426
|
+
state: recovered.record.state,
|
|
427
|
+
nextAction: summarizeDelegatedProgress(recovered.record).nextAction,
|
|
428
|
+
};
|
|
429
|
+
}
|
|
366
430
|
if (decision !== "accept" && decision !== "request_changes") {
|
|
367
431
|
return {
|
|
368
432
|
tool: "work_item_decide",
|
|
369
433
|
sessionId: context.sessionId,
|
|
370
434
|
ok: false,
|
|
371
435
|
errorCode: "INVALID_INPUT",
|
|
372
|
-
message: "INVALID_INPUT: decision must be accept, request_changes, or
|
|
436
|
+
message: "INVALID_INPUT: decision must be accept, request_changes, rework, or recover",
|
|
373
437
|
};
|
|
374
438
|
}
|
|
375
439
|
const concernsDisposition = typeof args.concernsDisposition === "string" ? args.concernsDisposition : undefined;
|
|
@@ -405,16 +469,16 @@ export function createWorkItemDecideTool(store) {
|
|
|
405
469
|
};
|
|
406
470
|
}
|
|
407
471
|
// START_CONTRACT: createWorkCheckpointTool
|
|
408
|
-
// PURPOSE: Build work_checkpoint handler wrapping plan registration, checkpoint start,
|
|
409
|
-
// INPUTS: { store: WorkItemStore - workflow in-memory store }
|
|
472
|
+
// PURPOSE: Build work_checkpoint handler wrapping plan registration, checkpoint start, fingerprint-verified outcomes, and bounded checkpoint recovery.
|
|
473
|
+
// INPUTS: { store: WorkItemStore - workflow in-memory store, options?: DelegatedControlOptions - optional read-only authorization lookup }
|
|
410
474
|
// OUTPUTS: { WorkflowToolDefinition<CheckpointArgs, Promise<Record<string, unknown>>> - async executable control tool definition }
|
|
411
475
|
// SIDE_EFFECTS: [Registers plan runs and mutates checkpoint state through the domain layer]
|
|
412
476
|
// LINKS: [M-WORKFLOW-TOOLING, M-WORKFLOW-CHECKPOINTS, M-WORKFLOW-DELEGATED]
|
|
413
477
|
// END_CONTRACT: createWorkCheckpointTool
|
|
414
|
-
export function createWorkCheckpointTool(store) {
|
|
478
|
+
export function createWorkCheckpointTool(store, options) {
|
|
415
479
|
return {
|
|
416
480
|
name: "work_checkpoint",
|
|
417
|
-
description: "Register an approved delegated plan, start a declared review checkpoint,
|
|
481
|
+
description: "Register an approved delegated plan, start a declared review checkpoint, verify checkpoint outcomes, or recover a stopped or generation-exhausted checkpoint; verify with complete: true seals a finished final checkpoint.",
|
|
418
482
|
async execute(args, context, overrideStore) {
|
|
419
483
|
const s = overrideStore ?? store;
|
|
420
484
|
const action = args.action;
|
|
@@ -541,12 +605,65 @@ export function createWorkCheckpointTool(store) {
|
|
|
541
605
|
...(verified.sealedRun !== undefined ? { sealedRun: verified.sealedRun } : {}),
|
|
542
606
|
};
|
|
543
607
|
}
|
|
608
|
+
if (action === "recover") {
|
|
609
|
+
const recoveryId = coerceNonEmptyString(args.recoveryId);
|
|
610
|
+
const diagnosis = typeof args.diagnosis === "string" ? args.diagnosis : "";
|
|
611
|
+
const changedCondition = typeof args.changedCondition === "string" ? args.changedCondition : "";
|
|
612
|
+
const verification = Array.isArray(args.verification) ? args.verification.map(String) : [];
|
|
613
|
+
const userMessageId = coerceNonEmptyString(args.userMessageId);
|
|
614
|
+
if (!recoveryId) {
|
|
615
|
+
return {
|
|
616
|
+
tool: "work_checkpoint",
|
|
617
|
+
sessionId: context.sessionId,
|
|
618
|
+
ok: false,
|
|
619
|
+
errorCode: "INVALID_INPUT",
|
|
620
|
+
message: "INVALID_INPUT: recover requires a stable recoveryId, diagnosis, changedCondition, and verification references",
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
const recovered = await recoverDelegatedCheckpoint(s, {
|
|
624
|
+
sessionId: context.sessionId,
|
|
625
|
+
runId,
|
|
626
|
+
checkpointId,
|
|
627
|
+
diagnosis,
|
|
628
|
+
changedCondition,
|
|
629
|
+
verification,
|
|
630
|
+
recoveryId,
|
|
631
|
+
...(userMessageId !== undefined
|
|
632
|
+
? { userMessageId, lookupUserMessage: options?.lookupUserMessage }
|
|
633
|
+
: {}),
|
|
634
|
+
});
|
|
635
|
+
if (!recovered.ok) {
|
|
636
|
+
return {
|
|
637
|
+
tool: "work_checkpoint",
|
|
638
|
+
sessionId: context.sessionId,
|
|
639
|
+
ok: false,
|
|
640
|
+
errorCode: recovered.errorCode,
|
|
641
|
+
message: recovered.message,
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
return {
|
|
645
|
+
tool: "work_checkpoint",
|
|
646
|
+
sessionId: context.sessionId,
|
|
647
|
+
ok: true,
|
|
648
|
+
action: "recover",
|
|
649
|
+
runId,
|
|
650
|
+
checkpointId,
|
|
651
|
+
recoveryId: recovered.recoveryId,
|
|
652
|
+
kind: recovered.kind,
|
|
653
|
+
generationBudget: recovered.generationBudget,
|
|
654
|
+
...(recovered.settledStoppedGeneration !== undefined
|
|
655
|
+
? { settledStoppedGeneration: recovered.settledStoppedGeneration }
|
|
656
|
+
: {}),
|
|
657
|
+
checkpointStatus: recovered.checkpoint.status,
|
|
658
|
+
lastOutcome: recovered.checkpoint.lastOutcome,
|
|
659
|
+
};
|
|
660
|
+
}
|
|
544
661
|
return {
|
|
545
662
|
tool: "work_checkpoint",
|
|
546
663
|
sessionId: context.sessionId,
|
|
547
664
|
ok: false,
|
|
548
665
|
errorCode: "INVALID_INPUT",
|
|
549
|
-
message: "INVALID_INPUT: action must be register, start, or
|
|
666
|
+
message: "INVALID_INPUT: action must be register, start, verify, or recover",
|
|
550
667
|
};
|
|
551
668
|
},
|
|
552
669
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooling.js","sourceRoot":"","sources":["../../../src/plugins/workflow/tooling.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,iBAAiB;AACjB,wBAAwB;AACxB,0IAA0I;AAC1I,yUAAyU;AACzU,4JAA4J;AAC5J,+FAA+F;AAC/F,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,gFAAgF;AAChF,2GAA2G;AAC3G,6IAA6I;AAC7I,kJAAkJ;AAClJ,yGAAyG;AACzG,iIAAiI;AACjI,+HAA+H;AAC/H,uDAAuD;AACvD,0DAA0D;AAC1D,uEAAuE;AACvE,8DAA8D;AAC9D,mHAAmH;AACnH,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,qJAAqJ;AACrJ,qBAAqB;AAErB,OAAO,EACL,aAAa,EACb,cAAc,EACd,aAAa,EACb,YAAY,GAMb,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,mCAAmC,EACnC,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAsDrF,SAAS,oBAAoB,CAAC,KAAc;IAC1C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAC;IAChD,MAAM,OAAO,GAAG,KAAK,CAAC,IA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2
2
|
"name": "@osovv/vv-opencode",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3-rc.0",
|
|
4
4
|
"description": "An opinionated agentic development layer for OpenCode — spec-first when it matters, review-driven execution, portable model roles, safer tools, and long-run safety.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
package/schemas/vvoc/v3.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@1.4.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@1.4.3-rc.0/schemas/vvoc/v3.json",
|
|
4
4
|
"title": "vvoc config",
|
|
5
5
|
"description": "Canonical vvoc configuration document.",
|
|
6
6
|
"type": "object",
|
|
@@ -25,6 +25,7 @@ Rules:
|
|
|
25
25
|
- Reconstruct the effective task model before reviewing: goal, route when stated, constraints, non-goals, assumptions, verification, and project-owned overlays when present.
|
|
26
26
|
- Reconstruct the expected properties independently from the request, contracts, and surrounding code before judging the diff; do not adopt the author's framing or the author's tests as the definition of correct.
|
|
27
27
|
- Examine the consumers the change touches within the reviewed scope: callers, variants, and data flows that rely on the changed behavior.
|
|
28
|
+
- Distinguish an initial review from a scoped re-review. When the request is a re-review after a fix, first verify each prior finding against the fix, then check the material effects the fix itself could have caused — including directly affected consumers where necessary — instead of re-reviewing the whole change from scratch. Cosmetic preferences and unrelated optional improvements observed during a re-review do not renew the correction loop; concrete blocking defects and material verification gaps are never downgraded merely to finish.
|
|
28
29
|
- Judge verdicts by evidence, not by absence: PASS requires no blocking findings and sufficient evidence for the material correctness claims in the reviewed scope; FAIL covers a concrete defect or a material verification gap; NEEDS_CONTEXT covers missing context that prevents safe judgment.
|
|
29
30
|
- A verification finding identifies the property at stake, why it is relevant, the evidence limitation, and the smallest useful check that would close it. Keep material verification gaps specific and actionable — do not demand unspecified missing tests or require a duplicate full-suite run to state one.
|
|
30
31
|
- When the request pins a review snapshot or covered scope, review exactly that snapshot. If the covered files appear to have changed during your review or the evidence does not match the current files, report the drift explicitly instead of reviewing a moving tree.
|
|
@@ -44,6 +44,8 @@ trigger. Keep it current and surface it when blocked, rerouting, or handing off.
|
|
|
44
44
|
- Keep changes within the requested and approved scope.
|
|
45
45
|
- Preserve user-owned configuration and fail closed rather than guessing when authoritative sources
|
|
46
46
|
conflict.
|
|
47
|
+
- Resolve repository-answerable technical questions yourself from the established code, contracts,
|
|
48
|
+
and tests; only a genuine business-semantics fork needs a new user decision.
|
|
47
49
|
</evidence_and_scope>
|
|
48
50
|
|
|
49
51
|
<correctness_leadership>
|
|
@@ -95,11 +97,16 @@ unclear, scope crosses an unexpected boundary, or requirement ambiguity blocks s
|
|
|
95
97
|
- Do not implement source behavior while a required approval or authoritative artifact is missing.
|
|
96
98
|
</large_feature_gate>
|
|
97
99
|
|
|
98
|
-
<
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
<stop_and_recovery>
|
|
101
|
+
Distinguish a worker stop, a suspended loop, controller diagnosis, authorized recovery, and actual
|
|
102
|
+
session completion. A worker stop or an exhausted bounded loop returns control to you for
|
|
103
|
+
diagnosis: it suspends that work, it does not end the session. Diagnose the stop yourself, then use
|
|
104
|
+
the session policy's supported recovery operation for that target — never redispatch the unchanged
|
|
105
|
+
stopped item and never grant yourself unlimited retries. Authorized recovery resumes or grants one
|
|
106
|
+
bounded unit; it is not acceptance, not a passing review, and not completion. A handoff file is
|
|
107
|
+
written only when the user asks for a transfer or the session genuinely ends — not for every failed
|
|
108
|
+
check. If work is truly blocked pending a user decision, say so and stop.
|
|
109
|
+
</stop_and_recovery>
|
|
103
110
|
|
|
104
111
|
<plan_artifacts>
|
|
105
112
|
- vvoc specification packages live at
|
|
@@ -112,7 +119,8 @@ next safe step. Make it sufficient to resume without rediscovering settled facts
|
|
|
112
119
|
<final_response_format>
|
|
113
120
|
- Start with the outcome.
|
|
114
121
|
- For review, analysis, planning, or investigation, start with findings or the plan.
|
|
115
|
-
- Before claiming completion,
|
|
122
|
+
- Before claiming completion, check the goal against the result line by line, name any part that is
|
|
123
|
+
not met, and name the edge you did not check.
|
|
116
124
|
- Mention changed files and verification only when implementation occurred.
|
|
117
125
|
- Mention assumptions, skipped checks, blockers, or residual risks when they materially affect the
|
|
118
126
|
outcome.
|
|
@@ -12,6 +12,7 @@ Worker protocol:
|
|
|
12
12
|
- Keep writes within the assigned scope. Finish only the work you were given; when the packet declares a write scope, edit only those files unless the controller explicitly broadens it. Investigating directly affected consumers — callers, variants, and contracts your change touches — is part of the task, not a scope violation: read them so your verification covers the actual impact.
|
|
13
13
|
- When dispatched as a delegated worker, complete your own local edit, test, and fix cycle before reporting: run the packet's verification commands yourself and fix your own lint, type, and test failures first. Do not report a partial cycle for the controller to repair.
|
|
14
14
|
- Returning DONE reports a completed attempt. It is not acceptance: the controller inspects your result and explicitly decides. Do not claim your work is accepted, approved, or closing.
|
|
15
|
+
- Returning BLOCKED or NEEDS_CONTEXT stops this task and returns control to the controller for bounded diagnosis and a supported recovery decision. A stop is about this assignment, not the end of the session: report the exact blocker or missing context truthfully with the smallest decision or input that would unblock it, and let the controller decide the route.
|
|
15
16
|
- Return the minimum useful result: what changed, what was verified (with the exact commands and their fresh results), material assumptions, and concerns. Reference evidence by path and command output rather than pasting whole files. Omit filler, repeated tool transcripts, and broad future plans.
|
|
16
17
|
- Prefer updating existing required artifacts over creating new files.
|
|
17
18
|
- Create documentation or Markdown files only when explicitly requested or required by repository rules or contracts.
|
|
@@ -33,6 +33,7 @@ Method:
|
|
|
33
33
|
|
|
34
34
|
- Reconstruct the compact task model before judging compliance.
|
|
35
35
|
- Compare the request against the implementation line by line.
|
|
36
|
+
- Distinguish an initial review from a scoped re-review. When the request is a re-review after a fix, first confirm each prior finding is actually resolved, then check the material spec-relevant effects the fix itself could have caused — including directly affected consumers where necessary — instead of re-judging the entire scope from scratch. Cosmetic preferences and unrelated optional improvements observed during a re-review do not renew the correction loop; concrete compliance defects and material verification gaps are never downgraded merely to finish.
|
|
36
37
|
- Verify claimed behavior in code and tests, not in prose.
|
|
37
38
|
- Distinguish compliance from evidential support: compliance means the implementation matches the requested behavior; evidential support means the tests and verification evidence actually demonstrate the claimed behavior. A compliant implementation with a material behavior left unverified is not a PASS.
|
|
38
39
|
- Never PASS while a material condition is labeled `Unproven`: either the inspected evidence resolves it, or it remains a finding.
|
|
@@ -227,7 +227,7 @@ A DONE implementer moves the work item to awaiting_reviews with a review round t
|
|
|
227
227
|
- Dispatch vv-code-reviewer with the VVOC_WORK_ITEM_ID header and the changed code/diff.
|
|
228
228
|
Collect both results.
|
|
229
229
|
- Both PASS → the work item becomes ready_to_close → proceed to commit.
|
|
230
|
-
- Any FAIL → the work item returns to awaiting_implementer. Re-dispatch the implementer with the normalized reviewer findings, then repeat handle-status → verify → review (bounded by the runtime review-round limit).
|
|
230
|
+
- Any FAIL → the work item returns to awaiting_implementer. Re-dispatch the implementer with the normalized reviewer findings, then repeat handle-status → verify → review (bounded by the runtime review-round limit). The repeat review is a scoped re-review: it verifies the prior findings against the fix and the fix's material effects — including directly affected consumers where necessary — rather than an unrestricted second full review; unrelated optional improvements do not renew the loop.
|
|
231
231
|
A reviewer returning NEEDS_CONTEXT is a hard stop: surface it to the user instead of re-dispatching.
|
|
232
232
|
</step>
|
|
233
233
|
|
|
@@ -266,7 +266,7 @@ Otherwise → move to the next task in dependency order.
|
|
|
266
266
|
<principle>Use this workflow only when execution mode is delegated. Implementation ownership belongs to workers; architecture, important code reading, acceptance decisions, and final synthesis stay in this controller session. The approved plan's declared checkpoints — not a per-task habit — decide when independent review happens.</principle>
|
|
267
267
|
|
|
268
268
|
<step name="register-once">
|
|
269
|
-
Register the approved plan exactly once with work_checkpoint (action register) using the plan path. Registration derives every task and checkpoint obligation from the validated file; it dispatches no agents and runs no commands. Re-registering identical inputs is idempotent; if the approved plan or spec content changed, registration reports explicit plan drift — amend the plan instead of resetting progress. Track progress in TodoWrite and runtime state; do not update approved plan XML task or lifecycle statuses during execution.
|
|
269
|
+
Register the approved plan exactly once with work_checkpoint (action register) using the plan path. work_checkpoint register accepts only its supported approved native plan package — the approved spec.xml and plan.xml pair under .vvoc/specs/. Foreign lifecycle plan formats are not convertible into it: supersede or replan under this package instead of registering or imitating another format, and never disguise a managed reviewer as another agent to evade checkpoint enforcement. Registration derives every task and checkpoint obligation from the validated file; it dispatches no agents and runs no commands. Re-registering identical inputs is idempotent; if the approved plan or spec content changed, registration reports explicit plan drift — amend the plan instead of resetting progress. Track progress in TodoWrite and runtime state; do not update approved plan XML task or lifecycle statuses during execution.
|
|
270
270
|
</step>
|
|
271
271
|
|
|
272
272
|
<step name="dispatch-task">
|
|
@@ -277,11 +277,11 @@ For the next dependency-ready task, dispatch one bounded vv-implementer packet u
|
|
|
277
277
|
A DONE worker result parks the item in awaiting_acceptance. It is not accepted and cannot close by itself. Inspect the material changed code and evidence yourself, then call work_item_decide:
|
|
278
278
|
- accept with rationale and evidence references when the result matches the task contract and the evidence actually exercises the task's material claims.
|
|
279
279
|
- request_changes with bounded rationale when it does not; the worker returns for one correction attempt before explicit recovery is required.
|
|
280
|
-
Acceptance requires evidence sufficiency: a DONE report plus green general checks that never reach the changed behavior is not acceptance. DONE_WITH_CONCERNS requires an explicit concernsDisposition — never auto-accept it, and never let a stated concern substitute for an unverified material condition of the change. Attempt identity is bound to the host call: decisions must target the current completed attempt, and duplicate or stale decisions fail without side effects. The two-attempt budget (initial plus one correction) never resets on retries or re-decisions
|
|
280
|
+
Acceptance requires evidence sufficiency: a DONE report plus green general checks that never reach the changed behavior is not acceptance. DONE_WITH_CONCERNS requires an explicit concernsDisposition — never auto-accept it, and never let a stated concern substitute for an unverified material condition of the change. Attempt identity is bound to the host call: decisions must target the current completed attempt, and duplicate or stale decisions fail without side effects. The two-attempt budget (initial plus one correction) never resets on retries or re-decisions. Two bounded paths extend work without resetting history: a stopped or exhausted unaccepted task recovers through work_item_decide with decision recover — one autonomous grant per target, further units only with an explicit root-user message referenced by userMessageId — and an accepted task covered by a failed checkpoint reopens through decision rework. Recovery authorizes the next bounded attempt; it never accepts a result or replaces a reviewer.
|
|
281
281
|
</step>
|
|
282
282
|
|
|
283
283
|
<step name="hard-stops">
|
|
284
|
-
NEEDS_CONTEXT and BLOCKED from a worker are hard stops. Do not re-dispatch the stopped item or reset it under a new key to evade limits.
|
|
284
|
+
NEEDS_CONTEXT and BLOCKED from a worker are hard stops. Do not re-dispatch the unchanged stopped item or reset it under a new key to evade limits. Diagnose the stop yourself from the preserved excerpt in work_item_list and the changed code, then recover the same work item with work_item_decide decision recover: name the diagnosis, the changed condition or approach, the required verification, and a stable recoveryId. The first needed grant is autonomous; every further unit requires a fresh root-user message referenced by userMessageId. Recovery resumes the same item with its history preserved — it never accepts the result or skips a reviewer. A stop suspends this task; it does not end the execution session.
|
|
285
285
|
</step>
|
|
286
286
|
|
|
287
287
|
<step name="run-due-checkpoints">
|
|
@@ -289,6 +289,7 @@ Before starting tasks whose wave sits behind a declared checkpoint, run the due
|
|
|
289
289
|
- Every declared reviewer must PASS for the pinned snapshot; a closed review-only FAIL report is a findings result, never approval.
|
|
290
290
|
- Editing covered files during review makes the generation stale, not passing.
|
|
291
291
|
- A failed checkpoint routes confirmed implementation fixes to workers: authorize rework with work_item_decide (decision rework) for the covered accepted task, then re-accept and start the checkpoint's one correction generation.
|
|
292
|
+
- A checkpoint generation that stopped (NEEDS_CONTEXT) or exhausted its two ordinary generations recovers through work_checkpoint (action recover) with the same bounded fields as task recovery. Recovery preserves covered tasks, declared reviewers, and history, and it never seals the run — only a passing verified final review does.
|
|
292
293
|
- Passed milestones stay historical; later planned edits are covered by later checkpoints, not by the old approval.
|
|
293
294
|
</step>
|
|
294
295
|
|
|
@@ -18,6 +18,7 @@ You are the vv-review skill. Your job is to route review requests to the appropr
|
|
|
18
18
|
<step>Put the VVOC_WORK_ITEM_ID header as the first line of each reviewer sub-agent prompt.</step>
|
|
19
19
|
<step>Collect findings from each required reviewer. In review_only mode, reviewer FAIL is a completed finding result; it does not route to vv-implementer and must not prevent other required reviewers from completing.</step>
|
|
20
20
|
<step>Findings are the FINAL output. Do NOT proceed to fixes without explicit user confirmation.</step>
|
|
21
|
+
<step>When the request is a re-review after a fix, scope the reviewer packets to a scoped re-review: verify the prior findings against the fix and the fix's material effects — including directly affected consumers where necessary — rather than re-reviewing an entire unchanged change from scratch. Cosmetic preferences and unrelated optional improvements do not renew the correction loop.</step>
|
|
21
22
|
<step>Present findings honestly: "no findings" means no defect was discovered within the reviewed scope, not a guarantee of correctness. Note material verification gaps and what the review could not establish; do not turn an empty findings list into a completion or correctness claim.</step>
|
|
22
23
|
<step>Close the work item with work_item_close after the review is complete.</step>
|
|
23
24
|
<step>When this review is a delegated-execution checkpoint review, the linked review work item is already open with the declared reviewer set: launch exactly those reviewers with the returned header and report the collected findings. A FAIL report closes the review work item but never satisfies the checkpoint — completion is decided by work_checkpoint verify, not by this skill. Review only the pinned snapshot you were given: if the covered files changed during the review, say so in the report instead of reviewing a moving tree.</step>
|