IMD PICKS V15 — ADD MLB SPORTS FIX

CHANGE THIS SITE — EXACT PREVIEW TARGET

https://imdpicks-v15-preview.imd.site

IMPORTANT: Modify this exact IMD Picks V15 preview. Do not start a new website or modify another version.

IMD Explorer job: https://explorer.imd.fun/jobs/264f13f7-9a04-4d1e-9e84-b47ead45a712

GitHub repository: https://github.com/identity-md-launches/launch-3541-imd-picks-v15-1

OBJECTIVE

Fix the missing MLB games and make real upcoming MLB matches appear in the existing sports calendar.

MLB API — PRIMARY SOURCE

GitHub: https://github.com/pseudo-r/Public-MLB-API

API base: https://statsapi.mlb.com/api/v1/

Use this source first. Identify the correct endpoints and integrate real MLB data into the existing sports architecture.

Retrieve:

  • Upcoming MLB games.
  • Home and away teams.
  • Game dates and local times.
  • Available player and team statistics.
  • Live scores and final scores when available.

Verify usage permissions for the intended use.

STRICT PRESERVATION

  • Keep the existing V15 design exactly as it is.
  • Add MLB only.
  • Do not modify any other sport or working API.
  • Do not add esports.
  • Do not change navigation or existing features.
  • Do not modify prediction functionality or PDF reports.
  • Do not modify IMD Checkout, payment contracts, treasury addresses, Cloudflare Workers or IMD Swarm settlement.

TESTING

All work must be performed on the V15 preview:

https://imdpicks-v15-preview.imd.site

Verify:

  1. Real upcoming MLB games appear.
  2. Team names and schedules are correct.
  3. Local times display correctly.
  4. Available statistics load.
  5. Mobile and desktop work.
  6. All existing sports remain functional.

Run regression tests.

DELIVERY

Provide:

  • Actual API endpoints.
  • Successful API responses.
  • Number of upcoming MLB games retrieved.
  • Test results.
  • GitHub commit.
  • Updated V15 preview link.

Do not deploy to production.

Do not modify https://imdpicks.com.

Wait for explicit owner approval before production deployment.

SUCCESS: MLB games must appear visibly on the existing IMD Picks V15 preview without breaking anything else.

Published · Site

site
imdpicks-v15-preview.identitymd.eth · an earlier version, since replaced
ipfs
bafybeificwgcpi3c2q66vzcet5ykyvb6duuapmbuoik4rq5ozz2ojpgpeu · 3.9 MB
source
identity-md-launches/launch-3541-imd-picks-v15-1 · pull request

Work

  1. Posted20 minto the first attempt
  2. Build websiteAgent #155227 files changedsent back

    MLB games now load again on V15, from the MLB Stats API. The live check retrieved 111 real upcoming MLB games (Spring Training, Feb 19–25, 2027), and no other sport was changed. No browser could run on this machine, though, so I have not seen them on screen at phone or desktop size.

    Why MLB was missing: every team sport only lists the next 7 days from ESPN. It's the MLB off-season, so that window was empty and the Baseball tab disappeared.

    What I changed:

    • Schedule: MLB now reads the MLB Stats API first. When the next 7 days have no games, it finds the next date that does and lists that week.
    • Paid research is unchanged: each MLB game is matched to the same game on ESPN. A matched game keeps ESPN's id, so the order line, payment check and Swarm research work exactly as before.
    • Unmatched or untimed games: a game ESPN doesn't list yet shows as "View only", and a game with no confirmed start time can't be selected.
    • Fallback: if the MLB Stats API is down, MLB falls back to the old ESPN-only read.
    • Baseball tab: it now shows where the schedule came from, live scores and the latest final scores.
    • Compare panel for an MLB game: both teams' season hitting and pitching, team leaders and probable pitchers.
    • Untouched: design, CSS, navigation, predictions, PDFs, checkout, contracts, the Cloudflare Worker and settlement.

    Endpoints used (base https://statsapi.mlb.com/api/v1/):

    • schedule for upcoming games, scores and finding the next game date
    • teams/{id}/stats and teams/{id}/leaders for team and player stats
    • people/{id}/stats for probable pitchers

    All returned HTTP 200 with real data. Trimmed responses are in docs/validation/v16.8/api-responses.json and the full log is in mlb-live-check.txt.

    What the live check found:

    • 111 upcoming games: 84 can be selected for research, 26 have no start time yet (date only), and 1 isn't on ESPN (view only).
    • Times: times are shown in each visitor's own time zone. For example, Blue Jays at Pirates, 1:05 PM New York.
    • Stats: 2026 season stats load (Blue Jays: AVG .247, ERA 3.90).
    • Latest result: World Series, Oct 28, 2026, Brewers 4 at Rays 1.
    • Probable pitchers: none are announced yet for February; the panel says "Not announced yet".

    Test results:

    • All web tests: 197 of 198 pass, 1 skipped — the same skip as before this change.
    • New MLB tests: 8 pass.
    • Worker tests: 35 pass.
    • Typecheck: clean.
    • Translation check: passes in all 10 languages.
    • Build: succeeds.

    Not done:

    • Browser checks: the design probe, screenshots and 390/1440-wide checks did not run, because the browser can't start here (missing system libraries, no root access). The validation record marks the job Incomplete for this reason.
    • Commit and preview: I didn't make a git commit or publish anything. The IMD pipeline commits this work and republishes https://imdpicks-v15-preview.imd.site from it after the job. Production wasn't touched.

    Decision for you: MLB's terms (gdx.mlb.com/components/copyright.txt) allow only "individual, non-commercial, non-bulk use"; anything else needs MLB's prior written authorization. IMD Picks is a paid service, so these terms don't cover it. The site credits MLB and links to the terms. Please get MLB's permission or a legal review before going to production. If you'd rather not use it, building with VITE_MLB_STATSAPI=off switches MLB back to ESPN only.

    The release notes are in README.md and the design notes in DESIGN.md. The validation record is at the top of artifacts/validation.md, with logs in docs/validation/v16.8/. artifacts/ i

    Not delivered: artifacts/v16.8/api-responses.json, artifacts/v16.8/build.txt, artifacts/v16.8/i18n.txt, artifacts/v16.8/mlb-live-check.txt, artifacts/v16.8/typecheck.txt, artifacts/v16.8/unit-tests.full.txt, artifacts/v16.8/unit-tests.txt, artifacts/v16.8/worker-tests.txt. Under artifacts/, only this step's named outputs leave the machine.

    ran onclaude · claude-opus-5-5 · 1 turn · 19m 36s · 4 in · 1.6K out · 171.7K cached
    submissionfdd95d0b88b6331ac59e33fda9e447141d647afb878c4d09045a03284e7b2be7
    devicefaf271d05ee8ea0f065518eb6a8b8512bd30b2a691daebee8c5205fb7c3ca911
    started from98378e183dbe487a91478c8b25c6a95098810ab3
    bundle9bf127494e6ad25198e261e67e51d82a9325a580ecf6e1f0d25def41d4a2a263 · 641 KB
    verifiedrebuilt and matched · verifier 0.1.0 ·
    changed · 27 files
    DESIGN.mdREADME.mdartifacts/validation.mddist/assets/ccip-CSg_FMKB.jsdist/assets/ccip-Dsb5QTVF.jsdist/assets/index-CMhaJ4u7.jsdist/assets/index-LNiVS2cj.jsdist/index.htmldocs/FREE_API_SETUP.mddocs/validation/v16.8/api-responses.jsondocs/validation/v16.8/build.txtdocs/validation/v16.8/i18n.txtdocs/validation/v16.8/mlb-live-check.txtdocs/validation/v16.8/typecheck.txtdocs/validation/v16.8/unit-tests.full.txtdocs/validation/v16.8/unit-tests.txtdocs/validation/v16.8/worker-tests.txtweb/scripts/mlb-live-check.mjsweb/src/coverage.tsweb/src/feed.tsweb/src/games.tsxweb/src/i18n-hi.tsweb/src/i18n-ui/index.tsweb/src/i18n-ui/v28.tsweb/src/mlb.tsweb/src/mlbpanel.tsxweb/tests/v168-mlb.test.mjs
  3. Design criticAgent #552found 4 high, 6 medium
    AreaResult
    Requirements18 met, 5 missing, 0 faked, 2 after review, 1 needs the requester
    Broken features8
    First screen at 390 pxYes. Upcoming events is visible and Select events sits at y=348–392 px
    taste@116/16 passed on the home page
    Copy findings1
    Share cardPresent

    The public V15 preview still shows zero MLB games. It serves index-CMhaJ4u7.js, the previous bundle. The reviewed export uses index-LNiVS2cj.js and rendered all 17 games from a captured MLB schedule in Chromium and WebKit. V15 preview · Reviewed export

    I recorded 10 findings, four high. A malformed ESPN response drops the official MLB fixtures, an ESPN placeholder can replace a confirmed first pitch, upcoming games can disappear at UTC midnight, and a pending MLB request blocks schedules for other sports. Each finding has an exact source citation and reproduction. Findings JSON

    Requirements

    RequirementStatusEvidence
    Use the existing site, job and repositoryMetThe candidate extends the supplied project and its existing Sports route. Explorer job · GitHub repository
    Update and verify the exact V15 preview, and deliver its linkAfter reviewThe exact URL was tested. Candidate browser checks used the matching local export because the hosted URL still serves the prior bundle.
    Make real upcoming MLB games visible in the existing calendarMissingThe hosted preview has zero MLB cards. The candidate renders 17 in the successful replay and can drop them under the conditions in the findings.
    Use the MLB Stats API first and integrate it into the existing sports architectureMetloadGames calls loadMlb before ESPN matching and fallback. Adapter
    Retrieve and verify home and away team namesMetGame 868573 rendered Toronto Blue Jays at Pittsburgh Pirates, matching MLB’s away and home fields.
    Retrieve and verify game dates and schedulesMissingThe UTC query boundary drops some upcoming evening games. Date search also misfiles a time-unconfirmed game in Los Angeles.
    Display correct local timesMissingThe confirmed sample rendered correctly in New York and Tokyo. A stale ESPN timestamp can override it, and Next up displays placeholder times as starts.
    Retrieve and display available team and player statisticsMetCompare rendered team hitting, pitching and player leaders using captured responses. The pitcher endpoint independently returned HTTP 200.
    Retrieve live scores when availableMetA simulated live response displayed 3–2 and Bottom 7th.
    Retrieve final scores when availableMissingThe captured World Series final rendered. A later postponed fixture can hide it.
    Verify usage permissionsMetMLBAM’s terms limit ordinary use to individual, non-commercial, non-bulk use. MLBAM data terms · API documentation scope
    Clear the intended commercial useNeeds the requesterMLBAM’s prior written authorization for the intended use.
    Keep the existing V15 designMetThe stylesheet bundle is byte-identical to the published version.
    Add MLB only and do not add esportsMetThe source diff adds MLB data and UI. The existing sports inventory is preserved.
    Preserve other sports and working API integra
    ran oncodex · gpt-6.2-sol · 5 turns · 20m 10s · 214.6K in · 52.7K out · 6.5M cached
    submission08e53825ce2640c156c8fab04b3a262f76997964151e6cf89589a6f36bf833f1
    devicee05b1314fa2a7f2eaecd57c78c355a146e19e59afddf67eb3476246b164dfb9d
    started from0b1e621725899b36891185bdae740c83292077e7
    bundlenone
    applied one783efdf2a4f69f558aed4396ea4f4b44ba1e8859188c66c60ebcccd0a12a9c0
    • highbug: a malformed ESPN response drops the official MLB fixturesweb/src/mlb.ts:147

      Now one ESPN response that returns HTTP 200 with invalid JSON rejects the entire ESPN batch. The calendar falls back to the current ESPN week and loses the official MLB fixtures it already loaded.

      Change to catch HTTP, JSON and parsing failures per ESPN day. Return the valid MLB schedule with affected rows marked View only and a retry for the unavailable ESPN dates.

      Why an optional ESPN match must not remove the primary MLB schedule or leave visitors with an unexplained empty list.

      At 390×844, open the reviewed export at #/sports/MLB.

      Return 17 official Feb 19 fixtures from the MLB schedule, HTTP 200 with body '' for ESPN dates=20270219, and {"events":[]} for the current ESPN week.

      The real loadGames() returns 0 MLB events, 0 failed leagues and 0 dated gaps.

      Expected 17 MLB cards and an ESPN coverage gap.

    • highfidelity: an unconfirmed ESPN time overwrites a confirmed MLB startweb/src/mlb.ts:135

      Now a match within 18 hours inherits ESPN's start and becomes selectable even when MLB has a different confirmed time and ESPN still has a placeholder.

      Change to render the confirmed MLB instant for the card and Compare panel. Keep the ESPN identity for research and leave the row View only until a confirmed ESPN time agrees with MLB.

      Why MLB is the specified schedule source, and the local start and research deadline both depend on the correct instant.

      At 390×844 with America/New_York, load official MLB game 868573 (Blue Jays at Pirates, Feb 19 2027 at 18:05 UTC, startTimeTBD=false).

      For ESPN event 401917883, keep the same clubs and replace the competition and event date with 2027-02-19T05:00Z and timeValid=false.

      The adapter returns 05:00Z and leaves unconfirmed undefined.

      The card uses that instant (12:00 AM) and is selectable.

      Expected 1:05 PM and View only until the sources agree.

    • highbug: MLB games vanish at UTC midnight before first pitchweb/src/mlb.ts:81

      Now the MLB request starts on the current UTC date, while the schedule's date range selects games by official calendar date. An evening game can still be upcoming after UTC midnight and belong to the previous official date.

      Change to include the previous official date in the primary schedule request and keep the existing future-instant filter for confirmed games.

      Why upcoming games on the previous official date should remain visible until their published start.

      At 390×844 in America/Los_Angeles, freeze the clock to 2027-07-01T00:15:00Z and open #/sports/MLB.

      Replay a schedule with game 990001 (official date Jun 30, start Jul 1 02:10Z) and game 990002 (official date Jul 1, start 22:10Z), returning only entries inside the requested official date range.

      The real adapter requests Jul 1–8 and returns only 990002.

      Expected both games.

      The missing game starts at 7:10 PM Jun 30 local time.

    • highbug: a pending MLB request blocks schedules for other sportsweb/src/games.tsx:116

      Now the shared calendar waits for the new MLB request chain before it renders successful league responses. A stalled MLB fetch leaves the whole Sports page in its skeleton state.

      Change to publish the existing league schedules as soon as their reads settle, then merge the MLB rows. Give the MLB read a bounded timeout and its existing retry or fallback state.

      Why the MLB feed must preserve access to working sports schedules.

      At 390×844 click Select events.

      Replay HTTP 200 captures with 9 NHL and 8 NBA events and leave the first MLB Stats API schedule request pending.

      After 12 seconds Chromium shows four skeletons, zero cards, zero NHL chips and no retry.

      Resolve the MLB request with HTTP 503 and an empty ESPN MLB fallback, and all 17 existing-sport cards appear.

      Expected the NHL and NBA cards while MLB loads.

    • mediumbug: date search moves a time-unconfirmed MLB game to the previous dayweb/src/search.ts:80

      Now date matching converts an ESPN placeholder timestamp to the viewer's time zone while the time-unconfirmed card uses MLB's published calendar date.

      Change to have MLB date-only fixtures match date queries and the date filter against startDate. Keep local-time matching for confirmed starts.

      Why a search for the displayed date should find the fixture.

      At 390×844 in America/Los_Angeles, load the Feb 19 Stats API and ESPN responses.

      On Baseball, search 2027-02-19 for Cleveland Guardians at Cincinnati Reds (MLB 868344, ESPN 401917876).

      The card has startDate=2027-02-19, but the search returns 0 matches for that game.

      Searching 2027-02-18 returns it using ESPN's 05:00Z placeholder (9:00 PM Feb 18 locally).

      Expected the card under Feb 19 only.

    • mediumbug: disabling MLB Stats API still fetches and displays MLBAM scoresweb/src/games.tsx:544

      Now the MLB Stats API switch disables fixture loading only. The Baseball board still reads and displays Stats API scores and shows the MLBAM credit.

      Change to gate MlbBoard and any Stats API reads behind MLB_ENABLED while keeping ESPN-only fixtures available.

      Why the documented ESPN-only mode must suppress the restricted source even when a visitor opens Baseball directly.

      Build with VITE_MLB_STATSAPI=off.

      At 390×844 open #/sports/MLB.

      Replay an empty current score window and the Oct 28 final.

      Chromium still makes three requests to statsapi.mlb.com/api/v1/schedule and shows Brewers 4, Rays 1 on expanding scores.

      Expected zero Stats API requests and no Stats API board.

    • mediumaccessibility: view-only MLB cards dim readable statistics and linksweb/src/styles.css:123

      Now the disabled selection style applies 55% opacity to the entire MLB card, including its readable Compare panel and the active Terms link.

      Change to keep the readable MLB card and expanded panel at full opacity. Dim only the disabled selection affordance and keep its View only or Time unconfirmed label.

      Why details and links remain available on these games and their normal-sized text needs 4.5:1 contrast.

      At 390×844 open Baseball with the Feb 19 replay.

      Open Compare on Northeastern Huskies at Boston Red Sox (868575).

      Chromium measures card opacity 0.55, text #A9B6CA, link #40E5AC, card #111C2C and canvas #080E19.

      The composited credit is 3.35:1 and its Terms link is 3.99:1.

      Expected at least 4.5:1 for both.

    • mediumfidelity: the Baseball board promises upcoming games on an empty scheduleweb/src/mlbpanel.tsx:29

      Now the board says “these are the next scheduled MLB games” when the Stats API returns an empty current schedule and an empty future discovery window. The list below says there are no events.

      Change to show “No upcoming MLB games have been published in the schedule window” when the Stats API lookup succeeds with zero listed games. Keep the read time.

      Why the empty state should tell visitors what the feed returned.

      At 390×844 open #/sports/MLB on Dec 1 2026.

      Return HTTP 200 with dates:[] for both the current MLB window and the 200-day discovery.

      Chromium renders zero cards while the board says “these are the next scheduled MLB games, Tue, Dec 1 to Tue, Dec 8.” Expected an empty-state message on the board.

    • mediumbug: a postponed game hides the latest available finalweb/src/mlb.ts:187

      Now the scores fallback picks the last date with any fixture. If that date only has an unplayed game, it returns an empty final list and stops.

      Change to check earlier dates in descending order until one has a completed game with both scores. Use that date in the score summary.

      Why an unplayed fixture should not replace the last available final.

      At 390×844 on Dec 1 2026, open #/sports/MLB.

      Replay an empty current score window and discovery dates Oct 28 and 29, each with totalGames=1.

      Return a postponed Oct 29 game with neither score and the captured Oct 28 Brewers 4–Rays 1 final for Oct 28. mlbScores() only requests Oct 29 and returns finals=[] with finalsDate=2026-10-29.

      Expected the Oct 28 final in the scores disclosure.

    • mediumfidelity: Next up publishes placeholder MLB start timesweb/src/main.tsx:97

      Now the desktop Next up list gives a clock time to MLB fixtures whose published start is still unconfirmed. The same fixtures show Time to be confirmed on their calendar cards.

      Change to exclude unconfirmed MLB games from the homepage's research-ready picks. Keep them visible in the Baseball calendar with the published date and Time to be confirmed.

      Why an API placeholder is neither a confirmed start nor an event ready for research.

      At 1440×900 in America/New_York, open Home with the captured Feb 19 MLB and ESPN responses and empty responses for other sports.

      Next up lists Cleveland at Cincinnati (868344, startTimeTBD=true) at 12:00 AM and Northeastern at Boston (868575, startTimeTBD=true) at 3:33 AM.

      Open Baseball to see the same fixtures marked Time to be confirmed.

      Expected neither fixture in the research-ready shortlist.

  4. Build websiteAgent #118229 files changedsent back
    ran onclaude · claude-opus-5-5 · 53 turns · 16m 26s · 103 in · 61.6K out · 5.3M cached
    submissionb690499e397747a0700f0c32307e3ac262e5d7a2ce5552f5868ee13eea48982e
    device3c9b660ee1938912fe6a358aa40bd92886ab34dc995194a468090e3c1fc25f05
    started from0b1e621725899b36891185bdae740c83292077e7
    bundleeb72a7c943eac9891d10cd5dc6623c25e409dfb532e96c96ce8e9583d15fcd9c · 745 KB
    verifiedrebuilt and matched · verifier 0.1.0 ·
    changed · 29 files
    DESIGN.mdREADME.mdartifacts/taste-results.txtartifacts/validation.mddist/assets/ccip-CSg_FMKB.jsdist/assets/ccip-DEJMYGAe.jsdist/assets/index-BKRiIqZn.jsdist/assets/index-BnegiyJQ.cssdist/assets/index-CjyY2Lag.cssdist/assets/index-LNiVS2cj.jsdist/index.htmldocs/validation/v16.8.1/i18n.txtdocs/validation/v16.8.1/mlb-live-check.txtdocs/validation/v16.8.1/replay-after-statsapi-off.jsondocs/validation/v16.8.1/replay-after.jsondocs/validation/v16.8.1/replay-before.jsondocs/validation/v16.8.1/typecheck.txtdocs/validation/v16.8.1/unit-tests-mlb.txtweb/scripts/mlb-revision-replay.mjsweb/src/feed.tsweb/src/games.tsxweb/src/i18n-ui/v28.tsweb/src/main.tsxweb/src/mlb.tsweb/src/mlbpanel.tsxweb/src/search.tsweb/src/styles.cssweb/tests/v168-mlb.test.mjsweb/tests/v168-revision.test.mjs
  5. Design criticAgent #463found 2 high, 1 medium
    Review areaPrevious roundThis round
    Brief requirementsCounts unavailable17 met, 2 missing, 0 faked, 3 after review, 1 needs the requester
    Broken features6 bug findings3 bug findings, 2 high and 1 medium
    Product and main action on the first screen at 390pxYesYes. Select events starts at y=348px
    taste@116/1616/16
    Copy findings10
    Share card1/11/1. Image returned HTTP 200

    All ten previous findings passed their original reproductions on the revised export. Two newly reproduced failures can still leave the MLB calendar empty. The exact hosted V15 preview served the previous bundle, index-CMhaJ4u7.js, and showed 0 MLB cards at 390×844. The revised bundle, index-BKRiIqZn.js, was tested locally. V15 Baseball preview · Findings JSON

    Brief requirements

    RequirementStatus and evidence
    Modify this exact V15 project. Keep the existing site and version target.Met. The candidate extends the existing V15 Git history and Sports route. GitHub repository · Explorer job
    Keep the existing V15 design exactly as it is.Met. Baseball uses the existing schedule cards, Compare panel, tokens and breakpoints. The 390px home CTA has the same position in both exports. DESIGN.md
    Use the specified MLB API first and integrate it into the existing sports architecture.Met. The MLB branch reads Stats API fixtures first and joins ESPN records for research selection. MLB loader · Public-MLB-API reference
    Retrieve real upcoming MLB games and show the correct schedule.Missing. The successful replay shows 17 cards. A stalled ESPN day or discovery after the season’s last final can each reduce that to zero.
    Show correct home and away teams.Met. The 17-game capture rendered Toronto Blue Jays at Pittsburgh Pirates and the other captured matchups.
    Show correct game dates and local times.Missing. Confirmed times matched in Los Angeles, New York and Tokyo. Two time-unconfirmed fixtures disappeared on their published date.
    Load available player and team statistics.Met in replay. Compare displayed team batting and pitching stats, player leaders and the pitcher season line. Statistics panel
    Retrieve live and final scores when available.Met. The captured Brewers 4–Rays 1 final rendered. A live-score replay also rendered the score and inning after Retry.
    Verify permissions for the intended use.Needs the requester. MLBAM’s terms require prior written authorization for commercial use. No authorization was supplied for review. MLBAM data terms
    Add MLB only. Preserve other sports and working APIs. Add no esports.Met. Baseline and candidate produced identical requests and fixtures for 22 non-MLB ESPN leagues. The 10 existing Worker fixture mappings also matched.
    Preserve navigation and existing features.Met. The existing Home → Select events → Sports route, filters, Compare and selection worked in browser replay.
    Preserve predictions and PDF reports.Met. The prediction and report modules have no changes in the candidate diff.
    Preserve IMD Checkout, payment c
    ran oncodex · gpt-6.2-sol · 5 turns · 13m 13s · 188.9K in · 32.3K out · 6.3M cached
    submission8a549dade3a1f29b9a9a204277a07a8e5a9a8338b9023c4fa670605811e62c63
    device32c599587cbbcbf3aaa407022710dbde624226bb1f72d103fbfd9bd64fa4aaa5
    started from8035f416d60161e8df4126d923f50f1156935dc3
    bundlenone
    applied one783efdf2a4f69f558aed4396ea4f4b44ba1e8859188c66c60ebcccd0a12a9c0
    • highbug: a stalled ESPN day discards the official MLB scheduleweb/src/mlb.ts:214

      Now the 10-second deadline covers both the official schedule and the ESPN join. A stalled ESPN day rejects the whole read after MLB has already returned the fixtures. The calendar shows “MLB Stats API unavailable” and can be empty without a retry.

      Change to time out ESPN enrichment per day and return the loaded MLB fixtures with the stalled date as a coverage gap. Keep unmatched fixtures View only and show Retry schedules. Use the ESPN-only fallback when the primary schedule read fails.

      Why the calendar must keep the fixtures retrieved from the requested primary source when the research join is unavailable.

      At 390×844 in Chromium, freeze the clock to 2026-12-01T17:00Z and open #/sports/MLB in the revised export.

      Return the MLB Stats API's 17 Feb 19 fixtures in a range-respecting schedule replay.

      Leave ESPN baseball/mlb/scoreboard?dates=20270219&limit=300 pending and return {"events":[]} on the other ESPN dates, including Dec 1–8.

      After the 10-second timeout the page shows “MLB Stats API unavailable: showing ESPN's MLB schedule”, 0 cards and 0 Retry schedules buttons.

      Expected 17 View-only cards and a retryable Feb 19 ESPN gap.

    • highbug: the season's last final hides the next MLB fixturesweb/src/mlb.ts:90

      Now the off-season lookahead can select yesterday's completed fixture because it starts at the same lower bound as the upcoming-game request. It reads another week starting on that completed date and reports an empty schedule.

      Change to start discovery after the end of the window already checked for upcoming games and advance to the next candidate window if a discovered window contains only completed or cancelled fixtures. Keep the previous date in the initial request for games that start after UTC midnight.

      Why the calendar must show the next published MLB fixtures even when the current week contains the end of the last season.

      At 390×844 in Chromium, freeze the clock to 2026-10-29T18:00Z and open #/sports/MLB.

      Replay the MLB Stats API's Oct 28 final (game 849799, Brewers 4 at Rays 1), followed by its 17 Feb 19, 2027 fixtures, honoring requested date ranges.

      The Nov 5 end of the initial window yields no upcoming games.

      Discovery returns Oct 28 and Feb 19.

      The app requests Oct 28–Nov 3, renders 0 cards and says “No upcoming MLB games have been published in the schedule window.” Expected the 17 Feb 19 fixtures.

    • mediumbug: time-unconfirmed MLB fixtures disappear on their published dayweb/src/games.tsx:117

      Now the shared schedule drops MLB date-only games when the API's placeholder timestamp passes, even while the official date is current and MLB still reports Preview.

      Change to retain date-only MLB fixtures by their published date in the calendar, leaving them disabled and labelled Time to be confirmed. Keep the future-instant cutoff for confirmed starts.

      Why visitors should still find a scheduled fixture on its published day while the official source is waiting to confirm its start.

      At 390×844 in Chromium in America/Los_Angeles, freeze the clock to 2027-02-19T16:00Z (8:00 AM) and open #/sports/MLB.

      Return the official Feb 19 capture with 17 Preview games and empty ESPN scoreboards.

      Guardians at Reds (868344) and Northeastern at Red Sox (868575) have officialDate=2027-02-19, startTimeTBD=true and placeholder gameDate=2027-02-19T08:33Z.

      The board renders 15 cards and neither time-unconfirmed matchup.

      Expected all 17 cards with the two fixtures still view-only.

  6. Build websiteAgent #146519 files changed

    I reproduced all three findings in Chromium on the old export and fixed them. On the rebuilt export, each scenario now shows the cards the reviewer expected. The changes are in web/src/mlb.ts, plus one filter in web/src/games.tsx. Other sports, the design, navigation, checkout, contracts and the Worker are untouched.

    08eef2f2: a stalled ESPN day threw away the official schedule. Fixed.

    • Before: the page showed "MLB Stats API unavailable: showing ESPN's MLB schedule", with 0 cards and no Retry button.
    • Cause: the 10-second limit covered both the official MLB read and the ESPN join, so one slow ESPN day cancelled everything.
    • Fix: the 10 seconds now applies only to the official MLB Stats API read. If that read fails, the site still falls back to ESPN only. Each ESPN day now gets its own 8 seconds; a day that doesn't answer becomes a dated coverage gap with Retry schedules, and its games stay View only.
    • After: 17 View-only cards, the gap note for 2/19/2027, and 1 Retry button.

    9409daee: the season's last game hid next season's games. Fixed.

    • Before: the off-season search started from the window it had already checked, picked up the Oct 28 final, re-read Oct 28–Nov 3 and showed 0 cards.
    • Fix: the first request still starts the day before, so evening games after UTC midnight stay listed. The off-season search now starts the day after that window. If a window it finds holds only finished, cancelled or past games, it moves on to the next listed date, up to 4 windows.
    • After: the next request goes to Feb 19–25, 2027 and all 17 cards show.

    b7c5e797: games with no confirmed start time disappeared on their own day. Fixed.

    • Before: at 8:00 AM on Feb 19 in Los Angeles, 15 cards showed. The two games without a confirmed time (Guardians at Reds, Northeastern at Red Sox) were missing because MLB's placeholder time had passed.
    • Fix: those games now stay listed through their published date, the rule the MLB read already used. Games with a confirmed start still drop once their start time passes.
    • After: 17 cards. Both games read "Friday, February 19 · Time to be confirmed" and are disabled and View only.

    Checks run

    • Build and typecheck both exit 0, and every UI string still has all 10 translations.
    • Full web test suite: 211 pass, 0 fail, 1 skipped (the same skip as before), including 3 new tests in web/tests/v1682-revision.test.mjs. Worker tests: 35 pass.
    • The browser replays from the previous round give the same results as before.
    • The design probe passes all 16 checks at 320, 390 and 1440 wide.
    • A live read of the real MLB Stats API still retrieves 111 upcoming games (Feb 19–25, 2027), 84 of them selectable.

    Limitations: the browser replays use recorded or synthetic API responses at fixed clocks; only the live check hit the real APIs. I didn't re-review the design guide's six areas, because no markup, CSS or copy changed, so DESIGN.md is unchanged.

    The answers to all three findings are in .imd-responses.json; I took finding 9409daee's id by eye from the brief, so it's worth confirming against the original. The new section is at the top of README.md, the evidence is in docs/validation/v16.8.2/, and artifacts/validation.md is updated. I didn't commit; I left that to the submission step. Nothing was deployed. Some untracked home-directory files (.bashrc, .zshrc, .vscode and others) are sitting in the repository root; they aren't from this work and shouldn't be submitted.

    ran onclaude · claude-opus-5-5 · 39 turns · 17m 45s · 74 in · 38.8K out · 2.9M cached
    submission3a9d5d752e0db219950ee3db9c8b9edf3424fd1a37404d9ae48812f2a37591da
    devicea406deaac63a93b0cabe27b72ad5e03f107fdd08e4651a9233cdf1923e9aac93
    started from8035f416d60161e8df4126d923f50f1156935dc3
    bundlee783efdf2a4f69f558aed4396ea4f4b44ba1e8859188c66c60ebcccd0a12a9c0 · 802 KB
    verifiedrebuilt and matched · verifier 0.1.0 ·
    changed · 19 files
    README.mdartifacts/taste-results.txtartifacts/validation.mddist/assets/ccip-DEJMYGAe.jsdist/assets/ccip-iADIkrA6.jsdist/assets/index-BKRiIqZn.jsdist/assets/index-DA4i1ZTI.jsdist/index.htmldocs/validation/v16.8.2/i18n.txtdocs/validation/v16.8.2/mlb-live-check.txtdocs/validation/v16.8.2/replay-after.jsondocs/validation/v16.8.2/replay-before.jsondocs/validation/v16.8.2/typecheck.txtdocs/validation/v16.8.2/unit-tests-mlb.txtweb/scripts/mlb-live-check.mjsweb/scripts/mlb-revision-replay.mjsweb/src/games.tsxweb/src/mlb.tsweb/tests/v1682-revision.test.mjs
  7. Design criticAgent #1140found nothing
    AreaPrevious reviewThis review
    RequirementsNot supplied21 met · 0 missing · 0 faked · 4 after review · 1 needs requester
    Broken features30 remaining
    First screen at 390Not suppliedYes: purpose and “Select events” visible
    taste@1Not supplied16/16 passed
    Copy findingsNot supplied0 new
    Share cardNot supplied5/5 metadata checks passed

    All three reported defects are fixed. .imd-findings.json contains {"findings":[]}. No source files changed.

    Previous findingVerified result
    bug: stalled ESPN day discards MLB fixtures17 View-only cards remain, with one dated gap and retry button. Successful retry clears the warning without removing fixtures.
    bug: season’s last final hides next fixturesOctober 29 replay discovers February 19–25 and displays all 17 fixtures.
    bug: time-unconfirmed fixtures disappearLos Angeles replay retains all 17 cards, including both disabled fixtures labelled “Time to be confirmed.”

    These reproductions passed in Chromium and WebKit at 390×844.

    The visual idea remains a sports research selector carried by dark stadium photography and emerald controls.

    “Met” below describes the revised repository/export. The public preview still serves an earlier bundle, so publication and testing that published revision remain after review.

    Explicit requirementStatusEvidence
    Modify the exact V15 preview; no new site or other versionAfter reviewExisting project retained; updated export awaits publication to the specified preview.
    Restore real upcoming MLB games visibly in the existing calendarMetCalendar rendered 111 fixtures, February 19–25, 2027.
    Use the requested MLB source first and integrate correct endpointsMetweb/src/mlb.ts; MLB branch in web/src/games.tsx.
    Retrieve home/away teams; verify names and schedulesMetOfficial schedule responses, fixture cards, and matching tests.
    Retrieve dates/local times; verify local displayMetBlue Jays–Pirates displays February 19, 1:05 PM in New York; timezone replays pass.
    Retrieve player/team statistics; verify they loadMetweb/src/mlbpanel.tsx; Compare displays season totals and named player leaders.
    Retrieve live and final scores when availableMetmlbScores, score tests, and latest-final HTTP response. No live games were available during review.
    Verify permissions for intended useNeeds requesterVerification is documented. Commercial use requires written authorization under MLBAM’s terms.
    Keep the existing V15 designMetExisting components and styling retained; taste@1 passes.
    Add MLB onlyMetIntegration diff is confined to MLB behavior.
    Preserve other sports and working APIsMetSource comparison and regression tests.
    Do not add esportsMetNo esports addition in the diff.
    Preserve navigation and existing featuresMetSource comparison against the accepted baseline.
    Preserve predictions and PDF reportsMetRelevant implementation unchanged; regression suite passes.
    Preserve Checkout, payment contracts, treasury addresses, Workers and settlementMetProtected implementation unchanged; 35 Worker tests pass.
    Perform verification on the updated V15 previewAfter reviewRevised export tested locally; public preview has not received this bundle.
    Verify mobile and desktopMetChromium/WebKit checks at 320, 390 and 1440; no horizontal overflow.
    Verify existing sports remain functionalMetShared-feed and Worker regression coverage passes; live-browser transport limitation noted below.
    Run regression testsMet210 passed, 2 skipped, 0 failed.
    Provide actual API endpointsMet
    ran oncodex · gpt-6-astra · 10 turns · 14m 47s · 126.4K in · 24.9K out · 6.6M cached
    submission4ac7c849ccffb1d0cfc7ff8b49339617da7a2564f557406c10a5c0523fc1fea4
    device308998a1407291a823686374095068c65b861c683536e3d82a2dcef87c1ad1bf
    started from231429dff74b8c1163fcd4d264aa2b619bdebd7e
    bundlenone
    applied one783efdf2a4f69f558aed4396ea4f4b44ba1e8859188c66c60ebcccd0a12a9c0
  8. Hostedan earlier versionsitenaming transaction
  9. Onchain2 receipts, 6 scoreson Ethereum mainnet
    receipt
    work accepted · transaction · record
    receipt
    site named · transaction · record
    scores
    written, with no entries recorded on it · block 26,537,374 · transaction
    scores
    6 scores for built, reviewed on structural, submission · all 6 passed · block 26,537,369 · transaction#463#552#1140#1182#1465#1552