create-ombutocode 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/create-ombutocode.js +5 -2
- package/package.json +1 -1
- package/template/GettingStarted.md +145 -41
- package/template/README.md +90 -1
package/bin/create-ombutocode.js
CHANGED
|
@@ -8,7 +8,7 @@ const REPO_URL = 'https://github.com/FrancoisBotha/ombutocode.git';
|
|
|
8
8
|
// Installer version is kept in lockstep with the workbench version
|
|
9
9
|
// (.ombutocode/src/package.json) — every workbench release bumps both
|
|
10
10
|
// to the same number. See DeployInstructions.md §3 and §3.0.
|
|
11
|
-
const VERSION = '0.
|
|
11
|
+
const VERSION = '0.2.0';
|
|
12
12
|
|
|
13
13
|
// Pinned Ombuto Code workbench release to clone.
|
|
14
14
|
//
|
|
@@ -20,7 +20,7 @@ const VERSION = '0.1.1';
|
|
|
20
20
|
// 2. Bump CLONE_REF below to the new tag
|
|
21
21
|
// 3. Bump this installer's VERSION (above) and the package.json version
|
|
22
22
|
// 4. `npm publish` the installer (see DeployInstructions.md §3)
|
|
23
|
-
const CLONE_REF = 'v0.
|
|
23
|
+
const CLONE_REF = 'v0.2.0';
|
|
24
24
|
|
|
25
25
|
// Files and directories at the repo root that belong to the Ombuto Code
|
|
26
26
|
// upstream project and should be removed from a scaffolded user project.
|
|
@@ -52,6 +52,9 @@ const UPSTREAM_FILES_TO_STRIP = [
|
|
|
52
52
|
'vite.config.js',
|
|
53
53
|
'eslint.config.js',
|
|
54
54
|
'tsconfig.json',
|
|
55
|
+
|
|
56
|
+
// Maintainer-only tooling — not part of what a user's new project needs
|
|
57
|
+
'migration-tool',
|
|
55
58
|
];
|
|
56
59
|
|
|
57
60
|
// Files in create-ombutocode/template/ that are copied into the scaffolded
|
package/package.json
CHANGED
|
@@ -10,10 +10,11 @@ This document walks you through:
|
|
|
10
10
|
1. [Where you are right now](#1-where-you-are-right-now)
|
|
11
11
|
2. [Prerequisites](#2-prerequisites)
|
|
12
12
|
3. [Launching Ombuto Code](#3-launching-ombuto-code)
|
|
13
|
-
4. [
|
|
14
|
-
5. [
|
|
15
|
-
6. [
|
|
16
|
-
7. [
|
|
13
|
+
4. [Linking the project to a GitHub repo](#4-linking-the-project-to-a-github-repo)
|
|
14
|
+
5. [Your first hour — the Plan → Build flow](#5-your-first-hour--the-plan--build-flow)
|
|
15
|
+
6. [Folder layout](#6-folder-layout)
|
|
16
|
+
7. [How `docs/` is handled in the app](#7-how-docs-is-handled-in-the-app)
|
|
17
|
+
8. [Where to go next](#8-where-to-go-next)
|
|
17
18
|
|
|
18
19
|
---
|
|
19
20
|
|
|
@@ -94,13 +95,94 @@ you let coding agents make it real.
|
|
|
94
95
|
|
|
95
96
|
---
|
|
96
97
|
|
|
97
|
-
## 4.
|
|
98
|
+
## 4. Linking the project to a GitHub repo
|
|
99
|
+
|
|
100
|
+
The installer already created a local Git repository and made an initial
|
|
101
|
+
commit, but it didn't push anywhere — you decide where this project's
|
|
102
|
+
remote lives. The recommended path is to create a brand-new empty repo
|
|
103
|
+
on GitHub and push to it.
|
|
104
|
+
|
|
105
|
+
### 4.1 Create an empty repo on GitHub
|
|
106
|
+
|
|
107
|
+
Easiest: use the GitHub CLI (`gh`) if you have it. From inside your
|
|
108
|
+
project directory:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
gh repo create {{PROJECT_NAME}} --private --source=. --remote=origin --push
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
That single command creates the GitHub repo, wires it up as `origin`,
|
|
115
|
+
and pushes your initial commit in one go. Add `--public` instead of
|
|
116
|
+
`--private` if you want it open. Done — skip to §4.3.
|
|
117
|
+
|
|
118
|
+
If you don't have `gh`:
|
|
119
|
+
|
|
120
|
+
1. Open [github.com/new](https://github.com/new).
|
|
121
|
+
2. Set the repository name to `{{PROJECT_NAME}}` (or whatever you like).
|
|
122
|
+
3. **Do NOT** tick "Add a README", "Add .gitignore", or "Add a license" —
|
|
123
|
+
your project already has those, and an initial commit on GitHub would
|
|
124
|
+
force you to merge histories before your first push.
|
|
125
|
+
4. Click **Create repository**.
|
|
126
|
+
5. GitHub will show "…or push an existing repository from the command
|
|
127
|
+
line." Use the commands from §4.2.
|
|
128
|
+
|
|
129
|
+
### 4.2 Wire up the remote and push
|
|
130
|
+
|
|
131
|
+
From your project directory:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
git remote add origin <repo-url-from-github>
|
|
135
|
+
git branch -M main
|
|
136
|
+
git push -u origin main
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
`<repo-url-from-github>` looks like `https://github.com/<you>/{{PROJECT_NAME}}.git`
|
|
140
|
+
for HTTPS, or `git@github.com:<you>/{{PROJECT_NAME}}.git` for SSH.
|
|
141
|
+
|
|
142
|
+
If `git remote add origin …` says "remote origin already exists" (some
|
|
143
|
+
older `create-ombutocode` versions added one), set the URL instead:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
git remote set-url origin <repo-url-from-github>
|
|
147
|
+
git push -u origin main
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### 4.3 What gets pushed (and what doesn't)
|
|
151
|
+
|
|
152
|
+
Your `.gitignore` is already configured to keep heavy and stateful files
|
|
153
|
+
out of GitHub:
|
|
154
|
+
|
|
155
|
+
- **Pushed:** `docs/` (your spec — first-class, version-controlled),
|
|
156
|
+
the `.ombutocode/` workbench source, configuration, templates, and
|
|
157
|
+
agent setup.
|
|
158
|
+
- **Not pushed:** `.ombutocode/data/` (your local SQLite databases),
|
|
159
|
+
`.ombutocode/logs/`, `.ombutocode/run-output/`, `node_modules/`, and
|
|
160
|
+
build output. These are local-only — every developer regenerates them
|
|
161
|
+
on first launch via `.ombutocode/buildandrun.bat`.
|
|
162
|
+
|
|
163
|
+
This means: collaborators cloning your repo get the same `docs/`,
|
|
164
|
+
tickets-as-spec, and workbench — but their own scheduler state, run
|
|
165
|
+
history, and database. Backlog content lives in the local DB, so if you
|
|
166
|
+
want teammates to start with the same tickets you'll need to either
|
|
167
|
+
re-generate them from the same epics or hand-export the DB separately.
|
|
168
|
+
|
|
169
|
+
### 4.4 Subsequent pushes
|
|
170
|
+
|
|
171
|
+
Standard Git workflow. Plan-mode edits (PRD, epics, mockups, etc.) and
|
|
172
|
+
any source code your project adds all live in the same repo, so a single
|
|
173
|
+
`git push` ships everything together. Ticket-level commits made by the
|
|
174
|
+
build-mode agents land on per-ticket worktrees first and merge to `main`
|
|
175
|
+
when the ticket reaches `done`.
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## 5. Your first hour — the Plan → Build flow
|
|
98
180
|
|
|
99
181
|
The typical flow for a brand-new project looks like this. You don't have
|
|
100
182
|
to do every step — skip the ones that don't fit — but doing them in order
|
|
101
183
|
will give you the smoothest experience.
|
|
102
184
|
|
|
103
|
-
###
|
|
185
|
+
### 5.1 Define a PRD (Plan mode)
|
|
104
186
|
|
|
105
187
|
Open the **Product Requirements Document** view from the Plan sidebar.
|
|
106
188
|
Either write the PRD yourself, or — if you have a coding agent
|
|
@@ -112,32 +194,64 @@ metrics. The assistant saves the result as
|
|
|
112
194
|
Tip: a decent PRD gives every downstream step (architecture, epics,
|
|
113
195
|
tickets) much better context. An hour on the PRD is rarely wasted.
|
|
114
196
|
|
|
115
|
-
###
|
|
197
|
+
### 5.2 Sketch an architecture
|
|
116
198
|
|
|
117
199
|
Open **Architecture** and draft a short architecture spec at
|
|
118
200
|
`docs/Architecture/Architecture.md`. Components, data flow, boundaries,
|
|
119
201
|
and any technology decisions that would affect how tickets are broken
|
|
120
202
|
down.
|
|
121
203
|
|
|
122
|
-
###
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
204
|
+
### 5.3 Initiate the stack
|
|
205
|
+
|
|
206
|
+
Once the PRD and Architecture are in reasonable shape, open
|
|
207
|
+
**Plan → Initiate Stack** and click **Initialise Stack**. A coding
|
|
208
|
+
agent reads both documents and, in a single session:
|
|
209
|
+
|
|
210
|
+
- Scaffolds the source/test directory layout using idiomatic commands
|
|
211
|
+
for the chosen stack (`dotnet new sln`, `cargo new`, `npm init`,
|
|
212
|
+
`gradle init`, etc.).
|
|
213
|
+
- Installs dependencies declared in the architecture.
|
|
214
|
+
- Extends `.gitignore` with stack-appropriate patterns (build
|
|
215
|
+
artifacts, dependency caches, OS / editor noise). Existing entries
|
|
216
|
+
are preserved.
|
|
217
|
+
- Writes `docs/Test Strategy/test-strategy.md` — a 9-section playbook
|
|
218
|
+
every future test-phase agent reads before running tests. It
|
|
219
|
+
records the exact commands for unit tests, lint, type-check, and
|
|
220
|
+
full-suite runs for your stack, so the test phase never has to
|
|
221
|
+
guess.
|
|
222
|
+
- Verifies the project builds and the test runner works, then
|
|
223
|
+
commits the scaffold.
|
|
224
|
+
|
|
225
|
+
Re-runnable safely. Run it again later (in **refresh mode**) when
|
|
226
|
+
the architecture evolves — adding a new component, a new dependency,
|
|
227
|
+
or a new test framework. Refresh mode only proposes deltas; it never
|
|
228
|
+
overwrites existing source or your hand-written prose in
|
|
229
|
+
`.gitignore` / `test-strategy.md`.
|
|
230
|
+
|
|
231
|
+
Skip this step at your peril: tickets generated against a missing
|
|
232
|
+
scaffold burn agent tokens trying to figure out where to put files.
|
|
233
|
+
|
|
234
|
+
### 5.4 Break work into epics
|
|
235
|
+
|
|
236
|
+
Epic specs live in `docs/Epics/`, one markdown file per epic
|
|
237
|
+
(`epic_AUTHENTICATION.md`, `epic_BILLING.md`, etc.). Each describes a
|
|
238
|
+
self-contained feature area with scope, acceptance criteria, and
|
|
135
239
|
references back to the PRD and architecture.
|
|
136
240
|
|
|
137
|
-
|
|
138
|
-
|
|
241
|
+
The easiest way to get started is to let the app do the first pass:
|
|
242
|
+
open the **Epics** view and use the **Generate epics from PRD and
|
|
243
|
+
architecture** action. A coding agent reads your `PRD.md` and
|
|
244
|
+
`Architecture.md` and proposes an initial set of epics covering the
|
|
245
|
+
product's main feature areas. Review what it produces, rename or
|
|
246
|
+
delete anything that doesn't fit, and edit each epic to sharpen the
|
|
247
|
+
scope and acceptance criteria.
|
|
139
248
|
|
|
140
|
-
|
|
249
|
+
You can also create epics by hand: use the template at
|
|
250
|
+
`.ombutocode/templates/epic.md` as a starting point and add the file
|
|
251
|
+
under `docs/Epics/`. Either approach produces the same on-disk
|
|
252
|
+
result — markdown files the rest of the workflow reads.
|
|
253
|
+
|
|
254
|
+
### 5.5 Generate tickets from an epic
|
|
141
255
|
|
|
142
256
|
Once an epic is well-specified, switch to **Build** mode, open the
|
|
143
257
|
**Backlog** view, and ask a coding agent to generate tickets for the
|
|
@@ -150,7 +264,7 @@ scheduler — agents will pick up `todo` tickets one by one, move them
|
|
|
150
264
|
through `in_progress` → `eval` → `review`, and leave you to approve
|
|
151
265
|
each one.
|
|
152
266
|
|
|
153
|
-
###
|
|
267
|
+
### 5.6 Watch it work
|
|
154
268
|
|
|
155
269
|
The **Automation** dashboard shows active runs, recent completions, and
|
|
156
270
|
the evaluation queue. Logs are captured under `.ombutocode/run-output/`
|
|
@@ -158,7 +272,7 @@ and surfaced in the **Logs** view.
|
|
|
158
272
|
|
|
159
273
|
---
|
|
160
274
|
|
|
161
|
-
##
|
|
275
|
+
## 6. Folder layout
|
|
162
276
|
|
|
163
277
|
```
|
|
164
278
|
{{PROJECT_NAME}}/
|
|
@@ -205,7 +319,7 @@ specific layout.
|
|
|
205
319
|
|
|
206
320
|
---
|
|
207
321
|
|
|
208
|
-
##
|
|
322
|
+
## 7. How `docs/` is handled in the app
|
|
209
323
|
|
|
210
324
|
`docs/` is **first-class** in Ombuto Code. It is not a static folder on
|
|
211
325
|
disk — the workbench treats it as a live, editable knowledge base that
|
|
@@ -242,20 +356,10 @@ agents build from it.
|
|
|
242
356
|
|
|
243
357
|
---
|
|
244
358
|
|
|
245
|
-
##
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
allowed to do. It's short.
|
|
251
|
-
- **Explore `.ombutocode/templates/`.** The `backlog.yml` and `epic.md`
|
|
252
|
-
templates show you the fields agents expect, which is useful when
|
|
253
|
-
you write tickets or epics by hand.
|
|
254
|
-
- **Check `.ombutocode/codingagents/codingagents.yml`.** That's where
|
|
255
|
-
you configure which CLIs are available, which models they use, and
|
|
256
|
-
concurrency limits.
|
|
257
|
-
- **Settings → Coding Agents (inside the app)** has a **Test** button
|
|
258
|
-
that verifies each agent is reachable and authenticated. Run it
|
|
259
|
-
before you enable the scheduler.
|
|
359
|
+
## 8. Where to go next
|
|
360
|
+
|
|
361
|
+
Open **Help** in the app — it's the canonical reference for every
|
|
362
|
+
feature, with walkthroughs, keyboard shortcuts, and troubleshooting.
|
|
363
|
+
Anything you need beyond this quick start lives there.
|
|
260
364
|
|
|
261
365
|
Happy building.
|
package/template/README.md
CHANGED
|
@@ -2,4 +2,93 @@
|
|
|
2
2
|
|
|
3
3
|
Scaffolded with [Ombuto Code](https://ombutocode.com) via `npx create-ombutocode`.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
> Replace this README with one that describes your actual product when you
|
|
6
|
+
> have one. Until then, this file documents what you just installed and how
|
|
7
|
+
> to get it onto GitHub.
|
|
8
|
+
|
|
9
|
+
## Launch Ombuto Code
|
|
10
|
+
|
|
11
|
+
From this folder:
|
|
12
|
+
|
|
13
|
+
**Windows**
|
|
14
|
+
|
|
15
|
+
```cmd
|
|
16
|
+
.ombutocode\buildandrun.bat
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**macOS / Linux**
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
bash .ombutocode/buildandrun
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
First launch takes a little longer — it installs Electron + Vue dependencies
|
|
26
|
+
and builds the renderer. Subsequent launches are quick.
|
|
27
|
+
|
|
28
|
+
## Link this project to a GitHub repo
|
|
29
|
+
|
|
30
|
+
The installer initialised a local Git repository and made an initial commit,
|
|
31
|
+
but it didn't push anywhere. Push to a new GitHub repo of your own:
|
|
32
|
+
|
|
33
|
+
### Option 1 — GitHub CLI (one-liner)
|
|
34
|
+
|
|
35
|
+
If you have [`gh`](https://cli.github.com) installed and authenticated:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
gh repo create {{PROJECT_NAME}} --private --source=. --remote=origin --push
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
That creates the repo, wires it up as `origin`, and pushes your initial
|
|
42
|
+
commit in one step. Use `--public` instead of `--private` if you want it open.
|
|
43
|
+
|
|
44
|
+
### Option 2 — Web + Git
|
|
45
|
+
|
|
46
|
+
1. Open <https://github.com/new>.
|
|
47
|
+
2. Repository name: `{{PROJECT_NAME}}` (or any name you like).
|
|
48
|
+
3. **Do NOT** tick "Add a README", "Add .gitignore", or "Add a license" —
|
|
49
|
+
your project already has those, and an initial commit on GitHub would
|
|
50
|
+
force you to merge histories before your first push.
|
|
51
|
+
4. Click **Create repository**.
|
|
52
|
+
5. Back in this folder:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
git remote add origin <repo-url>
|
|
56
|
+
git branch -M main
|
|
57
|
+
git push -u origin main
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
`<repo-url>` is what GitHub shows after creation — HTTPS or SSH form,
|
|
61
|
+
either works.
|
|
62
|
+
|
|
63
|
+
If `git remote add origin …` says "remote origin already exists" (some
|
|
64
|
+
older `create-ombutocode` versions added one), use this instead:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
git remote set-url origin <repo-url>
|
|
68
|
+
git push -u origin main
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### What gets pushed (and what doesn't)
|
|
72
|
+
|
|
73
|
+
The `.gitignore` is already configured so:
|
|
74
|
+
|
|
75
|
+
- **Pushed:** `docs/` (your spec, first-class), the `.ombutocode/`
|
|
76
|
+
workbench source + templates + config, and any application source
|
|
77
|
+
code you add.
|
|
78
|
+
- **Not pushed:** `.ombutocode/data/` (your local SQLite databases),
|
|
79
|
+
`.ombutocode/logs/`, `.ombutocode/run-output/`, `node_modules/`, and
|
|
80
|
+
build output. These are local-only — every developer regenerates them
|
|
81
|
+
on first launch.
|
|
82
|
+
|
|
83
|
+
This means collaborators cloning your repo get the same `docs/` and
|
|
84
|
+
workbench, but their own scheduler state and database. If you want
|
|
85
|
+
teammates to start with the same backlog of tickets, you'll need to
|
|
86
|
+
either regenerate them from the shared epics or hand-export the DB
|
|
87
|
+
separately.
|
|
88
|
+
|
|
89
|
+
## Next steps
|
|
90
|
+
|
|
91
|
+
Open the app and read [GettingStarted.md](GettingStarted.md) — it walks
|
|
92
|
+
through the Plan → Build flow end to end: defining a PRD, sketching an
|
|
93
|
+
architecture, initiating the project stack, generating epics, and letting
|
|
94
|
+
coding agents work the backlog.
|