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

444 lines
11 KiB
JSON

{
"type": "object",
"title": "CP1 - 7R Disposition & TCO Agent input",
"properties": {
"engagement_id": {
"type": "string",
"description": "The engagement, e.g. ENG-MERIDIAN-001."
},
"run_id": {
"type": "string",
"description": "The Assessment run; the same id across the workflow's steps."
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id, e.g. exec_0d5c0e2a7f01. Every reference to a Discovery record names it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Discovery run's step outputs as text: the Artifacts step's records, parsed by the parse step (p1.parsed_content). One JSON document per selected artifact, separated by a line '---'."
},
"discovery_files": {
"type": [
"array",
"null"
],
"default": null,
"description": "The parse step's file_metadata (p1.file_metadata): the selected artifacts' names, in the order their text appears in discovery_documents."
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"profile_application",
"score_risk",
"assess_security_posture",
"score_disposition",
"validate"
]
},
"assigned_agent": {
"type": "string",
"enum": [
"ALZ-ASM-02",
"ALZ-ASM-03",
"ALZ-ASM-05",
"ALZ-ASM-04",
"ALZ-ASM-06"
]
},
"application_id": {
"type": [
"string",
"null"
]
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"task_id",
"type",
"assigned_agent",
"depends_on"
]
}
},
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"assets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"application_id",
"assets"
]
}
},
"rate_card_id": {
"type": [
"string",
"null"
]
},
"rate_card_document": {
"type": [
"string",
"null"
],
"default": null,
"description": "The rate card's JSON, given as text in the run input rate_card_document (ADR 0009); see the Feature README."
},
"profiles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"asset_class": {
"type": "string"
},
"os": {
"type": [
"object",
"null"
]
},
"support_status": {
"type": [
"string",
"null"
],
"enum": [
"supported",
"extended_support",
"out_of_support",
null
]
},
"end_of_support": {
"type": [
"string",
"null"
]
},
"services": {
"type": "array",
"items": {
"type": "string"
}
},
"hosting": {
"type": "string",
"enum": [
"cloud",
"virtual",
"physical",
"appliance",
"unknown"
]
},
"evidence_ref": {
"type": "string"
}
},
"required": [
"canonical_id",
"hosting",
"evidence_ref"
]
}
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
},
"dependents": {
"type": "array",
"items": {
"type": "string"
}
},
"telemetry": {
"type": "string",
"enum": [
"none"
]
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"signal": {
"type": "string",
"enum": [
"platform_support",
"hardware_coupling",
"data_constraints",
"dependency_exposure",
"hosting_portability",
"sizing",
"performance_baseline"
]
},
"value": {
"type": "string"
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"available": {
"type": "boolean"
}
},
"required": [
"signal",
"value",
"basis",
"evidence_refs",
"available"
]
}
}
},
"required": [
"application_id",
"assets",
"telemetry",
"signals"
]
}
},
"scores": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"score": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"partial": {
"type": "boolean"
},
"missing_factors": {
"type": "array",
"items": {
"type": "string"
}
},
"factors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"factor": {
"type": "string",
"enum": [
"eol",
"fan_in",
"data",
"change"
]
},
"value": {
"type": [
"number",
"null"
]
},
"weight": {
"type": "number"
},
"contribution": {
"type": [
"number",
"null"
]
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"factor",
"value",
"weight",
"contribution",
"basis"
]
}
},
"high_risk": {
"type": "boolean"
},
"tail_rules": {
"type": "array",
"items": {
"type": "string"
}
},
"unevaluable_triggers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"trigger": {
"type": "string"
},
"missing_fact": {
"type": "string"
},
"canonical_id": {
"type": "string"
}
}
}
}
},
"required": [
"application_id",
"score",
"partial",
"missing_factors",
"factors",
"high_risk",
"tail_rules"
]
}
},
"high_risk_tail": {
"type": "array",
"items": {
"type": "string"
}
},
"security_findings": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"finding_id": {
"type": "string"
},
"control_id": {
"type": "string"
},
"application_id": {
"type": [
"string",
"null"
]
},
"resource_ref": {
"type": "string"
},
"exploitability": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"impact": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"rank_score": {
"type": "integer"
},
"description": {
"type": "string"
},
"evidence_ref": {
"type": "string"
},
"advisory": {
"type": "boolean",
"const": true
}
},
"required": [
"finding_id",
"control_id",
"rank_score",
"description",
"evidence_ref",
"advisory"
]
},
"default": null
}
},
"required": [
"engagement_id",
"discovery_execution_id",
"tasks",
"applications",
"profiles",
"scores"
]
}