Skip to content

eval: retain private smoke payloads only with explicit opt-in - #597

Merged
HouMinXi merged 2 commits into
mainfrom
eval/574-private-smoke-artifacts
Nov 27, 2026
Merged

HouMinXi merged 2 commits into
mainfrom
eval/574-private-smoke-artifacts

Conversation

@HouMinXi

Copy link
Copy Markdown
Owner

Summary

Follow #595 with opt-in, bounded local retention of frozen request bodies and accepted response entities. Keep the default journal body-free. Use a caller-owned private directory and exclusive per-run paths. Journal references bind byte length and SHA-256 to the corresponding reservation or receipt.

  • Persist request bytes before sending and accepted response bytes before marking the attempt complete. On interrupted storage, stop and keep the one-run marker; never resume or resend.
  • Omit headers, rejected response bodies, and replies echoing the configured credential, including JSON-escaped echoes. These are private plaintext artifacts, not a general secret scrubber.

Verification

  • Offline evaluation suite: 225 passed under each of two Python hash seeds.
  • Socketpair tests compare exact body bytes, verify permissions and digests, and check disk failures, refused replies, existing paths, and no-retry behavior. Ruff and diff checks passed.
  • No live model calls, production integration, changes to gateway configuration, or quality claim. Live admission still needs upstream attribution, the total elapsed-time budget, and an agreed private destination and deletion window.

Related to #574 and #595.

@HouMinXi
HouMinXi marked this pull request as ready for review November 27, 2026 06:37
@HouMinXi
HouMinXi merged commit 1a4ba55 into main Nov 27, 2026
13 checks 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