compile_beliefs
Scans a directory for source files, extracts code entities and cross-file dependencies, and writes belief artifacts with full frontmatter to the vault.
Instructions
Compile source code into belief artifacts (Truth → Belief pipeline).
Scans a directory for source files (.py, .rs, .ts, .js), extracts code entities (classes, functions, structs, traits, imports), resolves cross-file dependencies, and writes belief artifacts to the vault with full frontmatter (claim_id, entity, status, confidence, sources, last_checked, derived_from).
Args: directory: Path to scan. Defaults to the project root. max_files: Maximum files to process (default: 200)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | ||
| max_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |