spec
Create, list, track, approve, and freeze deterministic plan documents with a fixed skeleton; approval requires zero gaps, and freezing pins a content hash to enforce immutability.
Instructions
Manage deterministic plan specs. Actions: create, status, approve, freeze, list. Specs use a fixed skeleton (goal, non-goals, constraints, context, files, acceptance, risks, rollback). Approve requires zero gaps; freeze pins a content hash and makes the spec immutable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | What this work must achieve | |
| spec | No | Spec reference for status/approve/freeze (NNN, NNN-slug, or path) | |
| risks | No | Known risks | |
| title | No | Spec title (required for create) | |
| action | Yes | Spec action | |
| context | No | Background context | |
| project | No | Project slug (auto-detected if omitted) | |
| rollback | No | How to undo this work | |
| non_goals | No | Explicitly out of scope | |
| acceptance | No | Acceptance criteria; each item needs a command or a manual reason | |
| constraints | No | Hard constraints | |
| allowed_files | No | Globs this work may touch | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. | |
| forbidden_files | No | Globs this work must not touch |