Skip to content
JacqOS
Get started

Cloud Troubleshooting And Security

Startup Cloud failures are explicit. Every first-user failure has a stable id, a user-facing next action, and a retryability hint. Use this page when sign-in, publish, work-view selection, chat, Activity, observation append, token issue, runtime calls, hosted effects, or replay export fails.

SymptomFirst check
Studio Cloud buttons are disabledConfirm Studio has a configured management URL. Users should not type this in the app; local development uses the production app default, JACQOS_MANAGEMENT_URL, or JACQOS_LIVE_MANAGEMENT_URL.
Sign-in email never arrivesConfirm the WorkOS-backed management plane is reachable and, for automated tests, that AgentMail can read the inbox configured by JACQOS_AUTH_TESTING_EMAIL_API_KEY.
Deployment is read-only or degradedRun jacqos cloud status --json and check lifecycle, health, active package digest, evaluator digest, and last activity.
Cloud append is rejectedCheck the selected cloud work view, write policy, package identity, hosted refresh state, and runtime token scope.
Chat or Activity looks staleCheck projection lag and whether the selected activation still matches the package/evaluator identity you expect.
Replay export does not verifyTreat the export as failed evidence until package, evaluator, and mapper-output digest drift is resolved.
ErrorWhat It MeansFix
cloud_configuration_missingStudio account actions do not have a configured WorkOS-backed management plane.Configure the app default or set JACQOS_MANAGEMENT_URL or JACQOS_LIVE_MANAGEMENT_URL; do not use the local fixture path for normal Studio auth.
agentmail_api_key_missingAn automated Studio auth run needs AgentMail but the API key env var is missing.Set JACQOS_AUTH_TESTING_EMAIL_API_KEY in the process environment. Do not print or commit the value.
management_url_missingThe code-only auth runner has no management URL.Set JACQOS_MANAGEMENT_URL or JACQOS_LIVE_MANAGEMENT_URL.
local_auth_fixture_enabledThe Studio auth path is using the local-studio-user fixture.Disable fixture auth for account actions. Fixture auth is only for explicitly enabled local test paths.
verification_email_not_receivedAgentMail or the user’s inbox did not receive the WorkOS Magic Auth email before timeout.Retry after confirming the email address, management plane, and mail delivery.
verification_email_parse_failedA new email arrived but no recognizable code was found in structured fields.Inspect provider template drift with a redacted receipt; do not log the raw email body.
verification_code_expiredThe Magic Auth code expired.Start sign-in again to receive a new code.
verification_code_rejectedWorkOS rejected the submitted code.Re-enter the newest code or start sign-in again.
management_route_missingThe Studio Magic Auth route is not deployed on the management plane.Deploy or select a management plane that includes the Studio auth routes.
workos_identity_rejectedWorkOS rejected the account or organization membership.Use an invited account or ask an organization admin to grant access.
session_persistence_failedAuth completed but Studio could not persist support-safe session metadata.Retry after checking local workspace permissions and Studio API health.
auth_state_not_authenticatedStudio did not report signed_in=true after completion.Re-run sign-in and inspect the redacted auth receipt.
secret_material_persistedA receipt or state response reported that secret material was persisted.Stop the run and treat it as a security defect.
cloud_invite_requiredThe cloud is invite-gated.Sign in with the invite code issued to your organization.
cloud_invite_invalidThe invite code was not accepted.Check the exact code or ask support for a replacement.
cloud_signups_disabledNew self-service signups are paused.Wait for support to reopen signups or use an approved organization.
cloud_device_auth_deniedThe WorkOS device authorization was denied.Run jacqos cloud login --wait again and approve the device authorization.
cloud_device_auth_expiredThe WorkOS device authorization expired before approval.Run jacqos cloud login --wait again to get a fresh code.
unauthenticated_management_requestThe management API did not receive an authenticated session.Sign in again, then retry the management action.
missing_management_route_scopeThe session is authenticated but lacks the required cloud role.Ask an organization admin or support for the needed role.
wrong_org_or_project_scopeThe session organization does not match the requested scope.Switch WorkOS organization or select the matching project.
duplicate_app_nameAn app with that name already exists in the project.Choose a distinct app name or select the existing app.
billing_handoff_not_configuredBilling handoff is not configured for the account.Continue with runtime setup or ask support to enable billing handoff.
inline_package_too_largeThe deployment package exceeds the first-user handoff limit.Remove unused assets or use a package blob handoff.
unverified_package_publishLocal verification failed before publish.Run jacqos verify, fix fixtures or invariants, then deploy again.
missing_package_blobThe deployment did not include a package blob handoff.Re-run jacqos cloud deploy.
package_digest_mismatchThe package digest does not match the verified evidence.Regenerate the verification bundle and publish the matching package.
stale_activation_package_identityStudio is trying to write through a cloud work view whose local package identity no longer matches the hosted activation.Refresh the Cloud work view or deploy and promote the package you intend to write against.
hosted_projection_staleStudio cannot prove it is writing against the current hosted observation head.Refresh the hosted projection before appending.
append_policy_deniedThe selected cloud write policy rejected the proposed observation.Fix the observation body or choose a declared policy that allows this class of hosted write.
too_many_effect_capabilitiesThe deployment declares more effect capabilities than the plan allows.Remove unused capabilities or split the app.
hosted_effect_failureA hosted effect attempt failed and produced an effect failure receipt or observation.Inspect Activity and provenance. Idempotent effects may retry; ambiguous or non-idempotent effects require explicit reconcile.
manual_reconcile_requiredAn effect outcome is ambiguous and cannot be silently retried.Record an explicit reconcile decision before expecting new semantic consequences.
deployment_quota_exceededThe organization hit the deployment quota for the current period.Wait for reset or ask support for a plan change.
runtime_token_issue_quota_exceededThe organization issued too many runtime tokens in the current period.Reuse or rotate existing tokens, or ask support for a plan change.
runtime_token_ttl_exceeds_limitThe requested token expiry is too long.Request a shorter expiry.
runtime_token_scope_limit_exceededThe token request includes too many scopes.Issue separate tokens for separate clients or operations.
management_writes_disabledSupport paused new management writes.Existing runtime activations keep serving; retry after the support window.
management_plane_unavailableThe management API is unavailable.Retry after the status page clears; already promoted runtime endpoints keep serving.
runtime_cell_unavailableThe runtime cell is unavailable.Retry when https://runtime.cloud.jacqos.io/healthz is ready.
read_only_deploymentThe deployment can be inspected and exported but cannot accept mutations.Check lifecycle state, account readiness, token scope, and support maintenance windows.
degraded_deploymentRuntime or projection health is degraded.Inspect Cloud dashboard health, last activity, lag, and degraded/error counts before appending.
no_active_evaluatorThe runtime has no promoted evaluator for that app and environment.Publish and promote a verified deployment.
missing_runtime_tokenThe runtime request had no bearer token.Include Authorization: Bearer $JACQOS_RUNTIME_TOKEN.
invalid_runtime_tokenThe token shape or signature is invalid.Issue a new scoped runtime token.
revoked_runtime_tokenThe token was revoked.Rotate to a new token and update the client.
wrong_runtime_scopeThe token does not cover the endpoint or operation.Issue a token for the correct app, environment, and scope.
runtime_observation_quota_exceededThe observation body is larger than the runtime limit.Reduce the body or move large raw content into blob storage.
runtime_export_quota_exceededThe export would exceed the runtime limit.Export a narrower lineage slice or ask support for a plan change.
empty_lineage_not_foundNo hosted observations exist for that lineage.Send an observation to the scoped runtime endpoint first.
export_digest_driftLocal replay did not match hosted evidence.Treat the export as failed evidence and inspect package, evaluator, and mapper-output identity.
replay_export_mismatchThe hosted export and clean local replay disagree on facts, intents, effects, provenance, or semantic digests.Do not trust the export as proof until the mismatch is explained and replayed cleanly.
idempotency_conflictA retry reused an idempotency key with a different body.Reuse the original body or choose a new idempotency key.
  • WorkOS authenticates users and organization membership.
  • Studio account actions use a configured WorkOS-backed management plane. Normal sign-in, account choice, and account creation must not fall back to the local-studio-user fixture.
  • Management mutations require bearer authorization. Cookie-only mutation requests are rejected before provider calls.
  • The management API stores projects, deployments, lifecycle receipts, token metadata, support-safe audit records, account readiness, billing summaries, and Cell Control receipts.
  • Runtime tokens are returned once, stored as digests, scoped by app and environment, and revocable.
  • Runtime cells keep observations, facts, intents, effects, provenance, and exports cell-local.
  • Cloud append requires explicit user acknowledgement in Studio, a declared write policy, current hosted refresh, and matching package identity.
  • Support surfaces redact payloads, observations, atoms, facts, intents, effects, bearer values, runtime tokens, sealed device codes, passwords, private keys, auth email bodies, AgentMail keys, and secret-like fields.
  • Billing and offboarding records are support-visible metadata only. Runtime token revocation and activation rollback remain explicit actions.
  • Provider API keys, database passwords, Railway tokens, Hetzner tokens, and operator ingress tokens are never part of the first-user flow.
  1. Run jacqos cloud readiness --json or jacqos cloud status --json to confirm whether the failure is account, deployment, activation, token, runtime, append, or replay scoped.
  2. Fix the first failure id in the table above. Later failures often clear once the first scope issue is corrected.
  3. Re-run the narrowest command that failed. Do not republish a package when only a runtime token, append, or export command failed.
  4. When Activity reports hosted effect failure, distinguish safe idempotent retry from manual reconcile before expecting new observations.
  5. When replay export reports digest drift, treat the export as failed evidence and inspect package, evaluator, and mapper-output identity before trusting the hosted state.