Skip to content

Commit 1e78917

Browse files
committed
chore(governance): sync nine-skill wording in METHODOLOGY_MAP and QUALITY_GATES
Post-Round 68 maintenance: align EN Repo Fit Check and Research Alignment with frozen nine-skill policy; add anti-drift tests for EN methodology map and QUALITY_GATES research section.
1 parent 9f88305 commit 1e78917

4 files changed

Lines changed: 21 additions & 3 deletions

File tree

reflective-prompt-library/METHODOLOGY_MAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,6 @@ Multi-agent work requires state, tools, logs, verification, and handoff artifact
225225
| Workflow & Agentic Layer | Aligned | Extended | Workflows, SOP compiler planning, planning engine, and memory consolidation (`04-agent/`). |
226226
| Domain Pack Layer | Aligned | Complete | Keep strategy and domain prompts in `05-domain/`. |
227227
| Repository Template Layer | Aligned | Extended | Maintain instruction templates and the reusable project-knowledge scaffold under `06-repo/`. |
228-
| Skill / Action Layer | Aligned | Extended | Maintain 8 lifecycle skills plus a narrow minimality gate for anti-bloat decisions. |
228+
| Skill / Action Layer | Aligned | Extended | Maintain nine frozen workflow skills (including reflective-minimality gate) for anti-bloat decisions. |
229229
| Quality Gate / Verification | Aligned | Complete | Standardize skill-level quality checks. |
230230
| Governance / Capability Risk | Aligned | Extended | Use `reflective-risk` for high-risk boundaries and `04-agent/runtime-trust-boundary.md` for instruction/data/tool authority review. |

reflective-prompt-library/plans/QUALITY_GATES_SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ The implementation aligns with research findings:
266266

267267
1. **Quality over quantity** - TeaPrompt maintains 72 indexed files vs thousands in other repos
268268
2. **Hierarchical organization** - 6 categories with clear structure
269-
3. **Focused skills** - 8 lifecycle skills plus 1 narrow minimality gate vs comprehensive documentation
269+
3. **Focused skills** - nine frozen workflow skills (including reflective-minimality gate) vs comprehensive documentation
270270
4. **Validation discipline** - Automated quality gates prevent degradation
271271
5. **Lightweight governance** - SRCP simplified to 3 critical fields
272272

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,8 @@ def test_phase2_status_references_post_round_68_maintenance(summary_text: str):
9999
assert "Round 21 audit" not in summary_text
100100
assert "test_readme_governance.py" in summary_text
101101

102+
def test_research_alignment_lists_nine_frozen_skills(summary_text: str):
103+
section = _section_between(summary_text, "## Research Alignment", "## Key Metrics")
104+
assert "nine frozen workflow skills" in section
105+
assert "8 lifecycle skills" not in section
106+

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Anti-drift tests for README governance surface and zh-TW skill count."""
1+
"""Anti-drift tests for README governance surface and skill-count wording."""
22

33
from pathlib import Path
44

@@ -7,6 +7,7 @@
77
LIBRARY_README = Path(__file__).parent.parent.parent / "README.md"
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"
10+
METHODOLOGY_MAP_EN = Path(__file__).parent.parent.parent / "METHODOLOGY_MAP.md"
1011

1112
CURRENT_PANEL_ROUND = "68"
1213
CURRENT_PANEL_OPTIONS = "A–CZ"
@@ -30,6 +31,12 @@ def methodology_map_zh_text() -> str:
3031
return METHODOLOGY_MAP_ZH.read_text(encoding="utf-8")
3132

3233

34+
@pytest.fixture(scope="module")
35+
def methodology_map_en_text() -> str:
36+
assert METHODOLOGY_MAP_EN.is_file(), f"missing {METHODOLOGY_MAP_EN}"
37+
return METHODOLOGY_MAP_EN.read_text(encoding="utf-8")
38+
39+
3340
def test_library_readme_panel_record_current(library_readme_text: str):
3441
assert f"Rounds 1–{CURRENT_PANEL_ROUND}" in library_readme_text
3542
assert f"options {CURRENT_PANEL_OPTIONS}" in library_readme_text
@@ -52,3 +59,9 @@ def test_root_readme_has_north_star_and_governance(root_readme_text: str):
5259
def test_methodology_map_zh_tw_lists_nine_skills(methodology_map_zh_text: str):
5360
assert "9 個" in methodology_map_zh_text
5461
assert "8 個生命週期技能" not in methodology_map_zh_text
62+
63+
64+
def test_methodology_map_en_lists_nine_frozen_skills(methodology_map_en_text: str):
65+
fit_check = methodology_map_en_text.split("## Repo Fit Check", 1)[1]
66+
assert "nine frozen workflow skills" in fit_check
67+
assert "8 lifecycle skills" not in fit_check

0 commit comments

Comments
 (0)