- Write relevance and authorization rules as separate decisions.
- Classify the three fixture sources under a current-Cedar question.
- Define handling for a relevant note with missing effective-date metadata.
Metadata can narrow a search to the correct project or revision, but a mistaken filter can exclude the only relevant source. Define filters from the task and authoritative access rules. The fictional learner asks about Cedar’s current workshop, not every workshop in the archive.
Separate relevance filtering from authorization
A project=Cedar filter helps target the question, while the user’s access policy decides which records may be read at all. Do not treat a model-proposed filter as an access grant. Enforce permissions before returning protected passages and at the underlying document boundary where needed. A general assistant should not gain access to a private collection merely because it names that collection in a query.
Handle time and missing metadata explicitly
A current-policy question may require an active revision rather than the most recently ingested document. A source with missing effectiveDate needs a documented handling rule; silently excluding it can hide uncertainty, while blindly including it can mix incompatible policies. In the fixture, a newly imported old schedule remains old. Ask AI to identify ambiguous metadata cases, then check the source contract instead of inferring meaning from the field name.
Test both overbroad and overnarrow cases
Use a valid Cedar question, a Birch question outside the requested scope and a Cedar note with incomplete metadata. Check which records were excluded and why. A no-result response should expose the relevant coverage limit without leaking inaccessible document details. Keep the filter expression and corpus revision in the evaluation record so another reviewer can reproduce the result and challenge the chosen scope.
Fictional worked example — Scope filter
Supplied input
Cedar active N1; Birch active N2; Cedar old N3 ingested today
Example result to inspect
The Cedar current answer uses N1
Recent ingestion does not convert an old source into the current policy.
This is an authored teaching example, not a recorded live provider run or an independent performance test.
Make the idea concrete.
- Write relevance and authorization rules as separate decisions.
- Classify the three fixture sources under a current-Cedar question.
- Define handling for a relevant note with missing effective-date metadata.
What a useful outcome looks like
Acquisition time and policy applicability are different; the source’s documented revision rules govern currency.
Ask for reasoning you can verify.
Use fictional or permitted data. This is a copyable brief for a separate approved model; no model is called from this article.
Help me review this fictional retrieval and grounded answers exercise: Use dates, collections and access rules without accidentally hiding needed evidence. I will supply the original input, my expected result and the actual transformation. Explain effective revision, identify unsupported assumptions about missing metadata, and propose one bounded negative control. Keep observations separate from hypotheses; do not invent output or act on external systems.
Turn reading into a reviewed checkpoint.
Complete the manual exercise, review each item, then answer the evidence question. This records self-study, not independent assessment of expertise.
Review the checklist and pass the question to save this lesson.
Primary references
References support further checking; cited organizations do not endorse AgentX. This guide is original AI-assisted educational content with illustrative examples. Read the editorial policy or report a correction.
Continue with a related task.
Choose a collection that can answer the task
Define the evidence population before designing a retrieval pipeline.
Preserve source identity through ingestion
Keep a retrieved passage traceable to its original document and revision.
Chunk documents without dropping the rule’s conditions
Keep semantically necessary context together when preparing retrieval units.