---
name: velin-migration-legacy-wc
description: Replace legacy *-wc tags with canonical VelinStyle components (migrate.legacy-wc).
---
# Legacy WC Migration

## Purpose
Replaces legacy *-wc tags with canonical components.

## Domain
L · category `migration`

## Capabilities
- `migrate.legacy-wc`

## Permission
`write` · **requiresApproval: true**

## Allowed actions
- READ
- ANALYZE
- WRITE

## Forbidden actions
- APPLY
- ROLLBACK
- ACCEPT
- DEFER
- NOTE
- ACKNOWLEDGE
- CATALOG
- MANIFEST
- CLASSIFY
- invent-target

## Stop conditions
- SR-11
- SR-12

## Agent role / risk
Migrator · risk `med`

## Reuse
1. SEARCH canonical component replacements before inventing wrappers (BP-C03, BP-R01).
2. Prefer official WC/component map from docs/registry.

## Workflow
1. Detect legacy `*-wc` usage.
2. Map only to **known** canonical replacements.
3. Unknown tag → STOP / document — do not invent component names.
4. Not Acceptance, not Catalog, not Apply.

## Best practices
- BP-C03, BP-R01–R03, BP-C02

## Inputs / Outputs
- Inputs: html, docs
- Outputs: diff, report
