Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
846d18f
Add pre-competition protocol design spec
clementrx Jul 17, 2026
4cce488
Add pre-competition protocol implementation plan
clementrx Jul 17, 2026
8c12995
Add carb-loading targets to the competition engine
clementrx Jul 17, 2026
50df6eb
Add meet-day attempt selection with the e1RM honesty gate
clementrx Jul 17, 2026
eb89173
Add pacing plan and adaptive protocol window to the engine
clementrx Jul 17, 2026
bd7f16f
Harden competition engine edges after review
clementrx Jul 17, 2026
49d420e
Add competition protocol schemas
clementrx Jul 17, 2026
795970e
Render competition protocols to markdown
clementrx Jul 17, 2026
bb9165a
Tighten fueling validation and renderer reuse after review
clementrx Jul 17, 2026
6cb39da
Add per-event competition protocol store
clementrx Jul 17, 2026
7c8052e
Render the competition protocol phone page
clementrx Jul 17, 2026
46359d4
Align citation numbering and harden protocol reads after review
clementrx Jul 17, 2026
ddf365e
Add the five pre-competition MCP tools
clementrx Jul 17, 2026
7d37e5e
Surface the competition-protocol due action
clementrx Jul 17, 2026
dbc5b45
Type the competition tool outputs and harden the page write
clementrx Jul 17, 2026
ef44cb8
Cover the phone-page write failure path
clementrx Jul 17, 2026
58de33b
Add pre-competition skill
clementrx Jul 17, 2026
08eaf43
Wire the pre-competition protocol into the skills
clementrx Jul 17, 2026
c7ae145
Read the existing protocol before authoring a v2
clementrx Jul 17, 2026
c504bf6
Make the review gate protocol-aware and complete the skill toolsets
clementrx Jul 17, 2026
311cd0c
Generalize the review gate wording to all originating skills
clementrx Jul 17, 2026
d2c8172
Document the pre-competition protocol
clementrx Jul 17, 2026
5d494b9
Teach attempt basis and guard protocol immutability
clementrx Jul 18, 2026
d30f726
Check off completed plan tasks
clementrx Jul 18, 2026
294f47d
Bump version to 0.9.0
clementrx Jul 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,36 @@

All notable changes to PerformanceAgent. Versions follow the git tags.

## 0.9.0 — Pre-Competition Protocol

### Added

- **Pre-competition protocol** — the final days before any competition planned
day by day, per calendar event, delivered as a versioned document
(`competition/protocol-<event>-vN`) plus a standalone offline phone page for
the event (no JS, en/fr/es, J0 open by default, starred bibliography).
- **Engine math for the final days** — `carb_loading_targets` (evidence-based
g/kg windows by event duration + in-race fueling ranges), `select_attempts`
(meet-day attempts from the estimated 1RM, with honesty flags when the goal
is outside what the data supports), `pacing_plan` (even or negative splits
landing on the target time), `protocol_window_days` (priority-adaptive
trigger window derived from the taper).
- **Safety by construction** — risky peak-week practices (water/sodium
manipulation, weight cuts) can only be stored as documented practices with a
schema-required warning and an evidence grade; they are described, never
dosed, never engine-quantified. `save_competition_protocol` refuses any
citation id not in the evidence corpus.
- **Proactive trigger** — `list_due_actions` surfaces `competition_protocol`
when an A/B event enters its window with no protocol saved (urgent within a
week of the event).
- **New skill `pre-competition`** (15 skills) — the protocol-author ritual:
re-reads the existing protocol before a v2, runs a dedicated research
mini-wave, builds engine-first, passes program-review's protocol gate before
saving, and routes the post-event debrief into the athlete's taper history.
Five skills updated (coach routing, check-in debrief, session-day opens J0
from the protocol page, deep-research pre-competition wave, program-review
made protocol-aware).

## 0.8.0 — Living Evidence & Weekly Follow-up

### Added
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ tell you what you want to hear. PerformanceAgent is architected so neither is po
- **Science on the gym page** — the offline program HTML opens with sourced
advice and "why this program" lines, `[n]` markers on blocks, and a starred
bibliography.
- **Pre-competition protocol** — the final days before any competition planned
day by day (engine-computed attempts, pacing splits and carb loading; risky
peak-week practices described only with evidence grade + explicit warning),
delivered as a versioned document and an offline phone page for the event.

## Install (5 minutes, 3 steps)

Expand Down Expand Up @@ -124,7 +128,7 @@ session *starts*: close any open session completely and run `claude` again.
> List the performance-agent tools.
```

You should see 97 tools. If so, you're done — just talk to it.
You should see 102 tools. If so, you're done — just talk to it.

## How to use it, step by step

Expand Down Expand Up @@ -331,8 +335,8 @@ typed backward from the major event with per-year quality-emphasis budgets deriv
from the gap priorities, feeding the season) and a training-residuals guard (warns
where a maintained quality would decay past its Issurin retention window without a
refresh);
1339 tests
incl. property-based) · 97 MCP
1397 tests
incl. property-based) · 102 MCP
tools · file-based athlete memory with a season calendar, pre-session readiness
logs, versioned machine-readable programs (structured plan + rendered markdown),
a day-of adjustment log with escalation signals, a versioned individual response
Expand All @@ -342,7 +346,7 @@ activity-file import (.fit/.tcx/.gpx/CSV, incl. power/cadence/splits and VBT
exports) that proposes a session for the athlete to confirm before logging ·
DOI/PMID/ISBN-verified evidence corpus with anti-fabrication
citation checks · live evidence search (PubMed, OpenAlex, Crossref, Semantic Scholar)
behind a double verification gate · fourteen coaching skills incl. a mandatory delivery
behind a double verification gate · fifteen coaching skills incl. a mandatory delivery
gate with an adversarial second opinion · Typst PDF reports (en/fr/es) behind a hard
citation gate.

Expand Down
Loading