Oblive Docs

Historical Evidence Imports

Import past goals, delivery, measurements, and lessons without scheduling work or fabricating agent execution.

Historical imports are offline owner administration. The backend command apps/backend/src/commands/historical-backfill.command.ts accepts a validated manifest containing archived goals, terminal initiatives and tasks, KPI definitions and observations, source coverage, and owner-provided lessons. It has no public route or agent-facing command.

Prepare and review a manifest, run validate, then run dry-run in the intended backend environment. The dry run exercises the complete database transaction and rolls it back. Use apply <manifest.json> <reviewed-sha256> with the returned digest to commit that exact content. The organization ID and name must match. Repeating the same import is harmless; changing content under an already-used import key is rejected.

The transaction allocates normal organization-local task identifiers and preserves existing history. It creates no run requests, schedules, actions, agent attempts, or worker receipts and does not change work dispatch. Imported goals are archived and non-primary. Select Include archived goals on the organization’s Goals page to inspect them.

An imported task result records evidenced delivery or a completed historical review. It does not prove that an agent ran or that the business target was achieved. Existing real run outcomes remain unchanged. Preserve uncertain rollout dates, unknown values, exact measurement units and periods, source identities, and attribution limits. Label owner-authorized retrospective targets as assumptions instead of presenting them as original commitments.

Use each initiative’s own contribution dates or a clearly labeled owner-supplied planning start. A shared audit boundary is not the start of every initiative. Long programmes can be split into dated phases, with existing tasks and KPI ownership assigned to the relevant phase. Preserve measurement identities and attribution limits when several phases share an observation.

Corrections to an applied import require a separate, reviewed transaction and correction receipt. Keep the original manifest and receipt; check current row versions and preserve execution history, measurements, and lessons. Do not create another import to duplicate previously retained evidence.

Historical learning tasks retain complete lessons and their source references. Compact additions to profile memory use the existing human_override origin for owner-provided history, not the independent verification path. Existing verified lessons and their evidence are retained; an import that exceeds memory capacity fails rather than discarding them.

The source-specific manifest builder and detailed verification procedure are documented in scripts/backfill/README.md. Keep supplied source files, inventories, generated manifests, and production reports private and out of version control.