design: #5 Pattern 4 audit submission — design doc#32
Open
hanwencheng wants to merge 1 commit intomainfrom
Open
design: #5 Pattern 4 audit submission — design doc#32hanwencheng wants to merge 1 commit intomainfrom
hanwencheng wants to merge 1 commit intomainfrom
Conversation
Draft design doc for GitHub issue #5 (TEE-as-paymaster per-read sponsored audit). Captures the locked decisions (Pattern 4 chosen, Option A fee funding), the hard prerequisite (#4 rate limit must ship first), the 3 unresolved deferred decisions (cross-pattern mixing, budget caps, failure-handling strategy), and the 5 open questions for Kai. Ships ONLY the doc. Implementation blocked on sign-off + #4 + failure- handling-strategy decision. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
Author
|
Codex review (via gstack VerdictThe patch only adds a design document and does not change executable code or existing behavior. I did not find any discrete, actionable issues in the added document that would make the patch incorrect on its own. — codex |
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.
Summary
Draft design doc for issue #5 — TEE-as-paymaster per-read sponsored audit.
What's locked
Hard prerequisite
Issue #4 (per-session read rate limit) MUST land before Pattern 4. Otherwise the treasury drains within seconds under abuse. Documented as a blocker in the design doc.
Unresolved (blocker for implementation)
3 deferred decisions need sign-off before coding starts:
--sync-auditopt-out flag?Review ask
Test plan
Docs-only.
Issue
Tracks #5. Implementation blocked on sign-off + #4 shipping + failure-strategy decision.
🤖 Generated with Claude Code
Codex review (2026-04-14): ✅ Approved — no actionable findings. See the codex comment above for details.