One attachment. Three possible projections.
Verified bytes, opaque identity, Session authorization, quarantine, and retention.
Endpoint, account, model route, API version, digest, state, expiry, and deletion.
Plan at the exact route.
localSessionroutenative | parsetruthDo not reduce capability to a Boolean.
- PDFInline or upload? Embedded text, rendered pages, OCR, citations, encryption, and page limits.
- VideoContainer, codecs, frames, audio, subtitles, duration, timestamps, and sampling.
- LifecycleProcessing, reuse, expiry, deletion, residency, and route changes.
attachment sha256:raw…
provider exact endpoint
route model + API
state ready
expires 2026-08-29…Route deliberately.
Only when the exact route declares the media, transfer form, semantics, and limits.
Use bounded parsing for stable citations; combine it with native visual/audio understanding when required.
Keep a human-only card or return an actionable refusal when no safe consumer exists.
Tell the truth about media.
Record native text, OCR, page images, coordinates, omissions, and truncation separately.
Record frame sampling, audio, subtitles, timestamps, and any events the route can miss.
Six high-value release gates.
- 01A provider file id never replaces the durable attachment identity.
- 02Bindings are scoped to endpoint, account, API, model route, and digest.
- 03Reconnect cannot duplicate a pending provider upload.
- 04Route changes force safe re-planning instead of stale-id reuse.
- 05PDF evidence declares text, OCR, rendering, citations, and truncation.
- 06Video evidence declares frames, audio, subtitles, and sampling.
Primary evidence.
- Composer file request #4766
- PDF/video request #4725
- rc.2 image attachment vocabulary
- OpenAI file inputs
- Gemini PDF processing
- Gemini video understanding
Keep the complete architecture record.
The canonical guide covers local admission, capability records, binding identity, upload recovery, PDF and video truth boundaries, egress policy, failure routing, and twenty-seven acceptance gates.
Read the complete guide