Files
Jonathan Boniface 66c32745aa
Some checks failed
check agents / check (push) Failing after 14s
F02: Assessment report and package (ADR 0014, 0015); register agents in KAB
- Report (cp1-assessment-report-agent 0.2.0, step s7): a model writes the
  Assessment report from facts worked out in code (register, gaps, scorecard,
  rule traces, checks, and what each application is from the Discovery
  package); code sets the verdict and renders the pages. The
  disposition_signoff review point moves from the critic to the report.
- Package (cp1-assessment-package-agent 0.1.1, step s8): after sign-off, every
  step's output in one package, with a register, a gaps register, the
  sign-off record, lineage and a sha256 per part, in code. Page step s9.
- scripts/kab_register_agents.py: registers deployed agents in KAB's agent
  catalog (an in-place workflow update doesn't).
- Runs exec_1b1257380df7 (014) and exec_374d5d577077 (015) completed on
  crucible-kab-dev: critic pass, report figures all in its facts, package
  complete with every digest recomputing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:19:10 +00:00

369 lines
11 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Assessment report inputs",
"type": "object",
"required": [
"engagement_id",
"run_id"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"discovery_execution_id": {
"type": [
"string",
"null"
],
"description": "Run input: the Discovery run's execution id."
},
"discovery_approval_ref": {
"type": [
"string",
"null"
],
"description": "Run input: the Discovery approval (ADR 0002)."
},
"artifact_ids": {
"type": [
"array",
"string",
"null"
],
"description": "Run input: the Discovery package's artifact id(s)."
},
"rate_card_document": {
"type": [
"string",
"null"
],
"description": "Run input: the rate card's JSON as text (ADR 0009); only its id and sha256 are used."
},
"agent_versions": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Each Assessment agent's version when the workflow was built, set as a static input by scripts/build_workflow.py."
},
"intake_verified": {
"type": [
"boolean",
"null"
],
"description": "cp1-assessment-intake-agent: verified. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_run_id": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: discovery_run_id. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_package_version": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: package_version. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_critic_verdict": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: critic_verdict. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_provider": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: provider. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_parts_verified": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: parts_verified. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_absent_parts": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: absent_parts. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_source_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: source_gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_agent_versions": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-intake-agent: agent_versions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_status": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: status. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"preconditions": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-planner-agent: preconditions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"rate_card_id": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: rate_card_id. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"in_cloud_estate": {
"type": [
"boolean",
"null"
],
"description": "cp1-assessment-planner-agent: in_cloud_estate. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"application_source": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: application_source. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"applications": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: applications. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"tasks": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: tasks. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"coverage_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: coverage_gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_summary": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-planner-agent: summary. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_note": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profiles": {
"type": [
"array",
"null"
],
"description": "cp1-cloud-readiness-profiler-agent: profiles. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profile_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-cloud-readiness-profiler-agent: gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profile_note": {
"type": [
"null",
"string"
],
"description": "cp1-cloud-readiness-profiler-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"scores": {
"type": [
"array",
"null"
],
"description": "cp1-migration-risk-scorer-agent: scores. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"high_risk_tail": {
"type": [
"array",
"null"
],
"description": "cp1-migration-risk-scorer-agent: high_risk_tail. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"risk_note": {
"type": [
"null",
"string"
],
"description": "cp1-migration-risk-scorer-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"posture_status": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: status. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_provider": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: provider. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"posture_score": {
"type": [
"null",
"number"
],
"description": "cp1-security-posture-assessment-agent: posture_score. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"controls": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: controls. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_findings": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: findings. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"pillars": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: pillars. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"injection_flags": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: injection_flags. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_note": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"dispositions": {
"type": [
"array",
"null"
],
"description": "cp1-disposition-tco-agent: dispositions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"producer_signoff_queue": {
"type": [
"array",
"null"
],
"description": "cp1-disposition-tco-agent: signoff_queue. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"scoring_note": {
"type": [
"null",
"string"
],
"description": "cp1-disposition-tco-agent: scoring_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"verdict": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: verdict. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"checks": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: checks. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"rejected_dispositions": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: rejected_dispositions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"signoff_queue": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: signoff_queue. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"unverified_claims": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: unverified_claims. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"critic_model": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: critic_model. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"executor_models": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: executor_models. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"critic_summary": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: summary. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"description": "The parse step's text (p1.parsed_content): the Discovery package, read in code to say what each application is. The model never receives it."
}
}
}