Skip to content

Commit b1bc05c

Browse files
committed
Update schema.prompt.md
1 parent 9ba9bb2 commit b1bc05c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/prompts/schema.prompt.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44
**Context:** You are defining the "DNA" of a metadata-driven low-code platform.
55
**Location:** `packages/spec` repository.
66

7+
Mission: Build the "Post-SaaS Operating System" — an open-core, local-first ecosystem that virtualizes data (SQL/Redis/Excel) and unifies business logic.
8+
1. The "Galaxy" Architecture (Monorepo Structure)
9+
We use a Monorepo (pnpm + Turborepo) to manage the ecosystem, but components are designed to be published independently.
10+
Project & Responsibilities
11+
* packages/protocol (The Constitution) [Apache 2.0]
12+
* CRITICAL: Contains the shared manifest.schema.json, TypeScript interfaces, and plugin lifecycle hooks (onInstall, onEnable).
13+
* Rule: All other packages depend on this. No circular dependencies.
14+
* packages/objectql (Data Engine) [Apache 2.0]
15+
* Universal Data Protocol. Compiles GraphQL-like queries into SQL/Redis commands.
16+
* packages/objectos (Business Kernel) [AGPL v3]
17+
* The Crown Jewel. Identity, RBAC, Workflow, and Audit Logging.
18+
* License Note: Strict AGPL to prevent SaaS wrapping by competitors.
19+
* packages/objectui (Projection Engine) [MIT]
20+
* React/Shadcn UI components for Server-Driven UI (SDUI).
21+
* packages/sdk (Plugin Kit) [MIT]
22+
* Tools for third-party developers to build Marketplace plugins.
23+
* drivers/* [Apache 2.0]
24+
* driver-postgres, driver-redis, driver-excel.
25+
* Must implement interfaces defined in packages/protocol.
26+
727
**PRIME DIRECTIVE:**
828

929
1. **Zod First:** ALL definitions must start with a **Zod Schema**.

0 commit comments

Comments
 (0)