Skip to content

docs: remote management API + control-plane HA proposals (issue #1)#18

Open
nechodom wants to merge 1 commit into
mainfrom
docs/api-and-ha-proposals
Open

docs: remote management API + control-plane HA proposals (issue #1)#18
nechodom wants to merge 1 commit into
mainfrom
docs/api-and-ha-proposals

Conversation

@nechodom

Copy link
Copy Markdown
Owner

Design proposals responding to @LaAlexita's follow-up on issue #1 (remote-management API + high-availability option). No code — two grounded specs to plan from.

  • remote-management-api-design.md — a /api/v1 HTTP/JSON edge over the existing typed RPC (~195 methods), authed by capability-scoped API keys that reuse the RBAC CapSet (so the per-mutation gates hardened in the security audit apply unchanged), with background-job polling + audit. Phased; Phase 1 = keys UI + core hosting lifecycle. (Phase-1 build follows in a separate PR.)
  • ha-control-plane-design.md — reframes HA as control-plane (hosted sites already survive a master outage — nginx/PHP run on the workers), recommends warm-standby + Litestream→S3 replication + master-identity reuse (cert-pinning), with Postgres active-active as the end-state.

Both end with open questions for you.

🤖 Generated with Claude Code

Response to issue #1 follow-up (@LaAlexita) asking for a remote-management API
and a high-availability option. Two grounded design docs:

- remote-management-api: /api/v1 HTTP/JSON over the existing typed RPC, authed by
  capability-scoped API keys (reuses the RBAC CapSet + per-mutation gates +
  background-job model + audit chain). Phased; Phase 1 = keys + core hosting
  lifecycle.
- ha-control-plane: reframes HA as control-plane (hosted sites already survive a
  master outage), recommends warm-standby + Litestream->S3 replication + master-
  identity reuse (cert-pinning), with Postgres active-active as the end-state.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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