-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImprint.schema.json
More file actions
207 lines (207 loc) · 8.37 KB
/
Copy pathImprint.schema.json
File metadata and controls
207 lines (207 loc) · 8.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://symdicate/agents/Imprint.schema.json",
"title": "Imprint",
"description": "A platform-neutral cognitive profile capturing user identity, communication preferences, domain expertise, active projects, and explicit rules for any AI assistant to load. Designed to be read directly by AI platforms and processed by sync tooling to generate platform-specific bridge files. The personal instance of this file (Imprint.json) must never be committed — it contains private context. Only the schema and example files are tracked.",
"type": "object",
"required": ["version", "identity", "style", "rules"],
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"description": "Reference to the JSON Schema that validates this file."
},
"version": {
"type": "string",
"description": "Schema version of this file. Increment when the structure changes in a breaking way.",
"pattern": "^\\d+\\.\\d+$"
},
"generatedAt": {
"type": "string",
"format": "date-time",
"description": "ISO-8601 UTC timestamp of when this file was last written or updated by the SharedConsciousness agent."
},
"identity": {
"type": "object",
"description": "Who the user is. Loaded as baseline context into every AI interaction.",
"required": ["preferredName"],
"additionalProperties": false,
"properties": {
"preferredName": {
"type": "string",
"description": "How the AI should address or refer to the user."
},
"role": {
"type": "string",
"description": "The user's primary professional role or discipline."
},
"timezone": {
"type": "string",
"description": "IANA timezone identifier, e.g. Europe/London. Useful for time-aware suggestions."
},
"pronouns": {
"type": "string",
"description": "Optional. Used where natural in prose responses."
}
}
},
"style": {
"type": "object",
"description": "How this user wants AI assistants to communicate. Applied to every platform that reads this file.",
"required": ["verbosity"],
"additionalProperties": false,
"properties": {
"verbosity": {
"type": "string",
"enum": ["concise", "balanced", "thorough"],
"description": "Desired response length. concise = direct and short unless complexity demands otherwise. balanced = match depth to the question. thorough = prefer completeness over brevity."
},
"format": {
"type": "string",
"enum": ["markdown", "plain", "code-heavy"],
"description": "Preferred output format. markdown = headers, lists, code blocks. plain = prose only. code-heavy = prioritise code over explanation.",
"default": "markdown"
},
"skipPreamble": {
"type": "boolean",
"description": "If true, do not open responses with affirmations, pleasantries, or restatements of the question.",
"default": true
},
"skipSummary": {
"type": "boolean",
"description": "If true, do not close responses with a summary of what was just done.",
"default": true
},
"preferredCodeLanguage": {
"type": "string",
"description": "When code language is ambiguous, default to this. e.g. TypeScript, Python, PowerShell."
},
"additionalNotes": {
"type": "string",
"description": "Free text for any style preferences that do not fit the structured fields above."
}
}
},
"rules": {
"type": "array",
"description": "Hard rules every AI assistant must follow unconditionally. Applied globally across all platforms.",
"items": {
"type": "string"
},
"minItems": 0
},
"neverDo": {
"type": "array",
"description": "Explicitly prohibited behaviours. Treated as inviolable constraints, not suggestions. Distinct from rules to make the negative space explicit.",
"items": {
"type": "string"
}
},
"expertise": {
"type": "array",
"description": "Domains where the user has strong existing knowledge. AI should not explain basics in these areas unless explicitly asked.",
"items": {
"type": "string"
}
},
"projects": {
"type": "array",
"description": "Active projects the user works on. Gives AI assistants standing context without requiring explanation at the start of every session.",
"items": {
"type": "object",
"required": ["name", "summary"],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Short project name."
},
"summary": {
"type": "string",
"description": "One to two sentence description of what the project is and does."
},
"repo": {
"type": "string",
"description": "Optional. GitHub owner/repo reference, e.g. CTOUT/Symdicate."
},
"stack": {
"type": "array",
"description": "Primary technologies, languages, or frameworks used in this project.",
"items": {
"type": "string"
}
},
"active": {
"type": "boolean",
"description": "Whether this project is currently active. Inactive projects are retained for context but deprioritised.",
"default": true
}
}
}
},
"memory": {
"type": "array",
"description": "Explicit persistent facts — things the user has had to repeat across AI sessions that should be carried everywhere. The structured equivalent of platform-side implicit memory (ChatGPT Memory, Claude Projects), but portable and user-controlled. Add entries here for anything you find yourself re-explaining from scratch.",
"items": {
"type": "string"
}
},
"platforms": {
"type": "object",
"description": "Per-platform bridge configuration. Read by sync tooling (Sync-SharedConsciousness.ps1) to generate platform-specific files. Not required for direct AI consumption — this block is for the sync script only. Omit entirely if you are not using the sync tooling.",
"additionalProperties": false,
"properties": {
"copilot": {
"$ref": "#/definitions/platformEntry",
"description": "GitHub Copilot — generates copilot-instructions.md at the specified path."
},
"cursor": {
"$ref": "#/definitions/platformEntry",
"description": "Cursor — generates .cursorrules at the specified path."
},
"claude": {
"$ref": "#/definitions/platformEntry",
"description": "Claude / Claude Code — generates CLAUDE.md at the specified path."
},
"warp": {
"$ref": "#/definitions/platformEntry",
"description": "Warp — generates an AI context file at the specified path."
},
"codex": {
"$ref": "#/definitions/platformEntry",
"description": "OpenAI Codex CLI — generates AGENTS.md at the specified path."
},
"gemini": {
"$ref": "#/definitions/platformEntry",
"description": "Gemini CLI — generates GEMINI.md at the specified path."
}
}
}
},
"definitions": {
"platformEntry": {
"type": "object",
"required": ["enabled"],
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether the sync script should write a bridge file for this platform."
},
"path": {
"type": "string",
"description": "Absolute or home-relative path where the bridge file should be written. Use ~ for the home directory."
},
"level": {
"type": "string",
"enum": ["user", "repo"],
"description": "For platforms with user vs. repo-level config (e.g. Copilot). user = written to the VS Code user config folder. repo = written relative to the current project root."
},
"notes": {
"type": "string",
"description": "Optional free text notes about this platform's bridge configuration."
}
}
}
}
}