fix(identifier): verify migration per repository unit
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a023c0-a0a3-7c03-b395-5a0d2757214d
This commit is contained in:
parent
956efbb7ae
commit
887943108e
6 changed files with 49 additions and 19 deletions
|
|
@ -122,6 +122,8 @@ def test_migration_verification_detects_tampering_and_source_drift(tmp_path: Pat
|
|||
)
|
||||
plan = plan_identifier_migration(tmp_path, "helixforge")
|
||||
assert verify_identifier_migration_plan(plan)["ok"] is True
|
||||
assert verify_identifier_migration_plan(plan, repo_slug="one")["ok"] is True
|
||||
assert verify_identifier_migration_plan(plan, repo_slug="missing")["ok"] is False
|
||||
|
||||
path.write_text(path.read_text(encoding="utf-8") + "\nchanged\n", encoding="utf-8")
|
||||
verification = verify_identifier_migration_plan(plan)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue