Today nothing in the extension tells the user that v2 exists or how to get there.
How:
Show an information-level diagnostic on schema_version: 1 in workflow .archify / *.workflow.json files, with a quick fix, Migrate to schema 2.
Convert to temp JSON, run migrate, and write the result back in the source format (YAML for .archify, via scripts/to-yaml.mjs logic). Apply it as a single WorkspaceEdit so undo works.
If migration fails, show its diagnostics instead of editing.
Done when: a test migrates a v1 workflow fixture and the result validates.
Detect workflow diagrams that use `schema_version: 1` and offer to migrate them to schema version 2.
**Why:** the workflow schema accepts both versions, and the bundled CLI has a migration:
```
archify migrate workflow <old.json> <new.json> --to-schema 2 [--json]
```
Today nothing in the extension tells the user that v2 exists or how to get there.
**How:**
- Show an information-level diagnostic on `schema_version: 1` in workflow `.archify` / `*.workflow.json` files, with a quick fix, **Migrate to schema 2**.
- Convert to temp JSON, run `migrate`, and write the result back in the source format (YAML for `.archify`, via `scripts/to-yaml.mjs` logic). Apply it as a single `WorkspaceEdit` so undo works.
- If migration fails, show its diagnostics instead of editing.
**Done when:** a test migrates a v1 workflow fixture and the result validates.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Detect workflow diagrams that use
schema_version: 1and offer to migrate them to schema version 2.Why: the workflow schema accepts both versions, and the bundled CLI has a migration:
Today nothing in the extension tells the user that v2 exists or how to get there.
How:
schema_version: 1in workflow.archify/*.workflow.jsonfiles, with a quick fix, Migrate to schema 2.migrate, and write the result back in the source format (YAML for.archify, viascripts/to-yaml.mjslogic). Apply it as a singleWorkspaceEditso undo works.Done when: a test migrates a v1 workflow fixture and the result validates.