feat(backup): code_shape_uses travels (v9); consumer-map test expects uses (#2870)
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 7s
CI & Build / integration (push) Successful in 22s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 55s
CI & Build / Build & push image (push) Successful in 25s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-21 15:21:13 -04:00
co-authored by Claude Fable 5
parent d4c7b0e48d
commit 6a0f8ad328
3 changed files with 39 additions and 6 deletions
+3 -2
View File
@@ -18,7 +18,7 @@ def test_backup_version_is_v8():
point of the test — a payload section added without moving the version
produces backups that are structurally different and indistinguishable
by inspection."""
assert backup.BACKUP_VERSION == 8
assert backup.BACKUP_VERSION == 9
def test_not_included_lists_the_known_gaps():
@@ -115,7 +115,8 @@ async def test_export_full_backup_contains_every_declared_section():
"topic_suppressions",
"systems", "record_systems", "design_systems",
"design_tokens", "note_usage_events", "repo_bindings",
"note_supersessions", "code_shapes", "code_shape_events"):
"note_supersessions", "code_shapes", "code_shape_events",
"code_shape_uses"):
assert key in out, f"missing export section: {key}"
assert out[key] == []