Skip to content

Commit a48a8ba

Browse files
committed
Round 80: Escalation anti-drift + thinking-lens preamble guards
- Require Escalation in test_skill_module_contract for all nine skills - Normalize reflective-minimality Module Contract subsection headers - Add Primary workflow surfaces and consumer-map completeness pytest - Reseal panel, governance docs, GLOSSARY playbook step 11
1 parent 434cae5 commit a48a8ba

12 files changed

Lines changed: 73 additions & 14 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Full library docs: [reflective-prompt-library/README.md](reflective-prompt-libra
2121
## Governance
2222

2323
- **Contributing:** [CONTRIBUTING.md](CONTRIBUTING.md) — quality gates, routing maintenance (R8–R12), `make all`
24-
- **Panel record:** [multi-agent-panel-consensus](reflective-prompt-library/plans/multi-agent-panel-consensus-2026-06-25.md) — six-lens Socratic consensus (Rounds 1–79)
24+
- **Panel record:** [multi-agent-panel-consensus](reflective-prompt-library/plans/multi-agent-panel-consensus-2026-06-25.md) — six-lens Socratic consensus (Rounds 1–80)
2525
- **Operator playbook:** [GLOSSARY.md](reflective-prompt-library/GLOSSARY.md) — Governance Maintenance Playbook
2626

2727
The repository contains:

reflective-prompt-library/GLOSSARY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Curated top-of-cheatsheet summary of high-confusion routing traps (ROUTE-002 hol
337337

338338
## Governance Maintenance Playbook / 治理維護手冊
339339

340-
Ongoing upkeep after panel close (Rounds 1–79). Not agent instructions — operator checklist.
340+
Ongoing upkeep after panel close (Rounds 1–80). Not agent instructions — operator checklist.
341341

342342
**Operational test:** Before router tuning, add fresh ROUTE-002/003 holdout phrases; run `make all`; record decisions in `PROJECT_KNOWLEDGE.md` Decision Index when governance surface changes.
343343

@@ -351,4 +351,5 @@ Ongoing upkeep after panel close (Rounds 1–79). Not agent instructions — ope
351351
8. Keep `CONTRIBUTING.md` Routing Maintenance aligned with `ROUTING_CONTRACT.md` R8–R12 when boundaries or cheatsheet parity steps change.
352352
9. When adding benchmark golden tasks, keep `test_benchmark_covers_all_nine_workflows` green and bump `MIN_TASK_COUNT` in `validate_benchmark_fixture.py` if the floor rises.
353353
10. When changing thinking-lens ↔ skill cross-links, update `SKILL_THINKING_SOURCES` and consumer lists in `01-thinking/` Purpose preambles; run `test_prompt_cross_links.py` (including reciprocal `THINKING_LENS_SKILL_CONSUMERS`).
354+
11. When changing Module Contract subsections on workflow skills, keep `Escalation:` present and run `test_skill_module_contract.py`.
354355

reflective-prompt-library/PROJECT_KNOWLEDGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ deferred promotions are recurrence-gated — see [panel backlog](plans/multi-age
7575
> Pointers to the causal trail — plans, reflections, tests, commits. Detail is
7676
> not duplicated here; this is a map, not an archive.
7777
78+
- 2026-06-25 Round 80 panel — Module Contract Escalation anti-drift + thinking-lens preamble consumer guards → [record](plans/multi-agent-panel-consensus-2026-06-25.md)
7879
- 2026-06-25 Round 79 panel — bidirectional thinking-lens ↔ workflow skill preamble cross-links + reciprocal pytest → [record](plans/multi-agent-panel-consensus-2026-06-25.md)
7980
- 2026-06-25 Round 78 panel — complete nine-skill thinking-lens cross-links + Module Contract anti-drift → [record](plans/multi-agent-panel-consensus-2026-06-25.md)
8081

reflective-prompt-library/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Pick **Strictness L1–L6** first (`skills/reflective-dispatch/SKILL.md`, [GLOSS
3030

3131
## Governance Panel Record
3232

33-
Multi-agent Socratic consensus on project goals and the nine skills (Rounds 1–79, options A–EH) is recorded in [plans/multi-agent-panel-consensus-2026-06-25.md](plans/multi-agent-panel-consensus-2026-06-25.md). Run `make all` before claiming routing or governance changes are verified.
33+
Multi-agent Socratic consensus on project goals and the nine skills (Rounds 1–80, options A–EL) is recorded in [plans/multi-agent-panel-consensus-2026-06-25.md](plans/multi-agent-panel-consensus-2026-06-25.md). Run `make all` before claiming routing or governance changes are verified.
3434

3535
## Directory Map
3636

reflective-prompt-library/plans/QUALITY_GATES_SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ ROUTE-002 measures unseen phrasing separately from ROUTE-001. Round 7 (2026-06-2
314314
2. **ROUTE-001/002/003 in CI** — 128 + 102 + 53 paraphrases at 100% consistency (seeded fixtures); `validate_route_fixture.py` gates minimum coverage
315315
3. **Governance validators** — links, lint, governance metadata, PROJECT_KNOWLEDGE, benchmark fixture, skill examples
316316
4. **Harness policy docs** — CONTRIBUTING, AGENTS, SKILL_INSTALLATION, maintenance playbook
317-
5. **Doc anti-drift**`test_routing_contract.py`, cheatsheet parity tests, `test_readme_governance.py`, `test_thinking_prompts_eval_harness.py`, `test_engineering_prompts_eval_harness.py`, `test_prompt_cross_links.py`, `test_core_prompts_eval_harness.py`, `test_agent_prompts_eval_harness.py`, `test_context_prompts_eval_harness.py`, `test_domain_prompts_eval_harness.py`, `test_repo_prompts_eval_harness.py`, `test_validate_governance.py`, `test_validate_links.py`, `test_lint_skills.py`, `test_skill_module_contract.py` (440+ pytest anti-drift suite in CI); reciprocal thinking-lens ↔ skill checks in `test_prompt_cross_links.py`
317+
5. **Doc anti-drift**`test_routing_contract.py`, cheatsheet parity tests, `test_readme_governance.py`, `test_thinking_prompts_eval_harness.py`, `test_engineering_prompts_eval_harness.py`, `test_prompt_cross_links.py`, `test_core_prompts_eval_harness.py`, `test_agent_prompts_eval_harness.py`, `test_context_prompts_eval_harness.py`, `test_domain_prompts_eval_harness.py`, `test_repo_prompts_eval_harness.py`, `test_validate_governance.py`, `test_validate_links.py`, `test_lint_skills.py`, `test_skill_module_contract.py` (Escalation subsection + Trigger/Methods/Output/Never; 440+ pytest anti-drift suite in CI); reciprocal thinking-lens ↔ skill checks in `test_prompt_cross_links.py`
318318

319319
### Ongoing maintenance (not blockers)
320320

@@ -384,4 +384,4 @@ Phase 1 quality-gate tooling and documentation are **complete**. Routing consist
384384
- ✅ Benchmark fixture gate plus optional manual benchmark runs
385385
- ✅ Research-backed design decisions
386386

387-
The project is positioned to grow sustainably with quality discipline built in from the start. **No open implementation blockers** remain from panel Rounds 1–79; work is recurrence-gated maintenance per playbook. The next measurable quality target is **holdout expansion before router tuning** and optional manual baseline-vs-skill benchmark runs — not shipping new core skills without promotion evidence.
387+
The project is positioned to grow sustainably with quality discipline built in from the start. **No open implementation blockers** remain from panel Rounds 1–80; work is recurrence-gated maintenance per playbook. The next measurable quality target is **holdout expansion before router tuning** and optional manual baseline-vs-skill benchmark runs — not shipping new core skills without promotion evidence.

reflective-prompt-library/plans/multi-agent-panel-consensus-2026-06-25.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,5 +2106,48 @@ User directive (repeat): review prompts, plans, skills, and Socratic/critical-th
21062106

21072107
**Resealed 2026-06-25** after **Round 79** (options EE–EH). Bidirectional thinking-lens ↔ workflow skill cross-links complete; reciprocal pytest guards Purpose preambles. Holdout expansion and Escalation subsection anti-drift remain recurrence-gated maintenance.
21082108

2109+
---
2110+
2111+
## Round 80 — Escalation subsection anti-drift + thinking-lens preamble guards (2026-06-25)
2112+
2113+
**Options EI–EL** | Six-lens panel (Opus, Codex, Gemini, Composer, Sakana, GLM)
2114+
2115+
### Round 80 options
2116+
2117+
| ID | Proposal | Verdict |
2118+
| --- | --- | --- |
2119+
| EI | Escalation subsection anti-drift for all nine `SKILL.md` Module Contracts + canonical `Escalation:` format on `reflective-minimality` | **Agree** |
2120+
| EJ | Require `Primary workflow surfaces` on all `01-thinking/` lenses + consumer-map completeness pytest | **Agree** |
2121+
| EK | ROUTE holdout expansion | **Defer** |
2122+
| EL | Router / tenth skill / benchmark CI | **Reject** |
2123+
2124+
### Round 80 verdict table
2125+
2126+
| ID | Option | Verdict | Action |
2127+
| --- | --- | --- | --- |
2128+
| EI | Escalation anti-drift | **Agree** | `test_skill_module_contract.py` + minimality format |
2129+
| EJ | Thinking-lens preamble guards | **Agree** | `test_thinking_prompts_eval_harness.py` + consumer-map test |
2130+
| EK | Holdout expansion | **Defer** | maintenance |
2131+
| EL | Router/tenth skill/benchmark CI | **Reject** | no change |
2132+
2133+
**All roles agree.**
2134+
2135+
## Implemented Changes (Round 80)
2136+
2137+
- `skills/reflective-minimality/SKILL.md`: canonical `Output:` / `Never:` / `Escalation:` Module Contract subsections
2138+
- `plans/tests/test_skill_module_contract.py`: require `Escalation` alongside Trigger/Methods/Output/Never
2139+
- `plans/tests/test_thinking_prompts_eval_harness.py`: `Primary workflow surfaces` preamble guard
2140+
- `plans/tests/test_prompt_cross_links.py`: `test_all_thinking_lenses_tracked_in_consumer_map`
2141+
- `GLOSSARY.md`: playbook Rounds 1–80; step 11 for Module Contract Escalation upkeep
2142+
- `QUALITY_GATES_SUMMARY.md`: Escalation anti-drift note; panel Rounds 1–80
2143+
- `PROJECT_KNOWLEDGE.md`: Decision Index Round 80 entry
2144+
- `README.md`, `reflective-prompt-library/README.md`, `test_readme_governance.py`: panel round 80 sync
2145+
2146+
## Verification (Round 80)
2147+
2148+
- `make all`: pytest + ROUTE-001/002/003 100%
2149+
2150+
## Panel status (updated)
21092151

2152+
**Resealed 2026-06-25** after **Round 80** (options EI–EL). Module Contract Escalation anti-drift closed; thinking-lens preamble consumer guards complete. Holdout expansion remains recurrence-gated maintenance.
21102153

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ def test_round_boundary_terms_present(glossary_text: str):
3030
assert heading in glossary_text, f"missing glossary section: {heading}"
3131

3232

33-
def test_maintenance_playbook_references_round_79(glossary_text: str):
33+
def test_maintenance_playbook_references_round_80(glossary_text: str):
3434
playbook = glossary_text.split("## Governance Maintenance Playbook", 1)[1]
35-
assert "Rounds 1–79" in playbook or "Rounds 1-79" in playbook
36-
assert "Rounds 1–78" not in playbook and "Rounds 1-78" not in playbook
35+
assert "Rounds 1–80" in playbook or "Rounds 1-79" in playbook
36+
assert "Rounds 1–79" not in playbook and "Rounds 1-78" not in playbook
3737

3838

3939

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,11 @@ def _invert_skill_thinking_sources() -> dict[str, tuple[str, ...]]:
288288

289289
THINKING_LENS_SKILL_CONSUMERS = _invert_skill_thinking_sources()
290290

291+
def test_all_thinking_lenses_tracked_in_consumer_map():
292+
"""Every 01-thinking file cited by a skill must appear in the reciprocal map."""
293+
expected = {f"01-thinking/{path.name}" for path in THINKING_PROMPTS}
294+
assert set(THINKING_LENS_SKILL_CONSUMERS) == expected
295+
291296

292297
@pytest.mark.parametrize("lens_ref,consumer_skills", THINKING_LENS_SKILL_CONSUMERS.items())
293298
def test_thinking_lens_preamble_lists_consumer_skills(lens_ref: str, consumer_skills: tuple[str, ...]):

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
METHODOLOGY_MAP_EN = Path(__file__).parent.parent.parent / "METHODOLOGY_MAP.md"
1111
SKILL_MAP = Path(__file__).parent.parent.parent / "skills" / "skill-map.md"
1212

13-
CURRENT_PANEL_ROUND = "79"
14-
CURRENT_PANEL_OPTIONS = "A–EH"
13+
CURRENT_PANEL_ROUND = "80"
14+
CURRENT_PANEL_OPTIONS = "A–EL"
1515

1616

1717
@pytest.fixture(scope="module")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
SKILLS_DIR = Path(__file__).parent.parent.parent / "skills"
1414

15-
REQUIRED_SUBSECTIONS = ("Trigger", "Methods", "Output", "Never")
15+
REQUIRED_SUBSECTIONS = ("Trigger", "Methods", "Output", "Never", "Escalation")
1616

1717

1818
@pytest.mark.parametrize("skill_name", CORE_SKILLS)

0 commit comments

Comments
 (0)