Skip to content

ci(hardwood): guard vendored bundle with provenance file + PR check - #49

Merged
brooksRoley merged 1 commit into
mainfrom
ci/hardwood-bundle-guard
Sep 15, 2026
Merged

brooksRoley merged 1 commit into
mainfrom
ci/hardwood-bundle-guard

Conversation

@brooksRoley

Copy link
Copy Markdown
Owner

Livelihood stream: Games (protects shipped Hardwood asset / infra safety)

Why: public/hardwood/ is a vendored build from the separate BballTactics repo; in PR #43 a stale/mismatched bundle shipped and regressed live /hardwood, requiring a same-day revert (e99e60e). This records the bundle's provenance and adds a CI gate so a bundle change can never merge again without an updated provenance note.

Files changed:

  • public/hardwood/SOURCE_COMMIT.txt (new) — records that the deployed bundle is the "July monolith" build, restored in zero-next e99e60e; BballTactics source SHA f7b01e3 per project memory (labeled as recorded provenance, with an explicit UNKNOWN fallback if it can't be confirmed on rebuild); plus rebuild/re-sync instructions.
  • .github/workflows/ci.yml — new pull_request-only step "Guard vendored Hardwood bundle provenance" that fails the build if any public/hardwood/ file changed but SOURCE_COMMIT.txt did not, with a fix message. push-to-main runs are unaffected (guarded by if: github.event_name == 'pull_request').

YAML validation:

YAML OK: ci.yml parses cleanly
steps: actions/checkout@v4 | Guard vendored Hardwood bundle provenance | actions/setup-node@v4 | Install dependencies | Lint | Build | Test

Test output (yarn test):

 Test Files  73 passed (73)
      Tests  834 passed (834)
   Duration  3.65s
Done in 4.40s.

🤖 Generated with Claude Code

Add public/hardwood/SOURCE_COMMIT.txt recording that the deployed bundle is
the "July monolith" build (restored in e99e60e; BballTactics source f7b01e3
per project memory). Add a pull_request-only CI step that fails when any
public/hardwood/ file changes without also bumping SOURCE_COMMIT.txt, so a
stale bundle like PR #43 can't ship silently again.

Claude-Session: https://claude.ai/code/session_01Vw2vZeTuaUDVaCvvRk1NME
@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zero-next Ready Ready Preview Sep 15, 2026 2:48am UTC

@brooksRoley
brooksRoley merged commit de3c6ce into main Sep 15, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant