mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-31 12:37:59 +00:00
* fix(codex): prepare web search policy before harness dispatch Resolve requester web-search policy in core's existing prepared-capability scope and carry it as optional attempt data. Codex consumes the prepared value without a synchronous session-policy read and retains runtime caps. This prevents healthy turns failing during another agent's deletion. Use known native model references for supervised sessions so provider and model restrictions survive the handoff. Pending supervision without a selected model retains its existing policy-resolution path. Keep the synchronous resolver and harness registration contracts intact. Native source-authority revalidation remains separate in #176352. The real builder regression covers persisted denial with topology dirty before preparation and during tool construction; both policy values stay false. Cover native model preparation and preserve no-field runtime caps. * fix(codex): bind prepared search policy to requester facts Carry the exact model tuple and consumed requester policy/lineage facts with core's optional prepared web-search result. Reject stale preparation through the existing native execution-policy owner before thread or turn writes, including ID lookups refreshed at physical native admission. Skip unused search preparation during compaction, preserving the separate execution and sandbox-policy owners. Keep existing SDK callers compatible. Include the native requester-admission prerequisite from #176352. Recording native-transport regressions cover unchanged policy, model changes, late revocation/reassignment, revocation before capture, and missing-ID insertion. * test(codex): use the public fixture boundary for native search proof Load the native-search fixture through the existing lazy Codex test API and validate literal native binding fields against their actual contract. Fix the boundary and test-type failures from CI run 39184092677 without changing production policy behavior. * fix(codex): retain requester ID authority through native writes Reject native hosted-search writes when requester ID selection changes after policy preparation. Retain ID selection and absence in the existing session current-check owner, including pending worker publications, and remove the adapter's separate asynchronous ID path. * fix(sessions): preserve worker authority for ID-selected compaction Classify durable ID-selection publication guards as worker-compatible while keeping memory-backed selection native. Preserve the existing live ID, publication, physical-source, and requester checks at native writes. Manual cold-transcript compaction no longer requires unrelated search preparation. Cover the ID-selected path and inject conversation revocation through the prepared restoration assertion without weakening its checks. |
||
|---|---|---|
| .. | ||
| vitest-codex-attempt-runtime.d.ts | ||