Skip to content

[drift] CLI surface changed, consumers need update #14

Description

@areales

Drift Detection Report

Date: 2026-06-01

Finding: Query Template Count Mismatch

Status: ⚠️ Drift detected

What changed in bbdata:

  • src/templates/queries/index.ts now imports 22 query templates
  • Templates: pitcher-arsenal, pitcher-velocity-trend, pitcher-handedness-splits, hitter-batted-ball, hitter-vs-pitch-type, hitter-hot-cold-zones, hitter-handedness-splits, matchup-pitcher-vs-hitter, matchup-situational, leaderboard-custom, leaderboard-comparison, trend-rolling-average, trend-year-over-year, pitcher-rolling-trend, pitcher-raw-pitches, hitter-raw-bip, hitter-zone-grid, pitcher-recent-form, pitcher-by-count, pitcher-tto, pitcher-season-profile, hitter-season-profile

What consumers expect:

  • ai-baseball-data-analyst/skills/query-data/SKILL.md references 21 query templates (outdated)

Affected Consumer:

  • ai-baseball-data-analyst — skill documentation needs sync with new template additions

Recommended Action:
Update ai-baseball-data-analyst skill SKILL.md files to reflect the two new FanGraphs season-aggregate templates (pitcher-season-profile, hitter-season-profile) added as part of BBDATA-003/004.

All Other Checks: ✅ PASS

  • Report templates: 13 registered (expected: 13) ✓
  • Scout-app expected templates: All 5 present (pro-pitcher-eval, pro-hitter-eval, advance-sp, relief-pitcher-quick, trade-target-onepager) ✓
  • Audiences: coach, gm, scout, analyst — all defined ✓
  • Query flags: --player, --players, --season, --format, --stat, --min-ip, --min-pa, --top, --pitch-type, --seasons, --source — all present ✓
  • Report flags: --player, --season, --audience, --format, --validate — all present ✓
  • JSON envelope (query meta): source, cached, queryTimeMs, season, sampleSize — all emitted ✓

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions