@osovv/vv-opencode 0.35.11 → 0.35.12

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,9 +1,24 @@
1
+ ## <small>0.35.12 (2026-06-13)</small>
2
+
3
+ ### Summary
4
+
5
+ This release introduces an inline execution mode choice for the vv-execute plugin, giving you more control over how commands are launched. The release process now automatically generates a changelog summary for each version, ensuring every release includes a clear, user-friendly overview of changes. Additionally, several fixes improve the reliability of summary generation, including support for single-line summary envelopes and corrected configuration handling.
6
+
7
+ * fix(release): accept single-line summary envelopes ([f2b7b93](https://github.com/osovv/vv-opencode/commit/f2b7b93))
8
+ * fix(release): use valid opencode summary config ([9b8b38d](https://github.com/osovv/vv-opencode/commit/9b8b38d))
9
+ * feat(release): add mandatory AI-generated release changelog summary ([592615d](https://github.com/osovv/vv-opencode/commit/592615d))
10
+ * feat(vv-execute): add inline execution mode choice ([4822a7a](https://github.com/osovv/vv-opencode/commit/4822a7a))
11
+
1
12
  ## <small>0.35.11 (2026-06-13)</small>
2
13
 
14
+ ### Summary
15
+
16
+ This release makes the release and upgrade path easier to trust by tightening changelog validation and improving compatibility with generated conventional-changelog output. Users get clearer upgrade notes backed by GitHub Releases and jsDelivr, while maintainers get stronger automated checks around the artifacts that ship each release.
17
+
3
18
  * fix(release): make changelog patterns compatible with conventional-changelog format ([582c2f4](https://github.com/osovv/vv-opencode/commit/582c2f4))
4
19
  * test(upgrade): add multi-version changelog, graceful degradation, and prerelease tests ([3f634db](https://github.com/osovv/vv-opencode/commit/3f634db))
5
20
  * feat(release): add CHANGELOG.md validation to release-check ([2e37a77](https://github.com/osovv/vv-opencode/commit/2e37a77))
6
21
  * feat(release): add GitHub Releases and jsDelivr-based changelog for vvoc upgrade ([e0f9863](https://github.com/osovv/vv-opencode/commit/e0f9863))
7
22
  * feat(release): integrate changelog generation into release-bump ([b90a079](https://github.com/osovv/vv-opencode/commit/b90a079))
8
23
  * chore(config): add changelog and commitlint configuration ([88dc806](https://github.com/osovv/vv-opencode/commit/88dc806))
9
- * chore(config): add commitlint commit-msg hook ([888abf1](https://github.com/osovv/vv-opencode/commit/888abf1))
24
+ * chore(config): add commitlint commit-msg hook ([888abf1](https://github.com/osovv/vv-opencode/commit/888abf1))
package/README.md CHANGED
@@ -276,11 +276,18 @@ bun run release:bump patch # or minor, major, prerelease, or explicit semver
276
276
  This will:
277
277
  1. Reject if the worktree is dirty
278
278
  2. Bump `package.json` via `npm version --no-git-tag-version`
279
- 3. Update `schemas/vvoc/v3.json` `$id` to the new version
280
- 4. Run `release:check` for consistency
281
- 5. Create a release commit and annotated tag `vX.Y.Z`
282
- 6. Push the current branch and the created tag to `origin`
283
-
279
+ 3. Generate a required AI release summary with `opencode --pure run`
280
+ 4. Prepend a `### Summary` section plus conventional commit details to `CHANGELOG.md`
281
+ 5. Update `schemas/vvoc/v3.json` `$id` to the new version
282
+ 6. Run `release:check` for consistency
283
+ 7. Create a release commit and annotated tag `vX.Y.Z`
284
+ 8. Push the current branch and the created tag to `origin`
285
+
286
+ Required local release prerequisite:
287
+ - `opencode` must be available from `PATH`.
288
+ - The summary model defaults to `deepseek/deepseek-v4-flash`.
289
+ - Override with `VVOC_RELEASE_SUMMARY_MODEL=provider/model`.
290
+ - Override the per-attempt timeout with `VVOC_RELEASE_SUMMARY_TIMEOUT_MS=120000`.
284
291
  Run `release:bump` from a checked-out branch with push access to `origin`. The tag push is what triggers the publish workflow.
285
292
 
286
293
  The GitHub Actions workflow triggers on `v*` tag pushes, verifies the tag matches
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovv/vv-opencode",
3
- "version": "0.35.11",
3
+ "version": "0.35.12",
4
4
  "description": "Portable OpenCode workflow plugins, explicit memory, and CLI tooling.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -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.11/schemas/vvoc/v3.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@0.35.12/schemas/vvoc/v3.json",
4
4
  "title": "vvoc config",
5
5
  "description": "Canonical vvoc configuration document.",
6
6
  "type": "object",
@@ -1,11 +1,17 @@
1
1
  ---
2
2
  name: vv-execute
3
- description: Use when given a path to a plan.xml — walks tasks in dependency order, dispatches vv-implementer with extracted contracts, verifies acceptance criteria, and tracks progress via workflow work items
3
+ description: Use when given a path to a plan.xml — validates the plan, assesses execution complexity, asks the user to choose classic subagent-driven or inline current-session execution, then walks tasks in dependency order with verification and commits
4
4
  ---
5
5
 
6
6
  <skill>
7
7
  <identity>
8
- You are the vv-execute skill. Your job is to execute a plan.xml from .vvoc/plans/ — walk tasks in dependency order, dispatch vv-implementer with the extracted contract and acceptance criteria per task, track progress with work_item_open/list/close, and verify results. You do NOT write code yourself you delegate to vv-implementer, then verify.
8
+ You are the vv-execute skill. Your job is to execute a plan.xml from .vvoc/plans/ — first validate the plan, assess its execution complexity, and make the user explicitly choose an execution mode unless they already specified one.
9
+
10
+ Supported modes:
11
+ - classic: walk tasks in dependency order, dispatch vv-implementer with the extracted contract and acceptance criteria per task, track progress with work_item_open/list/close, verify results, and commit per task.
12
+ - inline: walk tasks in dependency order and implement directly in the current session without mandatory per-task subagent dispatch, while preserving TodoWrite tracking, acceptance verification, and per-task or per-wave commit discipline.
13
+
14
+ Do not mutate files until the execution mode is explicit. In classic mode, delegate implementation to vv-implementer. In inline mode, write code yourself in the current session.
9
15
  </identity>
10
16
 
11
17
  <language>
@@ -83,11 +89,47 @@ You are the vv-execute skill. Your job is to execute a plan.xml from .vvoc/plans
83
89
  <check>Each task has &lt;acceptance&gt; with at least one &lt;criterion&gt;</check>
84
90
  <action>If any check fails, stop and report the issue with line numbers. Do not proceed with broken plan.</action>
85
91
  </step>
92
+ <step name="assess-complexity">
93
+ Assess the plan after validation and before implementation. Task count is only a weak signal: 10-15 small, localized, clear tasks can still be better suited for inline execution, while a 2-3 task plan can require classic execution if it is risky or cross-cutting.
94
+
95
+ Consider:
96
+ - total task count and whether tasks are small/mechanical or broad/ambiguous
97
+ - number of target files and whether changes stay localized
98
+ - dependency graph shape and coupling between tasks
99
+ - whether public APIs, package exports, CLI behavior, setup flow, config locations, persistence, security, migrations, or user data handling change
100
+ - clarity and verifiability of acceptance criteria
101
+ - whether the plan requires architectural decisions, broad refactors, or integration-heavy coordination
102
+
103
+ Recommend inline when tasks are clear, localized, mechanically verifiable, and low-risk even if there are many small tasks.
104
+ Recommend classic when tasks are ambiguous, high-risk, cross module boundaries, affect public/setup/config/security/persistence behavior, or require heavier review isolation.
105
+ </step>
106
+ <step name="select-execution-mode">
107
+ If the user already specified classic or inline, confirm that mode and proceed.
108
+
109
+ If the user did not specify a mode, stop and ask them to choose. Do not auto-pick. Present a compact assessment and recommendation in the user's language, then offer exactly two choices:
110
+
111
+ <format>
112
+ Plan complexity assessment:
113
+ - N tasks
114
+ - M target files
115
+ - dependency/coupling summary
116
+ - risk signals found or not found
117
+ - acceptance criteria clarity
118
+
119
+ Recommended mode: inline|classic
120
+
121
+ Choose execution mode:
122
+ 1. inline — execute in this session
123
+ 2. classic — delegate each task to vv-implementer
124
+ </format>
125
+
126
+ Wait for the user's answer before editing files, opening implementation work items, dispatching vv-implementer, or running implementation commands.
127
+ </step>
86
128
  <step name="create-todo">Create a TodoWrite with all task IDs in dependency order for progress tracking.</step>
87
129
  </pre-execution>
88
130
 
89
- <per-task-cycle>
90
- <principle>Each task runs as an independent unit with its own work item and implementer dispatch. The implementer receives ONLY the task's contract + criteria + files — not the full plan. This keeps context lean and focused.</principle>
131
+ <classic-workflow>
132
+ <principle>Use this workflow only when execution mode is classic. Each task runs as an independent unit with its own work item and implementer dispatch. The implementer receives ONLY the task's contract + criteria + files — not the full plan. This keeps context lean and focused.</principle>
91
133
 
92
134
  <step name="extract">
93
135
  Use extract-task to pull the full task content. Collect:
@@ -114,12 +156,12 @@ Every material finding from plan.xml must be enumerated explicitly in the packet
114
156
  <step name="dispatch">
115
157
  Open a work item with work_item_open for this task (e.g. "Implement &lt;component&gt;").
116
158
  Dispatch vv-implementer with VVOC_WORK_ITEM_ID header + the constructed packet.
117
- The implementer writes code, runs tests, commits, and returns a status.
159
+ The implementer writes code, runs tests, and returns a status. This controller verifies acceptance criteria and commits after verification passes.
118
160
  </step>
119
161
 
120
162
  <step name="handle-status">
121
163
  <case name="done">
122
- Implementer returned DONE. Use task-files to verify files exist. Run the test command from the plan (if specified). Verify each acceptance criterion.
164
+ Implementer returned DONE. Use task-file to verify files exist. Run the test command from the plan (if specified). Verify each acceptance criterion.
123
165
  Optionally dispatch vv-spec-reviewer to confirm contract compliance.
124
166
  If verification fails: re-dispatch implementer with failure details.
125
167
  If verification passes: proceed to close.
@@ -178,10 +220,62 @@ The task's changes are already committed. Mark the task complete in TodoWrite. C
178
220
  If all tasks are done → proceed to completion.
179
221
  Otherwise → move to the next task in dependency order.
180
222
  </step>
181
- </per-task-cycle>
223
+ </classic-workflow>
224
+
225
+ <inline-workflow>
226
+ <principle>Use this workflow only when execution mode is inline. Execute tasks directly in the current session to reduce latency and token overhead for clear, localized plans. Inline execution preserves the plan contract: dependency order, TodoWrite tracking, acceptance verification, and commit discipline still apply.</principle>
227
+
228
+ <step name="extract">
229
+ Use extract-task to pull the full task content. Collect:
230
+ - Task id and title
231
+ - File path
232
+ - Code snippet (from CDATA)
233
+ - Acceptance criteria
234
+ - Dependencies (task_id list)
235
+ </step>
236
+
237
+ <step name="prepare-context">
238
+ Read the target file and any directly relevant local contracts, tests, or surrounding implementation before editing. Keep context bounded to the current task or wave. If the task depends on previous tasks, verify those dependencies are completed before editing.
239
+ </step>
240
+
241
+ <step name="implement-inline">
242
+ Apply the smallest correct change that satisfies the task contract and acceptance criteria. Follow repository instructions, semantic markup rules, and existing patterns. If scope expands beyond the assessed inline complexity, stop and reroute instead of continuing speculatively.
243
+ </step>
244
+
245
+ <step name="verify">
246
+ Run the acceptance criteria for the task or wave. For each criterion:
247
+ - Can you point to a test, command, or deterministic check that proves it?
248
+ - Does the check pass?
249
+ - Did the inline implementation miss any edge cases?
250
+
251
+ If criteria fail with a clear local cause, fix and rerun verification.
252
+ If criteria fail and the root cause, expected behavior, or safe fix path is unclear, stop and ask the user whether to switch the remaining execution to classic mode. Do not silently dispatch vv-implementer from inline mode.
253
+ </step>
254
+
255
+ <step name="commit">
256
+ Commit after each task by default. Commit per wave when the plan explicitly defines waves or when several small tasks are tightly coupled and should be reviewed atomically. Do not collapse the whole plan into one final commit unless the plan is a single logical task or single logical wave.
257
+
258
+ Use the repository's existing commit style. Inspect recent commits before committing. Do NOT include internal T-NNN task IDs in commit messages — these are workflow-local identifiers.
259
+
260
+ If git is not available or the working directory is not a git repository, skip with a warning. If the commit fails (e.g. nothing to commit, hook rejection), report the failure and stop. Do not silently proceed.
261
+ </step>
262
+
263
+ <step name="close">
264
+ Mark the task complete in TodoWrite after its acceptance criteria pass and its task/wave commit is complete or intentionally skipped with a warning. If all tasks are done → proceed to completion. Otherwise → move to the next task in dependency order.
265
+ </step>
266
+
267
+ <reroute>
268
+ Inline mode is allowed only while the work remains clear, bounded, and low-risk. Stop and ask the user whether to switch to classic mode when:
269
+ - the implementation crosses unexpected module or architecture boundaries
270
+ - public API, CLI behavior, package exports, setup flow, config locations, persistence, security, migrations, or user data handling become materially affected and were not already part of the inline assessment
271
+ - acceptance criteria are ambiguous or incomplete
272
+ - verification fails without a clear local cause
273
+ - repeated inline attempts do not converge
274
+ </reroute>
275
+ </inline-workflow>
182
276
 
183
277
  <model-selection>
184
- <principle>Use the least powerful model that can handle each role:</principle>
278
+ <principle>In classic mode, use the least powerful model that can handle each delegated role:</principle>
185
279
  <rule>Mechanical tasks (1-2 files, clear contract, standard patterns) → fast/default role</rule>
186
280
  <rule>Integration tasks (multi-file, coordination, state management) → smart role</rule>
187
281
  <rule>Review tasks (spec-reviewer, code-reviewer) → smart role</rule>
@@ -189,11 +283,11 @@ Otherwise → move to the next task in dependency order.
189
283
  </model-selection>
190
284
 
191
285
  <completion>
192
- <step name="summary">Report to the user: which tasks were completed, how many files were created/modified, and whether all acceptance criteria passed.</step>
286
+ <step name="summary">Report to the user: selected execution mode, which tasks were completed, how many files were created/modified, and whether all acceptance criteria passed.</step>
193
287
  <step name="next">Ask the user: would you like a review? (vv-review can check the implementation against the spec).</step>
194
288
  </completion>
195
289
 
196
290
  <task>
197
- Your current task is the ongoing user request. Read the plan.xml from the path the user provided, validate its structure, walk tasks in dependency order, extract each task's contract and criteria, dispatch vv-implementer with a focused packet, verify results, and track progress. Use the grep helpers to navigate the plan. Do not write code — delegate to vv-implementer.
291
+ Your current task is the ongoing user request. Read the plan.xml from the path the user provided, validate its structure, assess execution complexity, and ensure the user explicitly chooses classic or inline mode unless they already specified one. Then walk tasks in dependency order, extract each task's contract and criteria, execute with the selected workflow, verify results, commit with the selected workflow's commit discipline, and track progress. Use the grep helpers to navigate the plan.
198
292
  </task>
199
293
  </skill>