Files
flights_web/.crew/workflows/tech-debt-audit.workflow.md
T
2026-04-29 20:52:45 +03:00

1.1 KiB

name, description
name description
tech-debt-audit Whole-repo technical debt audit with file-cited findings and ranked remediation plan.

orient

role: explorer output: audit-orientation.md

Map the repository for a technical debt audit. Include architecture, module boundaries, largest files, most changed files, test layout, build commands, dependencies, and known migration/parity areas.

audit

role: tech-debt dependsOn: orient reads: audit-orientation.md output: TECH_DEBT_AUDIT.md

Run a whole-repo technical debt audit for: {goal}

Produce file:line-cited findings, severity, effort, top priorities, quick wins, "looks bad but is actually fine", and open questions. Do not edit production code.

critique

role: critic dependsOn: audit reads: TECH_DEBT_AUDIT.md verify: true

Challenge the audit for shallow findings, missing evidence, generic advice, false positives, and missing migration/parity debt.

finalize

role: docs dependsOn: critique reads: TECH_DEBT_AUDIT.md output: audit-summary.md

Summarize the audit status, next actions, and whether TECH_DEBT_AUDIT.md is ready to commit.