Review the prerequisites
Suitable for: Backend developers learning Agent applications.
- Computation, references, and consistent snapshots for large results
- The working input of the model can be small, and the computational basis for the conclusions cannot be silently reduced. The complete data is saved in the controlled artifact, the value calculated by the program is determined, and the model is read and interpreted on demand; citations, pagination and abstracts must indicate the version, scope and completeness.
How does the mechanism work?
Step-by-step explanation
- There are 100 rows on the previous page. Can you give the total amount directly?
Context truncation changes what is visible; it must not silently change the scope of conclusions.
- What should I do if the artifact reference is obtained by another tenant?
Externalizing data reduces context load but introduces a separate read boundary.
- How to handle underlying data updates during paging?
Pagination requires consistency across pages as well as splitting results into chunks.
Design · Explain the trade-offs
Design integration and release boundaries
Objectives of this level: Design real snapshot pagination, current read authorization and evidence storage responsibilities.
Visual guide · Small context, complete computation
The packer separates observed sums from full totals. Incomplete pages keep total=null; artifact references still require current authorization on later reads. Select the figure to open it at full size.
Move large work into an authorized compute plane
Use a read-only query/aggregation job against a defined snapshot. Store a versioned artifact with digest, byte size, retention and tenant/task ownership. Return schema-bounded aggregates plus a small preview; fetch additional slices only after checking current authorization. Treat signed URLs as bearer capabilities with limited lifetime, and keep them out of broadly retained telemetry.
Programmatic tool calling can combine parallel reads and filter results before they enter context. Bound concurrency, attempts, elapsed time and artifact size; execute only tools currently authorized for that task. Code-generated selection cannot broaden a tool's permissions. The new runtime-architecture course compares progressive tool loading and this compute pattern.
For ongoing writes, choose a real database snapshot or a materialized export, and state its freshness. If exact snapshot access is unavailable, report the narrower observed basis instead of manufacturing a global total. Test real storage bytes/hash mismatch, permission revocation before a later download, truncated pagination and deleted artifacts. The existing packer does not execute SQL, fetch URLs or verify real file contents.
Continue the same implementation
Use the complete function contract and reproduction commands in the implementation layer. Public cases remain in cases/tool-result-artifacts.json inside the existing extended-agent-practice-v1.zip. These are local fixtures, not remote-model or production-load measurements.
code example
Design integration and release boundaries
Move large work into an authorized compute plane
Use a read-only query/aggregation job against a defined snapshot. Store a versioned artifact with digest, byte size, retention and tenant/task ownership. Return schema-bounded aggregates plus a small preview; fetch additional slices only after checking current authorization. Treat signed URLs as bearer capabilities with limited lifetime, and keep them out of broadly retained telemetry.
Programmatic tool calling can combine parallel reads and filter results before they enter context. Bound concurrency, attempts, elapsed time and artifact size; execute only tools currently authorized for that task. Code-generated selection cannot broaden a tool's permissions. The new runtime-architecture course compares progressive tool loading and this compute pattern.
For ongoing writes, choose a real database snapshot or a materialized export, and state its freshness. If exact snapshot access is unavailable, report the narrower observed basis instead of manufacturing a global total. Test real storage bytes/hash mismatch, permission revocation before a later download, truncated pagination and deleted artifacts. The existing packer does not execute SQL, fetch URLs or verify real file contents.
Acceptance task for this level
Change the stated condition, predict the branch before running, and write a300-word ADR distinguishing implemented local behavior, missing integration proof and the owner of each production invariant.
Reading this browser’s record…
Hide the answer and check your understanding
Does a stored URI/digest or old approval grant a later read?
Expand reference derivation
No. Recheck current principal and permission epoch, then the real storage ACL and bytes. This lab compares trusted metadata locally; it does not authenticate or grant future storage access.
Further explanations and practice
When encountering unfamiliar principles, first read the implementation, continuous questioning and migration cases, and then independently explain the premise and boundaries. Answers and notes are saved to the original account record.
All linked explanations and exercises (1 )
Sources and verification scope
The principles are based on public information; the numbers, cases and tasks are the teaching design of this website. Offline experiments verify the range noted on this page, and the learning effect still needs to be judged through independent tasks and feedback.