docs(specs): specs 26-29 — the local-cloud platform lane (M9) - #83
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 atup) and imperatively (db/s3/queue/streamverbs) — sameProvisioner, samelock → host-port-overlay → ledger → eventflow Postgres already proves.Specs
shell,up --rebuild/--skip-clone,tunnel up/down, a machine-wideworkspace list+registry, reserved post-1.0 stubs. Ships first as v0.3.0.Provisionerfamily + the declarativeresources:block (the recommended path) + a new up-saga phase. Free-textkindledger (zero migrations), crypto/rand keygen,RemoveProvisioned.provides: aws, interchangeable with LocalStack) + NATS (JetStream) + Kafka (Redpanda default) + RabbitMQ. Native messaging default, LocalStack opt-in.db/s3/queue/stream/topicverbs + thinaws --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