# Team AI Registry Log (`Mentor/AI_Registry/AI_REGISTRY.md`)

This registry tracks the usage of Generative AI tools (e.g. Antigravity, ChatGPT, Claude) across all major feature developments in rooSports (FIT3048 Team 135) to enforce academic integrity, transparency, and traceability compliance.

## Registry Log Table

| Date | Feature / Component | AI Tool / Model Used | Description of AI Assistance | Human Verification & Code Modifications | Verified By |
| :--- | :--- | :--- | :--- | :--- | :--- |
| 2026-08-13 | Repository Restructuring | Antigravity (Gemini 3.6 Flash) | Organized repo into Development/, Mentor/, and Client_Production/ | Reviewed layout, updated proxy package.json, and created compliance documentation. | Team 135 Lead |
| 2026-08-13 | 3D Interactive Canvas | Antigravity | Generated Three.js GLB model builder script (`build_glb_models.js`) | Reviewed 3D canvas rendering performance and lighting parameters. | Team 135 |
| 2026-08-13 | Security & Privacy Utilities | Antigravity | Implemented password validation helper & child nickname masking functions | Enforced 8+ char policy with special character checks; added test assertions. | Team 135 Dev |
| 2026-09-16 | US 1.6: Event Request Submission & Admin Review | Antigravity (Gemini 3.8 Flash) | Implemented event request workflow: MySQL schema, migration, /events/request form with inline validation, tracking view, /admin/event-requests review with approval/rejection, rate limiting, and public catalogue sync | Verified test suite (scripts/test-us-1-6.mjs) passing 18/18 test cases; verified Next.js production build passing with zero type/compilation errors. | Team 135 |
| 2026-09-16 | Universal Toast & Notification System | Antigravity (Gemini 3.8 Flash) | Replaced legacy inline alert banners with centralized, accessible Toast Provider (`@/components/ui/toast`), mounted in root layout with responsive placement, auto-dismiss, swipe-to-dismiss, and brand styling tokens | Verified automated build (`npm run build`), ESLint zero errors, and end-to-end browser subagent verification of success/error toasts. | Team 135 Frontend |
| 2026-09-16 | US 2.6: Admin Event Scheduling & Conflict Detection | Antigravity (Gemini 3.8 Flash) | Built venue conflict detection engine (`src/lib/conflict-detection.ts`), approval gate (HTTP 409 + UI disable), reassignment modal with live collision checking (`/api/admin/event-requests/[id]/reassign`), interactive venue schedule matrix tab & page (`/admin/venue-schedule`), and audit trail logging. | Verified with 25 unit/integration test cases (`test-us-2-6.mjs`), 18 live HTTP test cases (`test-us-2-6-http.mjs`), clean Turbopack build (`npm run build`), zero ESLint errors, and browser subagent recording. | Team 135 Lead |
| 2026-09-16 | US 2.7: Admin Dashboard Brand & Layout Alignment | Antigravity (Gemini 3.8 Flash) | Refactored admin console (`/admin/*`) to unify visual, structural, and responsive consistency with canonical landing page: Deep Navy (`#0D1B2A`), Energetic Blue (`#1D4ED8`), Vibrant Orange (`#F97316`), `rounded-2xl/3xl` elevation cards, landing pill badges (`AdminPageHeader`), and dual mobile card reflow (`block md:hidden`) alongside desktop tables (`hidden md:table`) across all admin subviews. | Verified with browser subagent across desktop (1280px) and mobile (375px) viewports with zero horizontal clipping, clean Next.js build (42/42 routes), zero ESLint errors across all admin files, and 18 passing HTTP integration tests. | Team 135 Frontend |
| 2026-09-17 | Stability Hotfixes & Full Verification | Antigravity (Gemini 3.8 Flash) | Resolved admin authentication (`RooSports3048!`), fixed external HDR fetch crash in `BasketballScene.tsx` with self-contained studio lighting + `SceneErrorBoundary`, resolved hydration warnings via `suppressHydrationWarning`, and eliminated ESLint `set-state-in-effect` & unused variable warnings. | Verified with `npx tsc --noEmit` (0 errors), `npm run lint` (0 errors, 0 warnings), `npm run build` (all 42 routes compiled), and 18/18 HTTP test cases passing. Pushed to remote branch `feature/us-2.7-admin-dashboard-branding`. | Team 135 Lead |
| 2026-09-17 | Admin operations reliability | Codex (GPT-5) | Implemented migration release tooling, CMS validation/shared storage, public CMS rendering, venue conflict protection, lifecycle controls, and safe default-capacity updates. | Prisma migration status, targeted ESLint, production build, database index verification, and local homepage verification passed; team review pending. | Codex / Team 135 review pending |
| 2026-09-17 | Financial operations and admin accountability | Codex (GPT-5) | Added durable, idempotent Stripe refund reconciliation, explicit booking-cancellation notices and refund review, event email retries, sensitive-action re-authentication, and an admin audit-log view. | Prisma migration, targeted ESLint, TypeScript, and production build passed locally; team review and live Stripe/SMTP verification remain. | Codex / Team 135 review pending |

## Logging Guidelines for Developers
For every major feature or structural update involving AI:
1. Log entry date, target feature path, and specific tool version.
2. Detail what prompt/code was generated by AI versus what code was manually authored or modified by team members.
3. Record human verification outcome (build pass, unit test results, code review approval).
