@osovv/vv-opencode 1.2.10 → 1.2.11
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
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## <small>1.2.11 (2026-08-18)</small>
|
|
2
|
+
|
|
3
|
+
### Summary
|
|
4
|
+
|
|
5
|
+
This release strengthens the system-context guidance that vv-opencode injects into sessions. The assumption discipline now requires every claim to be tagged as verified, asserted, or refuted, with unmarked claims treated as unverified, so material assumptions can no longer silently become downstream premises. The working-state guidance adds a one-line restatement of the requirement before acting to catch dropped constraints early, and reroute guidance now demands that a retry carry a named diagnosis of the prior failure rather than blankly repeating the same attempt. A new delivery-discipline block keeps internal reasoning compact while forcing clean, complete output for anything user- or tool-facing, and the vv-controller's final response format now requires reading the goal back line by line, marking each line as met, partly met, or not met, and naming the edge that was not checked before claiming completion. Together these changes reduce wasted retries and premature completion claims, and make the verification status of assumptions explicit throughout a session.
|
|
6
|
+
|
|
7
|
+
* feat(system-context-injection): add epistemic tags, re-encode-first, diagnosis retry, and done-check ([8524ee4](https://github.com/osovv/vv-opencode/commit/8524ee4))
|
|
8
|
+
|
|
1
9
|
## <small>1.2.10 (2026-08-18)</small>
|
|
2
10
|
|
|
3
11
|
### Summary
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
// END_MODULE_MAP
|
|
15
15
|
//
|
|
16
16
|
// START_CHANGE_SUMMARY
|
|
17
|
-
// LAST_CHANGE: [v0.6.
|
|
17
|
+
// LAST_CHANGE: [v0.6.1 - Added epistemic claim tags, re-encode-first, diagnosis-carrying retry, and delivery discipline to universal primary system contexts.]
|
|
18
18
|
// END_CHANGE_SUMMARY
|
|
19
19
|
import { loadVvocConfig } from "../../lib/config-layers.js";
|
|
20
20
|
import { MANAGED_SUBAGENT_NAMES } from "../../lib/managed-agents.js";
|
|
@@ -43,11 +43,14 @@ const UNIVERSAL_PRIMARY_SYSTEM_CONTEXTS = [
|
|
|
43
43
|
"A material assumption is one that affects behavior, scope, API shape, schema, UX, data meaning, or verification.",
|
|
44
44
|
"If a material assumption is necessary, state it explicitly.",
|
|
45
45
|
"If a material assumption later becomes false, stop and reroute.",
|
|
46
|
+
"Mark each claim in internal reasoning: `✓` verified (name what verified it), `?` asserted-but-unchecked, `✗` refuted (name the evidence).",
|
|
47
|
+
"An unmarked claim counts as `?`, and a `?` may not become a downstream premise until verified.",
|
|
46
48
|
"</assumption_discipline>",
|
|
47
49
|
].join("\n"),
|
|
48
50
|
[
|
|
49
51
|
"<working_state>",
|
|
50
52
|
"For non-trivial work, stabilize a compact working state before acting: goal, current route, constraints, non-goals when relevant, assumptions, verification target, current unknown, and reroute if.",
|
|
53
|
+
"Before acting, restate the requirement in one line in your own words and check it against the original; a constraint dropped here wastes the downstream chain.",
|
|
51
54
|
"Keep it compact and revise it when evidence changes.",
|
|
52
55
|
"Surface it explicitly when blocked, rerouting, or handing off to the user.",
|
|
53
56
|
"</working_state>",
|
|
@@ -64,6 +67,7 @@ const UNIVERSAL_PRIMARY_SYSTEM_CONTEXTS = [
|
|
|
64
67
|
"When new evidence invalidates the current route, stop and reroute.",
|
|
65
68
|
"Reroute when root cause or expected behavior remains unclear, scope crosses an unexpected boundary, or requirement ambiguity blocks safe progress.",
|
|
66
69
|
"When rerouting, state the current route, the trigger, the next route, and why the previous route is no longer safe.",
|
|
70
|
+
"A retry must carry a named diagnosis of the prior failure; a blank retry is the same attempt again.",
|
|
67
71
|
"</reroute_on_evidence>",
|
|
68
72
|
].join("\n"),
|
|
69
73
|
[
|
|
@@ -88,6 +92,11 @@ const UNIVERSAL_PRIMARY_SYSTEM_CONTEXTS = [
|
|
|
88
92
|
"After a long development, debugging, bugfix, ops, or investigation session with reusable findings, consider using the vv-reflect skill to propose durable lessons or runbooks.",
|
|
89
93
|
"</repository_memory>",
|
|
90
94
|
].join("\n"),
|
|
95
|
+
[
|
|
96
|
+
"<delivery_discipline>",
|
|
97
|
+
"Keep internal and scratch reasoning compact; anything user- or tool-facing must be clean, complete language with no half-compressed notation or stray markers.",
|
|
98
|
+
"</delivery_discipline>",
|
|
99
|
+
].join("\n"),
|
|
91
100
|
];
|
|
92
101
|
const EXPLORE_SYSTEM_CONTEXTS = [
|
|
93
102
|
[
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/system-context-injection/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,iBAAiB;AACjB,wBAAwB;AACxB,6JAA6J;AAC7J,uMAAuM;AACvM,yIAAyI;AACzI,+FAA+F;AAC/F,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,0HAA0H;AAC1H,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/system-context-injection/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,iBAAiB;AACjB,wBAAwB;AACxB,6JAA6J;AAC7J,uMAAuM;AACvM,yIAAyI;AACzI,+FAA+F;AAC/F,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,0HAA0H;AAC1H,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,iKAAiK;AACjK,qBAAqB;AAGrB,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,0BAA0B,GAE3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,kBAAkB,G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ACtD,IACE,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS;gBAC9B,UAAU,CAAC,gBAAgB,CAAC;gBAC5B,CAAC,YAAY,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EACxC,CAAC;gBACD,MAAM,CAAC,KAAK,GAAG,CAAC,GAAG,YAAY,EAAE,gBAAgB,CAAC,CAAC;gBACnD,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC;YAC/B,CAAC;QACH,CAAC;QACD,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;YACvC,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,cAAc,CAAC,EAAE,CAAC;gBAChE,OAAO;YACT,CAAC;YAED,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,oBAAoB,CAC1C,MAAM,CAAC,OAAO,CAAC,MAAM,EACrB,yBAAyB,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CACxD,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AACF,yBAAyB"}
|
package/package.json
CHANGED
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.2.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@1.2.11/schemas/vvoc/v3.json",
|
|
4
4
|
"title": "vvoc config",
|
|
5
5
|
"description": "Canonical vvoc configuration document.",
|
|
6
6
|
"type": "object",
|
|
@@ -98,6 +98,7 @@ next safe step. Make it sufficient to resume without rediscovering settled facts
|
|
|
98
98
|
<final_response_format>
|
|
99
99
|
- Start with the outcome.
|
|
100
100
|
- For review, analysis, planning, or investigation, start with findings or the plan.
|
|
101
|
+
- Before claiming completion, read the goal back line by line and mark each line met / partly / not met, then name the edge you did not check.
|
|
101
102
|
- Mention changed files and verification only when implementation occurred.
|
|
102
103
|
- Mention assumptions, skipped checks, blockers, or residual risks when they materially affect the
|
|
103
104
|
outcome.
|