cofounder-crew 0.1.11 → 0.1.12
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/README.md +185 -280
- package/dist/src/cli.js +898 -175
- package/dist/src/cli.js.map +1 -1
- package/dist/src/codex.d.ts +3 -1
- package/dist/src/codex.js +9 -6
- package/dist/src/codex.js.map +1 -1
- package/dist/src/codexConfig.d.ts +6 -2
- package/dist/src/codexConfig.js +98 -19
- package/dist/src/codexConfig.js.map +1 -1
- package/dist/src/init.js +5 -0
- package/dist/src/init.js.map +1 -1
- package/dist/src/manage.d.ts +64 -0
- package/dist/src/manage.js +355 -0
- package/dist/src/manage.js.map +1 -0
- package/dist/src/memberRuntime.d.ts +2 -0
- package/dist/src/memberRuntime.js +48 -6
- package/dist/src/memberRuntime.js.map +1 -1
- package/dist/src/runtime.js +9 -2
- package/dist/src/runtime.js.map +1 -1
- package/dist/src/setup.js +6 -3
- package/dist/src/setup.js.map +1 -1
- package/dist/src/skills.d.ts +22 -0
- package/dist/src/skills.js +283 -0
- package/dist/src/skills.js.map +1 -0
- package/dist/src/templates.d.ts +1 -0
- package/dist/src/templates.js +27 -4
- package/dist/src/templates.js.map +1 -1
- package/dist/src/types.d.ts +11 -1
- package/docs/README.md +15 -0
- package/docs/cli.md +125 -0
- package/docs/configuration.md +200 -0
- package/docs/development.md +19 -0
- package/docs/examples.md +79 -0
- package/docs/faq.md +87 -0
- package/docs/prompts/bootstrap-codex.md +80 -0
- package/docs/releasing.md +23 -0
- package/docs/runtime.md +96 -0
- package/docs/updating.md +61 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/eugeneyvt/cofounder-crew/main/assets/cofounder_crew_social.png" alt="Cofounder Crew - local AI teams for Codex." />
|
|
3
|
+
<br />
|
|
2
4
|
<h1>Cofounder Crew</h1>
|
|
3
5
|
<p>
|
|
4
|
-
|
|
6
|
+
Turn one Codex session into a local AI team for your repo.
|
|
5
7
|
<br />
|
|
6
8
|
No dashboard. No orchestration server. No new IDE.
|
|
7
9
|
</p>
|
|
@@ -15,369 +17,272 @@
|
|
|
15
17
|
<p>
|
|
16
18
|
<a href="#quickstart">Quickstart</a>
|
|
17
19
|
·
|
|
18
|
-
<a href="#
|
|
20
|
+
<a href="#why-it-exists">Why</a>
|
|
19
21
|
·
|
|
20
|
-
<a href="#
|
|
22
|
+
<a href="#how-it-works">How It Works</a>
|
|
21
23
|
·
|
|
22
|
-
<a href="#
|
|
24
|
+
<a href="#configure-the-team">Configure</a>
|
|
23
25
|
·
|
|
24
|
-
<a href="#
|
|
26
|
+
<a href="#docs">Docs</a>
|
|
25
27
|
</p>
|
|
26
28
|
</div>
|
|
27
29
|
|
|
28
30
|
## What It Is
|
|
29
31
|
|
|
30
|
-
Cofounder Crew
|
|
32
|
+
Cofounder Crew is a plain-file team runtime for Codex.
|
|
31
33
|
|
|
32
|
-
You
|
|
34
|
+
You keep using Codex as the interface. Cofounder adds a project-local `.cofounder/` folder, a small MCP server, and a roster of teammates that Codex can delegate to. Each teammate can have its own prompt, model, sandbox, write mode, memory, MCP servers, and native Codex skills.
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
The result is simple: open Codex in a repo, talk normally, and let Codex coordinate focused workers instead of stuffing every role and every tool into one context.
|
|
35
37
|
|
|
36
38
|
## Quickstart
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
Fastest path: open Codex in your project and paste the bootstrap prompt.
|
|
41
|
+
|
|
42
|
+
<details>
|
|
43
|
+
<summary><strong>Copy Codex bootstrap prompt</strong></summary>
|
|
39
44
|
|
|
40
45
|
```text
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
46
|
+
Set up Cofounder Crew in this project and explain each meaningful action as you go.
|
|
47
|
+
|
|
48
|
+
Use https://github.com/eugeneyvt/cofounder-crew as the reference if you need more context. Work from the current project cwd. Do not commit, push, publish, or overwrite existing AGENTS.md or .cofounder files without asking.
|
|
49
|
+
|
|
50
|
+
Goal:
|
|
51
|
+
- install the current Cofounder npm package when this project has package.json
|
|
52
|
+
- initialize or repair the project-local Cofounder setup
|
|
53
|
+
- install or repair the Codex MCP entry
|
|
54
|
+
- verify the setup
|
|
55
|
+
- tell me exactly how to start using the team from Codex
|
|
56
|
+
|
|
57
|
+
Process:
|
|
58
|
+
|
|
59
|
+
1. Inspect the current state first.
|
|
60
|
+
Check:
|
|
61
|
+
- current cwd
|
|
62
|
+
- node --version and npm --version
|
|
63
|
+
- codex --version
|
|
64
|
+
- whether package.json exists
|
|
65
|
+
- whether package.json already contains cofounder-crew in dependencies or devDependencies
|
|
66
|
+
- whether .cofounder/team.yaml exists
|
|
67
|
+
- whether AGENTS.md exists
|
|
68
|
+
- whether AGENTS.md contains the Cofounder Crew bridge
|
|
69
|
+
- whether this is a Git repo
|
|
70
|
+
- whether Git HEAD exists
|
|
71
|
+
- whether Codex MCP server "cofounder" exists and points to:
|
|
72
|
+
npx -y --package cofounder-crew -- cofounder serve mcp
|
|
73
|
+
|
|
74
|
+
2. Install the package before using the local CLI when package.json exists.
|
|
75
|
+
- If package.json exists, run:
|
|
76
|
+
npm install --save-dev cofounder-crew@latest
|
|
77
|
+
- If package.json does not exist, do not create package.json just for Cofounder. Use npm create or npx with --package instead.
|
|
78
|
+
- Do not install Cofounder globally.
|
|
79
|
+
- If npx cofounder cannot resolve after install, use:
|
|
80
|
+
npx -y --package cofounder-crew@latest -- cofounder <command>
|
|
81
|
+
|
|
82
|
+
3. Initialize or repair with the CLI.
|
|
83
|
+
- If .cofounder/team.yaml is missing and package.json exists, run:
|
|
84
|
+
npx cofounder start --setup-codex --yes
|
|
85
|
+
- If .cofounder/team.yaml is missing and package.json does not exist, run:
|
|
86
|
+
npm create cofounder@latest -- --setup-codex --yes
|
|
87
|
+
- If .cofounder/team.yaml already exists, do not re-run init. Run the safe updater instead:
|
|
88
|
+
npx cofounder update --setup-codex --yes
|
|
89
|
+
or, without a local dependency:
|
|
90
|
+
npx -y --package cofounder-crew@latest -- cofounder update --setup-codex --yes
|
|
91
|
+
- Use --template worktree only if I explicitly asked for isolated worktrees or this repo clearly already uses that workflow. Worktree mode requires a Git repo with at least one commit.
|
|
92
|
+
|
|
93
|
+
4. Preserve user-owned files.
|
|
94
|
+
- Do not overwrite AGENTS.md.
|
|
95
|
+
- If AGENTS.md exists but the Cofounder bridge is missing, show me the exact bridge block and explain that I should add it for proactive delegation.
|
|
96
|
+
- Do not overwrite existing member prompts, member settings, memory files, or project-owned MCP files.
|
|
97
|
+
- Do not add root .gitignore entries automatically. Only report recommended ignore entries if they are missing.
|
|
98
|
+
|
|
99
|
+
5. Verify before claiming success.
|
|
100
|
+
Run:
|
|
101
|
+
- npx cofounder doctor
|
|
102
|
+
- codex mcp get cofounder, if Codex CLI is available
|
|
103
|
+
- npm ls cofounder-crew --depth=0, if package.json exists
|
|
104
|
+
|
|
105
|
+
6. Final response format.
|
|
106
|
+
Tell me:
|
|
107
|
+
- what package/version is installed or selected
|
|
108
|
+
- which files were created or changed
|
|
109
|
+
- whether AGENTS.md needs a manual bridge block
|
|
110
|
+
- whether I need to restart Codex
|
|
111
|
+
- the first message to send after restart:
|
|
112
|
+
Use the Cofounder team. Show me who is available.
|
|
113
|
+
- the 3 most useful follow-up commands:
|
|
114
|
+
cofounder add
|
|
115
|
+
cofounder doctor
|
|
116
|
+
cofounder team
|
|
117
|
+
|
|
118
|
+
Do not stop after printing commands unless a command would be unsafe. Actually perform the safe setup steps, then report the result.
|
|
119
|
+
If a verification step fails, do not say the setup is complete. Explain the failure and the next command or manual step needed.
|
|
62
120
|
```
|
|
63
121
|
|
|
64
|
-
|
|
122
|
+
</details>
|
|
123
|
+
|
|
124
|
+
The same prompt is available at [docs/prompts/bootstrap-codex.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/prompts/bootstrap-codex.md).
|
|
125
|
+
|
|
126
|
+
Terminal setup is one command, then open Codex:
|
|
65
127
|
|
|
66
128
|
```bash
|
|
67
129
|
cd my-project
|
|
68
|
-
npm create cofounder@latest -- --setup-codex
|
|
130
|
+
npm create cofounder@latest -- --setup-codex
|
|
69
131
|
codex
|
|
70
132
|
```
|
|
71
133
|
|
|
72
|
-
For
|
|
134
|
+
For non-interactive setup:
|
|
73
135
|
|
|
74
136
|
```bash
|
|
75
|
-
|
|
76
|
-
npm create cofounder@latest -- --template worktree --setup-codex --yes
|
|
77
|
-
codex
|
|
137
|
+
npm create cofounder@latest -- --setup-codex --yes
|
|
78
138
|
```
|
|
79
139
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
For an existing package where you want the runtime pinned in `devDependencies`:
|
|
140
|
+
For isolated implementation tasks, use the worktree template. It requires a Git repo with at least one commit:
|
|
83
141
|
|
|
84
142
|
```bash
|
|
85
|
-
npm
|
|
86
|
-
npx cofounder init --template worktree
|
|
87
|
-
npx cofounder setup codex --install
|
|
143
|
+
npm create cofounder@latest -- --template worktree --setup-codex
|
|
88
144
|
codex
|
|
89
145
|
```
|
|
90
146
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
After installation, the main interface is Codex chat:
|
|
147
|
+
Then ask Codex:
|
|
94
148
|
|
|
95
149
|
```text
|
|
96
150
|
Use the Cofounder team. Show me who is available.
|
|
97
151
|
```
|
|
98
152
|
|
|
99
|
-
|
|
100
|
-
Plan this feature, delegate implementation to the right teammate, and keep me posted.
|
|
101
|
-
```
|
|
153
|
+
## How It Feels
|
|
102
154
|
|
|
103
|
-
|
|
104
|
-
Ask backend to inspect this repo and summarize the implementation boundaries.
|
|
105
|
-
```
|
|
155
|
+
You keep talking to Codex. Cofounder turns the background work into delegated, inspectable tasks.
|
|
106
156
|
|
|
107
157
|
```text
|
|
108
|
-
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
Codex should delegate when a configured teammate owns the work. It should also wait for a real result before treating delegated work as complete.
|
|
158
|
+
You: Plan this billing change and use the team.
|
|
112
159
|
|
|
113
|
-
|
|
160
|
+
Codex: I will ask backend to inspect the implementation boundary, then ask reviewer to check the patch.
|
|
114
161
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
codex-instructions.md
|
|
120
|
-
project.md
|
|
121
|
-
team.yaml
|
|
122
|
-
members/
|
|
123
|
-
lead/
|
|
124
|
-
prompt.md
|
|
125
|
-
settings.toml
|
|
126
|
-
home/
|
|
127
|
-
backend/
|
|
128
|
-
prompt.md
|
|
129
|
-
settings.toml
|
|
130
|
-
home/
|
|
131
|
-
reviewer/
|
|
132
|
-
prompt.md
|
|
133
|
-
settings.toml
|
|
134
|
-
home/
|
|
135
|
-
memory/
|
|
136
|
-
runs/
|
|
137
|
-
worktrees/
|
|
162
|
+
Cofounder:
|
|
163
|
+
- backend runs in an isolated worktree
|
|
164
|
+
- reviewer checks the diff
|
|
165
|
+
- Codex reads the results, applies only what you approve, and gives you the final summary
|
|
138
166
|
```
|
|
139
167
|
|
|
140
|
-
|
|
168
|
+
## Why It Exists
|
|
141
169
|
|
|
142
|
-
|
|
170
|
+
Most "AI crew" tools start with a UI, a server, or a framework. Cofounder starts with the thing you already use: Codex in your repo.
|
|
143
171
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
```yaml
|
|
155
|
-
project_context:
|
|
156
|
-
mode: manual
|
|
157
|
-
file: project.md
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
Refresh the manual snapshot with:
|
|
161
|
-
|
|
162
|
-
```bash
|
|
163
|
-
npx cofounder sync project
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
Generated task logs, worktrees, and member runtime home files are ignored by `.cofounder/.gitignore`.
|
|
167
|
-
|
|
168
|
-
## Existing AGENTS.md
|
|
169
|
-
|
|
170
|
-
If `AGENTS.md` already exists, Cofounder will not overwrite it.
|
|
171
|
-
|
|
172
|
-
Add this bridge block so Codex adopts the Cofounder role:
|
|
172
|
+
| What you get | Why it matters |
|
|
173
|
+
| --- | --- |
|
|
174
|
+
| Codex stays the interface | No new app to learn. Chat with Codex and let it orchestrate. |
|
|
175
|
+
| Local plain files | Team config, prompts, memory, runs, and worktrees are inspectable in the repo. |
|
|
176
|
+
| Focused teammates | Backend, reviewer, designer, or any custom role can have its own instructions and settings. |
|
|
177
|
+
| Scoped MCP | Give Pencil to a designer, GitHub to a reviewer, or no tools to a strict review agent. |
|
|
178
|
+
| Scoped skills | Assign selected project skills, selected user skills, or team-only skills per teammate. |
|
|
179
|
+
| Worktree execution | Let workers make patches in isolated Git worktrees before you apply them. |
|
|
180
|
+
| Observable delegation | Codex can list the team, delegate, wait, inspect logs, read results, review diffs, cancel, and interrupt. |
|
|
173
181
|
|
|
174
|
-
|
|
175
|
-
## Cofounder Crew
|
|
182
|
+
Good fit:
|
|
176
183
|
|
|
177
|
-
|
|
178
|
-
|
|
184
|
+
- repos where Codex already does useful work, but needs clearer role boundaries
|
|
185
|
+
- teams that want local, inspectable configuration instead of a hosted agent dashboard
|
|
186
|
+
- projects with specialist tools that should not be exposed to every agent
|
|
179
187
|
|
|
180
|
-
|
|
188
|
+
Not the goal:
|
|
181
189
|
|
|
182
|
-
|
|
190
|
+
- replacing Codex
|
|
191
|
+
- running a hosted orchestration platform
|
|
192
|
+
- hiding prompts, logs, memory, or task output behind a private control plane
|
|
183
193
|
|
|
184
|
-
##
|
|
194
|
+
## How It Works
|
|
185
195
|
|
|
186
|
-
|
|
196
|
+
Cofounder installs one MCP server into Codex:
|
|
187
197
|
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
backend:
|
|
191
|
-
title: Backend Engineer
|
|
192
|
-
responsibilities:
|
|
193
|
-
- inspect and modify code
|
|
194
|
-
- understand implementation boundaries
|
|
195
|
-
- write focused tests
|
|
196
|
-
can_call:
|
|
197
|
-
- reviewer
|
|
198
|
+
```bash
|
|
199
|
+
codex mcp add cofounder -- npx -y --package cofounder-crew -- cofounder serve mcp
|
|
198
200
|
```
|
|
199
201
|
|
|
200
|
-
|
|
202
|
+
Inside each project, Cofounder creates:
|
|
201
203
|
|
|
202
204
|
```text
|
|
203
|
-
.cofounder/
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
sandbox = "workspace-write"
|
|
214
|
-
approval = "never"
|
|
215
|
-
reasoning_effort = "high"
|
|
216
|
-
|
|
217
|
-
[write]
|
|
218
|
-
mode = "worktree"
|
|
219
|
-
|
|
220
|
-
[mcp]
|
|
221
|
-
mode = "inherit"
|
|
222
|
-
allow = []
|
|
223
|
-
|
|
224
|
-
[memory]
|
|
225
|
-
project = true
|
|
226
|
-
member = true
|
|
227
|
-
max_snippets = 5
|
|
228
|
-
|
|
229
|
-
[runner.codex]
|
|
230
|
-
include_project_doc = false
|
|
231
|
-
json = true
|
|
232
|
-
extra_args = []
|
|
233
|
-
use_member_home = false
|
|
205
|
+
.cofounder/
|
|
206
|
+
team.yaml # roster, responsibilities, context mode
|
|
207
|
+
codex-instructions.md # orchestrator instructions for the primary Codex session
|
|
208
|
+
project.md # worker-safe project context
|
|
209
|
+
members/<member>/ # prompt, settings, runtime home
|
|
210
|
+
mcp/ # project-owned MCP servers
|
|
211
|
+
skills/ # team-only skills
|
|
212
|
+
memory/ # project and member memory notes
|
|
213
|
+
runs/ # task records, logs, results
|
|
214
|
+
worktrees/ # optional isolated task worktrees
|
|
234
215
|
```
|
|
235
216
|
|
|
236
|
-
|
|
217
|
+
The primary Codex session reads the Cofounder instructions and uses MCP tools to coordinate the team. Delegated teammates still run from the original project cwd, but with their own Codex settings and runtime home when isolation is needed.
|
|
237
218
|
|
|
238
|
-
|
|
239
|
-
| --- | --- |
|
|
240
|
-
| `write.mode = "direct"` | Run the teammate in the main working tree. |
|
|
241
|
-
| `write.mode = "worktree"` | Run implementation in `.cofounder/worktrees/<task_id>` for review before apply. |
|
|
242
|
-
| `mcp.mode = "inherit"` | Give the teammate the same Codex MCP environment. |
|
|
243
|
-
| `mcp.mode = "none"` | Keep the teammate local-only. The generated reviewer uses this default. |
|
|
244
|
-
| `mcp.mode = "allowlist"` | Give the teammate only selected MCP servers. |
|
|
245
|
-
| `include_project_doc = false` | Prevent raw `AGENTS.md` from being injected by Codex. Cofounder supplies worker-safe project context itself. |
|
|
246
|
-
|
|
247
|
-
## MCP Tools
|
|
219
|
+
## Configure The Team
|
|
248
220
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
| Tool | Purpose |
|
|
252
|
-
| --- | --- |
|
|
253
|
-
| `team.list` | Read the roster and responsibility map. |
|
|
254
|
-
| `team.capabilities` | Inspect runtime capabilities. |
|
|
255
|
-
| `team.delegate` | Start a delegated task. |
|
|
256
|
-
| `team.wait` | Wait briefly for a task and return status, next action, result, and recent logs. A wait timeout means the task is still running, not failed. |
|
|
257
|
-
| `team.result` | Read a task result with explicit empty/truncated flags. |
|
|
258
|
-
| `team.status` | Check task status and metadata. |
|
|
259
|
-
| `team.logs` | Read task events and logs. |
|
|
260
|
-
| `team.diff` | Inspect a worktree task patch. |
|
|
261
|
-
| `team.apply` | Apply a worktree task patch to the main tree. |
|
|
262
|
-
| `team.cancel` | Cancel a running task. |
|
|
263
|
-
| `team.interrupt` | Cancel and resume with steering instructions. |
|
|
264
|
-
|
|
265
|
-
Manual MCP setup:
|
|
221
|
+
The guided flow covers the common edits:
|
|
266
222
|
|
|
267
223
|
```bash
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
Restart Codex after changing MCP configuration.
|
|
272
|
-
|
|
273
|
-
## Updating
|
|
274
|
-
|
|
275
|
-
Paste this into Codex from the project you want to update:
|
|
276
|
-
|
|
277
|
-
```text
|
|
278
|
-
Update Cofounder Crew for this computer and this project.
|
|
279
|
-
|
|
280
|
-
Inspect first:
|
|
281
|
-
- Latest npm versions for cofounder-crew and create-cofounder.
|
|
282
|
-
- Whether this project has cofounder-crew in package.json.
|
|
283
|
-
- The installed project version with `npm ls cofounder-crew --depth=0` when package.json exists.
|
|
284
|
-
- Whether Codex MCP server "cofounder" exists and points at `npx -y --package cofounder-crew -- cofounder mcp`.
|
|
285
|
-
- Whether .cofounder/team.yaml, project_context mode, member prompts/settings, .cofounder/project.md, and .cofounder/.gitignore exist.
|
|
286
|
-
- Whether .cofounder/.gitignore ignores runs/, worktrees/, and members/*/home/.
|
|
287
|
-
- Whether AGENTS.md contains the Cofounder bridge block.
|
|
288
|
-
|
|
289
|
-
Then update safely:
|
|
290
|
-
- If cofounder-crew is installed in package.json, update it with npm.
|
|
291
|
-
- If MCP is missing or wrong, repair it.
|
|
292
|
-
- Do not re-run init over an existing .cofounder/.
|
|
293
|
-
- Do not overwrite team prompts, settings, memory, or AGENTS.md.
|
|
294
|
-
- If .cofounder/.gitignore is missing entries, report the recommended entries but do not add them without explicit approval.
|
|
295
|
-
- If project_context mode is manual, run `cofounder sync project` if you want to refresh .cofounder/project.md from AGENTS.md.
|
|
296
|
-
- If generated instructions changed, show me any bridge/config changes to apply manually.
|
|
297
|
-
- If MCP changed, tell me to restart Codex from this project directory.
|
|
298
|
-
|
|
299
|
-
Summarize old versions, new versions, changed files, and manual follow-ups.
|
|
224
|
+
npx -y --package cofounder-crew -- cofounder start
|
|
225
|
+
npx -y --package cofounder-crew -- cofounder add
|
|
226
|
+
npx -y --package cofounder-crew -- cofounder doctor
|
|
300
227
|
```
|
|
301
228
|
|
|
302
|
-
|
|
229
|
+
Deterministic commands are available for agents and scripts:
|
|
303
230
|
|
|
304
231
|
```bash
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
232
|
+
cofounder member add designer --title "Product Designer" --model gpt-5.5 --write-mode worktree
|
|
233
|
+
cofounder mcp add pencil --url https://example.com/mcp --assign designer
|
|
234
|
+
cofounder skill add design-review --scope team --assign designer
|
|
235
|
+
cofounder skill assign api-workflow backend --scope project
|
|
236
|
+
cofounder context mode manual
|
|
237
|
+
cofounder context sync
|
|
238
|
+
```
|
|
309
239
|
|
|
310
|
-
|
|
311
|
-
npx cofounder sync project
|
|
240
|
+
If the runtime is not installed locally, prefix commands with `npx -y --package cofounder-crew -- cofounder`.
|
|
312
241
|
|
|
313
|
-
|
|
314
|
-
codex mcp add cofounder -- npx -y --package cofounder-crew -- cofounder mcp
|
|
242
|
+
Project skills live in `.agents/skills/` and can also be assigned to teammates. Team-only skills live in `.cofounder/skills/` and are only linked into selected member runtimes.
|
|
315
243
|
|
|
316
|
-
|
|
317
|
-
npm ls cofounder-crew --depth=0
|
|
318
|
-
codex mcp get cofounder
|
|
319
|
-
```
|
|
244
|
+
Common recipes are in [docs/examples.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/examples.md).
|
|
320
245
|
|
|
321
|
-
##
|
|
246
|
+
## Updating
|
|
322
247
|
|
|
323
|
-
|
|
248
|
+
Safe project update:
|
|
324
249
|
|
|
325
250
|
```bash
|
|
326
|
-
npx -y --package cofounder-crew -- cofounder setup
|
|
327
|
-
npx -y --package cofounder-crew -- cofounder sync project
|
|
328
|
-
npx -y --package cofounder-crew -- cofounder team
|
|
329
|
-
npx -y --package cofounder-crew -- cofounder status <task_id>
|
|
330
|
-
npx -y --package cofounder-crew -- cofounder logs <task_id>
|
|
331
|
-
npx -y --package cofounder-crew -- cofounder diff <task_id>
|
|
332
|
-
npx -y --package cofounder-crew -- cofounder apply <task_id>
|
|
251
|
+
npx -y --package cofounder-crew@latest -- cofounder update --setup-codex --yes
|
|
333
252
|
```
|
|
334
253
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
Codex `exec` currently runs delegated tasks as subprocesses. Cofounder supports cancellation and resume-based steering:
|
|
254
|
+
Cofounder update flows should preserve existing `.cofounder/`, member prompts/settings, memory, MCP config, and `AGENTS.md`. If runtime ignore entries are missing, Cofounder should report the recommendation instead of changing your Git ignore rules automatically.
|
|
338
255
|
|
|
339
|
-
|
|
340
|
-
2. cancel the running process,
|
|
341
|
-
3. start a resumed task with revised instructions.
|
|
256
|
+
## Docs
|
|
342
257
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
258
|
+
| Topic | Link |
|
|
259
|
+
| --- | --- |
|
|
260
|
+
| Docs home | [docs/README.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/README.md) |
|
|
261
|
+
| Codex bootstrap prompt | [docs/prompts/bootstrap-codex.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/prompts/bootstrap-codex.md) |
|
|
262
|
+
| Team configuration, AGENTS.md, context, MCP, and skills | [docs/configuration.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/configuration.md) |
|
|
263
|
+
| CLI commands | [docs/cli.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/cli.md) |
|
|
264
|
+
| Delegation runtime, worktrees, logs, and interrupts | [docs/runtime.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/runtime.md) |
|
|
265
|
+
| Practical examples | [docs/examples.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/examples.md) |
|
|
266
|
+
| FAQ | [docs/faq.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/faq.md) |
|
|
267
|
+
| Updating an existing project | [docs/updating.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/updating.md) |
|
|
351
268
|
|
|
352
|
-
##
|
|
269
|
+
## Packages
|
|
353
270
|
|
|
354
|
-
|
|
355
|
-
npm install
|
|
356
|
-
npm run check
|
|
357
|
-
npm test
|
|
358
|
-
npm run build
|
|
359
|
-
```
|
|
271
|
+
`create-cofounder` initializes a project with `npm create cofounder@latest`.
|
|
360
272
|
|
|
361
|
-
|
|
273
|
+
`cofounder-crew` provides the `cofounder` CLI and MCP runtime.
|
|
362
274
|
|
|
363
|
-
|
|
275
|
+
## Requirements
|
|
364
276
|
|
|
365
|
-
|
|
277
|
+
- Node.js 22+
|
|
278
|
+
- npm
|
|
279
|
+
- Codex CLI
|
|
280
|
+
- Git with at least one commit when using worktree mode
|
|
366
281
|
|
|
367
|
-
|
|
368
|
-
| --- | --- |
|
|
369
|
-
| `cofounder-crew` | GitHub Actions, `eugeneyvt/cofounder-crew`, workflow `publish-npm.yml` |
|
|
370
|
-
| `create-cofounder` | GitHub Actions, `eugeneyvt/cofounder-crew`, workflow `publish-npm.yml` |
|
|
282
|
+
## Support
|
|
371
283
|
|
|
372
|
-
|
|
284
|
+
Use [GitHub Issues](https://github.com/eugeneyvt/cofounder-crew/issues) for bugs, broken setup flows, and feature requests.
|
|
373
285
|
|
|
374
|
-
|
|
375
|
-
npm version <new-version> --no-git-tag-version
|
|
376
|
-
npm version <new-version> --workspace create-cofounder --no-git-tag-version
|
|
377
|
-
git add package.json package-lock.json packages/create-cofounder/package.json
|
|
378
|
-
git commit -m "chore: release v<new-version>"
|
|
379
|
-
git tag v<new-version>
|
|
380
|
-
git push origin main --tags
|
|
381
|
-
```
|
|
286
|
+
## License
|
|
382
287
|
|
|
383
|
-
|
|
288
|
+
MIT
|