Files
Jonathan Boniface e22d037ab0 ALZ-F02 Assessment: individual agents, intake, rate card input, critic fixes
- Six declarative agents generated from the v1.1 stories (scaffold_from_stories.py, ADR 0001),
  and a 9-step workflow export (build_workflow.py).
- Code-only intake (ADR 0008) verifies the one Discovery package in code before any agent.
- The rate card is the run input rate_card_document; no upload step (ADR 0009).
- Critic 0.1.6 after live runs on crucible-kab-dev:
  - K-12 model independence checked at build time against each agent's deployed model
    (ADR 0010); the critic reports it from its two inputs;
  - receives in_cloud_estate for K-10; an unverified K-10 never fails the run alone;
  - K-08 allows the scoring note to list findings as advisory, as ALZ-ASM-04 must;
  - carries ALZ-ASM-03's and ALZ-ASM-04's rule sections, copied by the scaffold, so it can
    recalculate risk, confidence and TCO.
- The scaffold refuses to regenerate unless every story file is present.
- Case azure-crucible-kab-dev-assessment with an illustrative rate card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:13:25 +00:00

24 lines
1.4 KiB
Markdown

# Context: CP1 - 7R Disposition & TCO Agent
For coding agents. People's documentation is in `docs/`.
| | |
|---|---|
| Story | ALZ-ASM-04 (ADO 3214462); v1.1 story files `drafts/cp1/agentic-landing-zone/stories/F02-assessment/ALZ-ASM-04-*` in the engineering hub workspace |
| Workflow step | 5 of `../workflows/cp1-alz-assessment-individual.json` |
| Inputs | `discovery_documents` <- `p1.parsed_content`, `discovery_files` <- `p1.file_metadata`, `tasks` <- `s1.tasks`, `applications` <- `s1.applications`, `rate_card_id` <- `s1.rate_card_id`, `profiles` <- `s2.profiles`, `scores` <- `s3.scores`, `high_risk_tail` <- `s3.high_risk_tail`, `security_findings` <- `s4.findings` |
| MCP tools (read-only) | none |
| Model | `gpt-5.6-sol` (`kubernetes/configmap.yaml`) |
## How the prompt was made
`prompt.md` is the story's System Prompt and Guardrails, plus generated sections (MCP tools, steps, Discovery
documents) at the top and the charter at the end. The rules stay as the story's pseudo-code: a declarative agent has
no functions, so the model applies them itself and ALZ-ASM-06 recalculates them (ADR 0001).
## Invariants
1. The reply is exactly `schemas/output.json`. Later steps read its fields by name.
2. Every MCP tool in `agent.yaml` `mcp:` is read-only, from an existing server, and in the story's allowlist.
3. Discovery records are cited `discovery:{execution_id}/{agent_id}/{record_key}`.