Agentic Architecture & Orchestration
CCAR-F · 54 questions
- A city 311 resident-services desk agent must keep calling MCP tools until the resident's request is fully resolved. Which stopreason should the loop treat as the signal to continue executing tools rather than ending the turn?
- A permitting chatbot calls a parcel-lookup MCP tool and receives zoning details. What must the agent do with that tool result before the next Claude turn?
- A transit rider-alert agent receives ambiguous requests that sometimes need schedule lookup, sometimes disruption status, and sometimes both. How should tool selection be designed?
- A water-utility dispute agent incorrectly ends its agentic loop as soon as assistant text appears, even when a pending tooluse block is present. What is the problem with that approach?
- A court-clerk assistant caps the agentic loop at five iterations as its primary stop rule and often leaves fee-refund checks unfinished. What should architects recognize about that design?
- A housing waitlist helper should keep working until Claude finishes assisting the resident. Which control-flow rule correctly implements that agentic loop?
- A 311 multi-issue agent looks up trash pickup, then needs a second tool for a related pothole ticket. Why must tool outputs re-enter the same conversation between iterations?
- A parks permit agent team proposes checking whether assistant text contains the word "done" to decide when the agentic loop is complete. What should the architect conclude?
- A city policy-research system uses one coordinator and several research subagents. How should inter-subagent communication be routed for observability and error handling?
- A county open-data research system spawns subagents for separate datasets. What should architects assume about each subagent's conversation context?
- A planning-staff coordinator handles both simple zoning lookups and complex multi-source synthesis. How should it choose subagents?
- A library research coordinator assigns several subagents to gather sources for a civic literacy report. What practice best minimizes duplicated source pulls?
- A housing-policy coordinator reviews synthesis output and notices coverage gaps on eviction-prevention programs. What should it do next?
- A transit-equity study agent decomposes corridor analysis into extremely narrow micro-tasks and later misses whole corridors. What risk does that illustrate?
- A public-health literature coordinator collects findings from multiple research subagents before writing for the board. What is the coordinator's primary role at that stage?
- An emergency-management after-action coordinator needs controlled information flow among damage-assessment, logistics, and communications subagents. Which communication pattern should it use?
- A municipal grants coordinator must spawn research subagents during a funding-scan workflow. What configuration is required for that invocation path?
- A permit-research subagent needs prior GIS findings to continue a parcel review. How should those findings be supplied?
- A city council briefing system configures a write-report subagent that must not call refund or payment tools. Which mechanism is appropriate?
- A school-district modernization team finished a shared baseline analysis in Claude Code and now wants to compare two refactoring approaches without losing that baseline. What should they use?
- A clerk e-filing synthesizer subagent must produce a unified summary from web-search and document-analysis specialists. What should the coordinator embed in the synthesizer prompt?
- A water-quality research pipeline must keep source URLs attributable while feeding excerpt text to a synthesis subagent. How should that information be passed?
- A transit planning coordinator needs corridor studies for three routes at once. How can it spawn that work efficiently in one model turn?
- A parks master-plan coordinator writes prompts for research subagents that may discover unexpected trail-usage patterns. How should those prompts be designed?
- A treasury refund agent must not call processrefund until getresident returns a verified resident ID. How should that prerequisite be enforced?
- A city 311 agent receives one resident message covering trash pickup, a pothole, and a billing dispute. How should the agent handle the multi-concern request?
- A housing caseworker must take over when an agent cannot finish a subsidy issue. What should the escalation packet include for a human without transcript access?
- A permitting fee-waiver path can adjust charges only after identity verification. Why is deterministic enforcement required here?
- A court-fee waiver agent must enforce prerequisite gates before filing adjustments. Which approach provides reliable enforcement when prompt guidance has non-zero failure risk?
- A utility shutoff-prevention agent escalates a hardship case to the human desk mid-process. What should the handoff list for staff?
- A public-health benefits agent must address eligibility and an address correction in one resident contact. How should those concerns be investigated?
- A solid-waste billing agent must verify the account before adjusting charges. Why is prompt text alone insufficient to enforce that order?
- A multi-MCP civic agent receives Unix timestamps from one system and ISO dates from another. How should those formats be normalized for reliable reasoning?
- A treasury agent must stop refund tool calls that exceed a policy threshold and send them to human escalation. Which mechanism provides that guarantee?
- A permitting agent must guarantee fee-cap compliance on every adjustment. Why choose hooks over prompt instructions?
- A transit fare-adjustment agent must prevent policy-violating tool calls at runtime. What should interception hooks do?
- A health-clinic agent consumes legacy EMR MCP tools that return numeric status codes. What should happen before the model reasons on those results?
- A housing subsidy agent has business rules that must never be probabilistically skipped. When should hooks be selected?
- A court payments agent pulls mixed date formats from clerk and finance MCP tools. How should cross-system formats be normalized?
- A 311 agent handles cash disbursements and sees a prompt-only rule never to refund over a threshold. Why is that insufficient?
- A city code-review bot must check each changed file locally and then assess cross-file integration. Which decomposition pattern fits best?
- A legacy permitting-system modernization keeps uncovering unknown dependencies during investigation. Which decomposition approach should the team use?
- A school-district test-coverage agent faces an open-ended codebase improvement task. How should it decompose the work?
- A water SCADA companion must review multiple services without diluting model attention. What should the architecture avoid?
- A GIS ETL remediation has stable, known steps that rarely change. When do fixed sequential pipelines beat adaptive decomposition?
- A transit mobile-app rewrite keeps revealing new constraints during investigation. What is the value of an adaptive investigation plan?
- A municipal website accessibility sweep must cover page-level issues and sitewide navigation. Which pattern should the agent follow?
- A county IT engineer paused an overnight Claude Code investigation and needs to continue the same conversation. Which approach resumes the named session?
- A city platform team finished a shared baseline analysis and wants to compare two testing strategies without losing that baseline. What should they do?
- After public-works code changes overnight, an engineer resumes a Claude Code session. What should they tell the resumed agent?
- After a county GIS schema migration leaves prior tool results stale, how should the platform team continue the investigation?
- A library digital team pauses Claude Code briefly overnight and most prior context remains valid. What should they do next morning?
- A fire-inspections refactor needs two data-model options explored from the same codebase analysis. Which session technique fits?
- Treasury MCP schemas rotated overnight during a batch-job investigation. Which continuation is most reliable?