Loading AGEI...
Complete setup guide for the CIAF-LCM AI Governance Evidence Infrastructure.
What you'll need before starting
Recommended for getting started
Uses Supabase cloud database. Fastest way to get up and running.
For offline development
Uses local Supabase with Docker. For advanced users.
ciaf-lcm-dev (or your preference)https://xxxxx.supabase.coeyJhbGc...eyJhbGc... ⚠️ Keep this secret!In SQL Editor in Supabase dashboard, run each migration file in order:
This creates a complete sample evidence trail to verify everything works.
supabase/demo_lifecycle.sqlWhat This Creates:
1. Clone Repository:
git clone <repository-url>
cd Gound_UP/ui2. Install Dependencies:
npm install3. Configure Environment:
cp .env.example .env.local4. Edit .env.local with your Supabase credentials:
NEXT_PUBLIC_SUPABASE_URL=https://xxxxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGc...
SUPABASE_SERVICE_ROLE_KEY=eyJhbGc...5. Run Development Server:
npm run dev6. Open Browser:
http://localhost:3000http://localhost:3000-- First, create a principal for the user
INSERT INTO principals (principal_type, external_id, email, display_name, is_active, is_verified)
VALUES ('user', '<your-supabase-auth-user-id>', 'your@email.com', 'Your Name', true, true);
-- Then add to an organization
INSERT INTO organization_members (organization_id, principal_id, role, is_active)
SELECT
(SELECT id FROM organizations WHERE name = 'Demo Organization' LIMIT 1),
(SELECT id FROM principals WHERE email = 'your@email.com'),
'owner',
true;Navigate to these sections:
RLS Policy Blocks Insert
Symptom: Error "new row violates row-level security policy"
Solution: Make sure you're using the service role key for admin operations or have proper principal/organization records.
Function Not Found
Symptom: Error "function submit_governed_event does not exist"
Solution: Make sure migration 006_helper_functions.sql was applied successfully.
No Services Found
Symptom: Error "No matching services found for this bundle"
Solution: Run migration 010_seed_ciaf_services.sql to populate the service catalog.