Skip to content

docs(specs): specs 26-29 — the local-cloud platform lane (M9) - #83

Merged
gustavobertoi merged 1 commit into
mainfrom
docs/local-cloud-specs
Jun 30, 2026
Merged

docs(specs): specs 26-29 — the local-cloud platform lane (M9)#83
gustavobertoi merged 1 commit into
mainfrom
docs/local-cloud-specs

Conversation

@gustavobertoi

Copy link
Copy Markdown
Contributor

Designs the "complete devstack = local cloud" vision you asked for — 4 specs (adversarially verified), FEATURES #18–21, and a ROADMAP M9 lane (~14w, stays 0.x). Design-only; no code.

The vision

Generalize devstack's provision-on-demand (Postgres-only today) into a two-axis model: shared engines (add LocalStack/ministack/NATS/Kafka/RabbitMQ to pg/redis/minio) + a data-plane resource layer (databases, users, buckets+lifecycle, queues, streams) created both declaratively (a resources: block at up) and imperatively (db/s3/queue/stream verbs) — same Provisioner, same lock → host-port-overlay → ledger → event flow Postgres already proves.

Specs

  • 26 — CLI completeness & README reconciliation. The README is stale (up/down/secrets/trust/dns/tunnel are shipped; only shell/logs are stubs). Lands real shell, up --rebuild/--skip-clone, tunnel up/down, a machine-wide workspace list+registry, reserved post-1.0 stubs. Ships first as v0.3.0.
  • 27 — the resource model + Provisioner family + the declarative resources: block (the recommended path) + a new up-saga phase. Free-text kind ledger (zero migrations), crypto/rand keygen, RemoveProvisioned.
  • 28 — LocalStack + ministack (ministack.org AWS-emulation image, provides: aws, interchangeable with LocalStack) + NATS (JetStream) + Kafka (Redpanda default) + RabbitMQ. Native messaging default, LocalStack opt-in.
  • 29db/s3/queue/stream/topic verbs + thin aws -- shim. db+s3 ship now on the PG/MinIO substrate; messaging gated on spec 28.

Decisions baked in (your calls)

ministack = the ministack.org image (engine, not preset) · native NATS/Redpanda default, LocalStack opt-in · declarative resources: is recommended · build spec 26 first → substrate → db/s3 ‖ engines → messaging.

The adversarial verify pass caught + fixed spec 26's first draft duplicating specs 16 (logs)/13 (--purge-data)/05 (tunnel secret-guard) — those defer to their owners.

🤖 Generated with Claude Code

Designs the "complete devstack = local cloud" vision (4 specs, adversarially
verified) + FEATURES #18-21 + a ROADMAP M9 lane (~14w, stays 0.x):

- 26 CLI completeness & README reconciliation: the README is stale (up/down/
  secrets/trust/dns/tunnel are SHIPPED, only shell/logs are stubs); land real
  shell, up --rebuild/--skip-clone, tunnel up/down, machine-wide workspace
  list + registry, reserve post-1.0 verbs. Ships first as v0.3.0.
- 27 data-plane resource layer: generalize provision-on-demand into a Resource
  model + per-engine Provisioner family (internal/resource) + a declarative
  resources: block (the recommended path) + a new up-saga phase; free-text kind
  ledger (zero migrations), crypto/rand keygen, RemoveProvisioned op.
- 28 cloud-engine templates: LocalStack + ministack (ministack.org AWS-emulation
  image, provides: aws, interchangeable with LocalStack) + NATS (JetStream) +
  Kafka (Redpanda default) + RabbitMQ. Native messaging default, LocalStack opt-in.
- 29 imperative resource commands: db/s3/queue/stream/topic + thin `aws --`
  shim, each mirroring the provision-phase lock->overlay->provisioner->ledger
  flow. db+s3 ship now on the PG/MinIO substrate; messaging gated on spec 28.

Owner decisions recorded: ministack = the ministack.org image (AWS-emulation
engine, not a preset); native NATS/Redpanda default + LocalStack opt-in;
declarative resources: is the recommended path; build spec 26 first then the
substrate + db/s3. Adversarial verify caught + fixed spec 26 duplicating specs
16 (logs)/13 (purge-data)/05 (tunnel-secret-guard).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gustavobertoi
gustavobertoi merged commit 93055bd into main Jun 30, 2026
1 check passed
@gustavobertoi
gustavobertoi deleted the docs/local-cloud-specs branch June 30, 2026 23:42
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