checkpoint
Save only compliant code: validates against strict rules (headers, feature tags, nesting, length), creates restore point, rejects violations before writing.
Instructions
The ONLY way to write code. Validates the code against strict rules before saving: 2-line header comments, FEATURE tags, max nesting depth, max file length. Creates a shadow restore point before writing. REJECTS code that violates formatting rules.
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": {
"file_path": "<file_path>",
"new_content": "<new_content>"
},
"name": "checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Where to save the file (relative to project root). | |
| new_content | Yes | The complete file content to save. |