Skip to content
Registry StackDocsDevelopment (unreleased)

Posture diagnostic codes

View as Markdown

A posture diagnostic reports a configuration setting that is safe only on a workstation or in a test. Its code has the form <owner>.posture.<setting>, and it names the JSON pointer of the setting. In production, check and startup report it as an error and the process refuses to start. In development, the same code is a warning: --deny-warnings does not fail on it, and the process lists it in its startup log and in the developmentSettings member of /ready.

To fix a production error, find the code below and apply its production remedy. On a laptop or in a test run, declare development instead: start the project with rstack dev, or set REGISTRY_STACK_POSTURE=development or pass --posture development. Most remedies change the runtime file. Some change something the runtime reads, such as the package, the discovery index or the identity provider’s discovery document, and the remedy says so.

This page covers the posture codes the Registry Stack products in this release declare. See Deployment posture for how a process chooses its posture.

Production refuses each of these. The Setting column names the configuration member that holds the value; match it against the pointer in the diagnostic when a code appears twice. Where names the component that reports the code.

CodeSettingConditionProduction remedyWhere
adapter.posture.payment-simulatorproviderCollections are sent to a synthetic simulatorRemove the simulator collection connection from the production configuration.registry-adapter
breg.posture.http-public-originpublicOriginThe registry publishes links with a plain HTTP originSet listener.publicOrigin to an HTTPS origin.registry-breg
breg.posture.local-key-custodyproviderThe field-encryption data key is stored in a local fileConfigure the transit provider for field encryption.registry-breg
breg.posture.placeholder-identitycanonicalBaseIriThe package uses a reserved placeholder registry identityReplace canonicalBaseIri and rebuild the package.registry-breg
breg.posture.review-http-authorization-endpointissuerThe authorization endpoint discovered from signIn.issuer is plain httpPublish an https authorization_endpoint in the issuer's discovery document.registry-breg-review
breg.posture.review-http-public-originpublicOriginThe review page's public origin is plain httpUse an https public origin.registry-breg-review
breg.posture.review-http-public-originreviewBaseUrlThe review base URL is plain httpUse an https review base URL.registry-breg-mcp
casework.posture.unrestricted-clientsallowedClientsThis issuer entry admits a token from every client the issuer signs forList the OAuth clients whose access tokens this issuer entry admits.registry-casework
discovery.posture.loopback-catalog-urlcatalogUrlThe index advertises an address on the reader's own machinePublish HTTPS URLs on non-loopback hosts.registry-discovery
evidence.posture.credential-free-sourceauthenticationA credential-free source connection provides no client authenticationBind an mtlsIdentity or configure an authenticated endpoint.registry-evidence
evidence.posture.local-assuranceassuranceProfileLocal assurance permits locally held signing keysBuild a production or evidence-grade package with a Transit signer.registry-evidence, registry-evidencectl
evidence.posture.supervised-validationvalidationModeSupervised validation permits a published loopback HTTP credential issuerUse validationMode: strict and publish an HTTPS credential issuer.registry-evidence-oid4vci
evidence.posture.unrestricted-offer-gateallowedClientsAn unrestricted offer gate admits all values vouched for by the issuerList the required clients and scopes explicitly.registry-evidence-oid4vci
platform.posture.database-private-plaintexttransportThe database connection is not encrypted and reaches a private networkWrite database.transport: verified-tls, and give the database a certificate the runtime trusts.registry-platform-config
platform.posture.generated-audit-keyhashKeyCustodyThe audit hash key was generated by a development toolProvision an audit hash key, reference it in audit.hashKeyRef, and write audit.hashKeyCustody: operator-provisioned.registry-platform-config
platform.posture.insecure-issuer-httpallowInsecureHttpPlain http is permitted to an issuer beyond loopbackDelete allowInsecureHttp and use an https issuer.registry-platform-config
platform.posture.mcp-http-published-issuerissuerThe published resource server issuer is plain httpUse an https issuer.registry-platform-config
platform.posture.mcp-http-resourceresourceThe protected resource identifier is plain httpUse an https resource identifier.registry-mcp-edge
platform.posture.session-development-loopbacktlsTerminationThe session listener admits loopback HTTP in the browser and issuer endpointsUse operator-controlled-upstream TLS termination and HTTPS endpoints.registry-session
platform.posture.test-issuertypeThe issuer's signing keys come from a test issuerWrite jwksSource: {type: discovery}, or a static or uri source for the real issuer.registry-platform-config
render.posture.local-assuranceassuranceProfileSeals use a local key file and are marked as test sealsConfigure assuranceProfile: production and sign through Transit.registry-render
render.posture.seals-not-servedsigningThe bundle declares seals, but this runtime has no signing block and renders those document types unsealedConfigure signing.seals for the bundle's seals, or deploy a bundle whose documents do not declare seals.registry-render
render.posture.shared-api-keyapiKeyRefRender accepts a shared bearer key for renderingReplace authentication.apiKeyRef with authentication.oidc and configure callers to obtain Render access tokens.registry-render

breg.posture.review-http-authorization-endpoint is detected only at startup, after the review page reads the issuer’s discovery document, so check cannot report it.

CodeSettingConditionProduction remedyWhere
documents.posture.content-verification-disabledcontentVerificationFinalized document versions are approved without content verificationConfigure an HTTP content verifier.registry-documents

These codes report a setting that production accepts because you chose it explicitly. No action is needed. Startup logs each one, and check --format json lists it under explicitProductionSettings. See Explicit production settings. platform.posture.unrestricted-clients is one of these, and is different from casework.posture.unrestricted-clients above, which production refuses.

CodeSettingConditionWhere
adapter.posture.anonymous-httpsanonymousHttpsA fixed HTTPS source is reached without an application credentialregistry-adapter-core
breg.posture.scopeless-without-subject-ruleaccessProfilesA profile admits declared-kind tokens with no scope and no row rule keyed on the subjectregistry-breg
platform.posture.client-actor-kindsclientActorKindsTokens from the named clients are treated as the declared kindsregistry-platform-config
platform.posture.compose-native-secret-mountmountPolicyThe file secret provider accepts root-owned, mode 0444 Compose mountsregistry-platform-config
platform.posture.destination-private-plaintexttransportAn outbound destination is reached without TLS, inside declared private rangesregistry-platform-config
platform.posture.issuer-actor-kindactorKindEvery token from this issuer is treated as the declared kindregistry-platform-config
platform.posture.issuer-loopback-plaintextissuerAn issuer endpoint uses plain HTTP on loopbackregistry-platform-config
platform.posture.jwt-access-tokenaccessTokenTypeThis setting admits access tokens typed JWT. ID tokens stay refusedregistry-platform-config
platform.posture.scope-claimscopeClaimThe service reads scopes from a claim other than scoperegistry-platform-config
platform.posture.unrestricted-clientsallowedClientsThis issuer entry admits a token from every client this issuer signs forregistry-platform-config

These codes are refusals about the posture itself rather than a development-only setting.

CodeMeaningRemedy
platform.posture.invalid-valueThe declared posture is empty, unknown or differently cased. It must be exactly production or development.Declare a valid posture. See Production is the default.
platform.posture.conflict--posture (or a tool’s --production alias) and REGISTRY_STACK_POSTURE declare different postures, or --posture is given more than once.Declare the posture once, or make both inputs agree. See Production is the default.
evidence.posture.assurance-profile-conflictA development process was given an Evidence package built for production assurance.Build the package with assuranceProfile: local for development, or run the package in production.
render.posture.assurance-profile-conflictA development Render process is configured with assuranceProfile: production.Write assuranceProfile: local and use a local key file, or start the deployment as production. See Render configuration.
render.posture.test-signingregistry-render test-seal ran without declaring development.Declare development for the test seal. See Use a test seal in development.