Skip to content

starknet_transaction_prover,tower_ohttp: OHTTP-unlinkable request-id for decapsulated content#14222

Draft
avi-starkware wants to merge 1 commit into
avi/prover-v3/request-logsfrom
avi/prover-v3/content-id
Draft

starknet_transaction_prover,tower_ohttp: OHTTP-unlinkable request-id for decapsulated content#14222
avi-starkware wants to merge 1 commit into
avi/prover-v3/request-logsfrom
avi/prover-v3/content-id

Conversation

@avi-starkware
Copy link
Copy Markdown
Collaborator

Tags downstream content logs with a request-id via a new RequestSpanLayer
placed below the OHTTP layer. For plaintext it reuses the envelope id from
RequestLogLayer; for an OHTTP-decapsulated request (marked with a new
tower_ohttp::Decapsulated extension) it mints a FRESH UUID and discards any
client-supplied inner id.

The fresh inner id is never echoed back, so the relay-visible envelope id and
the gateway's content-log id cannot be joined — preserving OHTTP unlinkability
while still giving every request's downstream logs a correlatable id.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

Copy link
Copy Markdown
Collaborator Author

…for decapsulated content

Tags downstream content logs with a request-id via a new `RequestSpanLayer`
placed below the OHTTP layer. For plaintext it reuses the envelope id from
`RequestLogLayer`; for an OHTTP-decapsulated request (marked with a new
`tower_ohttp::Decapsulated` extension) it mints a FRESH UUID and discards any
client-supplied inner id.

The fresh inner id is never echoed back, so the relay-visible envelope id and
the gateway's content-log id cannot be joined — preserving OHTTP unlinkability
while still giving every request's downstream logs a correlatable id.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avi-starkware avi-starkware force-pushed the avi/prover-v3/request-logs branch from b74ee13 to 49a7855 Compare May 27, 2026 14:20
@avi-starkware avi-starkware force-pushed the avi/prover-v3/content-id branch from fb6037b to 4055121 Compare May 27, 2026 14:20
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.

2 participants