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
+6 -6
View File
@@ -7,12 +7,12 @@
정의하는 문서가 아니라, 이미 승인된 요구조건·정식화·I/O·reference·release 문서를 정의하는 문서가 아니라, 이미 승인된 요구조건·정식화·I/O·reference·release 문서를
보충하는 회고 자료다. 계약이 충돌하면 이 문서가 아니라 다음 문서를 우선한다. 보충하는 회고 자료다. 계약이 충돌하면 이 문서가 아니라 다음 문서를 우선한다.
- `docs/requirements/linear-static-mitc4-shell.md` - `docs/linear-static-mitc4-shell/requirements.md`
- `docs/formulations/mitc4-shell-formulation.md` - `docs/linear-static-mitc4-shell/formulation.md`
- `docs/io-definitions/linear-static-mitc4-shell-io.md` - `docs/linear-static-mitc4-shell/io.md`
- `docs/reference-models/linear-static-mitc4-shell-reference-models.md` - `docs/linear-static-mitc4-shell/reference-model.md`
- `docs/numerical-reviews/linear-static-mitc4-shell-review.md` - `docs/linear-static-mitc4-shell/numerical-review.md`
- `docs/releases/linear-static-mitc4-shell-release.md` - `docs/linear-static-mitc4-shell/release.md`
라인 참조는 회고 작성 시점의 기준 커밋 `6c41cde41af4d6cd474b008e5ae81769fff0aa79` 라인 참조는 회고 작성 시점의 기준 커밋 `6c41cde41af4d6cd474b008e5ae81769fff0aa79`
을 사용한다. `path:line`은 이 기준 커밋의 파일과 라인을 뜻한다. 중간 실패가 최종 을 사용한다. `path:line`은 이 기준 커밋의 파일과 라인을 뜻한다. 중간 실패가 최종
@@ -207,6 +207,31 @@ def test_live_guidance_declares_eight_stage_workflow():
assert "docs/<feature-id>/" in text, path 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(): def test_agent_toml_and_skill_ui_metadata_are_parseable():
for path in sorted(AGENT_DIR.glob("*.toml")): for path in sorted(AGENT_DIR.glob("*.toml")):
parsed = tomllib.loads(read(path)) parsed = tomllib.loads(read(path))