You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add per-side weight input for volume calculations (#7)
* feat: integrate warden for automated code review
Add warden.toml with code-simplifier (getsentry/skills) and find-bugs
(getsentry/warden) triggers. Update validate skill to run warden -v
after tests pass. Address warden findings: extract shared exercise
parsing helper and add schema validation in updateTemplate.
* feat: add per-side weight input tracking for volume calculations
Dumbbell exercises now correctly report total weight moved by applying
a 2x multiplier in volume calculations. PRs and E1RM remain based on
input weight. Adds weightInput field to Exercise schema, tags 6
dumbbell exercises as per-side, and updates CLI commands.
Running `npx @sentry/warden -v` is **required** once before creating a PR. Warden performs automated code review (simplification, bug detection) and its findings must be addressed before submitting. It only needs to be run once — do not re-run when creating the PR if it has already passed.
6
+
7
+
### When to run
8
+
9
+
- After all code changes are complete and `bun run validate` passes
10
+
- Before creating a pull request
11
+
- Only once per change set (no need to re-run after fixing warden findings unless substantial new code was added)
12
+
13
+
### Workflow
14
+
15
+
```
16
+
make changes → bun run validate → npx @sentry/warden -v → fix findings → create PR
17
+
```
18
+
19
+
Skipping warden risks shipping code that warden will flag during PR review, creating unnecessary back-and-forth. Always run it locally first.
0 commit comments