Roadmap & Engineering TODOs
readyWhat is shipped and production-ready today across VPS, AWS, Cloudflare Workers, and Agent Trace — and what we are building next.
Source reference: TODOS.md, CHANGELOG.md, CLOUDFLARE_PARITY.md
Milestone Status Overview
| Milestone | Subsystem Focus | Status | Target |
|---|---|---|---|
| v1.0.0 | Core Engine (VPS, Cloudflare Workers, AWS Serverless, Next.js 16 Turbopack), Agent Trace, Takeover UI (:4044), Native MCP Server, CI/CD & PR Previews | SHIPPED | Production |
| v1.1.x | Autonomous Data Plane, Selective Route-Level CDN Invalidation, Deployment Dashboard | IN ACTIVE DEV | Q1 2027 |
| v1.2.x | Multi-Region VPS Clusters, Cloudflare Partial Prerendering (PPR), "use cache" | PLANNED | Q2 2027 |
1. Agent-First Infrastructure & Continuity (P0)
Transform NextDeploy into the premier execution runtime for AI coding agents (Antigravity IDE, Claude Code, Cursor, Windsurf, Kiro).
- Native Agent Trace Engine (
shared/agenttrace):- Schema models for checkpoints (
checkpoint.json), lifecycle events (events.json), and takeover briefs (takeover.md). - Automatic session detection in
nextdeploy shipand pre-flight intent logging. - Automatic failure and success event capture across VPS and Cloudflare targets.
- Schema models for checkpoints (
- CLI Takeover Suite (
cli/cmd/trace.go):-
nextdeploy takeoverandnextdeploy takeover -o(launches$EDITORon modified files). -
nextdeploy trace checkpointwith intent, agent, and model tracking. -
nextdeploy trace statusandnextdeploy trace resume --agent <name>.
-
- Embedded Web UI on Port 4044 (
shared/agenttrace/webui.go):- Embedded single-page dashboard with real-time session status, modified files diff viewer, and deployment cards.
- REST endpoints:
/api/status,/api/diff.
- Native Model Context Protocol (MCP) Server:
- Implement
nextdeploy mcpover stdio JSON-RPC 2.0 (cli/cmd/mcp.go). - Expose tools:
nextdeploy_inspect,nextdeploy_plan,nextdeploy_ship,nextdeploy_status,nextdeploy_trace,nextdeploy_takeover,nextdeploy_rollback. - Auto-scaffold MCP server configuration for Cursor, Antigravity IDE, and Claude Desktop (
nextdeploy mcp init).
- Implement
- Structured Agent Diagnostics (
--format=agent-json):- Parse Next.js 14/15/16 prerender and dynamic server usage errors into structured
{ file, line, error_code, fix_hint }envelopes. - Non-interactive automated error triage for autonomous agent loops.
- Parse Next.js 14/15/16 prerender and dynamic server usage errors into structured
- Autonomous Data Plane Binding:
- Add
nextdeploy db bind [d1 | postgres | sqlite | neon]. - Auto-provision database instances and inject encrypted connection strings without human console intervention.
- Add
2. Cloudflare Workers Target (shared/nextcompile) (P1)
Next-generation edge compilation and resource orchestration for Cloudflare Workers.
- Next.js 16 Turbopack & Webpack Parity:
- Custom
nextserverpure-Go compiler runningNextNodeServerinsideworkerd. - Build-time VFS shims and streaming HTTP bridge (
Suspense/ React 19 RSC). - Static asset offloading to Cloudflare R2 with immutable 1-year cache headers.
- Custom
- Resource Binding Declarations in YAML:
- Declarative D1 SQL, Hyperdrive connection pooling, R2 buckets, Queues, KV, and Durable Objects.
- Next.js 16 Partial Prerendering (PPR):
- Support hybrid static shell + dynamic streaming RSC on Cloudflare Workers.
- Remote Cache Handler (
"use cache"):- Implement
@next/cache-handlersspecification backed by R2 (large objects) and KV (metadata/tags).
- Implement
- Multi-Worker Micro-Routing:
- Option to split heavy background queues or isolated API routes into dedicated satellite workers.
- Automated Ephemeral PR Preview Teardown:
- Add preview cleanup command to purge old preview workers and orphaned R2 folders.
3. Bare-Metal Linux VPS & Daemon (nextdeployd) (P1)
High-performance, container-less deployment on bare-metal servers.
- Zero-Downtime Atomic Cutover:
- Dual-stage TCP listener probing and HTTP GET
/api/healthverification. - Atomic POSIX symlink replacement (
current.tmp➔current). - 5-release ring buffer with sub-second rollbacks (
nextdeploy rollback).
- Dual-stage TCP listener probing and HTTP GET
- Cumulative Static Chunk Pooling (
shared_static):- Preserves historical content-hashed JS chunks to eliminate client-side
ChunkLoadError404s.
- Preserves historical content-hashed JS chunks to eliminate client-side
- Caddy & systemd Hardening:
- Automated Let's Encrypt TLS issuance and direct NVMe byte delivery.
-
DynamicUser=yes,ProtectSystem=strict, andcgroup v2memory capping (MemoryMax=1G).
- Multi-Server VPS Clustering:
- Deploy across multiple heterogeneous VPS nodes (e.g. 3 Hetzner nodes) with rolling cutovers.
- Centralized health arbitration and traffic draining.
- Mesh Networking via WireGuard:
- Optional WireGuard tunnel between local developer machine / CI/CD and VPS daemon, eliminating the need for public SSH ports.
- Daemon Observability & Metrics:
- Add native Prometheus metrics endpoint (
http://localhost:9100/metrics) tonextdeployd. - Track CPU, memory consumption per application release, and request latency histograms.
- Add native Prometheus metrics endpoint (
4. AWS Serverless Target (P2)
Enterprise-grade serverless autoscaling on AWS.
- Lambda Standalone Packaging:
- Minimal bundle extraction (
output: standalone) keeping packages under 35MB. - Default ARM64 Graviton architecture.
- Minimal bundle extraction (
- CloudFront Edge Distribution & OAC:
- 4 edge routing cache behaviors (
/_next/static/*,/static/*,/_next/image*, default*). - Automated ACM SSL certificate issuance and DNS validation.
- 4 edge routing cache behaviors (
- Asynchronous Decoupled ISR:
- SQS revalidation queue with Dead-Letter Queue (DLQ) support and CloudFront path invalidation.
- Lambda Provisioned Concurrency Auto-Tuning:
- Optional auto-scaling schedule for provisioned concurrency during high-traffic business hours.
- Automated S3 Lifecycle Cleanup:
- S3 lifecycle rules to expire pruned release tarballs and orphaned static assets after 90 days.
- CloudFront KeyValueStore Integration:
- Sub-millisecond edge redirects and maintenance mode switches at CloudFront edge without invoking Lambda.
5. Secrets & Security Engine (shared/secrets) (P1)
- Authenticated Encryption (AEAD):
- ChaCha20-Poly1305 and AES-256-GCM authenticated encryption with Argon2id key derivation.
- Local encrypted binary vault format (
.secrets). - Key rotation (planned).
- Cloud Provider Integrations:
- Doppler dynamic secret synchronization.
- AWS Secrets Manager Lambda Extension in-memory caching.
- Cloudflare Worker encrypted secret variables.
- 1Password CLI Integration:
- Direct secret resolution from 1Password vaults (
op://vault/item/field).
- Direct secret resolution from 1Password vaults (
- Automated Secret Leak Detection:
- Pre-commit and pre-ship scanner to prevent accidental plaintexts in
nextdeploy.ymlor repo code.
- Pre-commit and pre-ship scanner to prevent accidental plaintexts in
6. Developer Experience, Tooling & Frontend Web App (P2)
- Next.js 16 Frontend Web App (
frontend/):- Next.js 16 Turbopack marketing and documentation platform with React 19 and Tailwind CSS v4.
- Custom markdown docs loader parsing 56+ comprehensive technical guides.
- CLI Developer Experience:
-
nextdeploy initinteractive wizard with automatic target detection. -
nextdeploy plan --detailed-exitcodefor CI/CD gates. -
nextdeploy generate-cifor GitHub Actions and GitLab CI. -
nextdeploy updatefor GitHub Releases binary self-updates.
-
- Interactive TUI Dashboard:
- Terminal dashboard (
nextdeploy tui) built with Bubble Tea for live server and deployment monitoring.
- Terminal dashboard (
- Webhook Notifications:
- Webhook triggers (Slack, Discord, PagerDuty, custom webhook) on deployment success, probe failure, or rollback.
- Offline Documentation Search:
- Pagefind / Algolia static search indexing integrated into
frontend/documentation.
- Pagefind / Algolia static search indexing integrated into