2.0 KiB
2.0 KiB
Migration Audit Report
Project: {{PROJECT_NAME}}
Date: {{DATE}}
Generated by: @outfitter/migrate init
Summary
| Category | Count | Files |
|---|---|---|
Exceptions (throw) |
{{THROW_COUNT}} | {{THROW_FILES}} |
| Try/Catch blocks | {{TRY_CATCH_COUNT}} | {{TRY_CATCH_FILES}} |
| Console logging | {{CONSOLE_COUNT}} | {{CONSOLE_FILES}} |
| Hardcoded paths | {{PATH_COUNT}} | {{PATH_FILES}} |
| Custom error classes | {{ERROR_CLASS_COUNT}} | — |
| Documentation files | {{DOC_COUNT}} | — |
| Unknowns | {{UNKNOWN_COUNT}} | — |
Estimated Effort
| Stage | Scope | Effort |
|---|---|---|
| Foundation | Setup | Low |
| Handlers | {{HANDLER_COUNT}} functions | {{HANDLER_EFFORT}} |
| Errors | {{ERROR_CLASS_COUNT}} classes | {{ERROR_EFFORT}} |
| Paths | {{PATH_COUNT}} usages | {{PATH_EFFORT}} |
| Adapters | {{ADAPTER_COUNT}} commands/tools | {{ADAPTER_EFFORT}} |
| Documents | {{DOC_COUNT}} files | {{DOC_EFFORT}} |
| Unknowns | {{UNKNOWN_COUNT}} items | Review required |
Dependencies to Add
bun add @outfitter/contracts @outfitter/logging @outfitter/config
Optional:
bun add @outfitter/cli # If building CLI
bun add @outfitter/mcp # If building MCP server
bun add @outfitter/file-ops # If file operations with path security
bun add @outfitter/daemon # If building background services
Migration Plan
See plan/ for stage-by-stage breakdown:
- Foundation — Dependencies, context, logger
- Handlers — Convert to Result-returning handlers
- Errors — Map to error taxonomy
- Paths — XDG-compliant paths
- Adapters — CLI/MCP transport layers
- Documents — Update documentation
- Unknowns — Items requiring review
Next Steps
- Review this report for accuracy
- Adjust priorities in 00-overview.md
- Begin with Stage 1 (Foundation)