NPI plan
Tooling, supply-chain and line-setup workstreams.
All action kinds · Project workflow
- Kind:
npi_plan - Availability: available
- Registry cost category:
one_call - Lifecycle stage IDs:
npi,tooling,supply_chain_setup,assembly_process_and_line_setup
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.
What this does
Section titled “What this does”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 |
|---|---|---|---|
targetShipDate |
string | No | Pattern: ^\d{4}-\d{2}-\d{2}$ |
toolingNeeded |
boolean | No | |
processes |
string[] | No | Max items 20 |
Input JSON schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "targetShipDate": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" }, "toolingNeeded": { "type": "boolean" }, "processes": { "maxItems": 20, "type": "array", "items": { "type": "string", "maxLength": 100 } } }}Request the action
Section titled “Request the action”Prepare action.json with kind: "npi_plan" and an input object matching the schema above.
Replace PROJECT_ID with your saved project ID. Use a new idempotency key for new work and retain it for an identical retry.
maglev actions request PROJECT_ID --input action.json \ --idempotency-key example-npi-plan-001 --jsonRead 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.
Output
Section titled “Output”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 |
|---|---|---|---|
workstreams |
object[] | Yes | |
workstreams[].name |
string | If parent supplied | |
workstreams[].steps |
object[] | If parent supplied | |
workstreams[].steps[].step |
string | If parent supplied | |
workstreams[].steps[].dependsOn |
string[] | If parent supplied | |
workstreams[].steps[].typicalDurationDays |
integer or null | If parent supplied | |
workstreams[].steps[].basis |
string | If parent supplied | The passage the duration comes from, attributed to the factory that stated it, or why it is null |
gates |
object[] | Yes | |
gates[].name |
string | If parent supplied | |
gates[].evidence |
string | If parent supplied | |
longLeadItems |
string[] | Yes | Only items the project, the request or a passage names |
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": { "workstreams": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "steps": { "type": "array", "items": { "type": "object", "properties": { "step": { "type": "string" }, "dependsOn": { "type": "array", "items": { "type": "string" } }, "typicalDurationDays": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "null" } ] }, "basis": { "type": "string", "description": "The passage the duration comes from, attributed to the factory that stated it, or why it is null" } }, "required": [ "step", "dependsOn", "typicalDurationDays", "basis" ], "additionalProperties": false } } }, "required": [ "name", "steps" ], "additionalProperties": false } }, "gates": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "evidence": { "type": "string" } }, "required": [ "name", "evidence" ], "additionalProperties": false } }, "longLeadItems": { "type": "array", "items": { "type": "string" }, "description": "Only items the project, the request or a passage names" }, "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": [ "workstreams", "gates", "longLeadItems", "assumptions", "openQuestions", "sources" ], "additionalProperties": false}