The internal DOC0 client compared an upload receipt against the caller-owned input after awaiting the request. If that input changed during dispatch, a receipt for a different tenant or project could be accepted. Snapshot the original metadata and bytes before dispatch, enforce the size limit before copying, and retain the validated client configuration.
Validation
Reproduced the scope and configuration mutation failures before the fix.
31 focused client/coordinator tests passed, including rejection and matching receipt controls.
Full suite: 1291 passed, 197 skipped. Typecheck, lint (8 existing warnings), and production build passed.
The client is internal; this does not enable customer uploads or establish production authorization.
## Problem and change
The internal DOC0 client compared an upload receipt against the caller-owned input after awaiting the request. If that input changed during dispatch, a receipt for a different tenant or project could be accepted. Snapshot the original metadata and bytes before dispatch, enforce the size limit before copying, and retain the validated client configuration.
## Validation
- Reproduced the scope and configuration mutation failures before the fix.
- 31 focused client/coordinator tests passed, including rejection and matching receipt controls.
- Full suite: 1291 passed, 197 skipped. Typecheck, lint (8 existing warnings), and production build passed.
The client is internal; this does not enable customer uploads or establish production authorization.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem and change
The internal DOC0 client compared an upload receipt against the caller-owned input after awaiting the request. If that input changed during dispatch, a receipt for a different tenant or project could be accepted. Snapshot the original metadata and bytes before dispatch, enforce the size limit before copying, and retain the validated client configuration.
Validation
The client is internal; this does not enable customer uploads or establish production authorization.