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.
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']) |