The Three Pillars of Deployment Integrity

Before a bot can move from simulation review toward live activation, BitThor checks the configuration fingerprint, activation-token window, and live market connection. Use this guide to translate the three most common deployment blockers into plain-language recovery steps.

HASH_MISMATCH

Configuration Hash Check

Plain language: Your bot's saved settings no longer match the Blueprint or simulation snapshot being used for deployment review.

Why it happens: A setting, indicator, symbol, or risk control was changed after the historical configuration was recorded.

  1. Open the Bot Drift Comparison View and review the highlighted parameter differences.
  2. Choose whether the live bot or the Blueprint snapshot is the correct process record.
  3. Save the intended settings and rerun simulation before attempting deployment again.
TOKEN_EXPIRED

Activation Token Check

Plain language: The temporary deployment key is no longer valid for the current bot and session.

Why it happens: The 5-minute activation window elapsed, the workflow was reopened, or the session context changed before final activation.

  1. Return to the deployment walkthrough for the same bot and session.
  2. Run the validation steps in one continuous pass so BitThor can issue a fresh token.
  3. Complete activation before leaving the walkthrough or allowing the token window to expire.
CONNECTION_ERROR

Market Connection Health Check

Plain language: BitThor could not confirm that the live market connection was ready at the moment deployment was checked.

Why it happens: The exchange, local network, analyzer startup state, or rate-limit window was temporarily unavailable.

  1. Wait briefly and verify your local network and exchange access.
  2. Retry the live market health check without changing bot parameters.
  3. If the issue repeats, capture the failure time and error code for support review.
HASH_MISMATCH

Saved Blueprint hash no longer matches the live bot configuration

Root Cause

The hash generated from your current bot parameters no longer matches the hash from the configuration snapshot you previously validated.

Why It Matters

This control blocks deployment when runtime settings drift from the validated snapshot. It protects process integrity, not trading outcomes.

User Actions
  1. Reload the bot and confirm you are viewing the latest saved settings.
  2. Compare symbol, indicators, and risk controls with the intended deployment state.
  3. Run a new simulation so BitThor records a fresh validated hash.
Agent Actions
  1. Confirm the reported hash mismatch timestamp against deployment logs for the same bot/session pair.
  2. Verify whether configuration edits were saved after the last successful simulation.
  3. Direct the user to rerun simulation and re-enter finalization from the updated summary.
Canonical KB References
CREDENTIAL_MISMATCH

Deployment credentials or configuration fingerprint do not match the validated session

Root Cause

The deployment request references credentials or bot context that differ from the session and configuration verified during finalization.

Why It Matters

BitThor blocks this request to avoid activating a bot when validated identity and runtime identity cannot be confirmed end to end.

User Actions
  1. Confirm you are deploying from the same bot and session that produced the latest successful simulation summary.
  2. Re-open Deployment Readiness so BitThor can issue aligned deployment credentials for the active session.
  3. If mismatch persists, rerun simulation and save a fresh Blueprint Draft before retrying.
Agent Actions
  1. Verify botId/sessionId pairing in logs for the failed request and prior successful validation event.
  2. Check for stale browser context or parallel tabs that may reference an older session.
  3. Escalate with request/response correlation IDs if mismatch repeats after a clean revalidation.
Canonical KB References
CONNECTION_ERROR

Live analyzer connection could not be confirmed at deployment time

Root Cause

BitThor could not verify that the live analyzer and exchange connectivity path were healthy when finalization ran.

Why It Matters

Deploying without a confirmed connection can leave activation state ahead of market-readiness telemetry.

User Actions
  1. Wait briefly, then rerun finalization so BitThor can re-check analyzer health.
  2. Verify your local network and exchange API status before retrying deployment.
  3. If retries keep failing, capture the failure time and code for support.
Agent Actions
  1. Inspect analyzer connectivity logs near the failure timestamp for disconnected or startup states.
  2. Confirm exchange connectivity health and recent API error bursts.
  3. Provide the user with retry timing guidance or open an incident if failures persist across accounts.
Canonical KB References
TOKEN_EXPIRED / HEALTH_CHECK_TOKEN_INVALID

The activation token window is no longer valid

Root Cause

The server-issued activation token expired or failed validation for the current bot/session pair.

Why It Matters

Tokens are intentionally short-lived (5 minutes) so activation only occurs after a fresh and recent validation pass.

User Actions
  1. Restart finalization to issue a fresh activation token for the current bot/session pair.
  2. Complete all finalization steps in one continuous pass without leaving the workflow.
  3. Submit activation before the new token window expires.
Agent Actions
  1. Confirm token issuance and expiry timestamps from deployment logs for the impacted session.
  2. Validate whether rate-limited retries or long user dwell time caused window expiration.
  3. If token invalidation is unexpected, escalate with token lifecycle logs and correlation IDs.
Canonical KB References
DATA_INTEGRITY_EXCEPTION

Required historical or audit data failed integrity checks

Root Cause

BitThor detected missing, malformed, or inconsistent records in the historical/audit data required for validation.

Why It Matters

Integrity checks prevent deployments based on incomplete or inconsistent audit evidence.

User Actions
  1. Refresh the workflow and rerun validation using a clean data read.
  2. If data was imported, verify complete OHLCV values and record shape before retrying.
  3. If it repeats, restart BitThor and rerun simulation before reattempting deployment.
Agent Actions
  1. Review ingestion and validation logs for malformed row, audit persistence, or schema-read errors.
  2. Confirm whether the issue is isolated to one bot/session or impacting multiple users.
  3. Route to engineering with sample payload/log excerpts when repeated integrity failures are confirmed.
Canonical KB References

Auditable Control Model

BitThor logs each gate decision so users and support agents can confirm which control passed, failed, or timed out before activation.

  • Think of it like an aircraft pre-flight checklist: each completed control reduces process error but does not control market conditions.
  • Think of it like a chain-of-custody log: every gate handoff is recorded so triage can reproduce exactly what happened.

This control history improves troubleshooting clarity and operational accountability. It is not a prediction engine and must never be interpreted as a profit forecast.

Activation Token Lifecycle Guide

Understand the 5-minute activation token window, the difference between TOKEN_EXPIRED and CREDENTIAL_MISMATCH, and the exact steps to resolve each.

Read the Token Lifecycle Guide