Repair Unison type definitions
unison-updatecommandsetup L1★3
channingwalton/dotfiles ↗What it does
Repair Unison definitions broken by upstream changes
Best for
Fixing type errors that appear after updating Unison definitions to use new library versions
Inputs
- · Unison update response with sourceCodeUpdates section
- · Type errors in affected definitions
Outputs
- · Fixed definitions ready for re-submission
- · Single mcp__unison__update-definitions call with all repairs
Requires
- · mcp__unison__update-definitions MCP tool
Preconditions
- · Prior update-definitions call returned sourceCodeUpdates
- · Affected definitions placed in temporary branch by MCP
- · Type errors parseable from MCP response
Failure modes
- · MCP response malformed or missing sourceCodeUpdates
- · Type errors unsolvable without API/library changes
- · Definition omitted from repair submission (silently removes code)
Trust signals
- · Emphasizes completeness (omitted defs are deleted, not optional)
- · Requires EVERY affected definition in single call
- · Preserves behavior during signature changes
- · Loop repeats until all type errors resolved