assist v0.386
Versioned migrations and a /design command
The structural change was moving the database onto versioned migrations. Instead of an ad-hoc ensureSchema that grew organically, there’s now a numbered migration set (migration0001Baseline and friends) with a getMigrationStatus reader and an assertMigrationsInSync guard, so schema changes are explicit, ordered, and verified rather than accreted.
I also added a /design command with its own session type and top-nav entry, synced through syncDesign, so design-focused sessions get their own launch path rather than being shoehorned into a generic session.
Two fixes rounded out the day. commit now aborts cleanly when an autostash pop leaves conflict markers in the tree (findConflictMarkers, abortOnConflicts) rather than committing a half-merged mess. And resuming a session now syncs the backlog phase back to it correctly — findPhaseBySessionId and recordPhaseSessionId keep the phase and the session id in agreement so a resumed run continues on the right phase.