Copilot Instructions
<!-- ⚠️ AUTO-GENERATED — Do NOT edit this file directly.
Source: openspec/project.md + .ai/ directory
Regenerate: npm run sync:context
Platform: GitHub Copilot
-->
# Orchable – Copilot Instructions
# Orchable Project
## About
Orchable is a **client-side SPA** (no SSR) that enables users to design, execute, and share
multi-stage AI orchestration pipelines. Users bring their own API keys (BYOK). The platform
uses a dual-tier storage model: free users use IndexedDB, premium users sync to Supabase.
**Stage**: Production | **Stack summary**: React 18 + TypeScript 5.8 + Vite 5.4 + Supabase + Dexie
---
## Architecture Rules
### Rule 1: Dual-Tier Storage (CRITICAL)
Every service that reads or writes data MUST check the user `tier` and route through
`StorageAdapter`:
- **Free Users**: IndexedDB for all data. Registered free users sync reusable assets
(Prompt Templates, Custom Components, AI Model Settings) to Supabase. Documents are local only.
- **Premium Users**: All data (including Documents) synced to Supabase + File Storage.when to use it
Community prompt sourced from the open-source GitHub repo orchable/orchable (NOASSERTION). A "Copilot Instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
orchable/orchable · NOASSERTION