Skip to content

Task Briefs and Examples

A useful task brief separates outcome, user need, scope, constraints, acceptance criteria and verification. It gives the agent enough context to make local choices while keeping the human in charge of intent and risk.

# Outcome
Add document citations to the answer view.
# User need
Users must be able to inspect the source behind an AI-generated claim.
# Scope
- API response schema and web answer component
- Existing retrieval pipeline only
# Constraints
- Preserve backward compatibility
- No new production dependency
- Do not expose internal storage identifiers
# Acceptance criteria
- Every grounded claim can show one or more source links
- Missing citations degrade gracefully
- Contract and UI tests pass
- Accessibility is verified by keyboard
# Verification
- Run: npm test
- Run: npm run lint
- Render and inspect the answer view