Create a spec-loop feature
createScaffolds a new spec-loop feature with the next FEAT number, renders its first phase, and refreshes spec/README.md while enforcing one active feature unless an owner override is recorded.
Instructions
Write the skeleton of a new spec-loop feature (next FEAT number, first phase), render it and refresh spec/README.md. One feature at a time: refuses while another feature is not done, naming it, unless the owner asked for it explicitly (by owner with a reason, recorded in the new feature's lifecycle).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Who decided the creation; defaults to agent. Pass owner only when the owner explicitly asked to open this feature while another one is not done | |
| name | Yes | Kebab-case name, e.g. maket-http-connector | |
| root | Yes | Absolute path of the project that holds or will hold spec/; required | |
| title | Yes | Title for the owner | |
| reason | No | The owner's reason for opening a feature while another one is not done; required with by owner in that case |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ok | Yes | ||
| next | Yes | ||
| hooks | Yes | onEnter project hooks of the first phase, run once the feature is created | |
| errors | Yes | ||
| render | Yes | ||
| feature | Yes |