turingmind_bootstrap_codebase
Scan a project directory to auto-create L2 SpecNodes with blank contracts for progressive invariant and metric filling. Use dry_run to preview without writing to the database.
Instructions
Scan an existing project directory and auto-create L2 SpecNodes for each module group. Nodes are created with blank contracts — fill in invariants and metrics progressively. Use dry_run=true first to preview what would be created without writing to the DB. Skips excluded directories (node_modules, .venv, pycache, etc.) automatically.
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": {
"repo": "<repo>",
"project_path": "<project_path>"
},
"name": "turingmind_bootstrap_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository (owner/repo) | |
| dry_run | No | If true, preview nodes without writing to the DB (default: false) | |
| exclude_dirs | No | Directory names to skip (default: node_modules, .venv, __pycache__, .git, dist, build) | |
| project_path | Yes | Absolute path to the project root to scan | |
| include_patterns | No | Glob patterns to include (default: ['*.py','*.ts','*.js','*.jsx','*.tsx']) |