Remove references to "v4" throughout the code and documentation
Quality Gate / gate (push) Failing after 11s

This commit is contained in:
Jim Lancaster
2026-08-20 16:35:20 -05:00
parent eaeb0bc806
commit bf2f3ac09c
34 changed files with 140 additions and 550 deletions
+17 -17
View File
@@ -16,11 +16,11 @@ ACTIVE_CONTRACT_FILES = (
".github/instructions/error-handling.instructions.md",
".github/skills/python-code-reviewer/skill.md",
".github/skills/evidence-provenance-auditor/skill.md",
"docs/ver4/index_v4.md",
"docs/ver4/architecture_v4.md",
"docs/ver4/requirements_v4.md",
"docs/ver4/schema_v4.md",
"docs/ver4/error_handling_v4.md",
"docs/index.md",
"docs/architecture.md",
"docs/requirements.md",
"docs/schema.md",
"docs/error_handling.md",
"docs/ui/README.md",
)
@@ -50,7 +50,7 @@ def test_active_contract_files_are_present():
def test_no_legacy_authority_references_in_active_contract_files():
"""Active contracts must not route authority through removed V4 revision trees."""
"""Active contracts must not route authority through removed revision trees."""
violations: dict[str, list[str]] = {}
for relative_path in ACTIVE_CONTRACT_FILES:
text = _read(relative_path)
@@ -64,31 +64,31 @@ def test_canonical_authority_references_are_present():
"""Critical instruction and skill files must keep canonical references explicit."""
required_fragments = {
".github/instructions/services.instructions.md": (
"docs/ver4/",
"docs/",
"./error-handling.instructions.md",
"src/transcription/db/models.py",
"docs/ver4/schema_v4.md",
"docs/schema.md",
"append-only",
),
".github/instructions/ui.instructions.md": (
"docs/ver4/",
"docs/",
"./error-handling.instructions.md",
"src/transcription/db/models.py",
"docs/ver4/schema_v4.md",
"docs/schema.md",
),
".github/instructions/error-handling.instructions.md": (
"docs/ver4/error_handling_v4.md",
"docs/ver4/requirements_v4.md",
"docs/error_handling.md",
"docs/requirements.md",
),
".github/skills/python-code-reviewer/skill.md": (
"docs/ver4/*",
"docs/ver4/schema_v4.md",
"docs/*",
"docs/schema.md",
".github/instructions/error-handling.instructions.md",
),
".github/skills/evidence-provenance-auditor/skill.md": (
"docs/ver4/schema_v4.md",
"docs/ver4/requirements_v4.md",
"docs/ver4/error_handling_v4.md",
"docs/schema.md",
"docs/requirements.md",
"docs/error_handling.md",
),
}