vgxness 1.9.0 → 1.9.2

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 (40) hide show
  1. package/README.md +8 -3
  2. package/dist/agents/agent-activation-service.js +13 -4
  3. package/dist/agents/agent-registry-service.js +8 -2
  4. package/dist/agents/agent-seed-upgrade-service.js +231 -0
  5. package/dist/agents/boot-upgrade.js +59 -0
  6. package/dist/agents/canonical-agent-manifest.js +19 -19
  7. package/dist/agents/canonical-agent-projection.js +7 -0
  8. package/dist/agents/manager-profile-overlay-service.js +14 -0
  9. package/dist/agents/renderers/claude-renderer.js +3 -1
  10. package/dist/agents/renderers/opencode-renderer.js +2 -1
  11. package/dist/agents/repositories/agent-seed-history.js +128 -0
  12. package/dist/behavior/behavior-contract-manifest.js +42 -0
  13. package/dist/behavior/behavior-contract-schema.js +1 -0
  14. package/dist/behavior/behavior-contract-validation.js +42 -0
  15. package/dist/cli/commands/mcp-dispatcher.js +7 -0
  16. package/dist/cli/dispatcher.js +2 -0
  17. package/dist/mcp/client-install-claude-code-contract.js +19 -4
  18. package/dist/mcp/client-install-claude-code.js +2 -2
  19. package/dist/mcp/control-plane-snapshot-service.js +272 -0
  20. package/dist/mcp/control-plane.js +24 -6
  21. package/dist/mcp/index.js +1 -0
  22. package/dist/mcp/provider-status.js +3 -7
  23. package/dist/mcp/schema.js +21 -2
  24. package/dist/mcp/stdio-server.js +2 -0
  25. package/dist/mcp/validation.js +50 -3
  26. package/dist/memory/sqlite/migrations/016_agent_seed_history.sql +15 -0
  27. package/dist/payload/context-budget-policy.js +17 -0
  28. package/dist/payload/context-budget-service.js +44 -0
  29. package/dist/runs/schema.js +4 -0
  30. package/dist/sdd/schema.js +12 -0
  31. package/dist/sdd/sdd-workflow-service.js +43 -2
  32. package/docs/architecture.md +8 -0
  33. package/docs/cli.md +5 -5
  34. package/docs/contributing.md +1 -1
  35. package/docs/glossary.md +1 -1
  36. package/docs/mcp.md +2 -2
  37. package/docs/project-health-audit-v1.9.1.md +126 -0
  38. package/docs/providers.md +4 -4
  39. package/docs/safety.md +1 -1
  40. package/package.json +1 -1
package/docs/providers.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  VGXNESS is provider-agnostic at the core: the registry stores provider-neutral definitions and adapters translate them into provider-specific config and runtime behavior. This document covers the two adapter layers: the **control-plane adapter** (OpenCode primary plus supported secondary Claude Code support) and the **code-runtime provider adapter** (OpenAI-compatible + fake).
4
4
 
5
- ## Status (v1.6.0)
5
+ ## Status (v1.9.1)
6
6
 
7
7
  | Provider | Control plane | Code runtime | Notes |
8
8
  |---|---|---|---|
@@ -44,7 +44,7 @@ vgxness agents render --provider json --project vgxness --name apply-agent
44
44
 
45
45
  ### Claude Code support
46
46
 
47
- Claude Code is supported as a secondary, non-default control-plane target. Read-only status, doctor, setup plan, and change-plan surfaces can inspect or preview Claude targets without Claude Code installed and without writing files.
47
+ Claude Code is supported as a secondary, non-default control-plane target. Status, doctor, setup plan, and change-plan surfaces can inspect or preview Claude targets without Claude Code installed and without writing provider config. Local VGXNESS store initialization may occur when the selected SQLite store is needed.
48
48
 
49
49
  Claude scopes are canonicalized to `local`, `project`, and `user`; VGXNESS compatibility aliases `personal` and legacy `global` map to Claude `user` with warnings. MCP registration is represented as structured config/argv, for example `claude mcp add --scope user vgxness -- vgxness mcp start`; no shell strings are generated. For user/global apply, VGXNESS narrowly merges only `mcpServers.vgxness` in `~/.claude.json`, preserves unknown keys, backs up existing files, and does not manage auth/session data. Status/doctor/change-plan are read-only and do not execute Claude Code.
50
50
 
@@ -128,13 +128,13 @@ Deterministic, offline. Used by `test/code/` and `bun run smoke:opentui-code` to
128
128
 
129
129
  Provider install and doctor flows live in `src/mcp/client-install-opencode.ts` and `src/mcp/provider-doctor.ts` and are exposed through the MCP server and the CLI:
130
130
 
131
- - `vgxness mcp install opencode --plan` — read-only plan; never writes config.
131
+ - `vgxness mcp install opencode --plan` — plan that never writes provider config; local VGXNESS store initialization may occur when the selected SQLite store is needed.
132
132
  - `vgxness mcp install opencode --yes` — explicit write path; creates a backup first.
133
133
  - `vgxness mcp doctor opencode` — JSON report of provider health.
134
134
  - `vgxness provider status` / `vgxness provider doctor` (planned CLI) — same shape through the operator surface.
135
135
  - `vgxness setup rollback --backup <path>` — restores a previous OpenCode config byte-for-byte after validation.
136
136
 
137
- Writes happen only through `apply` with explicit consent. Plans, status, doctor, change-plan, and previews are read-only by contract.
137
+ Provider config writes happen only through `apply` with explicit consent. Plans, status, doctor, change-plan, and previews do not write provider config; local VGXNESS store initialization may occur when the selected SQLite store is needed.
138
138
 
139
139
  ## Safety boundary
140
140
 
package/docs/safety.md CHANGED
@@ -132,7 +132,7 @@ Retry policy evaluation is separate from execution. `vgxness_run_resume_gate` ev
132
132
 
133
133
  ## Safety boundaries (enforced everywhere)
134
134
 
135
- - Read-only/preview commands must stay non-mutating: setup plans, MCP setup previews, OpenCode previews, workflow previews, status views, and the natural-language orchestrator preview never write provider config, call providers, or install global memory.
135
+ - Read-only/preview commands must not mutate provider config or external tool state: setup plans, MCP setup previews, OpenCode previews, workflow previews, status views, and the natural-language orchestrator preview never write provider config, call providers, or install global memory. Local VGXNESS store initialization may occur when a command needs the selected SQLite store.
136
136
  - Provider config writes (`opencode.json`, `.opencode/`, `.claude/`, `CLAUDE.md`) require explicit consent (`--yes` or an equivalent confirmed flow) plus backup/rollback behavior.
137
137
  - The control plane and the code runtime do not create or write `openspec/`. SDD artifacts are stored through the local SQLite artifact service under canonical topic keys.
138
138
  - Human acceptance is distinct from artifact presence: `vgxness_sdd_accept_artifact` records explicit human-only acceptance; saving a draft never implies acceptance.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vgxness",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "CLI and MCP control plane for guided AI-agent workflows, SDD, memory, and OpenCode setup.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {