LSYC UNIFIED YARD OPERATIONS — NEW ISOLATED BUILD

Included: 184 imported boats, 199 imported photographs, public live yard board, four independent seasonal operations (fall mast unstepping, fall haul-out, spring boat launch, spring mast stepping), crew logins, dock/crane/yard movements, notes, mast racks, iPhone photo upload, and visible save states.

REQUIREMENTS: PHP 8.1+ with PDO_SQLITE extension, HTTPS, SQLite file permissions, 8MB PHP upload limit (or larger), and Apache .htaccess support. The PHP SQLite extension is NOT installed in the build environment used to package this, so live PHP database tests were NOT possible here. Verify availability with your host BEFORE deployment.

SAFE INSTALLATION:
1. Extract ZIP into a NEW separate folder, e.g. public_html/LSYC-UNIFIED-TEST. Do not overwrite previous apps.
2. Confirm the web server can write to data/ and photos/. Protect data/ from direct public access: https://lsycapp.ca/LSYC-UNIFIED-TEST/data/lsyc.sqlite MUST be forbidden (403), never downloadable. If downloadable, stop immediately.
3. Open https://lsycapp.ca/LSYC-UNIFIED-TEST/index.html and create an admin account with a strong unique password.
4. Sign in as administrator, open ADMINISTRATION, create an individual login for each crew member/position.
5. Test the four seasonal workflows with two phones using cellular. Test photo uploads, notes and refreshes before real operations.
6. Keep the previous app and its data intact until this new one is independently validated.

FUNCTIONAL DETAILS:
- Public board shows boat names, statuses, sent/received/finished timestamps and elapsed time; no owner details or photos.
- Fall mast unstepping is independent of fall boat haul-out, which is generally the following week.
- Spring boat launch is yard -> crane -> dock. Spring mast stepping is separate.
- Boat photos: three lift slots plus two cradle slots. Existing 199 imported images are mapped to their original boat IDs.
- Saving operations provide yellow progress, green server-confirmed success or red failure/retry.
- Movement transactions update a single boat workflow, not the 57MB original backup. Public board polls every 2 seconds when visible.
- Admin can add boats and create crew accounts. No delete feature to avoid accidental loss.

LIMITATIONS / NOT YET VERIFIED:
- No production-server verification. This package is NOT certified bug-free or production-ready. PHP and JS syntax checks pass; SQLite schema and source-data checks pass.
- No live multi-phone, iPhone HEIC, cellular latency, server write permission, or photo upload test yet. HEIC requires conversion to JPEG/PNG/WebP before upload if the browser supplies HEIC.
- A two-second polling cycle cannot guarantee updates within two seconds on slow cellular connections.
- Offline saving is not supported. Failed saves must be retried.
- Initial imported photograph slots are assigned by the previous backup's photo slots and should be checked visually for lift vs cradle labels.
- Admin boat editing currently uses sequential prompt dialogs rather than a dedicated form.
- Admin role can perform any movement; all movements have a server audit entry. There is no self-service password reset.
- For multi-user operations, hosting with PHP PDO SQLite, fast disk I/O, and adequate PHP concurrency is required.

TEST CHECKLIST:
[ ] Public board displays 184 boats, no owner names or photos
[ ] Admin creates Dock A and Big Crane users with different passwords
[ ] Dock A sends a boat; button changes immediately to SENDING and confirms
[ ] Big Crane receives; public board and Dock A update automatically
[ ] Yard receives; timestamps and status persist after refresh
[ ] Fall mast unstepping lists only sailboats; rack assignment and notes save
[ ] Fall haul-out does not change fall mast status
[ ] Spring launch works Yard -> Crane -> Dock
[ ] Spring mast stepping remains separate
[ ] iPhone takes, uploads, displays and reopens a photograph
[ ] Notes persist after reload; failures show red retry state
[ ] Multiple phones simultaneously; measure send/receive/refresh latency
