noCV
BRAG-102 · Control sources

Apply tenant and document grants before retrieval ranking

Practice briefTaskAdvanced

A highly relevant private guide appears in another tenant's search results.

Focused work estimate
3h 30m + prerequisites
Priority in the scenario
High
Engineering practice
Authorization · Retrieval

Estimated field mix

  • Security60%
  • Applied AI40%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional internal support team needs answers from product guides. Some guides are outdated or restricted, and fluent unsupported answers would create operational mistakes.

Setup prerequisites

  • Author a synthetic document collection with two tenants, conflicting versions, and a deterministic model double; no model account required.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Scope candidate sources before scoring.
  • Recheck grants before returning retrieved text.
  • Ensure denied sources do not influence snippets or counts.

Implementation constraints

  • Authorization belongs in the retrieval service boundary.

Verification to include

  • Retrieve an authorized guide.
  • Query an identical restricted guide from another tenant and verify no disclosure.

Deliverables

  • Scoped retriever.

Rollout and recovery

Fail closed on unknown grants; disable assistant responses if retrieval authorization fails.

Value of the work

For the engineer: Practice retrieval boundaries, citation validation, and deterministic evaluation.

For the team: Create a reviewable assistant prototype with clear refusal, cost, and freshness behavior.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.