tournament
Run a bounded N-attempt tournament with deterministic bracketing and pairwise judges. Use when brainstorm divergence selection needs an isolated winner among competing options. Does not auto-apply decisions or bypass human synthesis.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- tournament
- description
- Run a bounded N-attempt tournament with deterministic bracketing and pairwise judges. Use when brainstorm divergence selection needs an isolated winner among competing options. Does not auto-apply decisions or bypass human synthesis.
02 资源文件 2
- 参考文档references/bracket-and-judging.md1.1 KB
- 参考文档references/tournament-schema.json654 B
03 SKILL.md 正文
Tournament primitive
Bounded option selection via isolated attempts, a driver-held deterministic bracket, and pairwise judge agents scoring an explicit rubric (PRD 064 R5).
Model tier: cheap — resolve via python3 scripts/sw_bootstrap.py resolve-model-tier.py -- --skill tournament.
Config (tournament)
| Key | Default | Meaning |
|---|---|---|
enabled |
false |
Master switch — off keeps manual divergence selection |
n |
3 |
Max isolated attempts (2–8) |
cost_ceiling |
0 |
Advisory cost cap; 0 = unset |
python3 scripts/tournament.py config --root .
Procedure
- Gate —
should-runrequiresenabled: trueand ≥2 viable divergence candidates. - Plan attempts —
planemitsattempt-1..Nwith clean-context briefs. - Attempt fan-out — one fresh
sw-tournament-attemptTask per attempt (readonly: true). Attempts never share context. - Bracket —
bracketbuilds deterministic pairwise rounds (driver-owned). - Judge fan-out — one
sw-tournament-judgeTask per pairing (readonly: true) scoring the rubric inreferences/bracket-and-judging.md. - Advance —
evaluate-match+advanceuntil a champion exists. - Persist —
persistwrites winner + rationale JSON under the run dir.
Dispatch recipes: rules/sw-subagent-dispatch.mdc Tournament dispatch. Status schema: references/tournament-schema.json.
Guardrails
- First call site is brainstorm divergence selection only (R6).
- Driver owns bracket ordering — agents judge pairings only.
- Never merge attempts or judge transcripts across contexts.
- Does not skip the human synthesis checkpoint — it informs it.
04 同仓库更多 Skills
wrong-name
Missing use when phrase and wrong directory name for critical lint failure.
demo-skill
Demo workflow pack skill fixture. Use when validating workflow-pack-sdk golden paths in CI.
good-skill
Validates Agent Skills spec conformance for fixture trees. Use when testing skills-spec-guard pass paths across core and dist mirrors. Does not ship production skills.
wrong-name
Fixture with name/dir mismatch for guard failure tests. Use when verifying skills-spec-guard rejects invalid identity. Does not ship production skills.
bad-description
Missing the required when trigger phrase in this fixture skill.
dropin-demo
暂无简介