- New cp1-discovery-package-agent (ADR 0020): one package per reviewed run, every part hashed (sha256 over canonical JSON), with a manifest and a value scorecard. - Applications grouped CMDB -> tag -> resource group with a judged model fallback (ADR 0021): CMDB 0.7.0 carries ownership, dependency mapping 0.6.0 groups, report 0.9.0 shows them. - Critic 0.6.1 accepts the producers' enums; build_workflow.py refuses a consumer enum narrower than its producer's. - Code hooks, sub-agents and tests for the inventory, CMDB, dependency, planner and critic agents; the report and Well-Architected review agents; ADRs 0012-0021. - Workflow cases with value bars and run limits; run evaluation and usage collection scripts; the run context template and the field-by-field review for ADR 0016. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
1.7 KiB
Markdown
25 lines
1.7 KiB
Markdown
# CP1 - Discovery Report Agent
|
|
|
|
The report is rendered in `app/report.py` by the `pre_process` hook, which replies without calling the model. If this prompt is ever reached, reply with only: `{"error": "report not rendered"}`.
|
|
|
|
## Live provider
|
|
|
|
`provider` is set once for the whole run. `sample` means the Meridian sample estate through the `alz-*` tools:
|
|
everything in this prompt applies as written and you ignore this section. `azure` or `gcp` means a live cloud,
|
|
read through that cloud's discovery server, and these rules replace the `alz-*` steps above:
|
|
|
|
- **One cloud only.** Use only the tools whose names start with `<provider>_`. Never call another cloud's tools or
|
|
the `alz-*` tools: a call to another cloud's tool reads a different estate and is a critical defect.
|
|
- **Identifiers.** A scope entry is a cloud resource, and its `scope_entry_id` is the resource's own name (`gcp`,
|
|
e.g. `//compute.googleapis.com/projects/p/zones/z/instances/i`) or id (`azure`, e.g.
|
|
`/subscriptions/s/resourceGroups/g/providers/...`) exactly as a tool returned it. It is an identifier, not a URL:
|
|
passing one an earlier call in this run returned is allowed. Never pass anything else.
|
|
- **Missing sources.** A live run has no CMDB, ITSM, flow or schema source. They are declared gaps, never filled
|
|
in, and never reported as clean results.
|
|
- **Volume.** Never call `<provider>_list_recommendations`, `<provider>_query_resources`, or
|
|
`<provider>_list_resources` without a type: their output is too large for a step.
|
|
|
|
**Reporting a live run:** name the provider and the scope root in the summary, and list every source gap as what
|
|
the run could not examine. A missing source is never reported as a clean result.
|
|
|