Skip to content

Align Session initial-input and metadata update admission - #35

Merged
SaladDay merged 11 commits into
mainfrom
codex/session-admission-alignment
Sep 22, 2026
Merged

SaladDay merged 11 commits into
mainfrom
codex/session-admission-alignment

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Conversation-only Session creation previously accepted missing input, and Session updates accepted an empty body. Owned official API probes reject both. Require input for none and streamed creation outside self_hosted, reject empty metadata updates before resource lookup, and preserve explicit null/empty metadata clearing and valid local creation retries.

Update Core Web and existing SDK fixtures together: no-input hosted creation uses JSON; an unchanged manual retry after a lost creation stream uses the same key/input with JSON to recover the Session. Keep observable initial history in tests. Record the 58-operation evidence inventory and remaining differences, including native harness/daemon behavior and whitespace-only input.

Validation: API/contract tests and full make check-web passed (287 client tests, 583 Web tests, 76 browser cases). Three real harness profiles completed six initial Turns with no replay, rejection-without-writes, metadata and tenant-isolation checks; hosted/self-hosted no-input paths were retained. Server make -o check-web check passed with dedicated PostgreSQL; Web was run separately as above. Fixed Python SDK and Go-client service acceptance also passed. The live source was 7ccc636; integrated test/fixture changes passed the server gate at 01f9356. A subsequent tool-policy evidence-count assertion compiled, with its optional native run skipped because private per-run options were not supplied. No new E2B, OAuth or native capability combination is claimed. Fresh independent Astra high full-diff review found no grounded in-scope blockers and independently passed API/contract plus 39 Web tests. Rebase onto main 6a3131e preserved all patches; combined API/execution/contract and PostgreSQL scheduling/creation regressions passed. The optional packaged MiniMax native-tools probe was skipped; this batch does not requalify all native features.

@SaladDay
SaladDay force-pushed the codex/session-admission-alignment branch from 6e696d7 to c4c8e51 Compare September 22, 2026 16:45
@SaladDay
SaladDay marked this pull request as ready for review September 22, 2026 16:45
@SaladDay
SaladDay merged commit c86b5bb into main Sep 22, 2026
1 check 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