Repository navigation
feat: embed RTK, report session economics and retain image history - #11
Merged
Merged
Conversation
Enable embedded RTK by default with per-session usage accounting and public cloud price comparisons. Normalize bounded vision uploads and prune inspected image history through an authenticated launch adapter while preserving tool pairing, observations and archived originals. Keep temporary reconciliation admission deferrals out of the engine restart budget and close stale missing-engine routes. Validation: make lint, make test, make test-client, make audit and warning-denying rustdoc passed. Live Codex image calls and a 500-frame, 38.4 MiB history completed on Spark with matching token accounting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent launches now enable embedded RTK by default, support
--eco-mode=none, and report session token usage, command compression and public cloud price comparisons when the agent exits. The pinned RTK sources, adaptations and price catalog are owned release inputs; session credentials and reports remain private.Long vision sessions previously exhausted image-count or upload limits. The gateway now normalizes bounded PNG/JPEG/WebP uploads to the qualified model profile, and vision launches use an authenticated adapter that prunes inspected image payloads before uploading. Older frames become references to private archived originals, while recent/unseen images, written observations and tool-call pairing are preserved across Responses, Chat Completions and Anthropic tool results. Codex compacts text at 75% of the qualified context window.
Reconciliation also keeps temporary resource-admission deferrals out of the restart failure budget and closes stale routes for missing engines. Admission, guard checks, signed inventory, peer authorization and exact-container cleanup remain enforced.
Validation:
make lint,make test,make test-clientandmake auditpassed.