Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Validate Vellum Assistant database and workspace migrations. Use when adding, editing, reviewing, or testing migrations, release-note migrations, persisted schemas, workspace file formats, or data backfills.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -43% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -46% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -45% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -55% | 0% |
Use a migration for shipped interfaces and persisted data:
Do not delete migration files. Migrations are append-only, even when their logic becomes obsolete.
For DB migrations:
assistant/src/persistence/migrations/.migrationSteps array in assistant/src/persistence/steps.ts.db-*migration*.test.ts test.Check for ordering drift and never reorder existing migrations.
For workspace migrations:
assistant/src/workspace/migrations/.WORKSPACE_MIGRATIONS in assistant/src/workspace/migrations/registry.ts.workspace-migration-*.test.ts test.Never reuse or reorder existing migration IDs.
There is currently no release-note surfacing mechanism. The update-bulletin feature (workspace migrations appending to a workspace bulletin file, processed by a background conversation at daemon startup) was removed. Do not add new 0XX-release-notes-* workspace migrations — the historical set is frozen by workspace-release-notes-feature-flag-guard.test.ts. If a release needs user-facing notes, design an explicit on-demand surfacing mechanism first.
Run the focused migration test first. Add package typecheck when migration exports, schema types, or registry wiring changed:
bashcd assistant && bun test src/__tests__/workspace-migration-example.test.ts cd assistant && bun test src/__tests__/db-example-migrations.test.ts cd assistant && bunx tsc --noEmit
Replace example paths with the actual test files related to the change.
Other measured skills in the registry, with their headline benchmark lift.