- scripts/install-hooks.sh: installs post-commit hook that runs
lake_build_ingest.py after each commit (async, non-blocking)
- Build results ingested into Postgres on neon-64gb
- Also: ii-agent systemd user service on port 8001, Authentik admin setup
- Root cause: search_path=auth,public caused AppFloyo unqualified
CREATE TABLE statements to land in auth schema (shadowing public)
- Fix: APPFLOWY_DATABASE_URL with options=-c%20search_path=public
- Ran all 144 SQLx migrations from binary (clean state + fragment type
pre-cleanup)
- GoTrue/AppFloyo user sync: created af_user record for admin
- Port 8000 freed from ii-agent (moved to 8001 permanently)
- Deployment receipt updated: signatures/appflowy_deployment_status.json
Services on neon-64gb:
GoTrue :9999 ✅ auth working (admin@researchstack.info / admin123)
AppFloyo :8000 ✅ REST API operational
Authentik :30001 ✅ SSO admin created
ii-agent :8001 ✅ restarted