r/devtools • • Oct 20 '26

Steward: checkpoint and resume for coding-agent runs, with a portable handoff bundle

I've been building Steward, a Python CLI for keeping coding-agent work recoverable when a session stops or a usage window runs out. It manages runs, readable checkpoints, a timed queue and failure reports.

The implementation is standard-library Python. A task keeps its provider and native session ID for same-machine resume. Each checkpoint records Done, In progress, Next, Files touched and How to verify, so there's also a handoff a person can read. The adapters support Claude Code, Codex and local models through Codex's local backends.

For a move to another computer, export/import carries the brief, checkpoint, notes and task metadata. It starts a fresh native conversation there. Project files, uncommitted changes and logins are separate, which is a fairly important limit of the portable bit.

There are fake-provider tests and a demo that doesn't make a model call. The adapters have different controls: Codex/local runs have a wall-time cap, while automatic context rotation and the dollar cap are Claude-only.

Source and setup: https://github.com/cmills-dev/steward

I'd be interested in what you'd need to see in a checkpoint before trusting another agent to pick up a half-finished change.

1 Upvotes

2 comments sorted by

1

u/kantorcodes1 Oct 20 '26

For trusting a checkpoint, the piece I'd want beyond Done/Next/files-touched is the state the checkpoint was taken against. A commit SHA plus the dirty-tree hash, so the resuming agent can detect the tree moved underneath it before it acts on stale context. Otherwise "In progress" describes intent while the files may already disagree with it.

1

u/scarecr0w12 Oct 20 '26

I haven't run Steward, but alongside the tree-state check already mentioned, I'd want the last verification command actually run, its exit status, and the tree state it covered. "How to verify" is useful guidance; knowing whether that check ran after the latest edit would make the handoff easier to trust.

A concrete fake-provider case could be: pass a check, change a touched file, checkpoint, then import. The handoff should show that verification hasn't been rerun for the new state, so the receiving agent doesn't mistake the older pass for current evidence.