Skip to content

Commit 734cfcd

Browse files
committed
Review rules/constraints of this project
1 parent 13fcc16 commit 734cfcd

13 files changed

Lines changed: 469 additions & 122 deletions

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ TeaPrompt is a **reflective engineering prompt library** focused on quality over
1010

1111
## Harness Policy (Nine Skills)
1212

13-
TeaPrompt ships **nine frozen workflow skills** as natural-language harness policy — not a multi-agent runtime.
13+
TeaPrompt ships **nine frozen core workflow skills** as natural-language harness policy — not a multi-agent runtime. Nine is the current bounded routing set, not an optimality claim; optional registered domain packs remain outside core routing.
1414

15-
- Pick **Strictness L1–L6** before choosing a skill ([reflective-dispatch](reflective-prompt-library/skills/reflective-dispatch/SKILL.md)).
16-
- Do **not** add a tenth core skill without the three-recurrence promotion gate ([PROJECT_KNOWLEDGE](reflective-prompt-library/PROJECT_KNOWLEDGE.md)).
15+
- Pick **Strictness L1–L6** before choosing a core skill ([reflective-dispatch](reflective-prompt-library/skills/reflective-dispatch/SKILL.md)).
16+
- Do **not** add a tenth core skill without the three-recurrence promotion gate and explicit human approval ([PROJECT_KNOWLEDGE](reflective-prompt-library/PROJECT_KNOWLEDGE.md)).
17+
- Add or extend a domain pack only through the canonical admission rule in [`06-repo/AGENTS.md`](reflective-prompt-library/06-repo/AGENTS.md#harness-policy-nine-skills); keep it out of `reflective-dispatch` routes and update `DOMAIN_PACK_SKILLS`, its ledger, demotion triggers, and structural guards.
1718
- Routing fairness: [ROUTING_CONTRACT](reflective-prompt-library/plans/ROUTING_CONTRACT.md); panel record: [multi-agent-panel-consensus](reflective-prompt-library/plans/multi-agent-panel-consensus-2026-06-25.md).
1819

1920
```bash

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Doing the right thing > doing things right.
1414

1515
## North Star
1616

17-
TeaPrompt helps humans and host agents choose the **right amount of rigor** for a task, record **why** decisions were made, and verify outcomes with **evidence** — using composable prompt layers and nine workflow skills as natural-language harness policy, **without** operating its own agent runtime.
17+
TeaPrompt helps humans and host agents choose the **right amount of rigor** for a task, record **why** decisions were made, and verify outcomes with **evidence** — using composable prompt layers, [nine core workflow skills plus optional registered domain packs](reflective-prompt-library/skills/skill-map.md) as natural-language harness policy, **without** operating its own agent runtime.
1818

1919
Full library docs: [reflective-prompt-library/README.md](reflective-prompt-library/README.md).
2020

reflective-prompt-library/06-repo/AGENTS.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Repository-level harness policy for reflective engineering agents. Primary workf
66

77
## Scope
88

9-
- In scope: strictness-first routing, nine frozen workflow skills (frozen means gated, not never), evidence-backed completion, project-knowledge authority boundary.
10-
- Out of scope: multi-agent runtime, tenth core skill without promotion gate, silent rigor downgrade.
9+
- In scope: strictness-first routing, nine frozen core workflow skills (the current bounded routing set; frozen means gated, not never), registered domain packs outside core routing, evidence-backed completion, project-knowledge authority boundary.
10+
- Out of scope: multi-agent runtime, tenth core skill without promotion gate, unregistered or silently core-routed domain packs, silent rigor downgrade.
1111

1212
## Acceptance Criteria
1313

@@ -41,14 +41,26 @@ runtime. For non-trivial routing, governance, or skill-selection work:
4141

4242
1. **Strictness before skills** — pick L1–L6 first, then the smallest workflow.
4343
See [README.md](../README.md#strictness-before-skills) and [GLOSSARY.md](../GLOSSARY.md).
44-
2. **Nine frozen workflow skills** — do not add a tenth core skill without the
45-
three-recurrence promotion gate ([PROJECT_KNOWLEDGE.md](../PROJECT_KNOWLEDGE.md)).
46-
3. **Fast routing**[skills/SKILL_TRIGGER_CHEATSHEET.md](../skills/SKILL_TRIGGER_CHEATSHEET.md)
44+
2. **Nine frozen core workflow skills** — nine is the current cardinality, not
45+
an optimality claim; the load-bearing invariant is a bounded registered core
46+
routing set. Do not add a tenth core skill without the three-recurrence
47+
promotion gate and explicit human approval
48+
([PROJECT_KNOWLEDGE.md](../PROJECT_KNOWLEDGE.md)).
49+
3. **Registered domain packs (not core routing)** — only skills listed in
50+
`plans/validate_skill_examples.py` `DOMAIN_PACK_SKILLS` may extend `skills/`
51+
outside the core set. They are host-invoked contracts, not selectable by
52+
`reflective-dispatch` route rows. Adding or extending one requires explicit
53+
human approval, a panel/decision record with Candidate Adoption Ledger,
54+
demotion triggers, and registry/guard updates. An explicit user instruction
55+
may supply approval, but recurrence evidence stays `unknown` unless observed;
56+
this exception never waives the tenth-core promotion gate. See
57+
[skills/skill-map.md](../skills/skill-map.md#registered-domain-packs-not-core-routing).
58+
4. **Fast routing**[skills/SKILL_TRIGGER_CHEATSHEET.md](../skills/SKILL_TRIGGER_CHEATSHEET.md)
4759
(繁中: [`.zh-TW.md`](../skills/SKILL_TRIGGER_CHEATSHEET.zh-TW.md)).
48-
4. **Fairness contract** — equivalent intent must route equivalently with visible
60+
5. **Fairness contract** — equivalent intent must route equivalently with visible
4961
route trace; see [plans/ROUTING_CONTRACT.md](../plans/ROUTING_CONTRACT.md).
50-
5. **Panel / multi-voice rethink** — optional method inside
51-
`reflective-research` (single host, persona lenses); judgment record at
62+
6. **Panel / multi-voice rethink** — optional method inside
63+
`reflective-research` (single host, role-based lenses); judgment record at
5264
[plans/multi-agent-panel-consensus-2026-06-25.md](../plans/multi-agent-panel-consensus-2026-06-25.md).
5365

5466
Run `make all` from the repository root before claiming routing or governance changes are verified.

reflective-prompt-library/METHODOLOGY_MAP.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ current decision legible?"**
6969

7070
## The 10-Layer Taxonomy
7171

72-
The taxonomy has ten layers for project surfaces; the execution routing set remains the nine frozen workflow skills under `skills/`. Skill-count decisions follow the nine-skill policy, not the layer count. Frozen means gated, not never: a tenth core workflow skill needs the three-recurrence promotion gate and explicit human approval.
72+
The taxonomy has ten layers for project surfaces; the execution routing set remains nine frozen **core** workflow skills under `skills/`. Nine is the current bounded-set cardinality, not an optimality claim. Frozen means gated, not never: a tenth core workflow skill needs the three-recurrence promotion gate and explicit human approval. Optional registered domain packs are host-invoked contracts outside this routing set; see [`skills/skill-map.md`](skills/skill-map.md#registered-domain-packs-not-core-routing).
7373

7474
Instead of a single prompt, the methodology is formally structured into ten distinct layers:
7575

@@ -131,9 +131,9 @@ are stable and a human confirms the promotion.
131131
## Multi-Agent Panel Consensus Addendum
132132

133133
The 2026-06-25 multi-lens Socratic panel (six provider perspectives, single host)
134-
reaffirmed the north star: **nine frozen workflow skills**, strictness-first routing,
135-
evidence-backed evals in CI, optional multi-voice synthesis in `reflective-research`
136-
— not a swarm runtime. Judgment record:
134+
reaffirmed the north star: a bounded set of **nine frozen core workflow skills**,
135+
strictness-first routing, evidence-backed evals in CI, and optional multi-voice
136+
synthesis in `reflective-research` — not a swarm runtime. Judgment record:
137137
[plans/multi-agent-panel-consensus-2026-06-25.md](plans/multi-agent-panel-consensus-2026-06-25.md).
138138

139139
## Strictness Levels
@@ -233,6 +233,6 @@ Multi-agent work requires state, tools, logs, verification, and handoff artifact
233233
| Workflow & Agentic Layer | Aligned | Extended | Workflows, SOP compiler planning, planning engine, and memory consolidation (`04-agent/`). |
234234
| Domain Pack Layer | Aligned | Complete | Keep strategy and domain prompts in `05-domain/`. |
235235
| Repository Template Layer | Aligned | Extended | Maintain instruction templates and the reusable project-knowledge scaffold under `06-repo/`. |
236-
| Skill / Action Layer | Aligned | Extended | Maintain nine frozen workflow skills (including reflective-minimality gate) for anti-bloat decisions. |
236+
| Skill / Action Layer | Aligned | Extended | Maintain nine frozen core workflow skills (including reflective-minimality gate) plus separately registered, host-invoked domain packs outside core routing. |
237237
| Quality Gate / Verification | Aligned | Complete | Standardize skill-level quality checks. |
238238
| 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/PROJECT_KNOWLEDGE.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ Language: English
3434

3535
TeaPrompt helps humans and host agents choose the right amount of rigor for a task,
3636
record why decisions were made, and verify outcomes with evidence — using composable
37-
prompt layers and nine workflow skills as natural-language harness policy, without
38-
operating its own agent runtime. See [README.md](README.md#north-star).
37+
prompt layers, nine core workflow skills, and optional registered domain packs as
38+
natural-language harness policy, without operating its own agent runtime. See
39+
[README.md](README.md#north-star).
3940

4041
> The active problem the project is solving now, with explicit non-goals so scope
4142
> does not silently expand. Completed milestones are retired from this section;
@@ -49,9 +50,10 @@ deferred promotions are recurrence-gated — see [panel backlog](plans/multi-age
4950

5051
### Standing Non-Goals
5152
- TeaPrompt does not operate its own multi-agent runtime, swarm, async peer messaging layer, recorder, replay engine, or side-effect enforcer; runtime designs remain references unless project direction changes.
52-
- The core workflow layer remains nine frozen workflow skills; a tenth core skill needs the three-recurrence promotion gate and explicit human approval.
53+
- The core routing layer remains nine frozen workflow skills; nine is the current bounded-set cardinality, not an optimality claim. A tenth core skill needs the three-recurrence promotion gate and explicit human approval.
54+
- Registered domain packs are host-invoked contracts outside core routing and follow the binding admission rule in [06-repo/AGENTS.md](06-repo/AGENTS.md#harness-policy-nine-skills); a user-directed exception records recurrence as `unknown`, never as proof of recurrence.
5355
- Full `SKILL.md` localization is not current direction; zh-TW supports navigation, cheatsheet routing, and glossary lines while English stays canonical for skill contracts.
54-
- Seeded routing evals are regression guards, not proof of general semantic routing quality; holdout expansion precedes router tuning.
56+
- Router tuning follows [ROUTING_CONTRACT.md](plans/ROUTING_CONTRACT.md) R8: add holdout evidence before tuning. Seeded routing evals are regression guards, not proof of general semantic routing quality.
5557
- "Methodology-complete" does not mean "operationally complete"; prompt/spec coverage does not promise persistence, replay, cancellation, idempotency, or role isolation.
5658
- Skills and prompt lenses may specify required runtime guarantees as preconditions, but TeaPrompt does not enforce or warrant them; host-runtime code and tests are the authority for operational guarantees, and missing enforcement evidence is `unknown` / no-go.
5759

reflective-prompt-library/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Core identity prompt
2121

2222
## North Star
2323

24-
TeaPrompt helps humans and host agents choose the **right amount of rigor** for a task, record **why** decisions were made, and verify outcomes with **evidence** — using composable prompt layers and nine workflow skills as natural-language harness policy, **without** operating its own agent runtime.
24+
TeaPrompt helps humans and host agents choose the **right amount of rigor** for a task, record **why** decisions were made, and verify outcomes with **evidence** — using composable prompt layers, [nine core workflow skills plus optional registered domain packs](skills/skill-map.md) as natural-language harness policy, **without** operating its own agent runtime.
2525

2626
## Strictness Before Skills
2727

2828
Pick **Strictness L1–L6** first (`skills/reflective-dispatch/SKILL.md`, [GLOSSARY.md](GLOSSARY.md)), then the skill phase. Skills declare `context_load: low|medium|high` in frontmatter so cost-aware hosts can defer heavy skills when Strictness is low.
2929

30-
Standing non-goals are explicit: no TeaPrompt-owned runtime/swarm, no tenth core workflow skill without promotion evidence (frozen means gated, not never), no full `SKILL.md` i18n by default, and no silent rigor downgrade. Seeded routing evals are regression guards, not semantic-routing proof; methodology-complete does not mean operationally complete; skills may declare required runtime guarantees as preconditions, but host-runtime code and tests must enforce them. See [PROJECT_KNOWLEDGE.md](PROJECT_KNOWLEDGE.md#standing-non-goals).
30+
Standing non-goals are explicit: no TeaPrompt-owned runtime/swarm, no tenth core workflow skill without promotion evidence (frozen means gated, not never), and no domain pack inside core routing; optional packs follow the admission rule in `06-repo/AGENTS.md`. Full `SKILL.md` i18n is not a default, and silent rigor downgrade is forbidden. Seeded routing evals are regression guards, not semantic-routing proof; methodology-complete does not mean operationally complete; skills may declare required runtime guarantees as preconditions, but host-runtime code and tests must enforce them. See [PROJECT_KNOWLEDGE.md](PROJECT_KNOWLEDGE.md#standing-non-goals).
3131

3232

3333
## Governance Panel Record
@@ -44,9 +44,9 @@ Multi-agent Socratic consensus on project goals and the nine skills (Rounds 1–
4444
- `05-domain/`: high-risk review, research, business strategy, learning, writing, and creative template prompts.
4545
- `06-repo/`: repository-level instruction templates plus a reusable
4646
`PROJECT_KNOWLEDGE.template.md` for project-specific design judgement.
47-
- `skills/`: concise `SKILL.md` workflow wrappers that map the prompt library into practical agent workflows.
48-
- `skills/SKILL_TRIGGER_CHEATSHEET.md`: one-page trigger cues and anti-misuse rules for the 9 workflow skills.
49-
- `skills/examples/`: worked input/output examples for each workflow skill.
47+
- `skills/`: nine core `SKILL.md` workflow wrappers plus optional registered domain packs; [skill-map.md](skills/skill-map.md) is the tier map.
48+
- `skills/SKILL_TRIGGER_CHEATSHEET.md`: one-page trigger cues and anti-misuse rules for the 9 core workflow skills, with a host-invoked domain-pack appendix.
49+
- `skills/examples/`: worked input/output examples for every registered core or domain-pack skill.
5050
- `plans/`: decision records, research reflections, eval fixtures, and governance contracts; live pointers are summarized in [PROJECT_KNOWLEDGE.md](PROJECT_KNOWLEDGE.md).
5151
- `plans/ROUTING_CONTRACT.md`: routing fairness, observability, and risk-based default-up contract.
5252
- `plans/route-001-paraphrase-eval.yaml`: paraphrase routing eval seed for ROUTE-001.

0 commit comments

Comments
 (0)