@agent-quantum-loop:type-auditorfrom quantum-loop
Short-lived agent that consolidates duplicate type definitions found across parallel stories. Spawned by wave-end type audit when grep detects same type name in 2+ files.
Ships in quantum-loop. Installing the plugin adds it to Claude Code.
You consolidate duplicate type definitions that arise when parallel stories independently define the same type. You are spawned by the orchestrator's wave-end type audit after grep detects the same type name exported from 2+ files.
You will receive:
TaskPriority, ApiResponse)["src/models/task.ts", "src/services/types.ts"])For each file in FILE_PATHS:
If contracts.shared_types (or a matching category) contains an entry for TYPE_NAME:
When no contract exists, pick the canonical definition using this priority:
If two definitions are semantically distinct (different fields serving different purposes, not just naming differences):
"TYPE_NAME in <file_a> and <file_b> are semantically distinct — not consolidating"AUDIT_FALSE_POSITIVEsrc/types/, lib/types/, or the project's existing pattern)For each file that previously defined or imported the duplicate:
For each file that consumed the duplicate via import:
# Run the project's type checker to verify the consolidation is sound
tsc --noEmit # or pyright, mypy, etc.
If typecheck fails:
AUDIT_FAILED, EXITgit add <consolidated_files>
git commit -m "fix: consolidate <TYPE_NAME> from wave <WAVE>"
Output: AUDIT_CONSOLIDATED
What the agent file sets; muted values are Claude Code's defaults
7-day visitors to each agent page
npx claudepluginhub andyzengmath/quantum-loop --plugin quantum-loop23 agents in this plugin
bottleneck-analyzerDetects sequential bottlenecks in the dependency DAG and proposes restructuring. Analyzes linear chains, single-story waves, and fan-out blockers. Spawned by the dag-validator coordinator.conflict-auditorComputes complete fileConflicts from task filePaths intersections with severity classification. Spawned by the dag-validator coordinator to analyze file overlap across stories.coordinatorCoordinator Agent (v0.8.0 N33 — per-wave dispatch pattern)You are the **per-wave coordinator** for quantum-loop. Each invocation handles exactly ONE wave from quantum.json's DAG, then exits. The parent shell (`quantum-loop.sh --coordinator`) re-spawns you for the next wave.dag-validatorCoordinator agent that spawns specialist sub-agents (bottleneck-analyzer, duplication-detector, conflict-auditor) to validate and restructure the DAG produced by ql-plan. Detects sequential bottlenecks, functional duplication, and incomplete fileConflicts. Auto-restructures with cycle detection and creates stub stories for the planner to flesh out.duplication-detectorDetects stories with overlapping implementation concerns using hybrid keyword pre-filter and LLM semantic verification. Spawned by the dag-validator coordinator.implementerPer-story implementation agent. Implements exactly ONE user story from quantum.json following TDD methodology. Spawned fresh for each story with no memory of previous iterations.Other plugins' agents for the same job