fix: repair live MITC4 document links

This commit is contained in:
KOKO\Mimi
2026-08-15 03:23:39 +09:00
parent 925c4851c9
commit 869b6ce241
2 changed files with 31 additions and 6 deletions
@@ -207,6 +207,31 @@ def test_live_guidance_declares_eight_stage_workflow():
assert "docs/<feature-id>/" in text, path
def test_mitc4_live_authority_links_use_feature_bundle():
text = read(ROOT / "docs" / "MITC4_SUPP.md")
authority_section = text.split("라인 참조", maxsplit=1)[0]
for path in (
"docs/linear-static-mitc4-shell/requirements.md",
"docs/linear-static-mitc4-shell/formulation.md",
"docs/linear-static-mitc4-shell/io.md",
"docs/linear-static-mitc4-shell/reference-model.md",
"docs/linear-static-mitc4-shell/numerical-review.md",
"docs/linear-static-mitc4-shell/release.md",
):
assert path in authority_section
for legacy_path in (
"docs/requirements/linear-static-mitc4-shell.md",
"docs/formulations/mitc4-shell-formulation.md",
"docs/io-definitions/linear-static-mitc4-shell-io.md",
"docs/reference-models/linear-static-mitc4-shell-reference-models.md",
"docs/numerical-reviews/linear-static-mitc4-shell-review.md",
"docs/releases/linear-static-mitc4-shell-release.md",
):
assert legacy_path not in authority_section
def test_agent_toml_and_skill_ui_metadata_are_parseable():
for path in sorted(AGENT_DIR.glob("*.toml")):
parsed = tomllib.loads(read(path))