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

242 lines
5.5 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Assessment package",
"type": "object",
"required": [
"engagement_id",
"run_id",
"package_version",
"manifest"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"package_version": {
"type": "string",
"const": "1.0"
},
"manifest": {
"type": "object",
"required": [
"package_version",
"created_at",
"critic_verdict",
"discovery",
"rate_card",
"signoff",
"parts",
"absent_parts",
"complete",
"problems",
"scorecard"
],
"properties": {
"package_version": {
"type": "string"
},
"engagement_id": {
"type": [
"string",
"null"
]
},
"run_id": {
"type": [
"string",
"null"
]
},
"execution_id": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
},
"critic_verdict": {
"type": [
"string",
"null"
]
},
"discovery": {
"type": "object"
},
"rate_card": {
"type": "object"
},
"models": {
"type": "object"
},
"agent_versions": {
"type": "object"
},
"signoff": {
"type": "object",
"required": [
"gate",
"decision",
"signed_off",
"basis"
],
"properties": {
"gate": {
"type": "string"
},
"decision": {
"type": "string"
},
"signed_off": {
"type": "array",
"items": {
"type": "string"
}
},
"basis": {
"type": "string"
}
}
},
"parts": {
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"sha256"
],
"properties": {
"sha256": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$"
},
"items": {
"type": "integer"
}
}
}
},
"absent_parts": {
"type": "array",
"items": {
"type": "string"
}
},
"complete": {
"type": "boolean"
},
"problems": {
"type": "array",
"items": {
"type": "string"
}
},
"scorecard": {
"type": "object"
}
}
},
"discovery": {
"type": "object",
"description": "cp1-assessment-intake-agent's output fields, copied unchanged."
},
"plan": {
"type": "object",
"description": "cp1-assessment-planner-agent's output fields, copied unchanged."
},
"profiles": {
"type": "object",
"description": "cp1-cloud-readiness-profiler-agent's output fields, copied unchanged."
},
"risk": {
"type": "object",
"description": "cp1-migration-risk-scorer-agent's output fields, copied unchanged."
},
"security": {
"type": "object",
"description": "cp1-security-posture-assessment-agent's output fields, copied unchanged."
},
"dispositions": {
"type": "object",
"description": "cp1-disposition-tco-agent's output fields, copied unchanged."
},
"critic": {
"type": "object",
"description": "cp1-assessment-critic-agent's output fields, copied unchanged."
},
"register": {
"type": "object",
"required": [
"applications"
],
"description": "One row per application, joined in code.",
"properties": {
"applications": {
"type": "array",
"items": {
"type": "object",
"required": [
"application_id",
"disposition",
"confidence",
"signoff",
"risk_score",
"evidence_ref"
],
"properties": {
"signoff": {
"enum": [
"signed_off",
"not_required",
"rejected",
"not_disposed",
"not_signed_off"
]
}
}
}
}
}
},
"gaps": {
"type": "object",
"required": [
"items"
],
"description": "What Assessment had to do without, per application, worked out in code.",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"application_id",
"kind",
"item",
"effect",
"reason",
"fill_from"
],
"properties": {
"kind": {
"enum": [
"coverage",
"risk_factor",
"readiness_signal",
"profile",
"confidence",
"tco_input"
]
}
}
}
}
}
}
}
}