Protocol and deployment notes · Architecture
Atlas policy-bounded extension fabric v1
Atlas extensions run as separate workloads. They are not Java plug-ins, shared libraries, or code loaded into the gateway. The v1 contract is JSON over HTTPS, so an adapter can be implemented in any language that can perform TLS 1.3 mTLS and ECDSA P-384 signing.
Authority model
A publisher signature proves who produced an immutable manifest; it does not admit the release. Atlas separately requires the manifest's capabilities, operations, egress, resource limits, validity, SPIFFE trust domain, server SPKI, and result key to be a subset of the local deployment policy.
The runtime then enforces four bindings:
- Atlas connects only to the exact HTTPS host in the admitted manifest, with no proxy or redirect, a client SVID, TLS 1.3, the exact server SPIFFE URI, and the pinned release SPKI.
- Atlas selects the operation and capability. The adapter cannot request a broader input or choose a different authority.
- The adapter signs a short-lived result bound to the manifest, invocation, operation, capability, input digest, output digest, and release key.
- Atlas consumes the result identifier atomically. Replay, mutation, stale
output, unknown fields, oversized output, and every authorization effect
other than
NO_AUTHORIZATION_EFFECTfail closed.
An extension may return evidence, a transformation, or a proposed lifecycle change. Atlas's native policy, directory, governance, and session authorities remain responsible for every decision and mutation.
Public artifacts
- Manifest schema:
api/extension/v1/manifest.schema.json - Invocation schema:
api/extension/v1/invocation.schema.json - Result schema:
api/extension/v1/result.schema.json - Go SDK: Atlas service
- JavaScript SDK:
sdk/javascript/atlas-extension(Node.js 20+, zero runtime dependencies) - Python SDK:
sdk/python/atlas-extension(Python 3.9+, zero third-party runtime dependencies; local OpenSSL P-384 boundary) - CLI: Atlas service
- Reference server: Atlas service
- Signed example:
examples/extensions/evidence-adapter/manifest.json - Deployment policy:
config/extension-fabric-policy.json
The standard Atlas interface exposes the same contract and side-effect-free preflight at Applications → Marketplace → Extension SDK. API clients use:
GET /api/v1/applications/connectors/extensions
POST /api/v1/applications/connectors/extensions/conformance
CLI workflow
atlas-extension-sdk capabilities
atlas-extension-sdk public-key --private-key publisher.pem
atlas-extension-sdk sign \
--manifest manifest.unsigned.json \
--private-key publisher.pem \
--output manifest.json
atlas-extension-sdk conformance \
--manifest manifest.json \
--policy deployment-policy.json
The signing command refuses to overwrite an existing output. Production publisher keys should be held by an approved HSM or signing service; the file option exists for offline development and controlled packaging.
Adapter SDKs must validate the exact raw bytes of the nested invocation
input, not a parsed and re-serialized approximation. Whitespace and escaping
are part of the invocation digest. The retained Go → JavaScript → Go
cross-language vector proves that input and output byte binding, Go-compatible
JSON escaping, P-384 signature verification, mutation rejection, and one-time
replay consumption remain interoperable.
Egress enforcement
The manifest uses exact HTTPS origins and methods—never wildcards. Admission
rejects anything outside the local policy. The workload must also be launched
under a network sandbox generated or reviewed from that admitted set. The
included no-egress Kubernetes policy shows the strongest case. Deployments that
allow external origins should route the extension through an approved egress
proxy or an enforcement layer with FQDN and DNS-rebinding controls; a plain
Kubernetes NetworkPolicy cannot express an HTTPS origin by itself.
Conformance proves admission and message-boundary behavior. It does not claim that an uninspected cluster, firewall, HSM, or PKI is configured correctly.