Vectle found the following relevant skills: - Additive Postgres migration release gate - agent added a column with a default to a 500M-row table and postgres is rewriting the whole table while the app is live
Shows how to build a public audit history projection for document approvals that cannot leak private review notes: filter at projection time on both document status and event visibility, store the public read model in a separate table with no private columns, and handle unpublish, rebuilds and counts. Use when exposin…
Fix this in Article migration agent by migrate the current published version of each article plus its attachments list, leave version history in the source archive, and process one collection at a time with a short manifest. Use when this exact symptom blocks readers or agents working in the help center. Not for platf…
Fix this in Article migration agent by take the article inventory from the source export or sitemap when the index scrape is empty, reconcile the count with the source collection totals, and never migrate from an empty inventory. Use when this exact symptom blocks readers or agents working in the help center. Not for …
Fix this in Article migration agent by build the target category list only from the source category export, reject any mapping to a category absent from that export, and list unmapped categories for a human decision. Use when this exact symptom blocks readers or agents working in the help center. Not for platform outa…
Fix this in Article migration agent by move articles with the export and import tools or the API instead of the admin interface, and reserve the browser for checking one migrated article as a reader. Use when this exact symptom blocks readers or agents working in the help center. Not for platform outages or billing ch…
Fix this in Article migration agent by split the bundle into individual articles before parsing, validate each file for a title and a body, quarantine files that fail, and migrate the valid articles while the bad files are repaired. Use when this exact symptom blocks readers or agents working in the help center. Not f…
Fix this in Article migration agent by store the permission groups already mapped to the target, stop when the same group repeats with no new mapping saved, and send groups that cannot be mapped to a manual list instead of retrying them. Use when this exact symptom blocks readers or agents working in the help center. …
Fix this in Article migration agent by migrate in collection sized batches with a checkpoint per collection, verify each batch on the target before starting the next, and resume a timed out run from the first unfinished collection. Use when this exact symptom blocks readers or agents working in the help center. Not fo…
Shows how to design a read-only service API with modular least-privilege scopes: one scoped service token per module, read-only enforcement at route, scope and data layers, published-only filtering inside the base query, allowlist response projection for user privacy, and coarse opt-in handling for presence data. Use …
Shows how to build named opaque API tokens in ASP.NET Core: issue a prefixed random token once, store only its hash, authenticate it in a dedicated scheme, scope and revoke it per endpoint, and add per-token rate limiting and usage aggregates. Use when replacing shared bearer secrets with revocable per-client tokens. …
Fixes the Help center migration problem where Migrated articles have no revision history on new platform by applying the specific fix in the steps, proving it on one article, collection or query first, then confirming readers see the correction. Use when this exact symptom blocks readers or agents in the help center. …
Fixes the Help center migration problem where Article version history lost after migration to new platform by applying the specific fix in the steps, proving it on one article, collection or query first, then confirming readers see the correction. Use when this exact symptom blocks readers or agents in the help center…
Fixes a Metabase card that fails because a column no longer exists by syncing the schema and updating the question to the current field name. Use when a saved question breaks after a table change. Not for a whole database connection failure affecting every card.
Builds an authenticated EF Core employee directory that returns only a minimal public DTO: exclusion of blocked and system accounts before search and counting, server-side Select projection with no admin fields, an allowlisted sort with an id tie-breaker, and clamped pagination. Use when a directory endpoint returns u…
How to fix a migration that passed locally on sqlite but failed in production on postgres: reproducing on real postgres, fixing the dialect differences, and making CI test against postgres. Use when the local/prod database mismatch hides failures. Not for failures that reproduce on postgres locally.
How to fix a migration preview that lied because the dry run used a different postgres search_path than the real migration: aligning the two and making previews trustworthy. Use when the dry-run output does not match what the migration actually does. Not for previews that are wrong for other reasons.
How to fix a deploy marked failed because the health check queried a table the migration had locked: making health checks lock-aware and migration-safe. Use when health checks fail spuriously during migrations. Not for health checks failing because the app is genuinely broken.
Vectle found the following relevant skills: - agent d1 migration locked the table during peak traffic - agent's suggested index fixed the SELECT but the migration locked the table for 40 minutes during the ALTER
Recovery when a column rename broke microservices that were still reading the old name: restoring compatibility immediately, then doing the rename properly with dual-write and phased reader migration. Use when a rename broke unknown readers. Not for renames with no live readers.
A guard playbook for when an agent runs a migration against production because DATABASE_URL pointed at prod: assessing what ran, and building target verification into the agent's procedure so it never happens again. Use when a migration hit the wrong database due to environment confusion. Not for migrations that faile…
Vectle found the following relevant skills: - agent ran the migration against staging and it passed, then the same file failed on prod - production data broke an... - [agent's D1 migration ran against local instead of remote: the --remote flag w…