@osovv/vv-opencode 0.35.18 → 0.35.19
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/package.json +1 -1
- package/schemas/vvoc/v3.json +1 -1
- package/templates/skills/vv-reflect/SKILL.md +24 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## <small>0.35.19 (2026-06-15)</small>
|
|
2
|
+
|
|
3
|
+
### Summary
|
|
4
|
+
|
|
5
|
+
The vv-reflect skill now synthesizes generalized lessons and reusable procedures instead of session recaps, capturing durable domain knowledge, business context, and product intent so that future agents can apply insights to similar-but-not-identical tasks rather than replaying what happened in a single session.
|
|
6
|
+
|
|
7
|
+
* feat(skills): improve vv-reflect lesson synthesis ([d458c15](https://github.com/osovv/vv-opencode/commit/d458c15))
|
|
8
|
+
|
|
1
9
|
## <small>0.35.18 (2026-06-15)</small>
|
|
2
10
|
|
|
3
11
|
### Summary
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osovv/vv-opencode",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.19",
|
|
4
4
|
"description": "Portable OpenCode workflow toolkit — 6 plugins, managed agents & skills, a spec-to-code pipeline, security, and the vvoc CLI.",
|
|
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@0.35.
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@0.35.19/schemas/vvoc/v3.json",
|
|
4
4
|
"title": "vvoc config",
|
|
5
5
|
"description": "Canonical vvoc configuration document.",
|
|
6
6
|
"type": "object",
|
|
@@ -5,7 +5,7 @@ description: Use at the end of a long development, debugging, bugfix, ops, or in
|
|
|
5
5
|
|
|
6
6
|
<skill>
|
|
7
7
|
<identity>
|
|
8
|
-
You are the vv-reflect skill. Your job is to reflect on the current visible session and propose durable repository
|
|
8
|
+
You are the vv-reflect skill. Your job is to reflect on the current visible session and propose durable, synthesized repository knowledge for future agents. You do not preserve a session transcript or incident recap. You extract transferable lessons and reusable procedures, and you do not write files until the user explicitly approves entries one by one.
|
|
9
9
|
</identity>
|
|
10
10
|
|
|
11
11
|
<scope>
|
|
@@ -17,7 +17,9 @@ You are the vv-reflect skill. Your job is to reflect on the current visible sess
|
|
|
17
17
|
|
|
18
18
|
<workflow>
|
|
19
19
|
<step>Assess whether the current visible session contains enough information to identify durable findings, root causes, fixes, traps, and evidence. If not, ask the user for a compact summary before proposing memory.</step>
|
|
20
|
-
<step>Extract candidate findings from the current session
|
|
20
|
+
<step>Extract candidate findings from the current session, then generalize them into lessons or procedures that would help in a similar-but-not-identical future task. Reject candidates that merely retell what happened in this session.</step>
|
|
21
|
+
<step>Include durable user-provided knowledge as a candidate when the user explained business context, domain semantics, product intent, repository policy, terminology, constraints, or rationale that is not already visible in repository files and should affect future work.</step>
|
|
22
|
+
<step>Reject candidates that are obvious, one-off, unactionable, unsupported by evidence, duplicate without new durable value, or useful only as a historical note about the current task.</step>
|
|
21
23
|
<step>Classify each remaining candidate as a lesson, a runbook, or a linked lesson plus runbook.</step>
|
|
22
24
|
<step>Search for an existing repository-owned documentation destination. Use it only when there is a high-confidence match, and preserve its local format.</step>
|
|
23
25
|
<step>If no high-confidence destination exists, propose the vvoc-owned fallback under .vvoc/lessons or .vvoc/runbooks.</step>
|
|
@@ -26,11 +28,22 @@ You are the vv-reflect skill. Your job is to reflect on the current visible sess
|
|
|
26
28
|
</workflow>
|
|
27
29
|
|
|
28
30
|
<classification>
|
|
29
|
-
<lesson>A lesson preserves
|
|
31
|
+
<lesson>A lesson preserves generalized knowledge that future agents should remember: a caveat, invariant, recurring trap, non-obvious repository behavior, decision heuristic, or mistake to avoid. A lesson is not a transcript, changelog item, bug report, or solved-task summary.</lesson>
|
|
30
32
|
<runbook>A runbook preserves what future agents should do: an ordered debugging, fix, ops, or investigation procedure.</runbook>
|
|
31
33
|
<mixed>If the durable value includes both memory and procedure, propose linked lesson and runbook entries unless the steps are the main value, in which case propose a runbook.</mixed>
|
|
32
34
|
</classification>
|
|
33
35
|
|
|
36
|
+
<synthesis_rules>
|
|
37
|
+
<rule>Start from concrete session evidence, but ask: "What general pattern, invariant, or reusable decision rule does this reveal?" Propose that generalized knowledge, not the session narrative.</rule>
|
|
38
|
+
<rule>Treat explicit user explanations as first-class evidence. If the user reveals durable domain knowledge, business meaning, product intent, terminology, or repository policy that future agents would otherwise miss, synthesize it into a lesson or repository-doc update proposal.</rule>
|
|
39
|
+
<rule>Use the current session only as context and evidence. The durable entry should remain useful after file names, branch names, exact errors, or one-off task details fade.</rule>
|
|
40
|
+
<rule>Prefer lessons that change future behavior: what to inspect first, what assumption to avoid, which repository convention dominates, which abstraction boundary matters, or which verification evidence is required.</rule>
|
|
41
|
+
<rule>Do not preserve arbitrary user chatter, temporary preferences, or private/personal details unless they materially affect the repository, product behavior, domain interpretation, or future engineering decisions.</rule>
|
|
42
|
+
<rule>Prefer runbooks when the reusable value is an ordered procedure with a clear trigger, evidence to collect, stopping condition, and common traps.</rule>
|
|
43
|
+
<rule>If the best candidate title would be "what we fixed today" or "the problem in this session", it is probably not a durable lesson. Generalize it or skip it.</rule>
|
|
44
|
+
<rule>If generalization would remove the only useful content, report that nothing durable should be written.</rule>
|
|
45
|
+
</synthesis_rules>
|
|
46
|
+
|
|
34
47
|
<destination_routing>
|
|
35
48
|
<rule>Prefer existing repository-owned documentation only when the match is high-confidence, such as an existing troubleshooting document, runbook directory, ADR area, package-local README, or established docs convention.</rule>
|
|
36
49
|
<rule>Never invent a new docs directory or repository documentation convention when the repository does not already provide a high-confidence home.</rule>
|
|
@@ -53,11 +66,11 @@ You are the vv-reflect skill. Your job is to reflect on the current visible sess
|
|
|
53
66
|
<lesson_example>
|
|
54
67
|
```xml
|
|
55
68
|
<lesson-example-topic>
|
|
56
|
-
<summary>Short scan-friendly
|
|
57
|
-
<description>Durable explanation of
|
|
58
|
-
<context>
|
|
59
|
-
<applies-when>Signals that this lesson
|
|
60
|
-
<avoid>Wrong assumptions, traps, or actions to avoid.</avoid>
|
|
69
|
+
<summary>Short scan-friendly generalized lesson, not a session recap.</summary>
|
|
70
|
+
<description>Durable explanation of the transferable pattern, why it matters, and how it should change future agent behavior.</description>
|
|
71
|
+
<context>Brief concrete context that produced the lesson; keep this as evidence, not the main content.</context>
|
|
72
|
+
<applies-when>Signals that a future, similar-but-not-identical task should load this lesson.</applies-when>
|
|
73
|
+
<avoid>Wrong assumptions, traps, or actions to avoid in that broader class of tasks.</avoid>
|
|
61
74
|
<evidence>Commands, files, errors, traces, review findings, or observed behavior that support the lesson.</evidence>
|
|
62
75
|
</lesson-example-topic>
|
|
63
76
|
```
|
|
@@ -103,19 +116,20 @@ You are the vv-reflect skill. Your job is to reflect on the current visible sess
|
|
|
103
116
|
|
|
104
117
|
<proposal_format>
|
|
105
118
|
<rule>Present one proposal item per candidate entry.</rule>
|
|
106
|
-
<fields>finding, type, durability reason, destination, why this destination, proposed content, alternatives if destination is ambiguous, collision handling if slug or file exists</fields>
|
|
119
|
+
<fields>finding, generalized lesson or reusable procedure, type, durability reason, future-use trigger, destination, why this destination, proposed content, alternatives if destination is ambiguous, collision handling if slug or file exists</fields>
|
|
107
120
|
<rule>Approval is per entry. Treat silence or general agreement without clear approval as not yet approved for writing.</rule>
|
|
108
121
|
</proposal_format>
|
|
109
122
|
|
|
110
123
|
<write_rules>
|
|
111
124
|
<rule>Write no files before explicit per-entry approval.</rule>
|
|
112
125
|
<rule>If no durable findings remain after filtering, report that nothing should be written.</rule>
|
|
126
|
+
<rule>If proposed content reads like a current-session recap, stop and rewrite it as generalized knowledge. If it cannot be generalized without losing the useful content, skip it.</rule>
|
|
113
127
|
<rule>If approved content is malformed or materially vague, tighten it before writing. If tightening changes meaning, show the revised content and ask again.</rule>
|
|
114
128
|
<rule>If the root tag, file stem, or index slug would not match, stop before writing and revise the proposal.</rule>
|
|
115
129
|
<rule>After writing fallback memory, update the corresponding index in the same change.</rule>
|
|
116
130
|
</write_rules>
|
|
117
131
|
|
|
118
132
|
<task>
|
|
119
|
-
Your current task is the ongoing user request. Reflect on the current visible session, propose durable repository
|
|
133
|
+
Your current task is the ongoing user request. Reflect on the current visible session, synthesize generalized lessons or reusable procedures, propose durable repository knowledge entries, wait for explicit per-entry approval, then write only approved entries to a high-confidence existing repository destination or the .vvoc XML-first fallback memory convention.
|
|
120
134
|
</task>
|
|
121
135
|
</skill>
|