# 0001. Six declarative agents; scoring as prompt rules, recalculated by the critic | | | |---|---| | Status | Accepted | | Date | 2026-11-02 | | Decided by | Product owner (2026-11-02: individual pattern first; no new MCP servers) | | Requirements changed | ASM-02 to 06: the source tool operations `score_disposition`, `model_tco`, `analyze_licensing`, `write_disposition`, `risk_model`, `profile`, `assess`, `evaluate_controls`, `rank_findings` | ## Context The source definitions name scoring and writing operations as tools. No server provides them, and the product owner asked to build on the existing MCP servers rather than add new ones (Feature 3214442, decision of 2026-11-02). ## Decision - **One declarative agent per ALZ-ASM story,** chained by the KAB workflow, with no orchestrator. This mirrors the ALZ-F01 individual pattern. - **The calculations are not tools.** Profiling, risk scoring, the 7R rule set, confidence, TCO and licensing are fixed rules in each agent's `prompt.md`, written in its output schema. ALZ-ASM-06 recalculates every number from the same inputs (K-04, K-05 and K-06). - **No write tools.** The workflow stores each step's reply. > Refined by [ADR 0011](0011.md): the critic's arithmetic, routing and schema checks run in code. ## Consequences - **The arithmetic rests on the model following the rules,** with the critic as the check. That critic is a different model (ADR 0005), and the human approval at its step is the final gate. - **The sub-agent pattern can do the same arithmetic in code.** Comparing the two patterns on the same cases is the way to measure the difference.