From 869b6ce241c7454250b296a462a479ef09bf6469 Mon Sep 17 00:00:00 2001 From: "KOKO\\Mimi" Date: Sat, 15 Aug 2026 03:23:39 +0900 Subject: [PATCH] fix: repair live MITC4 document links --- docs/MITC4_SUPP.md | 12 +++++----- tests/test_agent_skill_workflow_contract.py | 25 +++++++++++++++++++++ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/docs/MITC4_SUPP.md b/docs/MITC4_SUPP.md index a974e9d..6d3d14a 100644 --- a/docs/MITC4_SUPP.md +++ b/docs/MITC4_SUPP.md @@ -7,12 +7,12 @@ 정의하는 문서가 아니라, 이미 승인된 요구조건·정식화·I/O·reference·release 문서를 보충하는 회고 자료다. 계약이 충돌하면 이 문서가 아니라 다음 문서를 우선한다. -- `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` +- `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` 라인 참조는 회고 작성 시점의 기준 커밋 `6c41cde41af4d6cd474b008e5ae81769fff0aa79` 을 사용한다. `path:line`은 이 기준 커밋의 파일과 라인을 뜻한다. 중간 실패가 최종 diff --git a/tests/test_agent_skill_workflow_contract.py b/tests/test_agent_skill_workflow_contract.py index 8697733..16f0630 100644 --- a/tests/test_agent_skill_workflow_contract.py +++ b/tests/test_agent_skill_workflow_contract.py @@ -207,6 +207,31 @@ def test_live_guidance_declares_eight_stage_workflow(): assert "docs//" 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))