Changelog

Behavior changes, storage schema versions and upgrade notes per release.

v0.3.0

Schema: v6, envelope v1

Behavior changes

  • A write resolves --actor, --session and --harness from OLOR_ACTOR, OLOR_SESSION and OLOR_HARNESS; a write missing any of them is refused with usage before the state file is opened.
  • stage submit --outcome blocked requires --blocker-class external and --unblock-action; deprioritized points at stage defer, failed at --outcome failed, which returns the stage to eligible.
  • stage defer and task defer require --until or --snooze-ms.
  • stage submit --outcome succeeded requires evidence on the attempt, or --no-evidence --reason, recorded as a waiver.
  • Evidence carries --artifact and --sha256 for the frame, measurement and artifact kinds, and evidence added after closure is accepted, marked late.
  • status reports blocker_class, unblock_action, holder, claim_age_ms and claim_expires_at_ms.
  • olor gate [--path PATH] [--explain] [--actor NAME] answers whether a turn may stop: exit 0, or exit 10 while work remains. integrations/pi/ attaches it to Pi's agent_before_settle.

Upgrade notes

  • v5 to v6 is additive: three side tables, no ALTER TABLE, no row rewritten; a v4 file goes straight to v6.
  • Run olor migrate, or make install. Pre-v6 blocked attempts read as unclassified.

v0.2.0

Schema: v5, envelope v1

Behavior changes

  • Deferral is a recorded state. task defer and stage defer store a reason and a deadline, task resume and stage resume clear it, and stage claim --resume-deferred lifts an active stage deferral only. An active task deferral still refuses the claim with task_deferred (exit 5). status reports externally_blocked stages alongside deferred, eligible, claimed, stale, submitted, accepted and blocked_by_dependencies.
  • Graph authoring is atomic. stage graph apply adds stages and dependency edges in one transaction, and task create --graph-json or --graph-file creates a task with its whole DAG under one idempotency key. --approver sets the default approver at creation time. evidence add --batch-json or --batch-file records several evidence rows in one write.
  • List verbs are repository scoped. work list, task list and finding list resolve scope from --path and report scope and repository_id in every payload. --all-repositories widens the scope and --repository <ID> selects one repository; passing both is a usage error (exit 2).
  • Reads page. --limit defaults to 50 and accepts 1 to 200, --cursor is opaque and bound to the scope it was minted in, and responses carry next_cursor and has_more. evidence list pages the same way.
  • Nested lists are bounded and report their truncation: active_tasks_total and active_tasks_has_more on status, tasks_total and tasks_has_more on the work item payloads. Aggregate counters stay complete while the array is one page.
  • Migration is explicit. olor migrate upgrades the file in place and make install runs it. Reads never migrate: an older file answers migration_required (exit 6) until a write verb runs.
  • Every write verb accepts --session and --harness as optional attribution. Local JSONL telemetry records the frozen command id, exit code, error code, duration and those attribution values, never titles, paths or argument values. OLOR_TELEMETRY=0 turns it off. The binary contains no network code.

Upgrade notes

  • The upgrade from v4 to v5 is additive and one way. It runs inside one BEGIN IMMEDIATE transaction and preserves every row and idempotency receipt.
  • Run olor migrate, or run make install, which does it after the install step.
  • Back up the SQLite file first if a downgrade may be needed. v0.1.0 refuses a v5 file with schema_too_new (exit 6).
  • olor migrate against an absent database exits 0 with storage_not_initialized and creates nothing.

v0.1.0

Schema: v4, envelope v1

Behavior changes

  • Initial release.
  • Git discovery is read-only, and registry membership takes an explicit repo register or worktree bind.
  • The ledger holds work items, tasks, acyclic stage DAGs, leased claims fenced by (claim_id, generation), attempts reviewed through stage accept and stage reject, findings, evidence and external references.
  • State lives in one local SQLite file through bundled rusqlite in WAL mode.
  • Writes are idempotent and attributed, and optimistic version flags refuse a stale update instead of merging it.
  • Output is a single JSON document on stdout under .result, stderr is empty, and exit codes 0 and 2 through 8 carry the error class.
  • Default state paths resolve per platform, on Linux, macOS and Windows.
  • The agent integration kit ships as integrations/AGENTS.md and integrations/skills/olorin/.

Upgrade notes

  • This is the initial schema, v4. It is created on the first write verb, such as olor repo register.