RampSpec uses one modular backend release with separately runnable applications and worker pools. Separation limits privilege and permits independent scaling; it does not create more repositories or allow components to bypass the API, workflow, policy, evidence, or tenant contracts.
No backend image, Helm chart, infrastructure module, migration bundle, or deployment release exists. Names, topology, and examples are Planned and must not be used as production manifests.

Environments

Use separate cloud accounts/projects where practical and always separate identity providers/clients, service/workload identities, databases, Temporal namespaces, Redis clusters/key prefixes, buckets, KMS/secrets, runner clusters/pools, DNS hosts/certificates, GitHub Apps/webhook secrets, Stellar fixture accounts, evidence deployments/attestors, telemetry destinations, and encryption contexts for staging and production. No credential or object is promoted between environments. Release artifacts are promoted by immutable digest after verification. Database migrations move forward under a reviewed path; data does not.

Topology

Public ingress terminates at the edge and routes only frontend, /v1 API, callback, runner-gateway, and integration webhook endpoints to their dedicated listeners. PostgreSQL, Redis, Temporal, KMS, secret manager, object origin, telemetry stores, and runner control surfaces are never public.

Worker pools

Queues include environment, tenant, task type, release/compatibility line, and priority. Scaling never allows one pool to consume another pool’s task or workload identity. Unknown task/schema versions are rejected or routed to a compatible worker; they are not guessed.

Runner namespace

Run public jobs in a dedicated cluster or strongly isolated namespace with admission policy, signed image digest allowlist, non-root user, read-only root filesystem, dropped capabilities, no privilege/host network/path/socket, per-job service identity/storage, resource/deadline quotas, default-deny ingress/egress, controlled DNS, and destination-aware egress gateway. Control-plane services do not run in the runner namespace. Runner nodes and identities cannot reach PostgreSQL, Redis, Temporal administration, KMS, secret manager, object-store administration, cluster API, or another job. Local runners connect outbound through the gateway and retain local secrets.

PostgreSQL

Use private connectivity, TLS, workload identity or rotated secret, least-privilege roles for API/workers/migration/backup, encryption, high availability, point-in-time recovery, query/connection/time limits, migration lock, and tenant-aware access. Migration identity is not used by runtime pods. Startup checks supported schema range and refuses incompatible old/new versions.

Temporal

Use a dedicated namespace per environment, mutual TLS identity, encrypted connection, retention sized to supported workflow/report history, versioned task queues, worker build compatibility, search-attribute privacy limits, and restricted administration. Workflow code remains deterministic; external calls occur in bounded idempotent activities.

Redis

Redis holds only bounded transient state such as rate limits, idempotency windows, caches, and stream cursors. Use private TLS/auth, environment/tenant/scope key prefixes, maximum TTL/memory/eviction policy, command restrictions, and no secrets or authoritative reports. Redis loss can reduce availability but cannot change durable report/run truth.

Object storage

Separate buckets or access points by environment and class. Enforce TLS, block public access by default, versioning/object-lock option, KMS envelope encryption, content digests, object ownership, lifecycle/retention/legal hold, size/type limits, malware/prohibited-data scanning, access logs, and cross-region replication for required evidence. Workers receive object-specific short-lived operations.

KMS and secrets

Separate report-signing, envelope, webhook/App, runner, evidence-attestor, and contract-admin purposes. Policies bind environment, service identity, operation, key/version, algorithm, context, and rate. Secret values enter through write-only provider paths and are never rendered as configuration diagnostics. Startup receives secret references or mounted provider handles. It must not resolve unused secrets. Rotation status, not values, is observable. Missing, wrong-purpose, disabled, cross-environment, or unauthorized keys stop the affected component.

DNS, TLS, and public hosts

Use distinct reviewed hosts for app, API, docs, target callbacks, GitHub/incoming webhooks, local-runner gateway, public evidence, and status page. Pin ownership, DNS provider/project, TLS issuer, certificate/renewal owner, CAA and HTTP Strict Transport Security policy, WAF/origin routing, health checks, cache behavior, and incident failover. Callbacks/webhooks use dedicated origins and exact paths; they do not share broad browser session cookies. The status page remains independently reachable during control-plane outages. Private service discovery never resolves through a public target-controlled domain.

Configuration loading

Configuration precedence is deterministic: release defaults, mounted non-secret configuration, secret-provider references/handles, then narrowly documented process overrides for local/CI only. Production does not use committed .env files or ad hoc shell values. At startup, validate exact schema/version, required/unknown/conflicting/deprecated fields, types/ranges, HTTPS origins, network/passphrase pairs, host uniqueness, environment consistency, object/KMS/identity ownership, worker/task compatibility, size/time/rate bounds, feature gates, and release manifest. Emit only field names and safe error codes. Any security-significant mismatch fails closed before readiness. The stored planned configuration fixture contains all groups and placeholders, never credentials. The backend release must provide the authoritative schema, generated reference, and validation command.

Configuration groups

Frontend public configuration uses an explicit build/runtime public prefix and includes only API/docs origins, named Stellar network/read-only endpoints, and verified evidence contract ID if released. Service tokens, unrestricted RPC credentials, signer keys, and secret-provider references never use the public prefix.

Startup and readiness

Startup validation proves configuration shape and static ownership. Readiness additionally checks compatible database schema, Temporal namespace/task queue, Redis safe operation, object/KMS purpose access, OIDC discovery pins, runner image policy, Stellar network/passphrase and endpoint identity, evidence code hash, integration key metadata, and telemetry privacy filter. Use bounded dependency checks without mutating production state. Readiness fails for required dependencies; optional feature dependencies disable only that feature visibly. Liveness proves the process can serve, not that dependencies are healthy. Avoid restart storms on external outages.

Deployment sequence

  1. verify signed images/packages/manifests/SBOM/provenance by immutable digest;
  2. provision environment-isolated network, identities, stores, keys, DNS/TLS, telemetry, and runner boundary from reviewed code;
  3. back up and run compatible database migrations with rollback/forward decision;
  4. deploy compatible Temporal workers before/API according to workflow versioning policy;
  5. deploy API/scheduler/gateway and specialized workers with zero broad shared credentials;
  6. run startup/readiness, migration, tenant, network, redaction, signing, and synthetic dependency checks;
  7. canary synthetic read-only then stateful testnet journey, report verification, and cleanup;
  8. promote traffic gradually, watch objectives/queues/errors, then record release evidence;
  9. leave pubnet submission and Soroban publication disabled until separate approvals.
Rollback reuses verified prior artifacts only when database/workflow/schema writes remain compatible. Otherwise stop traffic/risky work and forward-fix. Never roll back configuration without reconciling keys, migrations, queued workflows, and evidence.

Release gate

The owning backend release must schema-validate placeholder configurations for all environments, reject secret literals/unknown/conflicting/cross-environment/network-passphrase settings, deploy the complete staging topology, prove private boundaries and worker identities, validate DNS/TLS/WAF, run migrations and a synthetic SEP-1 report, and produce secret-free configuration inventory. Those operational checks remain unavailable in this docs-only repository.