module-spec · supabase_json
KnowledgeVault AI module-spec M-00
M-00 establishes the complete Supabase PostgreSQL 15 schema for KnowledgeVault AI. It delivers four numbered migration files: enabling pgvector and pg_cron extensions; creating all foundational tables (12 specified plus companies required for FK integrity); establishing all performance indexes including an IVFFlat vector index on knowledge_chunks.embedding for semantic search; enabling row-level security with role-specific policies for expert JWT, company JWT, and service-role access patterns; c
Open Questions
- OQ-M-00-01: id: string, owner: string, blocks: string, question: string, resolved: boolean, resolution: string
- OQ-M-00-02: id: string, owner: string, blocks: string, question: string, resolved: boolean, resolution: string
- OQ-M-00-03: id: string, owner: string, blocks: string, question: string, resolved: boolean, resolution: string