Data boundary
The following values stay inside the local environment:- resolved target credentials, API keys, bearer tokens, cookies, and sessions;
- Stellar secret seeds, hardware-key handles, and signing authorization data;
- complete SEP-9 and SEP-12 fixture fields and uploaded document bytes;
- private target origins, internal addresses, provider endpoints, and full financial destinations;
- raw HTTP bodies, browser profiles, traces from sensitive steps, memory, and process state;
- encryption keys for local recovery data and organization-private artifacts.
Provider roles
Keep four interfaces distinct:
One implementation can back several interfaces, but authorization and audit remain separate. A generic secret read must not imply transaction signing, and signing authority must not imply decryption or artifact access.
Secret-provider contract
A scenario supplies asecret-ref, never a value or provider path. The suite lock resolves it to metadata containing organization, project, target, provider instance, purpose, permitted action and input, network, expiry, rotation state, and an opaque external-key fingerprint.
The runner asks the local adapter to resolve the handle for one job, step, and typed purpose. The adapter must:
- authenticate the runner workload locally;
- validate organization, project, target, runner, job, action, input, network, and expiry;
- map the opaque reference to a provider path without accepting caller path fragments;
- request only the required field and version;
- return it through protected process memory with sensitivity metadata;
- register the value and safe encodings with the redactor before use;
- expire or revoke any dynamic credential after the step or job;
- emit a value-free audit result.
Handle lifecycle
Create a reference by recording metadata and a proof that the local provider mapping exists; do not send the mapped path or value to the control plane when policy marks it private. Rotation creates a new external version under the same logical purpose, validates it with a non-destructive check, moves the reference’s active-version metadata, drains old users, and revokes the old version. Deletion disables future resolution first, waits for active leases to finish or be cancelled, revokes dynamic credentials, removes the provider mapping according to local policy, and retains only required audit metadata. A deleted reference cannot be recreated with the same immutable identifier. Access events record actor or workload, reference fingerprint, purpose, action, target, outcome, provider response class, issue and expiry times, and rotation version. They exclude value, provider token, full provider path, response body, and sensitive target details.Vault-backed reference pattern
Use a dedicated Vault namespace or equivalent administrative boundary for RampSpec test credentials. The runner authenticates from its local workload identity to a narrowly scoped role. That role can reach only approved test paths or dynamic-credential roles and cannot enumerate unrelated mounts, change policy, read root material, or create longer-lived child credentials. The planned adapter configuration contains references, not credentials:Vault policy review
The local administrator must review the effective policy and prove:- authentication is bound to the intended runner identity and environment;
- capabilities are limited to the exact test paths, versions, and lease operations;
- no wildcard crosses organizations, projects, targets, networks, or purposes;
- response wrapping or an equivalent single-consumer channel is used when available;
- audit logging is enabled and protected from the runner service account;
- server certificates and trusted authorities are pinned by local policy;
- token and secret leases have bounded lifetime and reliable revocation;
- backup, recovery, seal, and administrative roles remain outside the runner.
Local signing
Signing providers expose typed operations, not private-key reads. A Stellar signing request contains network passphrase, source account, sequence, time bounds, fee, operation count and types, destinations, assets and issuers, amounts, memos, Soroban contract and method when relevant, authorization entries, scenario and step IDs, maximum policy, and canonical intent digest. The runner constructs or receives the candidate envelope, parses it independently, simulates when required, compares every field with the suite lock and latest target instructions, and asks the signer to authorize that exact digest. The provider repeats its own policy checks before signing. The result includes public-key fingerprint, signature or signed-envelope digest, provider operation ID, policy decision, and time. It excludes the private key and internal authorization factors. A signature cannot be reused across network passphrases, modified envelopes, later sequence numbers, another target, or a different step. For hardware or remote local signers, mutually authenticate the provider connection and bind it to the runner host or workload. Operator approval, when configured, displays the full human-readable intent and expires. Blind-sign and arbitrary-byte operations are forbidden for value-moving actions. Pubnet signing remains unavailable unless a released organization policy explicitly enables reviewed accounts, assets, issuers, destinations, methods, operation and run caps, daily limits, simulation, approval, and kill switch. Losing control-plane connectivity never grants offline pubnet authority.Classification before capture
Every input, output, header, cookie, query field, form field, file, screenshot, trace, ledger value, provider value, and derived value has a data class before an action executes:
Unclassified data defaults to Sensitive, and an unknown schema defaults to deny. Classification comes from schema fields, action definitions, content inspection, target policy, and source context; a server-provided label cannot downgrade it.
Local redaction pipeline
Redaction occurs before application logs, workflow events, crash reports, browser artifacts, local evidence files, or upload. Structured parsing takes precedence over text replacement:- enforce input and response size and media-type limits;
- parse with duplicate-key and depth protection;
- apply schema field classifications and allowlisted extraction;
- remove authorization, cookies, secret references, identity fields, financial destinations, and private origins;
- replace approved identifiers with stable run-scoped fingerprints;
- scan free text and binary metadata for known secret variants and prohibited data;
- canonicalize the sanitized artifact and compute its digest;
- validate the result against the evidence schema and upload manifest;
- record redaction-policy version, transformations, and outcome.
Local logs and diagnostics
Use structured, allowlisted logs with event IDs, component and release, job and step fingerprints, state, duration, result class, and non-sensitive error code. Do not log request or response bodies, environment dumps, command lines with provider inputs, stack variables, target query strings, customer fields, full private origins, tokens, or secret paths. Debug mode changes verbosity only for allowlisted metadata and expires automatically. Support bundles are generated through a dedicated sanitizer, show their file inventory and digests to the operator, and require approval before transfer. A process memory dump is never a support artifact.Encrypted artifact upload
The control plane sends a signed upload manifest listing allowed artifact IDs, schemas, data classes, sizes, retention, and recipient key references. The runner redacts first, creates a random data key locally, encrypts each protected artifact with authenticated encryption and bound metadata, wraps the data key to the approved recipient key, and uploads through a one-job write-only channel. Bound metadata includes organization, project, run, artifact ID, schema, release, redaction profile, plaintext digest, ciphertext digest, size, and retention class. The storage service cannot accept an unlisted key, overwrite, read, list, or extend retention with the upload credential. Public or internal structured results may be uploaded in plaintext only when the evidence profile explicitly permits it and transport remains encrypted. Secret and Prohibited classes are never uploaded. Sensitive raw artifacts may be encrypted to an organization-controlled key so the platform can retain ciphertext and metadata without decrypting content. On receipt, verify ciphertext digest and manifest binding before acknowledgement. The runner retains encrypted retry state until acknowledgement or a bounded deadline, then records deletion or a recovery reference. Upload URLs and workload credentials are secret and never appear in artifacts.Air-gapped execution model
Air-gapped mode transfers signed immutable bundles through an operator-controlled medium. It does not create a hidden network tunnel or general offline authorization.Prepare an offline job bundle
On a connected trusted workstation, select compatible release artifacts and an already authorized target profile. Export a bundle containing:- format version, unique job ID, organization and project IDs;
- target, network, scenario, suite lock, rule packs, schemas, catalogs, and release manifest;
- runner compatibility and required capabilities;
- effective policy, value/fee/duration caps, and artifact manifest;
- allowed local provider-reference fingerprints, never resolved values;
- issue time, expiry, single-use nonce, issuer, recipient runner identity;
- digest inventory and control-plane signature.
Import inside the gap
Move the bundle using approved media with malware scanning and chain-of-custody records. The offline runner verifies outer encryption, issuer signature, full digest inventory, recipient identity, expiry, nonce reuse, release compatibility, schemas, catalogs, local policy, target binding, required providers, limits, and available cleanup capacity before showing the exact plan for operator approval. Import is atomic and append-only. A rejected or expired bundle cannot be edited locally into validity. The runner records used nonces in durable protected storage so restoring a snapshot cannot silently replay a value-moving job.Execute and export evidence
The job uses only approved local targets, Stellar services, providers, and fixture systems reachable inside the environment. If a required external dependency is unavailable, the affected assertion is skipped or indeterminate according to the lock; it is not replaced with unpinned data. After execution and cleanup, create an offline evidence bundle containing canonical redacted report, suite lock and release manifest, approved evidence, artifact digest inventory, local runner and provider fingerprints, policy and redaction versions, timestamps, terminal state, cleanup proof, and unresolved recovery references. Sign it with the registered runner evidence key and encrypt it to named import recipients. Raw secrets and prohibited data remain excluded. Organization-private raw evidence can be placed in a separately encrypted local archive whose digest appears in the report without transferring the archive.Import to the control plane
On a connected trusted workstation, scan the medium, verify encryption recipient, runner identity and revocation-at-execution status, signatures, canonical report hash, artifact digests, job ID and nonce, release compatibility, target authorization, execution window, policy, and cleanup result. Reject duplicates, partial bundles, modified manifests, unknown keys, expired jobs, and evidence from a different runner. The import creates a new audit event and marks the report as offline-runner evidence. It does not claim the control plane observed live execution. Any Soroban commitment is a later, separately authorized action over the verified canonical report hash.Offline identity and time
An offline runner has a distinct evidence-signing identity with bounded validity and published rotation history. It does not reuse the online mutual-TLS private key for bundle signing. The control plane records permitted offline window, capability and target bindings, and revocation status before export. Use a protected synchronized clock and record source, offset estimate, and monotonic execution durations. If wall-clock trust is outside policy, do not execute time-sensitive tokens, quotes, certificates, or value-moving cases. Import exposes the time-confidence result. Revocation cannot reach a disconnected runner immediately. Therefore offline authorization is short-lived, single-use, target-specific, value-capped, and denied for operations whose risk requires online cancellation. Operators must distribute emergency revocation lists through the same controlled media before importing new jobs.Backup and restore
Back up only state required to preserve identity, replay protection, recovery, and audit continuity:- runner and offline evidence public identity metadata;
- encrypted private identity or hardware-key recovery reference;
- trusted issuer and recipient keys with rotation history;
- validated non-secret config and policy digests;
- provider mappings as encrypted local metadata, not secret values when provider backup owns them;
- used offline nonces and imported-job ledger;
- encrypted unresolved cleanup and upload recovery records;
- local audit events and evidence indexes required by retention policy.
Unsupported and restricted behavior
Offline mode cannot prove live control-plane observation, immediate revocation, current external service state, or current key status beyond the imported trust material. Reports must disclose those limitations.
No-secret-egress acceptance test
Use synthetic marker values unique to the test for target credentials, bearer tokens, cookies, Stellar seeds, SEP-9 fields, provider paths, private origins, and financial destinations. Register their raw, encoded, escaped, split-field, and case-relevant variants with an independent capture oracle. Run provider health and resolution, authentication, signed testnet intent, customer submission, browser flow with a sensitive step, a failed request, debug logging, artifact upload, cancellation, cleanup failure and recovery, offline export, and support-bundle generation. Capture runner outbound traffic, uploaded objects, control-plane records, logs, metrics, traces, crash output, process arguments, workspace remnants, and transferred offline bundle. Acceptance requires:- zero marker value or recoverable variant outside the intended local action boundary;
- zero secret value in control-plane APIs, events, reports, artifacts, logs, metrics, traces, config, or process arguments;
- only reference and provider fingerprints in permitted metadata;
- locally redacted structured evidence matching its schema and profile;
- encrypted uploads bound to approved artifact and recipient keys;
- an offline evidence bundle containing only allowlisted redacted content;
- provider leases, credentials, workspaces, browser profiles, and callback state revoked or deleted;
- deterministic findings for every seeded redaction escape;
- incident and quarantine behavior when the redactor is deliberately failed.