Skip to content
Discussion options

You must be logged in to vote

Marking this as the answer — the model response, plus the rubric.


A strong answer, roughly as I would give it.

"Before designing I need one thing: can an analyst know a document exists but is above their
clearance?
If not, this is not an access-control problem, it is an inference-channel problem,
and it changes the design.

Assuming not. Markings go on the chunk, denormalised, and the filter goes inside the
retrieval query
— never after it. Post-filtering collapses k unpredictably and leaks: result
count becomes a function of content you cannot see.

Because the ontology changes weekly, chunks carry a group key, not a marking set. The
mapping from analyst to permitted keys lives in a smal…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@akash-coded
Comment options

akash-coded Sep 1, 2026
Maintainer Author

Comment options

You must be logged in to vote
0 replies
Answer selected by akash-coded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: retrieval Retrieval, fusion, indexes, encoders casebook A simulated teaching transcript, not a real exchange interview-round A full simulated interview loop
1 participant