Skip to content

feat(vdd): bootstrap_host one-call provisioning + VDD chain (V-001→TK-006) - #8

Merged
simonmak-ascent merged 2 commits into
mainfrom
feat/vdd-bootstrap-bare-host
Oct 2, 2026
Merged

simonmak-ascent merged 2 commits into
mainfrom
feat/vdd-bootstrap-bare-host

Conversation

@simonmak-ascent

Copy link
Copy Markdown
Owner

Summary

Adds bootstrap_host — a single MCP tool that provisions a bare Linux target (local or SSH) into a VDD-configured OpenCode workstation — plus the full VDD Phase 0–8 artifact chain.

  • Platform scan (kernel up): platform.ts parses /etc/os-release, maps distro→manager (apt/dnf/yum/apk/pacman/zypper), builds a dry-run upgrade plan (upgrade:true to execute, root-gated).
  • Latest-stable OpenCode + version pin: installs via the official channel and records opencode --version; opencodeVersion override.
  • VDD config apply + verify: reuses the existing clone engine; env template stays names-only.
  • help parameter: documents all parameters without touching the target.
  • Governance: reconciled MCP counts (19/29 → 35 configured, 33 enabled) in README/AGENTS; CI now asserts docs match opencode.json; changelog entry.

VDD traceability

V-001 → S-002 → T-003 → SP-004 → PL-005 → TK-006; gates G1–G7 PASS; vdd/impact-report.generated.md.

Test plan

  • pnpm typecheck — clean
  • pnpm test — 44/44 (20 new platform.test.ts + bootstrap_host help)
  • pnpm build — ok
  • secret scan clean

🤖 Generated with opencode

…1→TK-006)

- VDD Phase 0–8 artifacts: constitution, vision, strategy, tactics, spec/plan/tasks, contract, gates G1–G7, impact report
- bootstrap_host MCP tool: kernel-up platform scan + dry-run upgrade plan, latest-stable OpenCode install with version pin, apply + verify, target-free help parameter
- platform.ts pure module (os-release parse, distro→manager mapping, upgrade plan) + 20 unit tests
- reconcile MCP counts (19/29 -> 35 configured, 33 enabled) + CI drift assertion
- verified on compute box: typecheck clean, 44/44 tests, build ok
@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
opencode-workbench Ready Ready Preview Oct 2, 2026 5:43pm UTC

);
}

const applyResult = await apply(target, options);

@vercel vercel Bot Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unquoted interpolation of options.opencodeVersion into a target shell command allows arbitrary command execution on the target host.

Fix on Vercel

…re-host

# Conflicts:
#	README.md
#	docs/CHANGELOG_WORKBENCH.md
#	mcp-server/README.md
#	mcp-server/src/tools.ts
@simonmak-ascent
simonmak-ascent merged commit b75f109 into main Oct 2, 2026
6 of 7 checks passed
@simonmak-ascent
simonmak-ascent deleted the feat/vdd-bootstrap-bare-host branch October 2, 2026 17:43

This branch was successfully deployed

1 active deployment
Preview — acae2e20 Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant