An AI can read every word on a page correctly and still give an incorrect answer about an entire collection. A search may return ten complaints from a database containing hundreds. A report may have more pages, a library may contain inaccessible records, and a query may exclude important cases. Vocabulary Coding and Engineering proposes a Semantic Coverage Manifest: accompany claims about all, none, most and complete with a record of exactly what was requested, what was retrieved and whether the intended evidence boundary was reached. This protects the meaning of a collection as well as the meaning of individual words.
Pagination is a familiar engineering problem. Google’s AIP-158 guidance describes an API convention in which a continuation token indicates that another page may exist; a response can contain fewer items than requested, even zero, before the end. It also distinguishes estimated totals from exact counts. This article extends that lesson into language engineering. A source-specific end-of-collection signal does not prove that every relevant record in the real world was observed. The proposed Z-layer must preserve the query, evidence scope, selection rule, continuation status and known limits, so an AI can explain the difference between no matches found and no matches exist.
- Preserve collection scope, filters, time and access boundaries alongside the retrieved text.
- A successful response is not proof that the whole collection was retrieved.
- Do not infer the end of a collection from a short or empty page when the source supplies another continuation token.
- Distinguish exhaustive retrieval, samples, ranked selections and interrupted searches.
- Distinguish exact totals, estimates, unique records and repeated observations.
- Require scope evidence for universal or negative claims; retain partial results honestly.
- A coverage manifest documents evidence boundaries, not universal completeness or factual truth.
Chapter index
- 1. Why the first page can be completely correct and still mislead
- 2. The meaning of a collection
- 3. Four questions hidden inside all
- 4. A real software convention with a narrow scope
- 5. A small fictional evidence set
- 6. An empty page is not always the end
- 7. Distinguish no matches from no evidence
- 8. Distinguish search from enumeration
- 9. The selection rule is part of the meaning
- 10. Construct the coverage manifest
- 11. Counts have different meanings
- 12. Pagination through a changing collection
- 13. Permission and inaccessible records
- 14. Zoom 0: individual reading and learning
- 15. Zoom 1: the household
- 16. Zoom 2: organisational reporting
- 17. Zoom 3: public statistics
- 18. Zoom 4: scientific literature and global comparisons
- 19. Zoom 5: civilisation and archives
- 20. Six synthetic test cases
- 21. A small deterministic check
- 22. How to report an interrupted search
- 23. Make the claim depend on the manifest
- 24. Four-week practical build
- 25. Questions readers should ask an AI
- 26. The next engineering step
1. Why the first page can be completely correct and still mislead
A fictional online catalogue displays the first twenty books matching a search. An AI reads the page and says that the library owns twenty books on the subject. Every title in the answer is real, but the count may be wrong. Another page may contain more. The search might only include published catalogue entries or one branch’s collection. This is an error of scope rather than necessarily an error of transcription. The AI has confused the collection it observed with the collection described by the question. Vocabulary engineering must preserve that distinction before it can reliably operate with words such as all.
2. The meaning of a collection
A collection is not merely a pile of text. Its membership may be determined by a query, a time range, a database, a permission boundary and a definition. For a support team, the set of all complaints this month may exclude requests classified as suggestions. For a researcher, all relevant articles may mean records indexed in a specified database under a specified search strategy. Neither is equivalent to everything that happened in society. Define the universe that a statement refers to. An answer about a returned subset needs a different scope marker from an answer about a complete, defined collection.
3. Four questions hidden inside all
When a user says all records, ask all records of what type, from which source, within which interval, and accessible under which conditions? There may be additional constraints, such as whether archived, deleted or restricted entries are included. The word all is not automatically wrong; it is a powerful logical term whose range must be understood. A well-bounded request can be evaluated. An unbounded one may need qualification. The proposed meaning record carries the resolved universe and leaves unresolved boundaries explicit instead of allowing an AI to silently choose the most convenient collection.
4. A real software convention with a narrow scope
AIP-158 provides a concrete example of a pagination contract. In the convention it documents, the continuation token, rather than the number of returned items alone, indicates whether the client needs to continue. A short or empty response can still have a continuation token. Some APIs use links, numbered pages, offsets or other mechanisms instead, and their rules may differ. An implementation must follow its actual source contract. The lesson is not to apply one API convention everywhere. It is to record the contract used to decide whether retrieval was complete.
5. A small fictional evidence set
Suppose a building maintenance database contains 65 incident records within a specified week. A request returns records in batches of 20. The first response contains 20, the second 20, the third 20 and the last 5. If the query and snapshot are stable and the service supplies the documented end signal after the fourth response, the retrieval may establish coverage of that defined collection. If the agent stops after the first response, it has observed 20, not 65. The source might report a total, but the agent must distinguish the reported count from the retrieved record count.
6. An empty page is not always the end
In another fictional run, the first response contains 20 items, the second contains no items but supplies a continuation token, and a later response contains seven. An assistant that stops at the empty response may falsely conclude there are no further incidents. The source may be scanning a large collection, filtering results or handling a delayed operation. AIP-158 expressly accommodates short or empty responses before the end of a collection. The exact handling of empty responses depends on the API. The agent should use the documented continuation signal and record any interruption, rather than inventing completeness.
7. Distinguish no matches from no evidence
There are at least three materially different sentences: “No matches were returned on this page”; “No accessible matches were found in the completed search under these filters”; and “No such event occurred.” The first is a local observation. The second is a bounded search result. The third is a claim about the world and usually needs much stronger evidence. Even a perfectly executed query can miss unrecorded events, alternate spellings, excluded categories or unavailable systems. Language engineering should prevent automatic promotion from a negative search result to a universal negative factual assertion.
8. Distinguish search from enumeration
Search engines and retrieval-augmented generation systems often return ranked selections, not exhaustive enumerations. A top-ten result list answers a question about what the ranking system selected. It does not establish that only ten records match or that the selected records represent the population. Enumeration tries to traverse an explicitly defined collection. Sampling intentionally studies a subset using a specified design. These are different evidence operations. A coverage manifest should name which operation occurred. Do not treat a ranked search result as a random sample, and do not estimate population prevalence from it without a defensible method.
9. The selection rule is part of the meaning
The previous Retrieval Anchor Trap examined what happens when AI rewrites the question and retrieves evidence for a different meaning. Here the query may remain unchanged while the traversal itself is incomplete. Both can produce an apparently well-supported answer. Store the user’s original question, the executed query, filters and ranking or enumeration mode. Then record the pages and completion evidence. That separation makes it possible to diagnose two distinct failures: wrong query and incomplete execution. Correcting one does not automatically repair the other. An agent may need to redo the search if its scope changed.
10. Construct the coverage manifest
A proposed manifest includes a collection identifier, source and version if known, query, filters, sort order, reference time or snapshot, access scope, requested coverage, mode, page or batch count, unique records observed, reported total and whether it is exact or estimated. It also includes the source-defined end signal, error status and unresolved exclusions. Continuation tokens may be sensitive or short-lived; a public report need not expose their actual values. The key is to preserve the existence and status of the continuation path while retaining sufficient internal evidence for authorized verification.
11. Counts have different meanings
A system can count returned rows, unique record IDs, distinct events, distinct people or eligible cases. These counts may all differ. A complaint system might return two rows for one incident because the incident has two attached reports. A pagination retry may return a record already observed. Deduplicating record IDs can prevent counting the same record twice, but it does not establish the identity of real-world events. The collection definition must state the unit being counted. A number without its unit, scope and method can remain numerically correct while answering the wrong question.
12. Pagination through a changing collection
When records are added or removed between page requests, offset-based traversal may duplicate or skip records. Other cursor systems may offer different consistency properties. A stable snapshot or source-defined cursor with documented guarantees can help, but not every system supports them. Record the actual consistency conditions. If the collection changed and the client cannot establish a coherent snapshot, label the result as a traversal over a changing source, rather than a definitive count as of one moment. The Semantic Idempotency article addresses repeated operations; the present article addresses the integrity of a collection being observed.
13. Permission and inaccessible records
An employee may see only the records assigned to their team. A public search may omit private documents. An archive may have material that is not yet digitized. A complete traversal of accessible results can therefore be incomplete relative to a broader question. Do not attempt to bypass access controls to satisfy the word all. Instead, make the access boundary explicit. When the user needs a wider result and has appropriate authority, use an authorized source or ask for an approved export. A transparent limit is better than a confident assertion built on invisible exclusions.
14. Zoom 0: individual reading and learning
A learner reads the first page of a story and concludes that a character never changed their mind. The conclusion may be premature because the relevant event occurs later. Teaching the learner to distinguish what has been read from what has not is a small but important exercise in evidence discipline. Adults face the same problem when reading manuals, contracts and long online discussions. Before making a universal claim, ask whether the relevant section, annex or continuation was examined. If it was not, phrase the answer as a provisional interpretation of the material read.
15. Zoom 1: the household
A family reviewing its expenditure asks an assistant for all recent bills. The assistant sees only the first page of one account’s activity. It can accurately summarize those entries, but it should not label the sum total household spending. Some payments may be on another account, cash or still pending. A useful summary names the source, time interval, categories and number of records obtained. Where the family wants a broader total, it should identify authorized additional sources rather than guess from a partial statement. In personal contexts, privacy and financial accuracy matter alongside convenience.
16. Zoom 2: organisational reporting
A company requests every unresolved support case before reallocating staff. The first page happens to show common minor issues, while later pages contain specialist requests. A premature summary may direct resources to the wrong queue. This is a fictional example, but the mechanism is easy to test. A reporting workflow can require a completed traversal for exhaustive totals, or clearly label ranked and sampled results. The resulting report should include enough metadata for a colleague to reproduce the collection and understand its omissions. Good vocabulary turns “all cases” from a vague promise into an inspectable operation.
17. Zoom 3: public statistics
A public agency reports incidents in a defined reporting system. The scope may exclude events not reported to the agency, and the latest period may be incomplete. A journalist or AI assistant should distinguish recorded incidents from total events in the population. A complete extract from a register is not automatically a census of reality. The coverage manifest can carry reporting period, definition, reporting lag, revision status and known exclusions. The point is not to undermine useful official statistics, but to prevent changing the claim during summarization. A carefully bounded number can remain valuable without being universal.
18. Zoom 4: scientific literature and global comparisons
A literature review may search multiple databases, use explicit eligibility criteria and document exclusions. A ranked AI retrieval of a few papers may be useful for orientation, but it is not equivalent to a systematic review. Different databases index different journals, languages and document types. A transparent evidence collection distinguishes the search strategy, coverage, screening and synthesis stages. For cross-country comparisons, the meaning of a record may also differ by jurisdiction. Neither more pages nor a bigger count automatically solves definitional incompatibility. The profile and collection boundaries must travel together.
19. Zoom 5: civilisation and archives
Future readers may find a set of surviving documents and mistake it for a complete record of an era. The survival of evidence is shaped by preservation, loss, access and historical collection practices. A durable archive should preserve inventory manifests, acquisition scope, known gaps and the conditions under which records were catalogued. It cannot make missing history reappear. By recording what the archive contains and what it does not establish, future readers gain a better basis for interpretation. In this sense, a semantic coverage manifest is a small form of intellectual honesty carried across generations.
20. Six synthetic test cases
Design a toy collection with known membership. Case 1: traverse all pages under a stable query. Case 2: stop early with a continuation signal. Case 3: return an empty intermediate page. Case 4: repeat a page after a timeout. Case 5: return an estimated total that differs from the actual retrieved count. Case 6: exclude a set of records under an access rule. The expected report distinguishes complete bounded retrieval, interruption, continuation, duplicates, estimated totals and access limits. These are proposed tests, not empirical findings. Use synthetic data so the ground truth is inspectable.
21. A small deterministic check
For the toy collection, assign each record a stable ID. Track the observed IDs, their page references, and whether the declared terminal condition has been reached. Compare the observed set with the known fixture. Inject a missing page and verify that the coverage check changes even if every returned record is parsed correctly. Inject duplicate rows and check that the raw row count and unique ID count differ. This exercise demonstrates that accurate extraction and complete retrieval are separate properties. In a live collection where the true membership is unknown, the fixture’s certainty cannot simply be assumed.
22. How to report an interrupted search
An assistant might say: “I retrieved 40 unique records from the first two batches of the specified search. The source indicated further results, but retrieval stopped. The following summary covers only these 40 records.” If the user asked for a complete audit, the assistant should avoid presenting this as a finished audit. For a task where a sample is sufficient, it can explain the sampling or selection method. A useful partial answer need not pretend to be exhaustive. Preserve both the information obtained and the fact that the original task remains incomplete.
23. Make the claim depend on the manifest
A proposed claim gate can require a successful complete traversal before allowing an exhaustive count of a defined source. It can permit a bounded summary when a traversal is partial, while requiring a visible scope label. It can also prohibit claiming a real-world absence solely on the basis of a completed database search. These are suggested rules for a particular workflow, not general-purpose proof of truth. A human reviewer may still need to inspect filters, definition versions and data quality. Keep the profile result separate from the source’s own estimate of coverage.
24. Four-week practical build
Week 1: define two harmless collections and make known-membership fixtures. Write the meaning of all, none and sample for each. Week 2: implement page tracking, unique-record counts and the actual source’s terminal condition. Week 3: inject empty intermediate pages, repeats, timeouts, changed queries, expired cursors and access restrictions. Week 4: ask another reviewer to reproduce the manifests and assess whether the final claims match the evidence. Publish measured failures and limitations rather than treating the proposed test cases as proof of successful implementation.
25. Questions readers should ask an AI
Did you search or enumerate? Which sources, dates, filters and definitions did you use? How many records did you actually read? Were the returned records unique? Did the source report another page? Was the stated total exact or estimated? Could any relevant records be outside your permissions or indexing scope? If you say none, do you mean none returned or none exists? These questions are not demands for every technical detail in every answer. They are practical checks whenever the distinction changes a meaningful conclusion, particularly an audit, a decision or a public claim.
26. The next engineering step
Attach the coverage manifest to evidence-bearing Z records and the semantic validation profile to their conformance claims. Store the original query and any authorized revisions. A claim about all records should carry a traceable universe, completion evidence and explicit exclusions; a partial result should preserve its partial status through later summaries and translations. The proposed measurable objective is to reduce unsupported exhaustive claims without unnecessarily withholding useful bounded answers. Measure both kinds of errors using known fixtures and real reviewed cases. This is one more operational step toward conserving the meaning of evidence across AI handovers.
Technical references
- Google AIP-158: Pagination (including the 2025 clarification of degraded skip behavior)
- W3C PROV Overview
Related Vocabulary Coding and Engineering
- Retrieval Anchor Trap
- Semantic Validation Profile
- Semantic Idempotency
- Layout-Loss Trap
- Semantic Hypothesis Registry
Research status: AIP-158 is published API design guidance, not a universal rule for every data service. The Semantic Coverage Manifest and proposed claim gate are exploratory vocabulary-engineering designs. All fixture examples and expected outcomes are fictional; no live retrieval benchmark or guarantee of completeness is claimed.
