Skip to content

Add no-token image replay exec harness#74

Merged
cbusillo merged 1 commit into
local/cbusillo-overlayfrom
test/image-replay-exec-harness
May 13, 2026
Merged

Add no-token image replay exec harness#74
cbusillo merged 1 commit into
local/cbusillo-overlayfrom
test/image-replay-exec-harness

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • add a local fake /v1/responses server mode to the code exec harness
  • support multi-turn harness scenarios by resuming the first turn session id in later code exec invocations
  • add an image-history replay scenario that proves generated image payloads are not resent, without using live API tokens

Why

PR #73 fixed generated image replay in core. This adds a black-box harness proof for the actual code exec binary path: config loading, fake Responses API request serialization, session resume, and captured request-body assertions.

Validation

  • python3 -m py_compile tools/code-exec-harness/harness.py
  • python3 -m json.tool tools/code-exec-harness/scenarios/image-history-replay.json >/dev/null
  • python3 tools/code-exec-harness/harness.py tools/code-exec-harness/scenarios/image-history-replay.json --code-bin /Users/cbusillo/.local/bin/code --sandbox danger-full-access
  • ./build-fast.sh

Refs #68
Refs #63

@cbusillo cbusillo merged commit 26da6e2 into local/cbusillo-overlay May 13, 2026
1 check passed
@cbusillo cbusillo deleted the test/image-replay-exec-harness branch May 13, 2026 20:53
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