You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assets/templates/schema.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,16 @@ description: {{description}}
9
9
10
10
{{description}}
11
11
12
+
> **Content guidelines:** This file should contain DDL, constraints, indexes, RLS, and reference data only. Workflows, state machines, behavioral descriptions, and domain logic belong in domain files.
13
+
12
14
## Tables
13
15
14
16
### {{table_name}}
15
17
16
18
| Column | Type | Constraints | Description |
17
19
|--------|------|-------------|-------------|
18
20
| id | uuid | PK | Primary identifier |
19
-
|tenant_id| uuid | FK, NOT NULL |Tenant reference |
21
+
|organization_id| uuid | FK, NOT NULL |Organization reference |
Copy file name to clipboardExpand all lines: plugins/spec-core/agents/feature-composer.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -268,3 +268,13 @@ Before creating any file, validate:
268
268
3.**Path Valid** - Target path matches component type
269
269
4.**No Duplicates** - File doesn't already exist
270
270
5.**Layer Rules** - Any links in template are valid for layer
271
+
272
+
## Framework Rules
273
+
274
+
Generated content must comply with these rules from FRAMEWORK.md:
275
+
276
+
-**Rule 1 (No Duplication):** Never duplicate content. Always link to the canonical source. If information exists elsewhere, reference it with a markdown link.
-**Rule 7 (No DDL in ADRs):** Decision records must not contain CREATE TABLE or other DDL. Link to canonical schema files instead.
279
+
-**Rule 8 (Schema Purity):** Schema files contain structure only — DDL, constraints, indexes, RLS, and reference data. Workflows, state machines, behavioral descriptions, and domain logic belong in domain files.
280
+
-**Rule 9 (No Placeholders):** Do not leave TBD, TODO, FIXME, HACK, or PLACEHOLDER markers in generated content. Use honest stubs with "Under Review" banners if content is not yet decided.
0 commit comments