Dependency-aware parallel refactor across monorepo modules. Spawns workers per module respecting dependency tiers.
Apply this change across the monorepo: $ARGUMENTS
packages/modules/src/*/package.json and tsconfig.jsontsconfig.json path mappings (which modules reference which)contracts/ directories (Gateway/ACL dependencies)package.json dependencies between workspace packagessrc/core/ (no module dependencies)Run each affected module's test and type-check scripts (read from package.json):
For each tier, starting from Tier 0 (upstream) to the highest tier (downstream):
module-worker subagent per module in this tier — all in parallel$ARGUMENTSsrc/core/ or src/shared/, those go in Tier 0 — before any modulepackage.json scripts, never hardcoded commands