ALZ-F01 Discovery: package step, value scorecard, application grouping, cases

- 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>
This commit is contained in:
2026-11-05 22:13:25 +00:00
parent f659564208
commit 9e503885cc
211 changed files with 18170 additions and 158 deletions

View File

@@ -90,7 +90,7 @@ NODE = obj({"canonical_id": S, "fan_in": I, "fan_out": I, "depended_on": B,
RANGE = obj({"cidr": S, "site": S, "segment": S, "source_ref": S, "overlap_with": arr(S)}, ["cidr", "site", "source_ref"])
FLOW = obj({"source": S, "destination": S, "port": S, "bytes_total": I, "days_observed": I, "source_ref": S})
NFINDING = obj({"finding_id": S, "type": enum("bottleneck", "single_point_of_failure", "unsupported_device",
"legacy_protocol", "address_overlap", "unowned_rule"),
"legacy_protocol", "address_overlap", "unowned_rule", "unknown_source"),
"subject": S, "measurement": SN, "window": SN, "evidence_refs": arr(S),
"severity": enum("high", "medium", "low")})
ENG = {"type": "string", "description": "The engagement being discovered, e.g. ENG-MERIDIAN-001."}
@@ -230,7 +230,7 @@ AGENTS = [
"from_steps": {"coverage_gaps": "s1.coverage_gaps", "findings": "s2.findings", "records": "s3.records",
"drift_items": "s4.drift_items", "stores": "s5.stores", "network_findings": "s6.findings",
"edges": "s7.edges"}},
model="claude-sonnet-5-5"),
model="gpt-5.6-sol"),
]
# Workflow order: s1 plan, s2 scan, s3 inventory, s4 reconcile, s5 classify + s6 network (parallel), s7 deps, s8 critic
ORDER = ["01", "02", "03", "04", "05", "07", "06", "08"]