Skip to content

Production readiness review

Evidence-backed pass, gap or unknown checklist.

All action kinds · Project workflow

  • Kind: production_readiness
  • Availability: available
  • Registry cost category: one_call
  • Lifecycle stage IDs: pvt, pre_production, compliance_documentation

The cost category describes model work in the registry; it is not a manufacturing price or a monetary quote. Read maglev actions kinds --json for current availability and schemas.

Returns a draft for review against the project brief and supporting evidence. A completed action does not establish that a physical test, production gate or engineering review has passed.

Send these fields inside the request’s input object. Use only facts you have, and keep unresolved requirements explicit. Optional fields with defaults can be omitted.

Field Type Required Details
answers object No Free form answers to the readiness questionnaire, keyed by question id or topic
Input JSON schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"answers": {
"description": "Free form answers to the readiness questionnaire, keyed by question id or topic",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 200
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
},
"maxProperties": 120
}
}
}

Synthetic example for action.json; adapt it to your reviewed brief.

{
"kind": "production_readiness",
"input": {
"answers": {
"bom": "Revision A BOM exists; two alternates require approval.",
"drawings": "CAD exists; dimensioned drawings are not released.",
"testPlan": "No approved acceptance test plan yet."
}
}
}

Replace PROJECT_ID with your saved project ID. Use a new idempotency key for new work and retain it for an identical retry.

Terminal window
maglev actions request PROJECT_ID --input action.json \
--idempotency-key example-production-readiness-001 --json

Read action.status, action.output, deliveries and any task in the response. Model actions can take several minutes. After a timeout, check saved actions before retrying. See request and recovery behavior.

The schema below describes action.output.result. The saved action.output envelope also contains draft: true and a note. It can be null while an action is running or after a failure; check the status before reading the result. Null or missing facts are unknown; preserve source references and open questions.

Field Type Required Details
items object[] Yes
items[].area string If parent supplied
items[].question string If parent supplied
items[].status string If parent supplied One of: pass, gap, unknown
items[].evidence string,null If parent supplied The answer or intake text the status rests on, else null
items[].nextStep string If parent supplied Who does what to close it, or what file to link
readinessSummary string Yes
blockers string[] Yes
assumptions string[] Yes What was assumed in order to write this draft
openQuestions string[] Yes What only the founder, a factory or a lab can answer
sources string[] Yes Repo paths of the passages actually relied on
Output JSON schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"area": {
"type": "string"
},
"question": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"pass",
"gap",
"unknown"
]
},
"evidence": {
"description": "The answer or intake text the status rests on, else null",
"type": [
"string",
"null"
]
},
"nextStep": {
"type": "string",
"description": "Who does what to close it, or what file to link"
}
},
"required": [
"area",
"question",
"status",
"evidence",
"nextStep"
],
"additionalProperties": false
}
},
"readinessSummary": {
"type": "string"
},
"blockers": {
"type": "array",
"items": {
"type": "string"
}
},
"assumptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "What was assumed in order to write this draft"
},
"openQuestions": {
"type": "array",
"items": {
"type": "string"
},
"description": "What only the founder, a factory or a lab can answer"
},
"sources": {
"type": "array",
"items": {
"type": "string"
},
"description": "Repo paths of the passages actually relied on"
}
},
"required": [
"items",
"readinessSummary",
"blockers",
"assumptions",
"openQuestions",
"sources"
],
"additionalProperties": false
}