Skip to content

Fix #42: Resume unfinished tasks from saved trajectory checkpoints - #54

Merged
vicgupta merged 1 commit into
mainfrom
amf/issue-42
Oct 24, 2026
Merged

vicgupta merged 1 commit into
mainfrom
amf/issue-42

Conversation

@vicgupta

Copy link
Copy Markdown
Owner

Adds --resume <trajectory.json> to continue unfinished tasks with saved conversation context, model, and cumulative usage accounting. Validates checkpoint history, canonical root, instructions, and tool compatibility before provider setup; rejects legacy, completed, and compacted checkpoints.

Preserves the source, requires a new output destination, writes private atomic checkpoints, and stops on persistence failure. Records resume provenance and warns about stale workspace state and unrecorded side effects. Updates help and README, adds provider-wire and recovery tests, and fixes an existing buffer-test timing race.

Verified on Go 1.27.1:

  • go build ./...
  • go vet ./...
  • go test -count=1 ./...
  • Race tests for affected packages
  • Windows amd64 and macOS arm64 cross-builds
  • Formatting and diff checks

Closes #42


Opened by amf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resume unfinished tasks from saved trajectory checkpoints

1 participant