-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopen-code.project.json
More file actions
350 lines (350 loc) · 12.3 KB
/
Copy pathopen-code.project.json
File metadata and controls
350 lines (350 loc) · 12.3 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
{
"version": 1,
"project": {
"id": "open-code",
"title": "Open Code Logic Workspace",
"summary": "A logic-first desktop workspace where project decisions are cards, cards become isolated agent work units, and human review is reserved for design conflicts."
},
"topics": [
{
"id": "logic-runtime",
"title": "Logic Runtime",
"summary": "The source of truth for cards, topics, dependencies, conflict detection, and generated documentation output.",
"cardIds": [
"card-logic-schema",
"card-agent-coordinator",
"card-conflict-model"
]
},
{
"id": "desktop-shell",
"title": "Desktop Shell",
"summary": "A lightweight Tauri and Svelte app that lets users inspect, edit, and run logic cards.",
"cardIds": [
"card-logic-board-ui",
"card-documentation-presentations",
"card-vscode-handoff"
]
},
{
"id": "mvp-delivery",
"title": "MVP Delivery Track",
"summary": "The highest-priority work still needed to move from preview to a real local agent product.",
"cardIds": [
"card-local-gemma-brain",
"card-persistent-workspace",
"card-human-conflict-resolution",
"card-real-agent-worker",
"card-packaged-runtime"
]
}
],
"cards": [
{
"id": "card-logic-schema",
"title": "Readable Logic Schema",
"summary": "Store cards and topics in GitHub-readable JSON plus generated documentation views.",
"details": "The structured project file keeps stable card ids, topic order, dependencies, linked files, and conflict metadata. Paper, spec, roadmap, handoff, and website presentations are regenerated from the same state so reviewers can inspect logic in the format that fits the moment.",
"status": "ready",
"linkedFiles": [
"crates/open-code-logic/src/lib.rs",
"logic/open-code.project.json"
],
"dependencies": [],
"relatedCards": [
"card-conflict-model"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-agent-coordinator",
"title": "Parallel Agent Coordinator",
"summary": "Run one isolated branch and worktree per active card.",
"details": "The coordinator prepares branch names, worktree paths, and command plans. It blocks human-required logic conflicts before an agent starts, but allows code overlaps to continue into merge-agent work.",
"status": "running",
"linkedFiles": [
"crates/open-code-logic/src/lib.rs",
"packages/desktop/src-tauri/src/main.rs"
],
"dependencies": [
"card-logic-schema"
],
"relatedCards": [
"card-conflict-model"
],
"implementationBranch": "open-code/card/card-agent-coordinator-parallel-agent-coordinator",
"worktreePath": ".open-code/worktrees/card-agent-coordinator-parallel-agent-coordinator",
"conflicts": [],
"agentRuns": []
},
{
"id": "card-conflict-model",
"title": "Conflict Review Model",
"summary": "Separate agent-resolvable code overlap from human-resolved logic conflict.",
"details": "Same-file work is an agent merge task. Contradictory behavior, duplicated design, incompatible APIs, or dependency cycles become human logic review.",
"status": "ready",
"linkedFiles": [
"crates/open-code-logic/src/lib.rs",
"packages/desktop/src/App.svelte"
],
"dependencies": [
"card-logic-schema"
],
"relatedCards": [
"card-agent-coordinator"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-logic-board-ui",
"title": "Logic Board UI",
"summary": "Show topics, card flow, running agents, branches, and conflict badges.",
"details": "The main screen uses a topic rail, central logic flow, documentation presentation switcher, and an inspector. Editing happens at the card level because the card is the smallest coherent unit of logic.",
"status": "ready",
"linkedFiles": [
"packages/desktop/src/App.svelte",
"packages/desktop/src/app.css"
],
"dependencies": [
"card-logic-schema",
"card-conflict-model"
],
"relatedCards": [
"card-documentation-presentations",
"card-vscode-handoff"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-documentation-presentations",
"title": "Documentation Presentations",
"summary": "Render logic as paper, spec, roadmap, handoff, or website.",
"details": "Paper stays useful for long-form reasoning, but the same card graph also needs dense specs, status roadmaps, agent handoffs, and a website-style presentation for stakeholder review. The UI should switch presentation modes without changing the underlying logic cards.",
"status": "ready",
"linkedFiles": [
"packages/desktop/preview/logic.js",
"packages/desktop/preview/app.js",
"docs/DOCUMENTATION_PRESENTATIONS.md"
],
"dependencies": [
"card-logic-schema",
"card-logic-board-ui"
],
"relatedCards": [
"card-persistent-workspace"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-vscode-handoff",
"title": "Open in VS Code",
"summary": "Open a card worktree, project folder, or linked file in VS Code.",
"details": "Code remains behind the logic surface. Users can jump to VS Code only when they need file-level editing or to inspect an agent worktree.",
"status": "ready",
"linkedFiles": [
"packages/desktop/src-tauri/src/main.rs"
],
"dependencies": [
"card-agent-coordinator"
],
"relatedCards": [
"card-logic-board-ui"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-local-gemma-brain",
"title": "Local Gemma Brain",
"summary": "Use Gemma 3 4B through Ollama now, with Auto/custom model selection.",
"details": "The MVP should always show whether the agent brain is online. Auto prefers installed Gemma 3 models, defaulting to gemma3:4b. Agent runs call the local Ollama API when available and otherwise remain explicit simulations.",
"status": "ready",
"linkedFiles": [
"packages/desktop/preview/models.js",
"packages/desktop/src/lib/models.ts",
"runtime/model-manifest.json"
],
"dependencies": [
"card-logic-board-ui"
],
"relatedCards": [
"card-real-agent-worker",
"card-packaged-runtime"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-persistent-workspace",
"title": "Persistent Logic Workspace",
"summary": "Keep preview edits across refresh and mirror the Tauri save/load contract.",
"details": "The browser preview should persist card edits, statuses, links, selected cards, and activity in localStorage so users can test-drive the workflow. The Tauri app uses the same contract with project JSON and generated Markdown.",
"status": "ready",
"linkedFiles": [
"packages/desktop/preview/app.js",
"logic/open-code.project.json"
],
"dependencies": [
"card-logic-schema",
"card-logic-board-ui"
],
"relatedCards": [
"card-human-conflict-resolution"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-human-conflict-resolution",
"title": "Human Logic Conflict Resolution",
"summary": "Let humans resolve design conflicts by editing, unblocking, or marking cards obsolete.",
"details": "Logic conflicts should not be auto-merged. The UI needs explicit actions to select conflicting cards, resolve declared conflict links, remove missing dependencies, and mark obsolete logic blocked.",
"status": "ready",
"linkedFiles": [
"packages/desktop/preview/app.js",
"packages/desktop/preview/logic.js"
],
"dependencies": [
"card-conflict-model",
"card-persistent-workspace"
],
"relatedCards": [
"card-real-agent-worker"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-real-agent-worker",
"title": "Real Agent Worker",
"summary": "Turn a ready card into model-backed code changes in its worktree.",
"details": "After a card starts, the worker should prompt Gemma with card intent, linked files, dependencies, and conflict report, then produce implementation notes and code changes on the card branch.",
"status": "draft",
"linkedFiles": [
"crates/open-code-logic/src/lib.rs",
"packages/desktop/src-tauri/src/main.rs"
],
"dependencies": [
"card-agent-coordinator",
"card-local-gemma-brain",
"card-human-conflict-resolution"
],
"relatedCards": [
"card-packaged-runtime"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
},
{
"id": "card-packaged-runtime",
"title": "Packaged Model Runtime",
"summary": "Bundle a local inference sidecar and manage Gemma download/verification.",
"details": "Ollama is the MVP path. The product path bundles a llama.cpp-compatible runtime, stores models under app data, verifies checksums, and exposes one local HTTP API for agents.",
"status": "draft",
"linkedFiles": [
"docs/AGENT_RUNTIME.md",
"runtime/model-manifest.json"
],
"dependencies": [
"card-local-gemma-brain"
],
"relatedCards": [
"card-real-agent-worker"
],
"implementationBranch": null,
"worktreePath": null,
"conflicts": [],
"agentRuns": []
}
],
"links": [
{
"from": "card-agent-coordinator",
"to": "card-logic-schema",
"kind": "dependency",
"reason": "Agent work needs stable card ids and linked files."
},
{
"from": "card-conflict-model",
"to": "card-logic-schema",
"kind": "dependency",
"reason": "Conflict detection runs over structured cards and links."
},
{
"from": "card-logic-board-ui",
"to": "card-conflict-model",
"kind": "dependency",
"reason": "The UI must explain which conflicts need humans."
},
{
"from": "card-documentation-presentations",
"to": "card-logic-schema",
"kind": "dependency",
"reason": "Every presentation renders from the same structured project graph."
},
{
"from": "card-documentation-presentations",
"to": "card-logic-board-ui",
"kind": "dependency",
"reason": "The presentation switcher belongs in the main logic workspace."
},
{
"from": "card-local-gemma-brain",
"to": "card-logic-board-ui",
"kind": "dependency",
"reason": "The model status belongs in the main logic workspace."
},
{
"from": "card-persistent-workspace",
"to": "card-logic-board-ui",
"kind": "dependency",
"reason": "Persistence makes the preview useful as a real planning surface."
},
{
"from": "card-human-conflict-resolution",
"to": "card-conflict-model",
"kind": "dependency",
"reason": "Resolution actions depend on the conflict classifier."
},
{
"from": "card-real-agent-worker",
"to": "card-local-gemma-brain",
"kind": "dependency",
"reason": "Real workers need an online local model brain."
},
{
"from": "card-real-agent-worker",
"to": "card-human-conflict-resolution",
"kind": "dependency",
"reason": "Workers must block when a card has human-required logic conflicts."
},
{
"from": "card-packaged-runtime",
"to": "card-local-gemma-brain",
"kind": "dependency",
"reason": "The packaged runtime replaces the MVP Ollama dependency after the brain contract is stable."
}
]
}