Task Briefs and Examples
Why It Matters
Section titled “Why It Matters”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.
# OutcomeAdd document citations to the answer view.
# User needUsers 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