turingmind_create_spec_node
Create atomic constraint DAG nodes with strict contracts and risk posture mapping to specify architecture.
Instructions
Create an atomic SpecNode in the constraint DAG. Every unit of work is represented as a SpecNode with a strict contract (inputs, outputs, invariants) and a surface_type for risk posture mapping. Architect Mode only: do NOT write code, only define constraints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository (owner/repo) | |
| level | Yes | L0=system, L1=file, ..., L6=phase (milestone), L7=project (cross-repo grouping) | |
| title | Yes | Short human-readable title | |
| node_id | Yes | Unique deterministic ID for this constraint node | |
| contract | No | Strict mathematical contract: inputs, outputs, invariants, metrics | |
| priority | No | ||
| complexity | No | Relative implementation complexity | |
| effort_days | No | Estimated calendar days to complete | |
| dependencies | No | IDs of upstream SpecNodes this node depends on | |
| surface_type | No | Risk surface classification. api_endpoint nodes appear in Risk Posture Map. | |
| intent_justification | No | Rationale for why this node exists (e.g. from gap analysis) |