Skip to content

Retain cumulative task execution evidence beyond history retention - #9

Merged
sunrioa merged 1 commit into
mainfrom
codex/task-execution-evidence
Sep 7, 2026
Merged

Retain cumulative task execution evidence beyond history retention#9
sunrioa merged 1 commit into
mainfrom
codex/task-execution-evidence

Conversation

@sunrioa

@sunrioa sunrioa commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Long tasks can exceed the 512-event history window, leaving clients unable to verify an otherwise completed task. Persist a runtime-owned cumulative execution aggregate with each task transition, expose its contract in Agent info, and add the Java SDK's exact-revision human-completion call.

The aggregate retains action, outcome, macro and completion counts, selected capabilities and the latest terminal operation. Task snapshot v7 reads v3–v6; truncated legacy history is explicitly incomplete rather than reconstructed as authoritative evidence. The HTTP schema and English/Chinese runtime documentation describe the new fields.

Validation:

  • go test ./... passed.
  • Java SDK compilation and RinSdkTest passed.
  • Regression coverage includes 300 actions surviving history retention and SQLite reopen, defensive copies, legacy migration, macro accounting and invalidated intents.
  • The Minecraft consumer passed both real-process integrations against this commit, including explicit player review before macro completion.

@sunrioa
sunrioa marked this pull request as ready for review September 7, 2026 09:45
@sunrioa
sunrioa merged commit b784a29 into main Sep 7, 2026
38 checks passed
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.

1 participant