Repository navigation
fix(test): respect deferred input admission during context preparation - #197210
Merged
Merged
Conversation
Fresh recorder input is persisted only after image-aware policy admission from #196337. Bootstrap and assembly therefore have no fence yet; retain final admission, exact candidate receipt and after-turn settlement assertions. Three affected-file tests pass. Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Collaborator
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 12, 2026
openclaw#197210) Fresh recorder input is persisted only after image-aware policy admission from openclaw#196337. Bootstrap and assembly therefore have no fence yet; retain final admission, exact candidate receipt and after-turn settlement assertions. Three affected-file tests pass. Co-authored-by: obviyus <[email protected]>
RomneyDa
added a commit
that referenced
this pull request
Nov 12, 2026
Expose the exact prepared image snapshot to input policy hooks across embedded, CLI, and Gateway worker runners. Reuse CLI prepared input across retries and isolate hook mutations from submitted input. Release adaptation: retain the existing hook type owner and runtime generation scope. Include the required missing-admission refusal from #196702, selected-branch recorder hydration from #196487, and deferred context-admission assertions from #197210. Do not import unrelated session rewind, prompt continuity, or cold-start owners. Selected source commits: (cherry picked from commit d7aaafe) (partial companion from commit e212ede) (partial companion from commit ebf6c06) (partial companion from commit eafa247) Co-authored-by: obviyus <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: RomneyDa <[email protected]>
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.
What Problem This Solves
Fixes worker context-engine CI expecting fresh input admission before policy has approved persistence.
User Impact
No user-visible change. Preserve the image-aware input policy from #196337: blocked input must not persist before approval.
Why This Change Was Made
Fresh recorder input has no admission receipt during bootstrap and assembly. The fixture compared these earlier snapshots with the receipt created later. Expect no preparation fence for fresh direct/outer input; retain the final defined admission, exact candidate receipt, after-turn content, workspace authority and settlement assertions. This is distinct from #196487’s selected-branch hydration repair.
Contributor credit: Peter Steinberger and Ayaan (obviyus).
Work sessions
Linked for team reference; these sessions aren’t public.
Evidence