Skip to content

Release v0.9.0 — Pre-competition protocol#32

Merged
clementrx merged 25 commits into
mainfrom
pre-competition-protocol-spec
Jul 18, 2026
Merged

Release v0.9.0 — Pre-competition protocol#32
clementrx merged 25 commits into
mainfrom
pre-competition-protocol-spec

Conversation

@clementrx

Copy link
Copy Markdown
Owner

Summary

  • Engine (engine/competition.py, pure): carb_loading_targets (IOC-consensus g/kg windows by event duration + in-race fueling), select_attempts (meet-day attempts from e1RM with directional honesty flags goal_beyond_e1rm / goal_below_e1rm_range), pacing_plan (even/negative splits landing on the target within 1 s, degenerate-split fallback), protocol_window_days (priority-clamped adaptive trigger window).
  • Protocol model & storage: CompetitionProtocol + 6 sub-schemas (a DocumentedPractice cannot exist without a non-empty warning — the owner's safety decision encoded structurally); per-event immutable version family competition/protocol-<event>-vN.{yaml,md} with calendar validation (unknown event / date drift / past event rejected) and tamper-checked reads.
  • Deliverables: deterministic markdown + a standalone offline phone page (zero JS, en/fr/es, J0 open, ⚠-flagged warnings, starred Sources with DOI links), both sharing one citation numbering (protocol_citation_ids).
  • Five MCP tools (97 → 102): three typed engine wrappers, save_competition_protocol (corpus citation hard-gate before any write, atomic phone-page write with readable failure recovery), read_competition_protocol.
  • Diligence: competition_protocol due action — fires when an A/B event enters its taper-derived window with no protocol saved (high severity ≤ 7 days).
  • Skills (14 → 15): new pre-competition (protocol-author ritual: v2 re-read, dedicated mini-wave, engine-first build, practices with grade+warning only, program-review gate, post-event debrief) + five skills edited (coach routing, checkin debrief, session-day opens J0 from the protocol, deep-research pre-competition wave, program-review made protocol-aware with recomputation tools). Test invariants strengthened.

1397 tests, ruff + ty clean. Built via subagent-driven development: per-batch spec-compliance and code-quality reviews with fixes applied, plus a final integration review (verdict: ready to merge).

Spec: docs/superpowers/specs/2026-07-17-pre-competition-protocol-design.md
Plan: docs/superpowers/plans/2026-07-17-pre-competition-protocol.md

🤖 Generated with Claude Code

clementrx and others added 25 commits July 17, 2026 22:30
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@clementrx clementrx changed the title Pre-competition protocol Release v0.9.0 — Pre-competition protocol Jul 18, 2026
@clementrx
clementrx merged commit 823bf49 into main Jul 18, 2026
1 check passed
@clementrx
clementrx deleted the pre-competition-protocol-spec branch July 18, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant