Skip to content

feat(agents-api): admit active self-hosted text inputs - #616

Merged
SaladDay merged 1 commit into
mainfrom
codex/environment-public-steering
Sep 15, 2026
Merged

SaladDay merged 1 commit into
mainfrom
codex/environment-public-steering

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Self-hosted Sessions accept text messages during an active Turn. Previously every new message reached the idle reservation gate and active work returned 409. The existing Session transaction now recovers original receipts first, appends a new batch to the active Turn, or retains idle preparation when no Turn is active.

Active input creates no Turn or reservation. The change reuses canonical batches, existing input indexing and native delivery. Matching retries after completion or during later work retain their original target. Pending reservations keep their gate/deadline, and mixed events remain unsupported. No schema/query, daemon/native protocol, dependency, product or model-loop change.

Validation: fixed SDK/raw HTTP with real PostgreSQL reproduces baseline 409 and passes candidate 204; controlled atomic batches, concurrent retries, rollback, scoped access and original receipt behavior pass. The prepared Worker test observes ordered steering frames and acknowledgements. Both forced Session-lock orders pass: active input retains its Turn and blocks stale completion; completion first reserves new work for preparation. Relevant focused race/client regressions passed (71.6 s). OpenAPI regenerated and the new SDK fixture is selected in CI. Controlled execution observations are synthetic.

Final validation at e0c29c3: isolated build, official-client suite, full make check (393.5 s) and applicable CI passed. Real MiniMax acceptance completed four Turns: two self-hosted Turns prove unpredictable active text, exactly one native Accepted receipt and matching application cursor, remote command/file effects, cold continuation and safe old-input retry; two none Turns prove restart/key-rotation regression. SDK/raw live observations match 92 payloads and query recovery passed. Fresh independent full-diff review found no actionable issues; heavy/native results were inspected from retained evidence, not rerun by the reviewer.

Scope and limitations: text-only active batches on the supported Codex self-hosted profile. HTTP 204 acknowledges durable admission, not native application. Mixed events, broader content, complete tool-set/Usage/cancellation/crash recovery, remote file resources and other placements remain required separate tasks. No complete compatibility claim.

Task: ENV-PUBLIC-STEER-001 under ATOM-007. Requirements, full-board assessment, source/attempt/check evidence and delivery records are retained under ~/.parsar/remediation/20260915/environment-public-steering on zju_a100_2. Protocol parents remain open.

@SaladDay
SaladDay marked this pull request as ready for review September 15, 2026 06:07
@SaladDay
SaladDay merged commit 95ee3dd into main Sep 15, 2026
12 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