Orchestrator report phase (ADR 0013) and fetching in code (ADR 0014), with the report renderer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.9 KiB
2.9 KiB
name, description, metadata
| name | description | metadata | ||||
|---|---|---|---|---|---|---|
| discovery-analyse | Analyse collected discovery data -- inventory, CMDB reconciliation, data classification, network and dependencies -- through the specialist sub-agents. Use when the request's phase is analyse. |
|
Run the analyse phase in these steps, in order. Each step's sub-agent needs the
records the steps before it stored. Call workspace_list() first to see the refs, and pass only refs it lists: a source
the run didn't use, such as ITSM, has no record.
- Inventory.
fetchlist_appsasinventory-app-list, and read it. Thenfetchget_appfor each application asinventory-sources, withkey="app_id". Thendelegate("dsc_03_inventory", ..., input_refs=[every collect/findings-* ref, "collect/cmdb-records", "collect/itsm-records", "analyse/inventory-sources", <every plan/source-documents and plan/artifact-NN record in workspace_list(phase="plan")>]). - Reconciliation. If
source_gapsinplan/task-graphlistscmdb, skip these calls, but still delegate. Otherwise readanalyse/inventory,fetchcmdb_queryfor each record ascmdb-candidateswithkey="hostname", read it, andfetchdiff_recordsfor each candidate ascmdb-matches(if there are no candidates, leavecmdb-matchesout of the refs). Thendelegate("dsc_04_cmdb_reconciliation", ..., input_refs=["analyse/inventory", "analyse/cmdb-matches", "collect/cmdb-records", "collect/itsm-records", "plan/task-graph", <the same plan/source-documents and plan/artifact-NN records>]). - Data classification.
fetchscan_schemafor each record inanalyse/inventorywhoseasset_classisdatabaseorstorage_array, asschemas, withkey="scope_entry_id". Thendelegate("dsc_05_data_classification", ..., input_refs=["analyse/inventory", "analyse/schemas", "plan/task-graph"]). - Network. One
fetch, asnetwork-sources, withcollect_topology,map_flowsandanalyze_bottlenecksfor each site in the plan'scollect_networktasks, with{"site": <its target_ref>}. Thendelegate("dsc_07_network", ..., input_refs=["analyse/network-sources", "analyse/inventory"]). - Dependencies. One
fetch, asdependency-sources, withget_dependenciesandtrace_callsfor each canonical record that has ascope_entry_id, andtracefor the set. Thendelegate("dsc_06_dependency_mapping", ..., input_refs=["analyse/inventory", "analyse/drift-report", "analyse/network", "analyse/dependency-sources"]).
Never read row data and never pass a tool anything but ids. If a step's tool calls are refused, still delegate with what you stored, and report the refusal.
Reply with the phase outcome:
summary: canonical records, drift items, classified stores, edges, network findings.issues: refused calls, failed hand-offs, records queued for SME review.next_phase:critique.verdict: null.