Oblive Docs
Operate Oblive

Preserve external history

Save selected integration data now so future evaluations can use dated evidence.

Historical preservation saves selected data from connected services and records what agents read. An administrator can use that evidence to prepare a separate historical environment and create an initiative there. This is the Replay control API, not a new replay screen or prompt-comparison interface. To browse a business’s history or run trials from the Replays page, see Replays.

An installation backup saves Oblive itself. Historical preservation also handles selected information owned by external services, such as billing, support conversations, analytics, and repository data. The daily workflow coordinates both. An operator can also combine an instance backup with explicitly selected integration captures and database backups into one readable ZIP. Each source keeps its original date; the ZIP date does not make older captures current. Integration collection keeps the business running; the full installation backup has a separate overnight service pause, limited to 15 minutes.

Choose what to keep

An administrator configures the integrations, resources, and reads to preserve. Capture starts disabled. Scheduled collection normally runs daily and defaults to 90-day retention. Independent recording settings choose which actual tool interactions and initial run inputs to keep, with an explicit retention period. They do not require a daily collector. Existing configurations retain their older recording behavior until an administrator explicitly creates the independent settings. Broad connections still need explicit resource selections for scheduled acquisition.

For example, select the billing store, GitHub repositories, support website, and Workspace documents needed for the business. An account-wide connection does not authorize an account-wide export. Captures may contain sensitive business information; archive permissions should match that sensitivity. Archived content is encrypted. Administrators must keep the archive encryption key for as long as the history is retained; losing it makes the stored content unreadable.

MongoDB and Redis backups may need additional backup-management access. Existing database read access alone does not prove that a recoverable backup exists. Missing access or insufficient provider retention is reported as a gap. No source database is restored or overwritten by capture. Native backups cover an entire cluster or database, so an administrator must confirm that the whole source belongs to the selected business. Access to a few collections or key prefixes is insufficient. Redis currently accepts a selected existing backup and a private export; automated daily Redis preservation still requires a reliable export and retention arrangement.

Understand the dates

A saved daily observation shows what a service returned during that collection. It does not tell us its exact state at every minute between collections.

A date filter also does not restore old state. A subscription created on October 1 might have been cancelled on October 20. Asking today’s API for subscriptions created before October 15 can still return the later cancellation. Preserved versions or a provider’s historical snapshot are needed to answer what was true on October 15.

Coverage reports distinguish:

  • Verified historical state: the provider’s evidence supports the requested instant.
  • Preserved observation: the bytes from a particular dated read have been saved.
  • Incomplete history: some required data, permission, or retention guarantee is unavailable.

Missing historical data is not silently replaced with today’s data. A search or saved report normally covers its recorded arguments; it does not guarantee answers to every different question a future agent might ask.

Monitor and retain captures

An administrator can inspect readiness, collection status, coverage, and archive integrity through the backend operator command. There is no new chat command or capture screen.

If a collection fails, the already completed data remains retained and the report identifies the gap. A recording failure does not turn a successful agent operation into a failed business operation. Interrupted collections resume saved progress when possible.

Independent policies can retain just metadata, selected request/response content, or already returned files. Omitted information is marked incomplete; a saved metadata record cannot substitute for a full tool response in a replay. Initial run inputs can be saved even without integrations.

Turning recording off stops new evidence; it does not by itself remove access to existing archives. Current ownership and integration permission checks still apply when reading retained evidence.

Unpinned data expires according to its configured retention; legacy schedules default to 90 days. Pinned evaluation data keeps its archive dependencies. For provider-managed backups, a local pin cannot extend the provider’s own expiry; additional preservation may be required before that backup can be kept indefinitely.

Turning preservation on now does not recreate history that was never saved. Older history can be imported only where a provider can reliably supply it. Ask for the coverage report before treating two future prompt evaluations as comparisons against the same historical world.

See historical data preservation for setup contracts, collection boundaries, and technical validation requirements.

Identify the business

Keep each business in its own organization and select its own integration connections. New archived snapshots and recordings include the organization ID and a frozen business name. Renaming the organization does not relabel existing evidence. Older archives can have only the organization ID. The name’s observedAt timestamp describes when that label was read, not when every fact in the business became true. Verify required resource scopes and restore each source before treating a daily snapshot as complete; an enabled connector alone is insufficient.

Inspect individual calls

For an independently configured MCP operation, inspect safe call metadata with:

bun run history:capture occurrences /private/history-occurrences.json

The private file contains organizationId, optional integrationId, and optional limit (1–100). The output has invocation IDs, producer sequence, intent/outcomes, allocation, receipts and recording or interruption gaps. It contains no request, response or raw exception body. Current source access is rechecked before metadata is returned. Use verify for actual archive integrity; an old receipt alone does not prove the bytes remain available.

Selecting error_details in an independent binding permits sanitized thrown name/message capture; it is additional consent. Stack traces are not included by default. History never retries your business operation. Recording saturation, processing limits and hourly storage budgets can leave gaps while the operation continues. Quotas are conservative protective limits and require volume measurement before production activation.

Disabling recording stops new acquisition but permits metadata recovery and retention cleanup. Recovery mode suppresses those maintenance writes. Historical label and insertion timestamps do not by themselves establish what an agent could know at a past cutoff. Daily dataset acceptance remains a separate completeness gate.

Inspect a business and its daily evidence

Private history:capture commands now include overview, show, content and daily. overview accepts organization ID, optional integration ID, limit (up to 100) and a returned cursor. It reports safe archive metadata, current source policies/dispositions and remaining coverage. Follow its cursor verbatim; the census is live and concurrent late commits can fall behind a cursor.

show accepts organization ID and snapshot ID, verifies bytes/hashes/current authority, and returns the stored manifest. content additionally accepts an exact object key from that archive; it returns UTF-8 or base64 retained bytes, default maximum 256 KiB and absolute maximum 1 MiB. No arbitrary bucket key can be read. Keep private content exports outside Git.

daily accepts organization ID, a closed YYYY-MM-DD UTC day and optional unique required integration IDs. The following midnight is exclusive. The current day is rejected; use overview for today’s data. Only source completion and confirmed committed availability before cutoff qualify. Backfilling old provider records today cannot establish that the agent knew them yesterday.

Daily packets include explicit members, exclusion counts, scan/truncation bounds and partial coverage. They do not certify all required resources, internal revisions or native execution traces. Repeating unchanged membership returns the original entire manifest; new membership creates a new version. The developer reference describes exact input contracts; the daily S3 sync covers the daily upload.

Workspace/Git read recording now retains independent-policy failures and selected bounded files. Legacy policies keep successful-call-only behavior. Exa/X search schedules are blocked; disable them explicitly and configure actual-use consent rather than assuming an automatic migration.

Prepare an environment

Give the administrator the business, historical date and required integrations. Preparation checks what was preserved, restores saved Mongo or Redis data into separate servers when available, starts an isolated worker, and reports coverage. It never restores over the running business.

ready_with_gaps means work can run with the stated limitations; missing integrations stay disabled. A recorded report answers its saved question, and a different question may return a missing-data error. Today’s APIs are never used to fill that gap. External writes are blocked.

Memory starts empty unless an available retained run is explicitly selected. Ordinary agent business time is fixed at the requested date; system timers continue to run normally. Each environment keeps its own tasks and outputs, so normal initiatives can continue alongside it. Release the environment when the evaluation is finished.

See preparation setup and limitations before activation, especially the saved-backup requirements and the distinction between a dated observation and exact historical state.

Daily S3 sync

An administrator can turn on a daily sync: from 00:15 UTC it collects every enabled integration for 90 minutes, until 01:45, then takes one full snapshot of the installation and writes a manifest to S3. The snapshot stops the installation for up to 15 minutes, beginning before 03:30 UTC. Missing sources are reported in the manifest; an incomplete day is still kept and marked incomplete. Some connectors need resource selection or backup-management permissions first. The daily S3 sync page explains setup. The sync does not start replay initiatives; preparation and trial execution remain separate operator actions.

Download a readable daily snapshot

An operator makes the readable ZIP from a night’s snapshot with history_export.py --format business (see export a frozen backup). It is not made automatically each night yet. It unzips to one <business>-YYYY-MM-DD folder. Unzip it and open README.md, then coverage.json. You do not need Oblive, MongoDB, decryption credentials or additional downloads to read the available exported data.

integrations/ groups selected data by provider. harness/ contains all retained initiatives, tasks, runs, chats, actions, memory, learning, Context, profiles and skills at export time. Each run has its own folder. JSON files contain individual records; JSONL files contain one JSON record per line. IDs connect tasks, runs and results.

MongoDB collections become readable Extended JSON files, which label dates, IDs, decimals and large integers explicitly. Credential fields are removed. Redis’s full dataset remains unavailable until its native export and readable conversion are supported. Native database recovery archives stay separate from this shareable package.

A downloadable ZIP may be incomplete. Missing files, unrecorded execution events and unfinished integration captures are listed in coverage, and the day’s manifest.json says whether its collection was complete. Old retained gaps cannot be recreated by repackaging. Each integration’s capture interval is shown separately; the folder’s day is not a claim that every source was captured at one instant.

Connected services and saved integration snapshots are different things. A backup can contain your connections and harness history while lacking their collected data. Data captured in a separate test instance is not automatically included in a new backup of your running instance; check coverage for the exact package you download.