diff --git a/scripts/consistency_check.py b/scripts/consistency_check.py index 65cf3d4..ddee209 100644 --- a/scripts/consistency_check.py +++ b/scripts/consistency_check.py @@ -2631,8 +2631,10 @@ def _skip_non_registrar_mint(report: "ConsistencyReport", check_id: str, label: return False report.fixes_applied.append( f"{check_id} skipped: this instance is not the identifier registrar " - f"({label}; set STATEHUB_REGISTRAR=1 on the production instance; " - "ADR-007 interim / RMGR-WP-0005-T01)" + f"({label}; do not retry or set STATEHUB_REGISTRAR directly; after " + "committing and pushing file-backed work run once: " + "uv run --project ~/repo-manager rmgr registrar-reconcile " + "--path . --confirm-primary --push; ADR-007 interim / RMGR-WP-0005-T01)" ) return True diff --git a/tests/test_consistency_check.py b/tests/test_consistency_check.py index b4aa344..0a32c45 100644 --- a/tests/test_consistency_check.py +++ b/tests/test_consistency_check.py @@ -1371,6 +1371,8 @@ class TestC06WorkstreamCreation: assert "state_hub_workstream_id" not in patched assert "state_hub_task_id" not in patched assert any("not the identifier registrar" in fix for fix in report.fixes_applied) + assert any("rmgr registrar-reconcile" in fix for fix in report.fixes_applied) + assert not any("set STATEHUB_REGISTRAR=1" in fix for fix in report.fixes_applied) assert any(issue.check_id == "C-06" for issue in report.issues) # ---------------------------------------------------------------------------