Start with the run record
Preserve the run identifier, correlation and request identifiers, target and network, suite-lock digest, component versions, timestamps in UTC, terminal state, finding identifiers, redaction policy, and artifact hashes. Verify the report before trusting its component attribution. Do not rerun until you know whether the operation is read-only, idempotent, or stateful. A retry can create a duplicate customer, quote, transaction, callback, or Stellar payment.Component map
The official Anchor Platform architecture remains authoritative for upstream component responsibilities.
Redacted diagnostic bundle
Collect only the smallest evidence needed to reproduce the failure:- component name, exact image digest, configuration schema version, and health state;
- UTC window, run/request/correlation identifiers, event sequence, and retry count;
- HTTP method, normalized route template, status, timing, content type, body digest, and redaction class;
- callback authentication outcome and key identifier, never the credential or signature secret;
- ledger network, latest observed ledger, transaction hash, operation summary, and data-source origin;
- browser engine/version, origin and redirect list, console category, and approved trace digest;
- report, suite lock, manifest, and artifact hashes.
Diagnostic sequence
- Verify the report signature, suite lock, and component compatibility.
- Confirm the target, network passphrase, ownership window, and execution policy.
- Reproduce with the smallest released fixture and no broader credentials.
- Trace one correlation identifier across SEP server, callback/event, business server, Platform Server, and ledger components.
- Compare the failing component with the pinned reference environment.
- Classify the outcome as finding, infrastructure error, policy block, fixture defect, or documentation defect.
- Apply one scoped correction and rerun the same immutable suite lock when inputs remain valid.
- Create a new lock when configuration, target, standard, rules, fixtures, runner, or policy changed.
- Verify the new report independently and retain the before/after relationship.
Common resolution paths
Callback authentication failure
Check clock skew, key identifier, issuer, audience, header name, token expiry, secret rotation overlap, and proxy header preservation. Use a newly generated synthetic callback. Never print the token or disable verification to continue.Duplicate or missing event
Compare event identifiers, Kafka offsets, acknowledgement timing, retry schedule, and the business-server deduplication key. A consumer must make the state update idempotent while retaining separate delivery-attempt evidence.Ledger correlation mismatch
Require the correct Stellar network, fresh data source, successful transaction, exact destination, asset, amount, and memo. Preserve decimal precision and paging cursor. Do not match by amount alone or resubmit a payment until the original hash is reconciled.Browser journey failure
Inspect the redacted trace before changing UI policy. Confirm approved origins throughout navigation, cookies and return URL, mobile viewport, locale, CSP, timeout, and terminal API state. Never capture a configured sensitive screen or reuse a browser profile.Compatibility policy
RampSpec supports only combinations named in a signed compatibility manifest. Patch updates may be accepted only when their schemas and behavior remain compatible and the regression suite passes. Minor or major Anchor Platform, backend, runner, browser, database, SEP snapshot, or schema changes require an explicit manifest entry and migration notes. Never upgrade directly from a mutable tag. Pin image digests, preserve the old deployment and database backup, verify migration direction and rollback support, and prohibit mixed component versions unless the manifest explicitly tests them.Upgrade regression checklist
Before change
- independently verify a healthy baseline report and its suite lock;
- export redacted configuration digests, image digests, database migration level, assets, callback/event contracts, and ledger endpoints;
- back up mutable data and test restoration without copying production PII into the reference environment;
- review upstream release notes, security notices, schema changes, and RampSpec migration notes;
- confirm rollback owner, maintenance window, runner compatibility, and credential rotation plan.
During change
- pull images by digest and verify signatures or attestations;
- stop new stateful runs and drain or cancel active workflows safely;
- apply migrations once and record their exact output and schema level;
- start dependencies in documented order and require all health checks;
- reject secret defaults, unexpected ports, privilege changes, or network expansion.
After change
- rerun discovery and diff TOML, endpoints, assets, headers, and capabilities;
- test valid and invalid callback authentication, event retry/deduplication, and Platform Server updates;
- run synthetic customer, quote, transfer, ledger-correlation, and browser cases selected for the enabled SEPs;
- compare every finding, skipped rule, duration, and artifact against the approved baseline;
- verify the new signed report and cleanup record independently;
- approve the new baseline only through a separate audited Maintainer action;
- rotate temporary credentials and remove the old environment after the rollback window.