Skip to content

Add versioned context and progressive compression - #188

Merged
1-ztc merged 25 commits into
mainfrom
codex/merge-context-summary-main
Nov 22, 2026
Merged

1-ztc merged 25 commits into
mainfrom
codex/merge-context-summary-main

Conversation

@1-ztc

@1-ztc 1-ztc commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the versioned session store and five-stage progressive context compression. Preserve original messages and bind checkpoint entries to source IDs.
  • Fence obsolete summaries, plans, tool actions, and acceptance verdicts when a correction changes the session revision. Reuse compatible checkpoints after restart.
  • Bound S3 summary input, validate S5 references per entry, and fall back to source-linked tool excerpts when generated citations are unusable.
  • Keep the existing opt-in activation. This PR does not modify RDK Studio task routing.

Validation

  • Local versioned-context regression suite and agent turn-budget probe passed.
  • RDK Studio replay used the same MiniMax-M3 and three fresh RDK X5 task histories. At a 32,768-token window, recorded usage including summaries dropped from 154,363 to 88,068 tokens. The storage case reused its checkpoint after restart without a new summary.
  • At a 16,000-token window, the storage case produced a valid S5 checkpoint. It still failed to finish after output exhaustion and a protected-context overflow on continuation. The PR preserves the existing window guard.

d-robotics added 25 commits November 19, 2026 20:32
Adds opt-in taskIntent, stable userInput/taskId bindings, intent receipts, applyTaskRevision and execution guard APIs; completionGate receives an optional immutable intent binding. Bumps the SDK capability version to 0.37.0.

Validation: full npm run verify passed all stages (95.7s; existing 60s CI time budget warning). After adding the optional callback binding, static/build/task-intent passed again. Offline provider and native acceptance probes cover stale batches, approvals, late replies, durable recovery, dedupe, and revision-bound evidence. No live model or device accuracy claims.
A fresh user turn without a native task binding must not implicitly revise the preceding task. Explicit engine turns and steers retain their trusted native task identity. Static/build/task-intent probes pass, including a new follow-up regression.
Add opt-in SQLite context, source-checked five-stage compaction and versioned correction. Add SDK store and correction APIs while preserving existing SessionStore consumers. Verify concurrency and restart through scripted provider and CLI probes.
@1-ztc
1-ztc merged commit 4b117be into main Nov 22, 2026
3 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