Skip to content
Duoduo Mediaevidence to decision

Capstone 29

Enterprise policy assistant

Answer policy questions by role, region and effective date with safe abstention.

Track
H · Industry capstones
Level
Advanced
Version
v1.0
Status
Open · initial release

You receive a partially working system, a decision contract, versioned datasets and hidden defects. Completion requires a reproducible implementation, inspection report, optimized configuration, decision analysis and executive presentation.

In brief

Build a policy assistant that answers by role, region and effective date, cites correctly and abstains safely. The capstone exercises ingestion metadata, retrieval filters, grounded generation, access control, injection defenses and evaluation gates end to end.

Core concepts

29.1Three filters that must never fail

Effective date, region and role entitlement are hard filters applied at retrieval. Any answer from a superseded, wrong-region or restricted document is a critical failure regardless of other scores.

Conflicting FAQs are lower authority than policy text. Encode an authority order and cite the highest-authority source.

29.2Release gates

Gate on recall of exceptions, citation correctness, correct abstention, zero restricted-content leakage and injection resistance, each by region and role slice.

Worked example

An answer from a restricted section

Situation: A contractor receives a salary-band answer drawn from an HR-only appendix.

  1. 1Trace shows the appendix chunk lacked an access label.
  2. 2Fix ingestion to inherit document-level labels into every chunk.
  3. 3Add a leakage test suite run on every release.

Outcome: Leakage tests pass 0 of 0 exposures across 120 restricted probes.

Decision rules

  • Apply date, region and role filters at retrieval.
  • Prefer policy text over FAQs when they conflict.
  • Any leakage blocks release.

Common pitfalls

  • Labels applied to documents but not inherited by chunks.
  • Treating FAQ answers as equal to policy text.

Key vocabulary

Authority order
A ranking of source types used to resolve conflicts.
Leakage test
A probe checking that restricted content is never returned to unauthorized users.

Core risks

Superseded files, restricted sections, conflicting FAQs, injection and missing exceptions.

Required deliverables

Authorized RAG pipeline, test suite, incident trace, governance controls and release decision.

Milestones

  1. 1
    Contract and threat modelDecision boundary, actions, evidence, risk, access and escalation.
  2. 2
    BaselineReproducible run, test set, component metrics, traces and known limitations.
  3. 3
    InspectionRoot causes for hidden failures and regression tests.
  4. 4
    OptimizationQuality-cost frontier and selected policy under hard constraints.
  5. 5
    DecisionCausal assumptions, uncertainty, sensitivity and recommended action.
  6. 6
    ReviewExecutive summary, technical appendix and reviewer response.

Question set

5 questions. Answer all, then check to see explanations.

0/5
  1. Q1A user asks about parental leave in a region with an exception. What must the answer do?
  2. Q2An employee asks about a colleague’s salary band. What should happen?
  3. Q3A policy was updated yesterday. How do you ensure answers use it?
  4. Q4Which metric best reflects success for this assistant?
  5. Q5What should the release gate include before rollout?

Answers in this view are not saved.

See it in practice

This capstone mirrors a real enterprise knowledge engagement and the deliverables of our AI Information Quality Audit.