Skip to content

Commit 1c4d210

Browse files
committed
chore(governance): sync nine-skill wording in skill-map
Close the last live "eight lifecycle skills" drift in skills/skill-map.md and add pytest guard alongside METHODOLOGY_MAP and QUALITY_GATES checks.
1 parent 1e78917 commit 1c4d210

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

reflective-prompt-library/plans/tests/test_readme_governance.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
ROOT_README = Path(__file__).parent.parent.parent.parent / "README.md"
99
METHODOLOGY_MAP_ZH = Path(__file__).parent.parent.parent / "METHODOLOGY_MAP.zh-TW.md"
1010
METHODOLOGY_MAP_EN = Path(__file__).parent.parent.parent / "METHODOLOGY_MAP.md"
11+
SKILL_MAP = Path(__file__).parent.parent.parent / "skills" / "skill-map.md"
1112

1213
CURRENT_PANEL_ROUND = "68"
1314
CURRENT_PANEL_OPTIONS = "A–CZ"
@@ -37,6 +38,12 @@ def methodology_map_en_text() -> str:
3738
return METHODOLOGY_MAP_EN.read_text(encoding="utf-8")
3839

3940

41+
@pytest.fixture(scope="module")
42+
def skill_map_text() -> str:
43+
assert SKILL_MAP.is_file(), f"missing {SKILL_MAP}"
44+
return SKILL_MAP.read_text(encoding="utf-8")
45+
46+
4047
def test_library_readme_panel_record_current(library_readme_text: str):
4148
assert f"Rounds 1–{CURRENT_PANEL_ROUND}" in library_readme_text
4249
assert f"options {CURRENT_PANEL_OPTIONS}" in library_readme_text
@@ -65,3 +72,10 @@ def test_methodology_map_en_lists_nine_frozen_skills(methodology_map_en_text: st
6572
fit_check = methodology_map_en_text.split("## Repo Fit Check", 1)[1]
6673
assert "nine frozen workflow skills" in fit_check
6774
assert "8 lifecycle skills" not in fit_check
75+
76+
77+
def test_skill_map_lists_nine_frozen_skills(skill_map_text: str):
78+
core = skill_map_text.split("## Core Architecture", 1)[1].split("##", 1)[0]
79+
assert "nine frozen workflow skills" in core
80+
assert "eight lifecycle skills" not in core
81+
assert skill_map_text.count("`reflective-") >= 9

reflective-prompt-library/skills/skill-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This file maps the prompt library into a small skill/workflow set.
77
Prompt is the entry point, Skill is the action, Context is the memory, Quality Gate is the reality check, and Human Review is the high-risk insurance.
88

99
The library contains many prompts, but the workflow layer intentionally stays compact:
10-
eight lifecycle skills plus one cross-cutting minimality gate.
10+
nine frozen workflow skills (including reflective-minimality gate).
1111

1212
1. `reflective-dispatch`
1313
2. `reflective-brief`

0 commit comments

Comments
 (0)