Skip to content

Infra CW4-S2: WizSite's vendored GSAP becomes a pinned fetch, and the unused map pictures go #1935

Done
openwizdev/WizSite
#223

Description

@jparker2006

Parent

Ticket CW4-S2 of spec #1860 (Infra). Joined in revision 5, once the Drivers page round 3 and buy-button pull requests had merged.

What to build

WizSite still commits a vendored library and two pictures nothing serves. GSAP is already a pinned dependency in package.json and package-lock.json (its integrity hash is the pin and checksum), so the build copies it from node_modules/ the way it already copies dagre, and vendor/gsap-3.15.1.min.js leaves git (its licence file stays wherever the build and check need it). The old README map pictures (docs/map.png, docs/map-phone.png) go with their hash pins and the one test that reads them (polish openwizdev/WizSite#131), and docs/maintaining.md stops describing them. The built site stays byte-identical for a visitor.

Owned paths

  • vendor/gsap-3.15.1.min.js (deleted) in openwizdev/WizSite
  • docs/map.png, docs/map-phone.png (deleted) in openwizdev/WizSite
  • build.mjs (shared: its vendor and npm-vendor lists only) in openwizdev/WizSite
  • scripts/check.py (shared: the GSAP path and hash rows and the map rows only) in openwizdev/WizSite
  • scripts/test_check.py (shared: the tests that read the deleted files only) in openwizdev/WizSite
  • docs/maintaining.md (shared: the map and vendored-GSAP lines only) in openwizdev/WizSite
  • .gitignore (shared: a line for the built copy, if one is needed) in openwizdev/WizSite

Relies on: nothing

Links

Acceptance criteria

  • The site is unchanged for a visitor: npm run build before and after; the pull request lists every file that differs in dist/ (expected: none, or only the GSAP copy's path if it moves).
  • Pinned fetch (CW4-2 A): GSAP comes only from the locked gsap dependency (package-lock.json integrity), CI installs it with npm ci, and no vendored copy remains.
  • Closes polish Remove the unused WizSite phone map (polish for #1871, R1) WizSite#131 too (Closes openwizdev/WizSite#131).
  • Keep rule (CW4-1 A): everything deleted is something no user and no factory part runs; anything kept that looks unused names the loop, workflow, skill line or page that runs it in the pull request.
  • Deleted tests: the pull request lists each deleted test file or folder with one line: its keeper, behaviour gone, or no user path. A test that protects a page, the app, the sign-in helper, the build or the privacy check stays.
  • Nothing live points at a deleted path: a search of the repository finds no reference, except historical records named in the pull request.
  • Open pull requests keep their files: the diff touches no file that an open pull request in openwizdev/WizSite touches when this ticket starts (today #1405: WizSite: the landing's Watch your spec moment plays a real spec video (OpenWiz's model config spec) WizSite#39, #1674: 0.1.0 RL2: openwiz.dev's install box goes live after 0.1.0 publishes WizSite#46, Drivers page round 3H: the driver explained as the hero, boat.dev spotlight WizSite#64 and Drivers page round 3G: explain first, one even row of logo cards WizSite#65). If a cut needs one, leave it and say so on this ticket.
  • CI green: every required check (Build, links, resources and privacy) passes on the exact head, with workflow steps and test lists that named a deleted path removed in the same change. No check is renamed, skipped or weakened.
  • Count: the pull request gives openwizdev/WizSite's lines and files before and after, with the spec's commands (git ls-files | wc -l; git ls-files -z | xargs -0 cat 2>/dev/null | wc -l).
  • Evidence stays out of the tree: red and green runs go in the pull request's description or comments, never in a committed file.
  • The pull request says Closes openwizdev/OpenWiz#<this ticket> and merges by openwizdev/WizSite's docs/agents/fleet.md.

Proof

P1: the count. P2: Build, links, resources and privacy. P5: no vendored GSAP left.

Activity

  1. added this to the Infra milestone on Nov 20, 2026
  2. added
    ready-for-agent
    held
    and removed
    ready-for-agent
    held
    on Nov 20, 2026
  3. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start withdrawn

    The claim gate cited #2225, whose owned paths are all in openwizdev/OpenWiz, while this ticket's are all in openwizdev/WizSite: a false clash under the cleanup lead's rule. But this ticket's shared WizSite files (build.mjs, scripts/check.py, scripts/test_check.py, docs/maintaining.md) are changed by many open WizSite pull requests. Asked the cleanup lead on #1860.

  4. added
    held
    ready-for-agent
    and removed
    ready-for-agent
    held
    on Nov 24, 2026
  5. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1935-gsap-npm-fetch (openwizdev/WizSite)

    Collision checked under the cleanup lead's rule on #1860: the claim gate withdrew this start citing #2225, whose owned paths are all in openwizdev/OpenWiz; this ticket's are all in openwizdev/WizSite, so nothing overlaps. The open WizSite pull requests that change this ticket's four shared files are settled by the cleanup lead's ruling on #1860: this ticket changes only its own named rows in them, and whichever merges second merges main in and is re-checked.

  6. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: build-ticket@0.3.0
    step: Handed back green PR openwizdev/WizSite#223 for review.
    time: 2026-11-24T15:39:08Z
    pr: openwizdev/WizSite#223

  7. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: claude-code
    model: Opus 5.5 medium effort
    skills: review-ticket@0.5.0
    step: Posted APPROVE at 5df1ae2; the head conflicts with main, so it needs one more merge and re-check
    time: 2026-11-24T20:46:16Z
    pr: openwizdev/WizSite#223

  8. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

    Verified merge: openwizdev/WizSite#223 merged as f20632d at the approved head 0ca4655 (APPROVE comment 7147730084); its Closes line closed this ticket. GSAP now comes from the locked npm dependency and the built site is byte-identical to before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions