Skip to content

test: measure V2 auxiliary request redaction - #799

Merged
dmoliveira merged 1 commit into
mainfrom
test/v2-auxiliary-request-redaction
Nov 6, 2026
Merged

dmoliveira merged 1 commit into
mainfrom
test/v2-auxiliary-request-redaction

Conversation

@dmoliveira

Copy link
Copy Markdown
Owner

Summary

  • Add a bounded, control-versus-protected measurement for the experimental V2 context redactor across context, title, generate, and compaction requests.
  • Use private authenticated runtimes, per-case provider and trace credentials, synthetic canaries, loopback-only observations, exclusive no-follow fixture writes, and checked process/socket teardown. Retain fixture roots rather than recursively removing them.
  • Document the observed 2.2.5 executable and narrow scope; the gateway and dependency profile remain disabled and unqualified. Provider receipt does not prove compaction completion.

Validation

  • Restricted macOS tmux run against the measured OpenCode 2.2.5 executable: both cases passed, with one context, one title, one generate, and two compaction requests per case; only synthetic data was submitted.
  • Targeted Python tests, Ruff lint/format, config-writer inventory, gateway-core lint and build, and all 1,446 gateway-core tests passed.
  • Configured pre-commit run --all-files including make validate, plus make selftest, passed in a retained sandbox copy with only the existing absolute config-lock registry relocated; the self-test skipped its optional oc sandbox because oc was excluded from that PATH. This is not presented as an unmodified exact-head run.
  • Local installer smoke was not run: its legacy probe performs pathname-based recursive cleanup. Exact-head hosted CI must pass before merge.

Limits

This measures only a private synthetic OpenAI-compatible provider and the current experimental context redactor. It does not prove later-hook ordering, final transport or WebSocket redaction, other providers or encodings, event completeness, production isolation, or host-boundary lifecycle guarantees. Same-user adversarial races remain outside the fixture's guarantees.

@dmoliveira
dmoliveira merged commit 9c07c9a into main Nov 6, 2026
3 checks passed
@dmoliveira
dmoliveira deleted the test/v2-auxiliary-request-redaction branch November 6, 2026 01:16
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