@osovv/vv-opencode 2.8.0 → 2.10.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +30 -51
  3. package/dist/cli.js +1 -3
  4. package/dist/cli.js.map +1 -1
  5. package/dist/commands/completion.js +6 -32
  6. package/dist/commands/completion.js.map +1 -1
  7. package/dist/commands/preset.d.ts +0 -7
  8. package/dist/commands/preset.js +10 -29
  9. package/dist/commands/preset.js.map +1 -1
  10. package/dist/commands/session.d.ts +0 -3
  11. package/dist/commands/session.js +25 -40
  12. package/dist/commands/session.js.map +1 -1
  13. package/dist/commands/status.js +3 -4
  14. package/dist/commands/status.js.map +1 -1
  15. package/dist/commands/sync.js +25 -3
  16. package/dist/commands/sync.js.map +1 -1
  17. package/dist/lib/managed-agents.js +1 -1
  18. package/dist/lib/managed-agents.js.map +1 -1
  19. package/dist/lib/managed-skills.d.ts +3 -1
  20. package/dist/lib/managed-skills.js +23 -3
  21. package/dist/lib/managed-skills.js.map +1 -1
  22. package/dist/lib/opencode/agent-registrations.js +28 -5
  23. package/dist/lib/opencode/agent-registrations.js.map +1 -1
  24. package/dist/lib/opencode/inspection.d.ts +0 -4
  25. package/dist/lib/opencode/inspection.js +15 -15
  26. package/dist/lib/opencode/inspection.js.map +1 -1
  27. package/dist/lib/opencode/vvoc-orchestration-migration.d.ts +21 -0
  28. package/dist/lib/opencode/vvoc-orchestration-migration.js +91 -0
  29. package/dist/lib/opencode/vvoc-orchestration-migration.js.map +1 -0
  30. package/dist/lib/orchestration.d.ts +2 -11
  31. package/dist/lib/orchestration.js +21 -44
  32. package/dist/lib/orchestration.js.map +1 -1
  33. package/dist/lib/vvoc-config.d.ts +0 -25
  34. package/dist/lib/vvoc-config.js +4 -22
  35. package/dist/lib/vvoc-config.js.map +1 -1
  36. package/dist/lib/vvoc-preset-registry.d.ts +0 -30
  37. package/dist/lib/vvoc-preset-registry.js +4 -14
  38. package/dist/lib/vvoc-preset-registry.js.map +1 -1
  39. package/dist/plugins/system-context-injection/guidance.d.ts +1 -0
  40. package/dist/plugins/system-context-injection/guidance.js +6 -4
  41. package/dist/plugins/system-context-injection/guidance.js.map +1 -1
  42. package/dist/plugins/system-context-injection/index.js +23 -16
  43. package/dist/plugins/system-context-injection/index.js.map +1 -1
  44. package/dist/plugins/workflow/checkpoints.js +27 -5
  45. package/dist/plugins/workflow/checkpoints.js.map +1 -1
  46. package/dist/plugins/workflow/index.js +4 -2
  47. package/dist/plugins/workflow/index.js.map +1 -1
  48. package/dist/plugins/workflow/results.d.ts +4 -4
  49. package/dist/plugins/workflow/schemas.d.ts +4 -4
  50. package/dist/runtime/context-inspection.js +1 -1
  51. package/dist/runtime/context-inspection.js.map +1 -1
  52. package/dist/runtime/session-settings.d.ts +6 -5
  53. package/dist/runtime/session-settings.js +36 -14
  54. package/dist/runtime/session-settings.js.map +1 -1
  55. package/dist/tui/settings/plugin.d.ts +1 -1
  56. package/dist/tui/settings/plugin.js +3 -3
  57. package/dist/tui/settings/plugin.js.map +1 -1
  58. package/package.json +1 -1
  59. package/schemas/vvoc/v3.json +1 -37
  60. package/templates/agents/vv-controller.md +15 -4
  61. package/templates/skills/vv-execute/SKILL.md +2 -2
  62. package/templates/skills/vv-execute/references/tool-contracts.md +1 -1
  63. package/templates/skills/vv-reflect/references/session-graph.py +105 -23
  64. package/templates/skills/vvoc-project-session-history/SKILL.md +72 -0
  65. package/templates/skills/vvoc-project-session-history/scripts/project_history.py +581 -0
  66. package/dist/commands/orchestration.d.ts +0 -25
  67. package/dist/commands/orchestration.js +0 -185
  68. package/dist/commands/orchestration.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## 2.10.0 (2026-11-27)
2
+
3
+ ### Summary
4
+
5
+ Version 2.10.0 bundles a new managed skill, vvoc-project-session-history, which recaps recent project work from OpenCode's local session database, and adds flat scripts/ delivery support so the skill's extractor is installed and kept up to date during install and sync. Both that extractor and the vv-reflect session-graph pre-pass now read the post-migration session_part store, restoring assistant messages, changed-file lists, and tool/file counts for the newest sessions instead of reporting empty recaps, while inline content still wins so older and transition-era sessions stay unchanged. The session-history skill's routing description was rewritten into a single clear English trigger line with the usage-analytics exclusion, and new tests pin archive call-id precedence and inline-wins behavior. A workflow fix (issue #43) releases a checkpoint reviewer binding that is provably dead after a transport-level launch failure, so a stuck review slot can be relaunched instead of blocking verify, recover, and start forever, while live and completed reviews still reject relaunches as before.
6
+
7
+ * test(vv-reflect): pin archive precedence and tree inline-wins with discriminating fixtures ([a02515c](https://github.com/osovv/vv-opencode/commit/a02515c)), closes [#64](https://github.com/osovv/vv-opencode/issues/64)
8
+ * fix(managed-skills): read session_part so new sessions keep assistant messages ([4e088b3](https://github.com/osovv/vv-opencode/commit/4e088b3))
9
+ * fix(managed-skills): reduce the session-history description to pure routing triggers ([501e73c](https://github.com/osovv/vv-opencode/commit/501e73c))
10
+ * fix(managed-skills): rewrite the session-history skill description, drop Russian text ([413bc4a](https://github.com/osovv/vv-opencode/commit/413bc4a))
11
+ * fix(vv-reflect): read session_part so reflection sees post-migration sessions ([2b7fe2a](https://github.com/osovv/vv-opencode/commit/2b7fe2a))
12
+ * fix(workflow): release a provably dead checkpoint reviewer binding ([c62d5c0](https://github.com/osovv/vv-opencode/commit/c62d5c0)), closes [#43](https://github.com/osovv/vv-opencode/issues/43)
13
+ * feat(managed-skills): bundle project-session recap skill with scripts/ delivery ([8181b0d](https://github.com/osovv/vv-opencode/commit/8181b0d))
14
+
15
+ ## 2.9.0 (2026-11-25)
16
+
17
+ ### Summary
18
+
19
+ Version 2.9.0 removes session-wide orchestration profiles (single-session, balanced, orchestrated, and delegated) as a public CLI, config, preset, and session-settings choice, so execution behavior is now driven by the request or selected plan instead of a session-wide policy that could also shift the cached request prefix. Legacy vvoc.json files carrying root or per-preset orchestration sections are migrated by `vvoc sync`, which removes those sections from both project and global configs with a timestamped backup and a change report before strict validation, while other documents that still contain orchestration now fail loudly. Families without a recorded profile receive a stable `work_policy_default` section in the managed controller prompt, legacy families keep their frozen tail policy, the `vvoc orchestration` command and `/vv-settings` profile action are gone, and `/context` now accepts profile-less records. This is a breaking change for anyone relying on the removed profiles or the deleted command.
20
+
21
+ * fix(orchestration): close review findings on migration coverage and projections ([28d7769](https://github.com/osovv/vv-opencode/commit/28d7769))
22
+ * feat(orchestration)!: remove session-wide orchestration profiles ([77145bd](https://github.com/osovv/vv-opencode/commit/77145bd))
23
+
1
24
  ## 2.8.0 (2026-11-24)
2
25
 
3
26
  ### Summary
package/README.md CHANGED
@@ -191,7 +191,7 @@ All prompt files are scaffolded by `vvoc install` / `vvoc sync`:
191
191
 
192
192
  | Agent | When it helps |
193
193
  |---|---|
194
- | `vv-controller` | Primary agent that follows the concrete work policy selected for the session by the orchestration profile |
194
+ | `vv-controller` | Primary agent that applies the stable controller default, or the legacy recorded policy for a family that kept one |
195
195
  | `enhancer` | Improves rough requests before execution when a clearer prompt would help |
196
196
  | `vv-implementer` | Applies a focused approved change and verifies it before reporting completion |
197
197
  | `vv-spec-reviewer` | Checks whether implementation matches the requested spec and acceptance criteria |
@@ -202,7 +202,7 @@ All prompt files are scaffolded by `vvoc install` / `vvoc sync`:
202
202
 
203
203
  Managed prompts and the universal guidance injected into primary sessions carry explicit correctness obligations. For behavior changes, agents derive the material properties that must be preserved from the request and established contracts, separate write scope from impact and verification scope, investigate directly affected consumers, challenge a material assumption with a diagnostic counterexample, and choose verification at the level the risk arises. Controllers tie completion claims to observed evidence rather than status markers; reviewers distinguish no discovered defect from sufficient support for a material claim and can fail a change for a material verification gap. Agents also keep evidence-supported conclusions settled until a concrete trigger — contradictory evidence, a specific counterexample, a changed requirement, or changed inputs — reopens them; they surface false premises instead of silently satisfying them, distinguish unsupported pressure from concrete evidence, and interpret test results as evidence against the request and contracts rather than as the specification. These obligations are prompt-level guidance only: `vvoc install` / `vvoc sync` deliver the current wording, changes take effect after an OpenCode restart like all vvoc config changes, and the bundled contract tests check instruction delivery and wording — they do not evaluate or guarantee how a real model behaves.
204
204
 
205
- The complete controller prompt has seven sections: `task_and_scope`, `project_context`, `repository_memory`, `evidence_discipline`, `working_cycle`, `delegation_and_workflow`, and `communication`. Its single wording source is `templates/agents/vv-controller.md`; the plugin reads that bundled template locally at startup. Other eligible primary agents receive the shared project, memory, evidence, and working-cycle sections plus the shared authority and delivery fragments, without the controller's role, task policy, worker-dispatch/recovery instructions, or full communication policy. Repository memory remains instruction-driven reading of `.vvoc/lessons/index.xml` and `.vvoc/runbooks/index.xml`. The workflow plugin still owns profile-specific machine protocols, and the active orchestration policy remains outside the stable system prefix. Run `vvoc sync` and restart OpenCode to update an existing managed controller prompt together with the plugin.
205
+ The complete controller prompt has the sections `task_and_scope`, `work_policy_default`, `project_context`, `repository_memory`, `evidence_discipline`, `working_cycle`, `delegation_and_workflow`, and `communication`. Its single wording source is `templates/agents/vv-controller.md`; the plugin reads that bundled template locally at startup. Other eligible primary agents receive the shared project, memory, evidence, and working-cycle sections plus the shared authority and delivery fragments, without the controller's role, task policy, worker-dispatch/recovery instructions, or full communication policy. Repository memory remains instruction-driven reading of `.vvoc/lessons/index.xml` and `.vvoc/runbooks/index.xml`. The stable `work_policy_default` is projected for families with no recorded profile, while a family carrying a legacy recorded profile keeps its previously resolved tail policy instead. Run `vvoc sync` and restart OpenCode to update an existing managed controller prompt together with the plugin.
206
206
 
207
207
  ### Managed skills
208
208
 
@@ -221,8 +221,9 @@ Two families: `vv-*` skills guide the work protocol and its craft companions —
221
221
  | `vv-write-for-humans` | You are writing or editing prose a person will read — README/docs, PR descriptions, design notes, commit messages, reports, error messages — or a draft reads vague, inflated, or hedged beyond the evidence | A fidelity-first editorial contract: meaning invariants and protected content, four edit modes with copyedit as the default, genre sufficiency criteria, reader-behavior deletion/addition tests, and bilingual EN/RU pattern catalogs. Good text may be left unchanged |
222
222
  | `vv-write-for-agents` | You are writing or revising text an agent executes — delegation prompts, AGENTS.md, skill bodies, spec and plan prose, runtime prompts | Compilation of raw intent into minimal sufficient task specifications, structure and addressability, session update semantics, pointer craft, and a lint-and-eval validation reference, bounded in volume and free of internal jargon |
223
223
  | `vvoc-usage-analytics` | You ask about token usage, cache hit rate, costs, or caching regressions | Read-only analysis across `vvoc analytics`, the analytics JSONL, and historical `opencode.db` data |
224
+ | `vvoc-project-session-history` | You ask what was recently done in this project, where the work stopped, or want a recap before continuing | A read-only Python extractor over `opencode.db` (V2 `session_v2`/`session_message`/`session_part` with a legacy V1 fallback) listing recent sessions with deduplicated text messages — reasoning and tool transcripts excluded by design — plus a synthesis contract that reconciles them against fresh Git state |
224
225
 
225
- Skills are discovered by OpenCode through the native `skills` string array in `opencode.json(c)` — `vvoc install`/`sync` write the path reference and maintain the OpenCode skills-directory symlink. OpenCode supplies the available descriptions and loading instructions; the full skill is loaded when selected or explicitly invoked. The controller prompt does not repeat that catalog or its loading protocol.
226
+ Skills are discovered by OpenCode through the native `skills` string array in `opencode.json(c)` — `vvoc install`/`sync` write the path reference and maintain the OpenCode skills-directory symlink. OpenCode supplies the available descriptions and loading instructions; the full skill is loaded when selected or explicitly invoked. The controller prompt does not repeat that catalog or its loading protocol. Pre-bundle standalone copies of `project-session-history` under `~/.config/opencode/skills/` are user-owned: vvoc never removes or migrates them, so delete them manually after the first sync that delivers the bundled `vvoc-project-session-history` skill.
226
227
 
227
228
  ---
228
229
 
@@ -239,11 +240,10 @@ Skills are discovered by OpenCode through the native `skills` string array in `o
239
240
  | `vvoc config validate` | Validate canonical `vvoc.json` |
240
241
  | `vvoc role list\|set\|unset` | Manage model role assignments |
241
242
  | `vvoc preset list\|show\|<name>` | Inspect or apply named presets |
242
- | `vvoc session set` | Change one session family's recorded settings (preset, profile, role, plugin toggle, or pull current defaults) through the running host |
243
+ | `vvoc session set` | Change one session family's recorded settings (preset, role, plugin toggle, or pull current defaults) through the running host |
243
244
  | `vvoc guardian config` | Print or write the guardian section |
244
245
  | `vvoc plugin list` | List OpenCode plugin entries |
245
246
  | `vvoc plugin enable\|disable` | Toggle a vvoc-managed plugin on or off |
246
- | `vvoc orchestration show\|set` | Show or set the vv-controller orchestration profile |
247
247
  | `vvoc patch-provider stepfun-ai\|codex\|deepseek\|alibaba\|zai\|xiaomi\|all` | Patch OpenCode providers; `codex` adds real gpt-5.5/5.6/6 models with effort variants (also accepts `openai`), `deepseek`/`alibaba`/`zai`/`xiaomi` add `#variant` suffixes on real models, `stepfun-ai` sets the StepFun `.ai` baseURL, `all` patches every provider at once |
248
248
  | `vvoc completion` | Install shell completions |
249
249
  | `vvoc upgrade` | Upgrade the global package and run follow-up sync; sync failure or an out-of-window host exits non-zero with best-effort method-aware host guidance |
@@ -320,7 +320,7 @@ The native document shape vvoc validates, extends, and writes into:
320
320
 
321
321
  Role intent has a native home as well: the pinned package entry's `options.modelIntent` envelope (`model`, `smallModel`, `agents`, `commands`) carries root, small-model, agent, and command model intent inside the native document — native hosts in the supported window have no `small_model` field and reject role references in `model` and `agents.<id>.model`, so vv-opencode never writes a `vv-role:*` reference as a native model literal (the model-overrides APIs route role intent into the envelope instead). Role assignments themselves live in `vvoc.json`: `vvoc role set` and preset application edit only that file, and the model-roles runtime combines the effective role map with the raw envelope intent to resolve concrete `provider/model#variant` selections (for example `xiaomi/mimo-v2.6-flash#thinking`) for newly created sessions.
322
322
 
323
- Runtime plugins resolve a session family's settings from native session metadata: the first time a session family (a root session plus its forks and subagents) is seen, the resolved roles, orchestration profile, and plugin toggles from the effective `vvoc.json` are recorded under the `vvoc:settings` key of the root session's metadata, and the family keeps resolving that record — across config edits and across server restarts — until it is explicitly changed. A new session always births the current configuration, and provider and web credentials are never persisted: they keep coming from the live configuration at request time. A family changes only when you explicitly ask: run `vvoc session set --session <id>` with one of `--preset <name>`, `--profile <name>`, `--role <id>=<model>` (or `--role unset:<id>`), `--plugin <name>=on|off`, or `--pull-defaults` (re-record the current defaults), or run `/vv-settings` in the OpenCode TUI with the same one-line actions (`preset <name>`, `profile <name>`, `role <id> <model>`, `role unset <id>`, `plugin <name> on|off`, `pull-defaults`) — with no argument it shows the current family settings. Both change only the family of the session you name; every write is a read-modify-write of the metadata key, so unrelated metadata on the session survives. The first start after upgrading converts the previous version's family bindings into root metadata once and then removes the old stores. Orchestration policy is injected at the request tail rather than into the system prefix, so switching policy does not invalidate the cached prompt prefix.
323
+ Runtime plugins resolve a session family's settings from native session metadata: the first time a session family (a root session plus its forks and subagents) is seen, the resolved roles and plugin toggles from the effective `vvoc.json` are recorded under the `vvoc:settings` key of the root session's metadata, and the family keeps resolving that record — across config edits and across server restarts — until it is explicitly changed. A new session always births the current configuration without a profile, and provider and web credentials are never persisted: they keep coming from the live configuration at request time. A family changes only when you explicitly ask: run `vvoc session set --session <id>` with one of `--preset <name>`, `--role <id>=<model>` (or `--role unset:<id>`), `--plugin <name>=on|off`, or `--pull-defaults` (re-record the current defaults), or run `/vv-settings` in the OpenCode TUI with the same one-line actions (`preset <name>`, `role <id> <model>`, `role unset <id>`, `plugin <name> on|off`, `pull-defaults`) — with no argument it shows the current family settings. Both change only the family of the session you name; every write is a read-modify-write of the metadata key, so unrelated metadata on the session survives. The first start after upgrading converts the previous version's family bindings into root metadata once and then removes the old stores; a migrated family keeps its previously recorded profile as a transition marker. A family with a recorded profile still receives its legacy policy at the request tail rather than inside the system prefix, so its cached prefix stays stable.
324
324
 
325
325
  ### Strict schema, loud failures
326
326
 
@@ -366,7 +366,7 @@ An explicit `--channel latest|rc` argument may only confirm the derived channel;
366
366
 
367
367
  ### Stability and compatibility
368
368
 
369
- Since 1.0, vv-opencode treats the daily-driver surface as stable. The compatibility surfaces are: `vvoc install` / `vvoc sync` / `vvoc launch`, the supported host window (`>=2.0.18 <3.0.0`), the managed skill names (`vv-spec`, `vv-plan`, `vv-execute`, `vv-review`, `vv-reflect`, `vv-handoff`; `vv-write-for-humans`, `vv-write-for-agents`, `vv-ui-design-principles`, `vv-verification`, and `vvoc-usage-analytics` are additive), the published package exports, canonical vvoc schema v3, and the date-prefixed `.vvoc/specs/YYYY-MM-DD-<slug>/` artifact layout. Breaking workflow or config changes are documented in release notes. The project still prefers conservative, explicit changes over hidden migration magic: user-owned config is never silently clobbered, and invalid current config fails loudly.
369
+ Since 1.0, vv-opencode treats the daily-driver surface as stable. The compatibility surfaces are: `vvoc install` / `vvoc sync` / `vvoc launch`, the supported host window (`>=2.0.18 <3.0.0`), the managed skill names (`vv-spec`, `vv-plan`, `vv-execute`, `vv-review`, `vv-reflect`, `vv-handoff`; `vv-write-for-humans`, `vv-write-for-agents`, `vv-ui-design-principles`, `vv-verification`, `vvoc-usage-analytics`, and `vvoc-project-session-history` are additive), the published package exports, canonical vvoc schema v3, and the date-prefixed `.vvoc/specs/YYYY-MM-DD-<slug>/` artifact layout. Breaking workflow or config changes are documented in release notes. The project still prefers conservative, explicit changes over hidden migration magic: user-owned config is never silently clobbered, and invalid current config fails loudly.
370
370
 
371
371
  ### Deterministic local launch
372
372
 
@@ -418,61 +418,40 @@ vvoc patch-provider xiaomi # mimo-v2.6-flash#thinking (thinking.type=enable
418
418
  vvoc patch-provider all # every patch above in one run
419
419
  ```
420
420
 
421
- Built-in role IDs: `default`, `smart`, `fast`, `reviewer`, plus any custom lowercase-hyphenated IDs. Presets are partial — applying one only changes the roles it defines. Managed built-in presets (`vv-*`) are refreshed from the shipped registry as part of the other work `vvoc install` and `vvoc sync` already do; neither command activates a preset or writes the active roles or orchestration profile on its own — that only happens when you run `vvoc preset <name>`.
421
+ Built-in role IDs: `default`, `smart`, `fast`, `reviewer`, plus any custom lowercase-hyphenated IDs. Presets are partial — applying one only changes the roles it defines. Managed built-in presets (`vv-*`) are refreshed from the shipped registry as part of the other work `vvoc install` and `vvoc sync` already do; neither command activates a preset or writes the active roles on its own — that only happens when you run `vvoc preset <name>`.
422
422
 
423
- Every shipped preset declares an explicit role matrix and orchestration profile:
423
+ Every shipped preset declares an explicit role matrix:
424
424
 
425
- | Preset | default | fast | smart | reviewer | Profile |
426
- |---|---|---|---|---|---|
427
- | `vv-codex` | `openai/gpt-5.6-terra#high` | `openai/gpt-6-luna#low` | `openai/gpt-5.6-sol#xhigh` | `openai/gpt-5.6-sol#xhigh` | single-session |
428
- | `vv-zai` | `zai-coding-plan/glm-5.3-flash#max` | `zai-coding-plan/glm-5.3-flash#max` | `zai-coding-plan/glm-5.3#max` | `zai-coding-plan/glm-5.3#max` | balanced |
429
- | `vv-deepseek` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | balanced |
430
- | `vv-alibaba` | `alibaba-token-plan/qwen3.8-max` | `alibaba-token-plan/deepseek-v4-flash` | `alibaba-token-plan/qwen3.8-max#xhigh` | `alibaba-token-plan/glm-5.2` | single-session |
431
- | `vv-osovv-ds` | `deepseek/deepseek-flash#max` | `openai/gpt-6-luna#low` | `deepseek/deepseek-flash#max` | `zai-coding-plan/glm-5.3#max` | single-session |
432
- | `vv-osovv-mimo` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `xiaomi/mimo-v2.6-flash#thinking` | `zai-coding-plan/glm-5.3#max` | single-session |
433
- | `vv-osovv-zai` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `zai-coding-plan/glm-5.3#max` | `zai-coding-plan/glm-5.3#max` | single-session |
434
- | `vv-osovv-qwen` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `alibaba-token-plan/qwen3.8-max#xhigh` | `zai-coding-plan/glm-5.3#max` | delegated |
435
- | `vv-astra-solo` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `openai/gpt-6-astra#max` | `zai-coding-plan/glm-5.3#high` | single-session |
436
- | `vv-astra-workers` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `openai/gpt-6-astra#max` | `zai-coding-plan/glm-5.3#high` | delegated |
425
+ | Preset | default | fast | smart | reviewer |
426
+ |---|---|---|---|---|
427
+ | `vv-codex` | `openai/gpt-5.6-terra#high` | `openai/gpt-6-luna#low` | `openai/gpt-5.6-sol#xhigh` | `openai/gpt-5.6-sol#xhigh` |
428
+ | `vv-zai` | `zai-coding-plan/glm-5.3-flash#max` | `zai-coding-plan/glm-5.3-flash#max` | `zai-coding-plan/glm-5.3#max` | `zai-coding-plan/glm-5.3#max` |
429
+ | `vv-deepseek` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` | `deepseek/deepseek-flash#max` |
430
+ | `vv-alibaba` | `alibaba-token-plan/qwen3.8-max` | `alibaba-token-plan/deepseek-v4-flash` | `alibaba-token-plan/qwen3.8-max#xhigh` | `alibaba-token-plan/glm-5.2` |
431
+ | `vv-osovv-ds` | `deepseek/deepseek-flash#max` | `openai/gpt-6-luna#low` | `deepseek/deepseek-flash#max` | `zai-coding-plan/glm-5.3#max` |
432
+ | `vv-osovv-mimo` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `xiaomi/mimo-v2.6-flash#thinking` | `zai-coding-plan/glm-5.3#max` |
433
+ | `vv-osovv-zai` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `zai-coding-plan/glm-5.3#max` | `zai-coding-plan/glm-5.3#max` |
434
+ | `vv-osovv-qwen` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `alibaba-token-plan/qwen3.8-max#xhigh` | `zai-coding-plan/glm-5.3#max` |
435
+ | `vv-astra-solo` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `openai/gpt-6-astra#max` | `zai-coding-plan/glm-5.3#high` |
436
+ | `vv-astra-workers` | `xiaomi/mimo-v2.6-flash#thinking` | `openai/gpt-6-luna#low` | `openai/gpt-6-astra#max` | `zai-coding-plan/glm-5.3#high` |
437
437
 
438
- `vv-osovv-ds` replaces the former `vv-osovv-flash` offering and `vv-osovv-zai` is new; `vv-osovv-sol`, `vv-osovv-flash`, and `vv-osovv-kimi` are no longer shipped. A retired preset definition already present in a saved `vvoc.json` is preserved in place rather than migrated or removed across `vvoc install`/`vvoc sync`; delete it manually if you no longer want it. No automatic provider migration or legacy-name cleanup runs, and applying a preset changes only the roles and profile it declares.
438
+ `vv-osovv-ds` replaces the former `vv-osovv-flash` offering and `vv-osovv-zai` is new; `vv-osovv-sol`, `vv-osovv-flash`, and `vv-osovv-kimi` are no longer shipped. A retired preset definition already present in a saved `vvoc.json` is preserved in place rather than migrated or removed across `vvoc install`/`vvoc sync`; delete it manually if you no longer want it. No automatic provider migration or legacy-name cleanup runs, and applying a preset changes only the roles it declares.
439
439
 
440
440
  Provider patches bind real model ids with `#variant` suffixes instead of alias models. `deepseek/deepseek-flash` carries `#max` and `#high` effort variants (image input, 384000-token output limit), and `deepseek/deepseek-v4-flash#max` stays text-only with the same output limit. On `zai-coding-plan`, `glm-5.3` carries `#high` and `#max` (both text-only) and `glm-5.3-flash` carries `#max` (text, image, video, and PDF input); `alibaba-token-plan/qwen3.8-max` carries `#xhigh`. On `xiaomi`, `mimo-v2.6-flash#thinking` enables the documented thinking toggle (`thinking.type=enabled`) with no PDF declaration and no `reasoningEffort` — text/image/audio/video input, 1M context / 131K output — because the public Xiaomi API documents a thinking toggle rather than an effort knob; live thinking behavior is not smoke-verified. Codex variants keep the established OpenAI reasoning-summary and encrypted-reasoning options, with the GPT-5.5/5.6 family capped at 400K context / 272K input and GPT-6 Luna/Astra keeping 1.05M/922K/128K. The `stepfun-ai` patch keeps the StepFun `.ai` baseURL (`https://api.stepfun.ai/v1`) for `step-3.7-flash`. `gpt-5.3-codex-spark` keeps its `#medium` variant only for manual configurations that already reference it, advertised conservatively as text-only, and no shipped preset selects it. The shared `fast` role also serves `smallModel` (through the `modelIntent` envelope — native 2.0.18 has no `small_model` field), `explore`, and `guardian`; availability for those consumers is not verified until you use it. Real model access, review quality, latency, and Astra-token savings are unmeasured: metadata here describes provider capability and pricing boundaries, not benchmarked behavior, and credentialed smoke runs would require separate authorization.
441
441
 
442
- ### Orchestration profiles
442
+ ### Controller execution default
443
443
 
444
- Four concrete policies control how vv-controller delegates work at runtime:
444
+ The controller prompt carries one short stable default: repository exploration, investigation, planning, implementation, and verification happen in the current session unless you explicitly request delegation or a selected plan calls for it. Bounded search assistance does not select an execution mode. An independent reviewer is used when you explicitly request review or when a materially risky completed change benefits from it — one review round by default, findings validated personally, confirmed fixes applied by the controller, and fresh verification. Review-only requests report findings and stop before fixes unless you confirm them.
445
445
 
446
- - `single-session` — vv-controller performs exploration, investigation, planning, implementation, and verification directly. Independent reviewer subagents remain available when the user explicitly requests review or when a materially risky completed change benefits from independent cross-model evaluation.
447
- - `balanced` — vv-controller keeps architecture, critical reading, and final synthesis in the primary session and may selectively delegate bounded search, investigation, mechanical implementation, or review when that is the lightest safe route. Delegation is optional, not mechanically mandatory.
448
- - `orchestrated` — vv-controller uses the full tracked implementer/reviewer workflow with explicit work items, required reviewers, bounded rounds, and hard stops.
449
- - `delegated` — implementation is delegated to workers while the primary session keeps architecture, important code reading, task contracts, explicit acceptance, and final synthesis. Source edits, tests, config changes, formatting, lint fixes, and reviewer-requested fixes — including small mechanical ones — go to workers through bounded task packets. Independent review happens at declared plan checkpoints instead of after every task; `BLOCKED` and `NEEDS_CONTEXT` remain hard stops, and stopped or exhausted work resumes only through recorded bounded recovery.
446
+ The default lives in the stable managed controller prompt, so it stays inside the cached system prefix. Detailed execution and review guidance remains on demand through `vv-execute`, `vv-review`, and their references; new families receive no session-wide profile policy at the request tail. `vv-execute` supports inline, classic, and delegated execution per plan without a session-wide profile, and ordinary requests open no work item unless you explicitly request execution or review or a selected approved plan calls for it.
450
447
 
451
- Pick a profile explicitly or let a built-in preset select one:
448
+ ### Legacy orchestration migration
452
449
 
453
- ```bash
454
- vvoc orchestration show --scope effective
455
- vvoc orchestration set single-session --scope project
456
- ```
457
-
458
- Built-in presets declare an orchestration mapping:
459
-
460
- | Preset | Profile |
461
- |---|---|
462
- | `vv-codex` | single-session |
463
- | `vv-alibaba` | single-session |
464
- | `vv-osovv-ds` | single-session |
465
- | `vv-osovv-mimo` | single-session |
466
- | `vv-osovv-zai` | single-session |
467
- | `vv-astra-solo` | single-session |
468
- | `vv-astra-workers` | delegated |
469
- | `vv-osovv-qwen` | delegated |
470
- | `vv-zai` | balanced |
471
- | `vv-deepseek` | balanced |
450
+ Earlier versions offered four session-wide orchestration profiles. They are no longer a CLI, config, preset, or session-settings choice: `vvoc orchestration`, `vvoc session set --profile`, and the `/vv-settings profile` action are gone, presets assign roles only, and completions and `vvoc status` never offer a profile.
472
451
 
473
- Applying a built-in preset changes both model roles and the root orchestration profile atomically. A custom user-defined preset without an orchestration section preserves the current root profile. `vvoc status` reports the profile resolved from the selected vvoc source; effective status with no config files reports `balanced`.
452
+ An existing `vvoc.json` that still contains a root or per-preset `orchestration` section is rejected loudly by strict validation. The one explicit migration path is `vvoc sync`: after the host-window gate and before strict validation it removes only those sections from the project and global documents, preserves every other key verbatim, writes a timestamped `.vvoc-backup-<timestamp>` sibling, and reports each migrated path and removed section. Invalid JSON is left untouched so validation still fails loudly.
474
453
 
475
- Profiles are enforced through the concrete policy injected into vv-controller at startup — the model only receives its active work instructions and never sees inactive profile alternatives. The policy is behavioral, not a filesystem sandbox: the delegated profile instructs the controller not to write source files (and not to bypass that via shell rewrites), while runtime authorization genuinely enforces acceptance and checkpoint operations. Asynchronous vv-execute classic mode remains available through that skill's explicit inline/classic/delegated selection. Profile changes take effect after an OpenCode restart, like all vvoc config changes.
454
+ Families created before the removal keep the behavior they were bound to: a family whose recorded `vvoc:settings` already contains a profile keeps its previously resolved tail policy and workflow-protocol variant and does not receive the new default, while runtime enforcement of acceptance, review, blockers, and bounded recovery is unchanged. Any explicit rewrite through `vvoc session set` or `/vv-settings` — including `pull-defaults` — drops the recorded profile, and a family whose root no longer resolves through lineage has ended. The recorded profile is the documented boundary marker.
476
455
 
477
456
  ### Workflow work items
478
457
 
@@ -495,7 +474,7 @@ For review-only reports, use `"mode": "review_only"`. In review-only mode, revie
495
474
 
496
475
  #### Delegated execution and review checkpoints
497
476
 
498
- The workflow plugin registers two control tools — `work_item_decide` and `work_checkpoint` — for the primary vv-controller session independent of the startup profile. Registration is profile-independent; enforcement is not: child sessions, untrusted workspaces, and unverifiable session identity are denied by the root-controller guard.
477
+ The workflow plugin registers two control tools — `work_item_decide` and `work_checkpoint` — for the primary vv-controller session independent of any recorded profile. Registration is profile-independent; enforcement is not: child sessions, untrusted workspaces, and unverifiable session identity are denied by the root-controller guard.
499
478
 
500
479
  Delegated tasks are opened with `"mode": "delegated"`, an explicitly empty `requiredReviewers` array, and a declared `writeScope` of workspace-relative files. One worker (`vv-implementer`) is launched per task with a bounded packet; attempts are bound to the host call identity, so stale or duplicate callbacks fail without side effects. A `DONE` worker parks the item in `awaiting_acceptance` — it never closes the item and the worker never accepts its own result. The controller explicitly decides with `work_item_decide`:
501
480
 
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // START_MODULE_CONTRACT
5
5
  // PURPOSE: Assemble and run the vvoc CLI entrypoint.
6
6
  // SCOPE: Package version lookup, top-level command registration including the lint command, and main command execution.
7
- // DEPENDS: [citty, src/commands/analytics.ts, src/commands/completion.ts, src/commands/config.ts, src/commands/doctor.ts, src/commands/guardian.ts, src/commands/init.ts, src/commands/install.ts, src/commands/launch.ts, src/commands/orchestration.ts, src/commands/lint.ts, src/commands/patch-provider.ts, src/commands/preset.ts, src/commands/plugin.ts, src/commands/role.ts, src/commands/session.ts, src/commands/status.ts, src/commands/sync.ts, src/commands/telegram.ts, src/commands/upgrade.ts, src/commands/version.ts, src/lib/package.ts]
7
+ // DEPENDS: [citty, src/commands/analytics.ts, src/commands/completion.ts, src/commands/config.ts, src/commands/doctor.ts, src/commands/guardian.ts, src/commands/init.ts, src/commands/install.ts, src/commands/launch.ts, src/commands/lint.ts, src/commands/patch-provider.ts, src/commands/preset.ts, src/commands/plugin.ts, src/commands/role.ts, src/commands/session.ts, src/commands/status.ts, src/commands/sync.ts, src/commands/telegram.ts, src/commands/upgrade.ts, src/commands/version.ts, src/lib/package.ts]
8
8
  // LINKS: [M-CLI-COMMANDS]
9
9
  // ROLE: SCRIPT
10
10
  // MAP_MODE: LOCALS
@@ -28,7 +28,6 @@ import init from "./commands/init.js";
28
28
  import install from "./commands/install.js";
29
29
  import launch from "./commands/launch.js";
30
30
  import lint from "./commands/lint.js";
31
- import orchestration from "./commands/orchestration.js";
32
31
  import patchProvider from "./commands/patch-provider.js";
33
32
  import preset from "./commands/preset.js";
34
33
  import plugin from "./commands/plugin.js";
@@ -58,7 +57,6 @@ const main = defineCommand({
58
57
  install,
59
58
  launch,
60
59
  lint,
61
- orchestration,
62
60
  "patch-provider": patchProvider,
63
61
  preset,
64
62
  plugin,
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,mBAAmB;AACnB,iBAAiB;AACjB,wBAAwB;AACxB,uDAAuD;AACvD,0HAA0H;AAC1H,+hBAA+hB;AAC/hB,4BAA4B;AAC5B,iBAAiB;AACjB,qBAAqB;AACrB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,oEAAoE;AACpE,wCAAwC;AACxC,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,+HAA+H;AAC/H,qBAAqB;AAErB,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,MAAM,MAAM,sBAAsB,CAA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;IACD,WAAW,EAAE;QACX,SAAS;QACT,UAAU;QACV,MAAM;QACN,MAAM;QACN,QAAQ;QACR,IAAI;QACJ,OAAO;QACP,MAAM;QACN,IAAI;QACJ,gBAAgB,EAAE,aAAa;QAC/B,MAAM;QACN,MAAM;QACN,IAAI;QACJ,OAAO;QACP,MAAM;QACN,IAAI;QACJ,QAAQ;QACR,OAAO;QACP,OAAO;KACR;CACF,CAAC,CAAC;AACH,+BAA+B;AAE/B,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC"}
@@ -2,9 +2,9 @@
2
2
  // VERSION: 0.5.15
3
3
  // START_MODULE_CONTRACT
4
4
  // PURPOSE: Auto-detect shell and install vvoc completions idempotently.
5
- // SCOPE: Shell detection, completion file writing, nested orchestration/config/plugin/patch-provider/preset and role flow generation, and rc file patching.
6
- // DEPENDS: [citty, node:fs/promises, node:path, node:os, src/lib/model-roles.ts, src/lib/orchestration.ts, src/lib/vvoc-preset-registry.ts]
7
- // LINKS: M-CLI-COMPLETION, M-CLI-COMMANDS, M-CLI-ORCHESTRATION, M-ORCHESTRATION-PROFILES
5
+ // SCOPE: Shell detection, completion file writing, nested config/plugin/patch-provider/preset and role flow generation, and rc file patching.
6
+ // DEPENDS: [citty, node:fs/promises, node:path, node:os, src/lib/model-roles.ts, src/lib/vvoc-preset-registry.ts]
7
+ // LINKS: M-CLI-COMPLETION, M-CLI-COMMANDS, M-ORCHESTRATION-PROFILES
8
8
  // ROLE: RUNTIME
9
9
  // MAP_MODE: EXPORTS
10
10
  // END_MODULE_CONTRACT
@@ -18,14 +18,13 @@
18
18
  // END_MODULE_MAP
19
19
  //
20
20
  // START_CHANGE_SUMMARY
21
- // LAST_CHANGE: [C-DELEGATED-WORKFLOW-ASTRA-PRESETS - Added the zai patch preset to patch-provider completions.]
21
+ // LAST_CHANGE: [C-REMOVE-SESSION-ORCHESTRATION-PROFILES T-002 - Completions no longer expose the removed orchestration command or its profile values.]
22
22
  // END_CHANGE_SUMMARY
23
23
  import { defineCommand } from "citty";
24
24
  import { appendFile, mkdir, readFile, writeFile } from "node:fs/promises";
25
25
  import { homedir } from "node:os";
26
26
  import { resolve } from "node:path";
27
27
  import { SEEDED_ROLE_NAMES } from "../lib/model-roles.js";
28
- import { ORCHESTRATION_PROFILE_NAMES } from "../lib/orchestration.js";
29
28
  import { BUILTIN_VVOC_PRESET_NAMES } from "../lib/vvoc-preset-registry.js";
30
29
  const VVOC_TOP_LEVEL_COMMANDS = [
31
30
  "completion",
@@ -35,7 +34,6 @@ const VVOC_TOP_LEVEL_COMMANDS = [
35
34
  "init",
36
35
  "install",
37
36
  "launch",
38
- "orchestration",
39
37
  "patch-provider",
40
38
  "preset",
41
39
  "plugin",
@@ -46,8 +44,6 @@ const VVOC_TOP_LEVEL_COMMANDS = [
46
44
  "version",
47
45
  ];
48
46
  const VVOC_CONFIG_COMMANDS = ["validate"];
49
- const VVOC_ORCHESTRATION_COMMANDS = ["show", "set"];
50
- const VVOC_ORCHESTRATION_PROFILES = [...ORCHESTRATION_PROFILE_NAMES];
51
47
  const VVOC_PATCH_PROVIDER_PRESETS = [
52
48
  "stepfun-ai",
53
49
  "codex",
@@ -158,8 +154,6 @@ async function installFishCompletion() {
158
154
  export function generateBashCompletion() {
159
155
  const topLevelCommands = VVOC_TOP_LEVEL_COMMANDS.join(" ");
160
156
  const configCommands = VVOC_CONFIG_COMMANDS.join(" ");
161
- const orchestrationCommands = VVOC_ORCHESTRATION_COMMANDS.join(" ");
162
- const orchestrationProfiles = VVOC_ORCHESTRATION_PROFILES.join(" ");
163
157
  const patchProviderPresets = VVOC_PATCH_PROVIDER_PRESETS.join(" ");
164
158
  const presetCommands = [...VVOC_PRESET_COMMANDS, ...BUILTIN_VVOC_PRESET_NAMES].join(" ");
165
159
  const presetNames = BUILTIN_VVOC_PRESET_NAMES.join(" ");
@@ -183,9 +177,6 @@ export function generateBashCompletion() {
183
177
  " config)\n" +
184
178
  " _vvoc_config_commands\n" +
185
179
  " ;;\n" +
186
- " orchestration)\n" +
187
- " _vvoc_orchestration_commands\n" +
188
- " ;;\n" +
189
180
  " patch-provider)\n" +
190
181
  " _vvoc_patch_provider_presets\n" +
191
182
  " ;;\n" +
@@ -202,9 +193,6 @@ export function generateBashCompletion() {
202
193
  " role:set)\n" +
203
194
  " _vvoc_role_ids\n" +
204
195
  " ;;\n" +
205
- " orchestration:set)\n" +
206
- " _vvoc_orchestration_profiles\n" +
207
- " ;;\n" +
208
196
  " preset:show)\n" +
209
197
  " _vvoc_preset_names\n" +
210
198
  " ;;\n" +
@@ -227,20 +215,6 @@ export function generateBashCompletion() {
227
215
  ' COMPREPLY=($(compgen -W "$commands" -- "$cur"))\n' +
228
216
  "}\n" +
229
217
  "\n" +
230
- "_vvoc_orchestration_commands() {\n" +
231
- ' local commands="' +
232
- orchestrationCommands +
233
- '"\n' +
234
- ' COMPREPLY=($(compgen -W "$commands" -- "$cur"))\n' +
235
- "}\n" +
236
- "\n" +
237
- "_vvoc_orchestration_profiles() {\n" +
238
- ' local commands="' +
239
- orchestrationProfiles +
240
- '"\n' +
241
- ' COMPREPLY=($(compgen -W "$commands" -- "$cur"))\n' +
242
- "}\n" +
243
- "\n" +
244
218
  "_vvoc_patch_provider_presets() {\n" +
245
219
  ' local commands="' +
246
220
  patchProviderPresets +
@@ -297,7 +271,7 @@ export function generateZshCompletion() {
297
271
  for (const cmd of VVOC_TOP_LEVEL_COMMANDS) {
298
272
  lines.push(' "' + cmd + '"');
299
273
  }
300
- lines.push(" )", "", ' _arguments -C "1: :(' + VVOC_TOP_LEVEL_COMMANDS.join(" ") + ')" "*::arg:->args"', "", " case $line[1] in", " role)", " _vvoc_role_cmds", " ;;", " config)", " _vvoc_config_cmds", " ;;", " orchestration)", " _vvoc_orchestration_cmds", " ;;", " patch-provider)", " _vvoc_patch_provider_cmds", " ;;", " preset)", " _vvoc_preset_cmds", " ;;", " plugin)", " _vvoc_plugin_cmds", " ;;", " esac", "}", "", "_vvoc_config_cmds() {", " local -a config_commands", " config_commands=(" + VVOC_CONFIG_COMMANDS.join(" ") + ")", ' _arguments "1: :(' + VVOC_CONFIG_COMMANDS.join(" ") + ')"', "}", "", "_vvoc_orchestration_cmds() {", " case $words[2] in", " set)", ' _arguments "1: :(' + VVOC_ORCHESTRATION_PROFILES.join(" ") + ')"', " ;;", " *)", ' _arguments "1: :(' + VVOC_ORCHESTRATION_COMMANDS.join(" ") + ')"', " ;;", " esac", "}", "", "_vvoc_patch_provider_cmds() {", ' _arguments "1: :(' + VVOC_PATCH_PROVIDER_PRESETS.join(" ") + ')"', "}", "", "_vvoc_preset_cmds() {", " case $words[2] in", " show)", ' _arguments "1: :(' + BUILTIN_VVOC_PRESET_NAMES.join(" ") + ')"', " ;;", " *)", ' _arguments "1: :(' +
274
+ lines.push(" )", "", ' _arguments -C "1: :(' + VVOC_TOP_LEVEL_COMMANDS.join(" ") + ')" "*::arg:->args"', "", " case $line[1] in", " role)", " _vvoc_role_cmds", " ;;", " config)", " _vvoc_config_cmds", " ;;", " patch-provider)", " _vvoc_patch_provider_cmds", " ;;", " preset)", " _vvoc_preset_cmds", " ;;", " plugin)", " _vvoc_plugin_cmds", " ;;", " esac", "}", "", "_vvoc_config_cmds() {", " local -a config_commands", " config_commands=(" + VVOC_CONFIG_COMMANDS.join(" ") + ")", ' _arguments "1: :(' + VVOC_CONFIG_COMMANDS.join(" ") + ')"', "}", "", "_vvoc_patch_provider_cmds() {", ' _arguments "1: :(' + VVOC_PATCH_PROVIDER_PRESETS.join(" ") + ')"', "}", "", "_vvoc_preset_cmds() {", " case $words[2] in", " show)", ' _arguments "1: :(' + BUILTIN_VVOC_PRESET_NAMES.join(" ") + ')"', " ;;", " *)", ' _arguments "1: :(' +
301
275
  [...VVOC_PRESET_COMMANDS, ...BUILTIN_VVOC_PRESET_NAMES].join(" ") +
302
276
  ')"', " ;;", " esac", "}", "", "_vvoc_role_cmds() {", " case $words[2] in", " set)", ' _arguments "1: :(' + VVOC_ROLE_IDS.join(" ") + ')"', " ;;", " unset)", ' _arguments "1: :<custom-role-id>"', " ;;", " *)", ' _arguments "1: :(' + VVOC_ROLE_COMMANDS.join(" ") + ')"', " ;;", " esac", "}", "", "_vvoc_plugin_cmds() {", " local -a plugin_commands", " plugin_commands=(" + VVOC_PLUGIN_COMMANDS.join(" ") + ")", ' _arguments "1: :(' + VVOC_PLUGIN_COMMANDS.join(" ") + ')"', "}", "", "compdef _vvoc vvoc");
303
277
  return lines.join("\n") + "\n";
@@ -308,7 +282,7 @@ export function generateFishCompletion() {
308
282
  for (const cmd of VVOC_TOP_LEVEL_COMMANDS) {
309
283
  lines.push(" echo " + cmd);
310
284
  }
311
- lines.push("end", "", "function __vvoc_config_cmds", " echo " + VVOC_CONFIG_COMMANDS.join(" "), "end", "", "function __vvoc_orchestration_cmds", " echo " + VVOC_ORCHESTRATION_COMMANDS.join(" "), "end", "", "function __vvoc_orchestration_profiles", " echo " + VVOC_ORCHESTRATION_PROFILES.join(" "), "end", "", "function __vvoc_patch_provider_cmds", " echo " + VVOC_PATCH_PROVIDER_PRESETS.join(" "), "end", "", "function __vvoc_preset_cmds", " echo " + presetCommands, "end", "", "function __vvoc_preset_names", " echo " + BUILTIN_VVOC_PRESET_NAMES.join(" "), "end", "", "function __vvoc_role_cmds", " echo " + VVOC_ROLE_COMMANDS.join(" "), "end", "", "function __vvoc_role_ids", " echo " + VVOC_ROLE_IDS.join(" "), "end", "", "function __vvoc_plugin_cmds", " echo " + VVOC_PLUGIN_COMMANDS.join(" "), "end", "", 'complete -c vvoc -f -a "(__vvoc_commands)"', 'complete -c vvoc -n "__fish_seen_subcommand_from role; and not __fish_seen_subcommand_from set unset list" -f -a "(__vvoc_role_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from role; and __fish_seen_subcommand_from set" -f -a "(__vvoc_role_ids)"', 'complete -c vvoc -n "__fish_seen_subcommand_from config" -f -a "(__vvoc_config_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from orchestration; and not __fish_seen_subcommand_from show set" -f -a "(__vvoc_orchestration_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from orchestration; and __fish_seen_subcommand_from set" -f -a "(__vvoc_orchestration_profiles)"', 'complete -c vvoc -n "__fish_seen_subcommand_from patch-provider" -f -a "(__vvoc_patch_provider_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from preset; and not __fish_seen_subcommand_from ' +
285
+ lines.push("end", "", "function __vvoc_config_cmds", " echo " + VVOC_CONFIG_COMMANDS.join(" "), "end", "", "function __vvoc_patch_provider_cmds", " echo " + VVOC_PATCH_PROVIDER_PRESETS.join(" "), "end", "", "function __vvoc_preset_cmds", " echo " + presetCommands, "end", "", "function __vvoc_preset_names", " echo " + BUILTIN_VVOC_PRESET_NAMES.join(" "), "end", "", "function __vvoc_role_cmds", " echo " + VVOC_ROLE_COMMANDS.join(" "), "end", "", "function __vvoc_role_ids", " echo " + VVOC_ROLE_IDS.join(" "), "end", "", "function __vvoc_plugin_cmds", " echo " + VVOC_PLUGIN_COMMANDS.join(" "), "end", "", 'complete -c vvoc -f -a "(__vvoc_commands)"', 'complete -c vvoc -n "__fish_seen_subcommand_from role; and not __fish_seen_subcommand_from set unset list" -f -a "(__vvoc_role_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from role; and __fish_seen_subcommand_from set" -f -a "(__vvoc_role_ids)"', 'complete -c vvoc -n "__fish_seen_subcommand_from config" -f -a "(__vvoc_config_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from patch-provider" -f -a "(__vvoc_patch_provider_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from preset; and not __fish_seen_subcommand_from ' +
312
286
  presetCommands +
313
287
  '" -f -a "(__vvoc_preset_cmds)"', 'complete -c vvoc -n "__fish_seen_subcommand_from preset; and __fish_seen_subcommand_from show" -f -a "(__vvoc_preset_names)"', 'complete -c vvoc -n "__fish_seen_subcommand_from plugin" -f -a "(__vvoc_plugin_cmds)"');
314
288
  return lines.join("\n") + "\n";
@@ -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CAAC,IAAI,CACR,KAAK,EACL,EAAE,EACF,6BAA6B,EAC7B,SAAS,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,EAC1C,KAAK,EACL,EAAE,EACF,oCAAoC,EACpC,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,GAAG,CAAC,EACjD,KAAK,EACL,EAAE,EACF,wCAAwC,EACxC,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,GAAG,CAAC,EACjD,KAAK,EACL,EAAE,EACF,qCAAqC,EACrC,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,GAAG,CAAC,EACjD,KAAK,EACL,EAAE,EACF,6BAA6B,EAC7B,SAAS,GAAG,cAAc,EAC1B,KAAK,EACL,EAAE,EACF,8BAA8B,EAC9B,SAAS,GAAG,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC,EAC/C,KAAK,EACL,EAAE,EACF,2BAA2B,EAC3B,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,EACxC,KAAK,EACL,EAAE,EACF,0BAA0B,EAC1B,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,EACnC,KAAK,EACL,EAAE,EACF,6BAA6B,EAC7B,SAAS,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,EAC1C,KAAK,EACL,EAAE,EACF,4CAA4C,EAC5C,uIAAuI,EACvI,uHAAuH,EACvH,uFAAuF,EACvF,mJAAmJ,EACnJ,8IAA8I,EAC9I,uGAAuG,EACvG,+FAA+F;QAC7F,cAAc;QACd,gCAAgC,EAClC,8HAA8H,EAC9H,uFAAuF,CACxF,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AACjC,CAAC"}
1
+ {"version":3,"file":"completion.js","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,kBAAkB;AAClB,wBAAwB;AACxB,0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ACzF,MAAM,KAAK,GAAa,CAAC,4BAA4B,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAC;IAEvF,KAAK,MAAM,GAAG,IAAI,uBAAuB,EAAE,CAAC;QAC1C,KAAK,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,IAAI,CACR,KAAK,EACL,EAAE,EACF,6BAA6B,EAC7B,SAAS,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,EAC1C,KAAK,EACL,EAAE,EACF,qCAAqC,EACrC,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,GAAG,CAAC,EACjD,KAAK,EACL,EAAE,EACF,6BAA6B,EAC7B,SAAS,GAAG,cAAc,EAC1B,KAAK,EACL,EAAE,EACF,8BAA8B,EAC9B,SAAS,GAAG,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC,EAC/C,KAAK,EACL,EAAE,EACF,2BAA2B,EAC3B,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,EACxC,KAAK,EACL,EAAE,EACF,0BAA0B,EAC1B,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,EACnC,KAAK,EACL,EAAE,EACF,6BAA6B,EAC7B,SAAS,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,EAC1C,KAAK,EACL,EAAE,EACF,4CAA4C,EAC5C,uIAAuI,EACvI,uHAAuH,EACvH,uFAAuF,EACvF,uGAAuG,EACvG,+FAA+F;QAC7F,cAAc;QACd,gCAAgC,EAClC,8HAA8H,EAC9H,uFAAuF,CACxF,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AACjC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { type ConfigWriteScope } from "../lib/config-layers.js";
2
- import { type OrchestrationProfile } from "../lib/orchestration.js";
3
2
  import { type VvocPreset, type VvocPresets } from "../lib/vvoc-config.js";
4
3
  type ListedPreset = {
5
4
  name: string;
@@ -10,11 +9,6 @@ export type AppliedPresetChange = {
10
9
  model: string;
11
10
  action: "updated" | "kept";
12
11
  };
13
- /** Result of applying the optional orchestration part of a preset. */
14
- export type AppliedPresetOrchestrationChange = {
15
- profile: OrchestrationProfile;
16
- action: "updated" | "kept" | "unchanged";
17
- };
18
12
  declare const _default: import("citty").CommandDef<{
19
13
  readonly command: {
20
14
  type: "positional";
@@ -51,6 +45,5 @@ export declare function applyPreset(presetName: string, options?: {
51
45
  name: string;
52
46
  preset: VvocPreset;
53
47
  changes: AppliedPresetChange[];
54
- orchestration: AppliedPresetOrchestrationChange;
55
48
  path: string;
56
49
  }>;
@@ -1,9 +1,9 @@
1
1
  // FILE: src/commands/preset.ts
2
2
  // VERSION: 0.5.0
3
3
  // START_MODULE_CONTRACT
4
- // PURPOSE: List, show, and atomically apply declarative role and orchestration presets from scoped vvoc.json layers.
5
- // SCOPE: Effective/global/project preset lookup, preset rendering, and conservative role plus optional orchestration writes.
6
- // DEPENDS: [citty, node:fs/promises, src/lib/config-layers.ts, src/lib/model-roles.ts, src/lib/opencode.ts, src/lib/orchestration.ts, src/lib/vvoc-config.ts]
4
+ // PURPOSE: List, show, and atomically apply declarative role presets from scoped vvoc.json layers.
5
+ // SCOPE: Effective/global/project preset lookup, preset rendering, and conservative role writes.
6
+ // DEPENDS: [citty, node:fs/promises, src/lib/config-layers.ts, src/lib/model-roles.ts, src/lib/opencode.ts, src/lib/vvoc-config.ts]
7
7
  // LINKS: [M-CLI-PRESET, M-CLI-CONFIG, M-ORCHESTRATION-PROFILES, M-CLI-COMMANDS]
8
8
  // ROLE: RUNTIME
9
9
  // MAP_MODE: EXPORTS
@@ -14,13 +14,12 @@
14
14
  // listConfiguredPresets - Returns configured presets in deterministic name order.
15
15
  // resolvePreset - Validates a preset name and returns the matching preset.
16
16
  // formatPreset - Renders a preset object as JSON for CLI output.
17
- // AppliedPresetOrchestrationChange - Reports whether a preset changed, kept, or omitted orchestration.
18
- // AppliedPresetChange - Summarizes role and orchestration changes made by one preset application.
19
- // applyPreset - Validates and atomically applies listed roles plus an optional orchestration profile.
17
+ // AppliedPresetChange - Summarizes role changes made by one preset application.
18
+ // applyPreset - Validates and atomically applies listed roles.
20
19
  // END_MODULE_MAP
21
20
  //
22
21
  // START_CHANGE_SUMMARY
23
- // LAST_CHANGE: [C-SESSION-OWNED-SETTINGS T-004 - Removed the --force/--session rebind flags; running families keep their birth settings and only explicit session-settings commands change them.]
22
+ // LAST_CHANGE: [C-REMOVE-SESSION-ORCHESTRATION-PROFILES T-002 - Preset application and reporting cover roles only; presets no longer select or report an orchestration profile.]
24
23
  // END_CHANGE_SUMMARY
25
24
  import { defineCommand } from "citty";
26
25
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -28,7 +27,6 @@ import { dirname } from "node:path";
28
27
  import { loadVvocConfigForRead, } from "../lib/config-layers.js";
29
28
  import { parseModelSelection } from "../lib/model-roles.js";
30
29
  import { resolvePaths } from "../lib/opencode.js";
31
- import { createOrchestrationConfig, parseOrchestrationProfile, } from "../lib/orchestration.js";
32
30
  import { createDefaultVvocConfig, validateVvocConfigDocument, } from "../lib/vvoc-config.js";
33
31
  const commandArg = {
34
32
  type: "positional",
@@ -94,10 +92,6 @@ export async function applyPreset(presetName, options = {}) {
94
92
  const model = parseModelSelection(normalizePresetModelSelection(rawModelSelection, `preset ${resolved.name} role ${roleId}`)).normalized;
95
93
  return { roleId, model };
96
94
  });
97
- const currentProfile = createOrchestrationConfig(config.orchestration).profile;
98
- const declaredProfile = resolved.preset.orchestration === undefined
99
- ? undefined
100
- : parseOrchestrationProfile(resolved.preset.orchestration.profile, `preset ${resolved.name} orchestration`);
101
95
  const nextRoles = { ...config.roles };
102
96
  const changes = [];
103
97
  for (const { roleId, model } of validatedRoles) {
@@ -105,20 +99,11 @@ export async function applyPreset(presetName, options = {}) {
105
99
  nextRoles[roleId] = model;
106
100
  changes.push({ roleId, model, action });
107
101
  }
108
- const orchestration = declaredProfile
109
- ? {
110
- profile: declaredProfile,
111
- action: declaredProfile === currentProfile ? "kept" : "updated",
112
- }
113
- : { profile: currentProfile, action: "unchanged" };
114
- const changed = currentText === undefined ||
115
- changes.some((change) => change.action === "updated") ||
116
- orchestration.action === "updated";
102
+ const changed = currentText === undefined || changes.some((change) => change.action === "updated");
117
103
  if (changed) {
118
104
  const nextConfig = {
119
105
  ...config,
120
106
  roles: nextRoles,
121
- ...(declaredProfile ? { orchestration: { profile: declaredProfile } } : {}),
122
107
  };
123
108
  await mkdir(dirname(paths.vvocConfigPath), { recursive: true });
124
109
  await writeFile(paths.vvocConfigPath, `${JSON.stringify(nextConfig, null, 2)}\n`, "utf8");
@@ -127,7 +112,6 @@ export async function applyPreset(presetName, options = {}) {
127
112
  name: resolved.name,
128
113
  preset: resolved.preset,
129
114
  changes,
130
- orchestration,
131
115
  path: paths.vvocConfigPath,
132
116
  };
133
117
  }
@@ -152,8 +136,7 @@ async function runPresetCommand(args) {
152
136
  for (const { name, preset } of presets) {
153
137
  const description = preset.description ? ` - ${preset.description}` : "";
154
138
  const roleCount = Object.keys(preset.agents).length;
155
- const profile = preset.orchestration?.profile ?? "unchanged";
156
- console.log(` ${name}${description} (${roleCount} role${roleCount === 1 ? "" : "s"}, profile ${profile})`);
139
+ console.log(` ${name}${description} (${roleCount} role${roleCount === 1 ? "" : "s"})`);
157
140
  }
158
141
  return;
159
142
  }
@@ -182,11 +165,9 @@ async function runPresetCommand(args) {
182
165
  for (const change of applied.changes) {
183
166
  console.log(` ${change.roleId}: ${change.action} (${change.model})`);
184
167
  }
185
- console.log(` orchestration: ${applied.orchestration.action} (${applied.orchestration.profile})`);
186
168
  console.log(`Target: ${applied.path}`);
187
- if (applied.changes.some((change) => change.action === "updated") ||
188
- applied.orchestration.action === "updated") {
189
- console.log("The config watcher applies changed roles or the orchestration profile to new sessions; running session families keep the settings they were born with until an explicit `vvoc session set` or `/vv-settings` change.");
169
+ if (applied.changes.some((change) => change.action === "updated")) {
170
+ console.log("The config watcher applies changed roles to new sessions; running session families keep the settings they were born with until an explicit `vvoc session set` or `/vv-settings` change.");
190
171
  }
191
172
  }
192
173
  async function readConfiguredPresets(options = {}) {