Skip to content

Audit and migrate legacy snippets safely - #1266

Closed
danielporterda wants to merge 2 commits into
snippet-legacy-compatibilityfrom
snippet-legacy-migration-tool
Closed

Audit and migrate legacy snippets safely#1266
danielporterda wants to merge 2 commits into
snippet-legacy-compatibilityfrom
snippet-legacy-migration-tool

Conversation

@danielporterda

@danielporterda danielporterda commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What changed

Adds the repository/commit migration plan and a CLI that audits each legacy output against a complete immutable <Snippet> declaration before applying page, manifest, and output changes. Application is transactional and preserves page offsets.

Why

Bulk migration must fail closed instead of silently changing published examples or partially rewriting pages.

Validation

Migration regression tests, Ruff, mypy, and content audits pass in the completed stack.

This is a draft layer in native stack #1263.

Signed-off-by: danielporterda <daniel.porter@digitalasset.com>
Signed-off-by: danielporterda <daniel.porter@digitalasset.com>
@danielporterda danielporterda changed the title snippet legacy migration tool Audit and migrate legacy snippets safely Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant