VClaw Continuous Development & Automation Blueprint
This document outlines the strategy for the Continuous, Automated, and AI-native development of VClaw. As a "controlled product fork" of OpenClaw, VClaw requires a specialized workflow that keeps the core up-to-date while automating the evolution of the business layer in the direction of a growth + operations assistant.
1. Automated Infrastructure
1.1 Git Submodule Strategy
- Upstream Sync: Weekly automated pulls from
openclaw/openclawinto/core/openclaw. - Plugin Decoupling: Business logic (VietQR, Shipping, content assistance, follow-up, etc.) is developed as independent OpenClaw plugins to avoid merge conflicts with the core.
- VClaw UI: Versioned independently, consuming core APIs via standard WebSocket/REST contracts.
1.2 Development Environment Automation
- Bootstrap Script: A single
scripts/bootstrap.mjsthat:- Installs all UI dependencies.
- Runs
pnpm installandpnpm buildin the core. - Verifies the Node.js and Go environment.
- One-Click Startup:
npm run dev:fullwill concurrently start the OpenClaw Gateway (core) and the Next.js Operations Console (UI).
2. Agentic Development Workflow (Coding via Messages)
VClaw is designed to be Agentic-first. This means the software itself helps you build it.
2.1 Workspace Awareness
OpenClaw is configured with a workspace.json that gives the internal AI agent full context of:
- The
vclaw-uicomponent library (shadcn/ui). - The
core/openclawplugin API. - The
docs/directory as the "Source of Truth" for requirements.
2.2 Continuous Coding Loop
- Instruction: You send a message via the VClaw Admin Chat (e.g., "VClaw, add a content-approval section for follow-up campaigns to the admin workspace").
- Analysis: The VClaw Dev Agent analyzes the React component and the underlying JSON schema in the Core.
- Execution: The Agent performs the multi-file edit (UI form, i18n payloads, automation policy, and backend schema).
- Verification: Automated Vitest suites run to ensure no regressions.
3. CI/CD & Deployment Automation
3.1 Automated Quality Assurance
- Lint Gating: Pre-commit hooks run
oxlintandeslintto maintain banking-grade code quality. - Agentic Testing: If a test fails, a specialized "Fixer Agent" investigates the logs and proposes a patch.
3.2 Continuous Delivery
- Vercel Integration: Automatic previews of the
vclaw-uisurface for every PR. - Native Packaging: Github Actions automated nightly builds of the
.exeand.dmg1-click installers.
4. Roadmap to Full Automation
| Stage | Focus | Automation Level |
|---|---|---|
| Foundation | Submodule & Env | Manual setup with bootstrap helpers. |
| UI & Workflow Integration | Mock to Real logic | Semi-automated (AI writes UI/workflows, human verifies). |
| Guarded Growth Automation | Content, follow-up, auto-consultation | Semi-automated (AI drafts, policy checks, human or rule approves). |
| Full Agentic | Self-Improvement | Automated at the proposal layer (Agent detects trends and proposes features), never direct-to-production. |
[!IMPORTANT]
All automated "Self-Improvement" actions, outbound drafts, follow-up automation, or guarded consultation flows must be gated by the Human-in-the-loop Task Inbox or an explicitly configured policy. AI never pushes code to production or runs sensitive automation in production without appropriate guardrails.