What problem does it solve?
Annotates codebases with dimensional analysis comments documenting units, dimensions, and decimal scaling. Use when someone asks to annotate units in a codebase, perform a dimensional analysis, or find vulnerabilities in a DeFi protocol, offchain code, or other blockchain-related codebase with arithmetic. Prevents dimensional mismatches and catches formula bugs early.
Core Features & Use Cases
- Orchestrates a full dimensional-analysis pipeline across a repository, delegating scanning, vocabulary discovery, annotation, propagation, and validation to specialized subagents, then manages batching, persistence, retries, coverage gates, and final reporting.
- Maintains artifacts such as DIMENSIONAL_SCOPE.json and DIMENSIONAL_UNITS.md to drive downstream steps and reuse vocabulary across runs.
- Audits all in-scope arithmetic files and ensures complete, end-to-end coverage with accurate provenance for later steps.
Quick Start
Activate the dimensional-analysis workflow against a repository to run the full pipeline.