Files
cp1-agents/individual-agents/ALZ-F02: Assessment & Disposition Workflow Agent/docs/adr/0001.md
Jonathan Boniface 041e199248
Some checks failed
check agents / check (push) Failing after 12s
ALZ-F02 Assessment: critic code checks (ADR 0011), represents edges (ADR 0012)
- Critic 0.2.0 / 0.2.1: K-04 (risk), K-05 (confidence), K-06 (TCO), K-07 (routing) and K-11
  (schema and 7R enum) run in code in the critic's hooks (app/arithmetic.py,
  app/business_logic.py); post_process sets those checks, the rejected dispositions, the
  sign-off queue and the verdict. The model keeps the judgement checks; a different reading of
  a code check is kept in unverified_claims. K-07 checks the disposition agent's own queue.
  Tests on the records of run exec_4d88027a4d26, whose model sums were wrong.
- A represents edge is not a dependency (ADR 0012): risk scorer 0.1.1 and disposition 0.1.2
  leave it out of dependents and dependencies; the disposition and critic prompts carry the
  risk scorer's rule. Run exec_1f518b04d6e4: APP-001's risk 1.00 -> 0.00, out of the tail.
- The scaffold declares the critic's hooks, copies app/ in its Dockerfile, and keeps its
  app/ and tests/ when regenerating.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 13:20:40 +00:00

1.6 KiB

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: 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.