Skip to content

21.oct.2026

What this entry is: an architectural report and implementation roadmap for durable agents. We analyze IndyDevDan’s demonstration of Pi Durable, draw a strict line between transcript resumption and actual task durability, and establish checkpointing within Colibri.

Direct MP4 · captions · render manifest

We took IndyDevDan’s durable-agent walkthrough and the Durable News Agent project as credited source material, then checked the pattern against Pi Durable. The resulting boundary keeps admission, identity, policy, budgets, and operator approval in Colibri. The implementation has since advanced beyond the original script: a separate Colibri branch now contains a capability contract, content-derived task identity, crash reconciliation, and an atomic file store. It is tested branch evidence, not a merged or deployed service.

RepoLandedStill open
colibriDesign commit 9eb8098; implementation branch feat/durable-task-state-machine at fa5642d, with contract 46c7be2 and task machine 07abce5Review and merge decision; forced-kill matrix; bounded evidence curator
samobLocalized diary, deterministic evidence cards, bilingual video, three caption tracks, render manifest, and energy-cost storyboardEditorial review and squash merge
agent-skillsbare-metal-ilo branch grounded against read-only iLO telemetryClose its saved-evidence and credential-argument review findings before merge
piVerified execution under Node 24 (v24.16.0); agent running in herdr tab 1 (wH:t1)Preflight PATH fix for service startup
herdrDriving active Pi agent session and routing coding tasksAutomated cross-agent dispatch flow

Sidecar Architecture: Durable Agents in the Colibri Workshop

Section titled “Sidecar Architecture: Durable Agents in the Colibri Workshop”

Colibri sidecar contract boundary Figure 1: The sidecar presents a bounded capability contract. Colibri retains admission, policy, budget, approval, and receipt authority.

A second report track: energy, API spend, and the operator console

Section titled “A second report track: energy, API spend, and the operator console”

The same session exposed a useful bridge between physical infrastructure and agent economics. The iLO power meter observes the host, while Colibri already records provider, model, tokens, cache use, and API cost for each task. These measurements should remain separate durable ledgers and meet only in a read-only operator projection.

Jev rated this architecture at 0.89 overall fit. Its bounded recommendation was consistent across every choice: Colibri owns the contracts and durable records, a host-side collector reads iLO, Plone renders the operator view, and A2A becomes a versioned cross-node transport only after the local contract is stable. The evaluation is advisory; these components are still a proposed implementation sequence.

LayerResponsibilityBoundary
iLOSensorProduces host-level power and thermal observations; it cannot identify the energy consumed by an individual concurrent task.
ColibriLedgerKeeps energy observations and API task costs in separate immutable domains and joins them by host identity and UTC interval.
A2AEnvelopeLater transports an already-versioned observation between explicit nodes; it is not the source of truth.
PloneConsoleShows trends, evidence, alerts, and drill-down as a read-only operator projection; it holds no BMC credentials.

A verified device window contained 288 near-five-minute samples with an 85 W reported average and an 81–118 W range. Normalizing that average to 24 hours yields approximately 2.04 kWh. This is a derived engineering value, not a utility bill. Watts and watt-hours remain distinct from API dollars; a tariff conversion or per-task energy allocation must carry its method, time window, provenance, and confidence.

Reconstructed 24h out-of-band power telemetry on Valhala Figure 2: Reconstructed 24-hour out-of-band power and thermal telemetry panel (288 five-minute samples, 85 W mean, 81–118 W range, ~2.04 kWh derived 24-hour engineering energy) with zero private infrastructure identifiers.

The standalone 95-second storyboard and caption master are ready in Sensor, Ledger, Envelope, Console. It specifies a reconstructed telemetry panel because the source management screenshot contains private infrastructure identifiers and must not be published. No rendered-video claim is made yet.

Working boundary: iLO is the sensor. Colibri is the ledger. A2A is the envelope. Plone is the console.

1. Transcript resume is not task durability

Section titled “1. Transcript resume is not task durability”

Herdr excels at preserving terminal window continuity and process sessions — reopening a terminal displays past command output. However, that alone does not prove whether an external side effect (tool invocation, file mutation, API call) completed before a crash. True durability requires persisting intent before execution and an explicit replay policy (at-least-once with idempotency receipts).

2. The cross-store gap: agent.sqlite vs dna.sqlite

Section titled “2. The cross-store gap: agent.sqlite vs dna.sqlite”

In the news agent project, agent tasks live in one SQLite database while domain news data lives in another. Because no distributed transaction bridges the two, crashing between model completion and receipt memoization can trigger duplicate calls. Colibri eliminates this with immutable admission (tenant_id, request_id, payload_digest).

ComponentDurable RoleInvariant & Boundary
ColibriCanonical admission & authorityAdmits work exactly once, enforces identity, budgets, and owns authoritative receipts.
zotExecution harnessPrimary Go tool harness for model turns, PTY multiplexing, and RPC loops.
Pi DurableExperimental sidecarValidation of checkpoint semantics and state phases in an isolated lab.
bherdr / herdrTerminal & session continuityPreserves TTY and session continuity; does not own business task durability.
JevTyped advisory (System 1)Fast semantic classifier (deny/escalate); raises scrutiny, never grants authority.
OperatorUltimate decisionSole sovereign authority for execution release, branch merges, and deployments.

We advance from the lab into operational integration only upon satisfying explicit criteria:

  1. Duplicate admission yields exactly one task and one evidence packet.
  2. Forced process termination (kill -9) at any phase resumes or parks safely without repeating unconfirmed unsafe calls.
  3. The sidecar has zero authority to mutate repositories or invoke deployment tools.
  4. Model and tool budgets are capped before admission.

Catch-up: what the implementation branch now proves

Section titled “Catch-up: what the implementation branch now proves”

The branch adds three bounded layers:

  1. internal/contract defines the capability document a sidecar presents at admission. It does not grant authority; Colibri still enforces identity, policy, budgets, approval, and receipts.
  2. internal/task derives task identity from canonical content and authority context. Reconciliation retries an intended but unapplied idempotent effect, while an applied effect without a recorded result moves to needs_operator instead of running twice.
  3. FileStore writes one JSON record per task using a same-directory temporary file, fsync, atomic rename, and directory fsync.

Targeted race tests for internal/contract and internal/task pass on the inspected branch. This establishes implementation evidence for Slice 0. It does not establish a production deployment, a merged branch, or a completed Forgejo curator.