coach: always read Workout Log page blocks for history questions#3
Merged
FrancescoCoding merged 1 commit intoJul 21, 2026
Merged
Conversation
…stions Adds a standing instruction to fetch the full page body (blocks) of Workout Log entries before answering questions about past lifts or sessions, not just the database row properties. The blocks hold the real sets/reps/weights/notes; the coach must explain concretely what happened in each session rather than reporting only top-level fields.
FrancescoCoding
force-pushed
the
claude/coach-workout-log-instruction-2nqt6i
branch
from
July 21, 2026 10:54
f2dce28 to
0bc7531
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Adds a standing instruction to
CLAUDE.mdrequiring the coach to fetch the full page body (blocks) of Workout Log entries before answering any question about past lifts or sessions. The database row properties hold only summary metadata; the actual sets, reps, weights, and notes live in the page blocks. Without this rule the coach could answer history questions from top-level fields alone and miss or misrepresent what actually happened in a session.The instruction specifies the exact command (
node scripts/notion.mjs get-page-blocks <pageId>) and requires the coach to explain concretely what occurred (exercises, loads, notes) rather than echoing property values.Checklist
npm run lint,npm run build, andnpm testpass locallyCLAUDE.md)Generated by Claude Code