cofounder-crew 0.1.11 → 0.1.13
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 +198 -263
- package/dist/src/cli.js +949 -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 +137 -0
- package/docs/configuration.md +200 -0
- package/docs/development.md +19 -0
- package/docs/examples.md +79 -0
- package/docs/faq.md +89 -0
- package/docs/prompts/bootstrap-codex.md +78 -0
- package/docs/releasing.md +23 -0
- package/docs/runtime.md +96 -0
- package/docs/updating.md +93 -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,341 +17,288 @@
|
|
|
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
|
+
- make the global cofounder command available
|
|
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 command -v cofounder succeeds
|
|
65
|
+
- whether package.json exists
|
|
66
|
+
- whether package.json already contains cofounder-crew in dependencies or devDependencies
|
|
67
|
+
- whether .cofounder/team.yaml exists
|
|
68
|
+
- whether AGENTS.md exists
|
|
69
|
+
- whether AGENTS.md contains the Cofounder Crew bridge
|
|
70
|
+
- whether this is a Git repo
|
|
71
|
+
- whether Git HEAD exists
|
|
72
|
+
- whether Codex MCP server "cofounder" exists and points to:
|
|
73
|
+
npx -y --package cofounder-crew -- cofounder serve mcp
|
|
74
|
+
|
|
75
|
+
2. Install the global CLI when needed.
|
|
76
|
+
- If command -v cofounder fails, run:
|
|
77
|
+
npm install -g cofounder-crew@latest
|
|
78
|
+
- Do not add cofounder-crew to package.json unless I explicitly ask for project-local pinning.
|
|
79
|
+
- If global install fails or is not allowed, use the one-off npm runner:
|
|
80
|
+
npx -y --package cofounder-crew@latest -- cofounder <command>
|
|
81
|
+
and substitute that prefix for `cofounder` in the commands below.
|
|
82
|
+
|
|
83
|
+
3. Initialize or repair with the CLI.
|
|
84
|
+
- If .cofounder/team.yaml is missing, run:
|
|
85
|
+
cofounder start --setup-codex --yes
|
|
86
|
+
- If .cofounder/team.yaml already exists, do not re-run init. Run the safe updater instead:
|
|
87
|
+
cofounder update --yes
|
|
88
|
+
- 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.
|
|
89
|
+
|
|
90
|
+
4. Preserve user-owned files.
|
|
91
|
+
- Do not overwrite AGENTS.md.
|
|
92
|
+
- 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.
|
|
93
|
+
- Do not overwrite existing member prompts, member settings, memory files, or project-owned MCP files.
|
|
94
|
+
- Do not add root .gitignore entries automatically. Only report recommended ignore entries if they are missing.
|
|
95
|
+
|
|
96
|
+
5. Verify before claiming success.
|
|
97
|
+
Run:
|
|
98
|
+
- cofounder doctor
|
|
99
|
+
- codex mcp get cofounder, if Codex CLI is available
|
|
100
|
+
- npm ls -g cofounder-crew --depth=0, if global npm installs are available
|
|
101
|
+
- npm ls cofounder-crew --depth=0 only if the project is intentionally pinned
|
|
102
|
+
|
|
103
|
+
6. Final response format.
|
|
104
|
+
Tell me:
|
|
105
|
+
- whether Cofounder is available globally or via the one-off npm runner
|
|
106
|
+
- which files were created or changed
|
|
107
|
+
- whether AGENTS.md needs a manual bridge block
|
|
108
|
+
- whether I need to restart Codex
|
|
109
|
+
- the first message to send after restart:
|
|
110
|
+
Use the Cofounder team. Show me who is available.
|
|
111
|
+
- the 3 most useful follow-up commands:
|
|
112
|
+
cofounder add
|
|
113
|
+
cofounder doctor
|
|
114
|
+
cofounder team
|
|
115
|
+
|
|
116
|
+
Do not stop after printing commands unless a command would be unsafe. Actually perform the safe setup steps, then report the result.
|
|
117
|
+
If a verification step fails, do not say the setup is complete. Explain the failure and the next command or manual step needed.
|
|
62
118
|
```
|
|
63
119
|
|
|
64
|
-
|
|
120
|
+
</details>
|
|
121
|
+
|
|
122
|
+
The same prompt is available at [docs/prompts/bootstrap-codex.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/prompts/bootstrap-codex.md).
|
|
123
|
+
|
|
124
|
+
Terminal setup:
|
|
65
125
|
|
|
66
126
|
```bash
|
|
127
|
+
npm install -g cofounder-crew@latest
|
|
67
128
|
cd my-project
|
|
68
|
-
|
|
129
|
+
cofounder start --setup-codex
|
|
69
130
|
codex
|
|
70
131
|
```
|
|
71
132
|
|
|
72
|
-
For
|
|
133
|
+
For non-interactive setup:
|
|
73
134
|
|
|
74
135
|
```bash
|
|
75
|
-
|
|
76
|
-
npm create cofounder@latest -- --template worktree --setup-codex --yes
|
|
77
|
-
codex
|
|
136
|
+
cofounder start --setup-codex --yes
|
|
78
137
|
```
|
|
79
138
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
For an existing package where you want the runtime pinned in `devDependencies`:
|
|
139
|
+
For isolated implementation tasks, use the worktree template. It requires a Git repo with at least one commit:
|
|
83
140
|
|
|
84
141
|
```bash
|
|
85
|
-
|
|
86
|
-
npx cofounder init --template worktree
|
|
87
|
-
npx cofounder setup codex --install
|
|
142
|
+
cofounder start --template worktree --setup-codex
|
|
88
143
|
codex
|
|
89
144
|
```
|
|
90
145
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
After installation, the main interface is Codex chat:
|
|
146
|
+
Then ask Codex:
|
|
94
147
|
|
|
95
148
|
```text
|
|
96
149
|
Use the Cofounder team. Show me who is available.
|
|
97
150
|
```
|
|
98
151
|
|
|
99
|
-
|
|
100
|
-
Plan this feature, delegate implementation to the right teammate, and keep me posted.
|
|
101
|
-
```
|
|
152
|
+
## How It Feels
|
|
102
153
|
|
|
103
|
-
|
|
104
|
-
Ask backend to inspect this repo and summarize the implementation boundaries.
|
|
105
|
-
```
|
|
154
|
+
You keep talking to Codex. Cofounder turns the background work into delegated, inspectable tasks.
|
|
106
155
|
|
|
107
156
|
```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.
|
|
157
|
+
You: Plan this billing change and use the team.
|
|
112
158
|
|
|
113
|
-
|
|
159
|
+
Codex: I will ask backend to inspect the implementation boundary, then ask reviewer to check the patch.
|
|
114
160
|
|
|
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/
|
|
161
|
+
Cofounder:
|
|
162
|
+
- backend runs in an isolated worktree
|
|
163
|
+
- reviewer checks the diff
|
|
164
|
+
- Codex reads the results, applies only what you approve, and gives you the final summary
|
|
138
165
|
```
|
|
139
166
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
Worker project context has two modes:
|
|
143
|
-
|
|
144
|
-
```yaml
|
|
145
|
-
project_context:
|
|
146
|
-
mode: auto
|
|
147
|
-
file: project.md
|
|
148
|
-
```
|
|
167
|
+
## Why It Exists
|
|
149
168
|
|
|
150
|
-
|
|
169
|
+
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.
|
|
151
170
|
|
|
152
|
-
|
|
171
|
+
| What you get | Why it matters |
|
|
172
|
+
| --- | --- |
|
|
173
|
+
| Codex stays the interface | No new app to learn. Chat with Codex and let it orchestrate. |
|
|
174
|
+
| Local plain files | Team config, prompts, memory, runs, and worktrees are inspectable in the repo. |
|
|
175
|
+
| Focused teammates | Backend, reviewer, designer, or any custom role can have its own instructions and settings. |
|
|
176
|
+
| Scoped MCP | Give Pencil to a designer, GitHub to a reviewer, or no tools to a strict review agent. |
|
|
177
|
+
| Scoped skills | Assign selected project skills, selected user skills, or team-only skills per teammate. |
|
|
178
|
+
| Worktree execution | Let workers make patches in isolated Git worktrees before you apply them. |
|
|
179
|
+
| Observable delegation | Codex can list the team, delegate, wait, inspect logs, read results, review diffs, cancel, and interrupt. |
|
|
153
180
|
|
|
154
|
-
|
|
155
|
-
project_context:
|
|
156
|
-
mode: manual
|
|
157
|
-
file: project.md
|
|
158
|
-
```
|
|
181
|
+
Good fit:
|
|
159
182
|
|
|
160
|
-
|
|
183
|
+
- repos where Codex already does useful work, but needs clearer role boundaries
|
|
184
|
+
- teams that want local, inspectable configuration instead of a hosted agent dashboard
|
|
185
|
+
- projects with specialist tools that should not be exposed to every agent
|
|
161
186
|
|
|
162
|
-
|
|
163
|
-
npx cofounder sync project
|
|
164
|
-
```
|
|
187
|
+
Not the goal:
|
|
165
188
|
|
|
166
|
-
|
|
189
|
+
- replacing Codex
|
|
190
|
+
- running a hosted orchestration platform
|
|
191
|
+
- hiding prompts, logs, memory, or task output behind a private control plane
|
|
167
192
|
|
|
168
|
-
##
|
|
193
|
+
## How It Works
|
|
169
194
|
|
|
170
|
-
|
|
195
|
+
Cofounder installs one MCP server into Codex:
|
|
171
196
|
|
|
172
|
-
|
|
197
|
+
```bash
|
|
198
|
+
codex mcp add cofounder -- npx -y --package cofounder-crew -- cofounder serve mcp
|
|
199
|
+
```
|
|
173
200
|
|
|
174
|
-
|
|
175
|
-
## Cofounder Crew
|
|
201
|
+
Inside each project, Cofounder creates:
|
|
176
202
|
|
|
177
|
-
|
|
203
|
+
```text
|
|
204
|
+
.cofounder/
|
|
205
|
+
team.yaml # roster, responsibilities, context mode
|
|
206
|
+
codex-instructions.md # orchestrator instructions for the primary Codex session
|
|
207
|
+
project.md # worker-safe project context
|
|
208
|
+
members/<member>/ # prompt, settings, runtime home
|
|
209
|
+
mcp/ # project-owned MCP servers
|
|
210
|
+
skills/ # team-only skills
|
|
211
|
+
memory/ # project and member memory notes
|
|
212
|
+
runs/ # task records, logs, results
|
|
213
|
+
worktrees/ # optional isolated task worktrees
|
|
178
214
|
```
|
|
179
215
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
Cofounder keeps the full generated guidance in `.cofounder/codex-instructions.md`.
|
|
216
|
+
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.
|
|
183
217
|
|
|
184
|
-
##
|
|
218
|
+
## Configure The Team
|
|
185
219
|
|
|
186
|
-
The
|
|
220
|
+
The guided flow covers the common edits:
|
|
187
221
|
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
responsibilities:
|
|
193
|
-
- inspect and modify code
|
|
194
|
-
- understand implementation boundaries
|
|
195
|
-
- write focused tests
|
|
196
|
-
can_call:
|
|
197
|
-
- reviewer
|
|
222
|
+
```bash
|
|
223
|
+
cofounder start
|
|
224
|
+
cofounder add
|
|
225
|
+
cofounder doctor
|
|
198
226
|
```
|
|
199
227
|
|
|
200
|
-
|
|
228
|
+
Deterministic commands are available for agents and scripts:
|
|
201
229
|
|
|
202
|
-
```
|
|
203
|
-
.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
230
|
+
```bash
|
|
231
|
+
cofounder member add designer --title "Product Designer" --model gpt-5.5 --write-mode worktree
|
|
232
|
+
cofounder mcp add pencil --url https://example.com/mcp --assign designer
|
|
233
|
+
cofounder skill add design-review --scope team --assign designer
|
|
234
|
+
cofounder skill assign api-workflow backend --scope project
|
|
235
|
+
cofounder context mode manual
|
|
236
|
+
cofounder context sync
|
|
207
237
|
```
|
|
208
238
|
|
|
209
|
-
|
|
239
|
+
If the global command is not available, prefix commands with `npx -y --package cofounder-crew -- cofounder`.
|
|
210
240
|
|
|
211
|
-
|
|
212
|
-
model = "gpt-5.5"
|
|
213
|
-
sandbox = "workspace-write"
|
|
214
|
-
approval = "never"
|
|
215
|
-
reasoning_effort = "high"
|
|
241
|
+
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.
|
|
216
242
|
|
|
217
|
-
[
|
|
218
|
-
mode = "worktree"
|
|
243
|
+
Common recipes are in [docs/examples.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/examples.md).
|
|
219
244
|
|
|
220
|
-
|
|
221
|
-
mode = "inherit"
|
|
222
|
-
allow = []
|
|
245
|
+
## Updating
|
|
223
246
|
|
|
224
|
-
|
|
225
|
-
project = true
|
|
226
|
-
member = true
|
|
227
|
-
max_snippets = 5
|
|
247
|
+
Safe project update:
|
|
228
248
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
json = true
|
|
232
|
-
extra_args = []
|
|
233
|
-
use_member_home = false
|
|
249
|
+
```bash
|
|
250
|
+
cofounder update
|
|
234
251
|
```
|
|
235
252
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
| Setting | Purpose |
|
|
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
|
|
248
|
-
|
|
249
|
-
Cofounder exposes the team runtime to Codex through MCP:
|
|
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:
|
|
253
|
+
If the global command is not available, use the one-off npm runner:
|
|
266
254
|
|
|
267
255
|
```bash
|
|
268
|
-
|
|
256
|
+
npx -y --package cofounder-crew@latest -- cofounder update --yes
|
|
269
257
|
```
|
|
270
258
|
|
|
271
|
-
|
|
259
|
+
`cofounder update` repairs the Codex MCP entry, runs doctor, and preserves existing `.cofounder/`, member prompts/settings, memory, MCP config, `package.json`, and `AGENTS.md`. Skip MCP repair with `cofounder update --no-setup-codex`.
|
|
272
260
|
|
|
273
|
-
|
|
261
|
+
Update the global CLI itself:
|
|
274
262
|
|
|
275
|
-
|
|
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.
|
|
263
|
+
```bash
|
|
264
|
+
cofounder self update
|
|
300
265
|
```
|
|
301
266
|
|
|
302
|
-
|
|
267
|
+
Project-local pinning is optional:
|
|
303
268
|
|
|
304
269
|
```bash
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
# Optional: inspect recommended runtime ignore entries without changing files.
|
|
308
|
-
printf "runs/\nworktrees/\nmembers/*/home/\n"
|
|
309
|
-
|
|
310
|
-
# Optional when project_context.mode is manual:
|
|
311
|
-
npx cofounder sync project
|
|
312
|
-
|
|
313
|
-
codex mcp remove cofounder
|
|
314
|
-
codex mcp add cofounder -- npx -y --package cofounder-crew -- cofounder mcp
|
|
315
|
-
|
|
316
|
-
npm view cofounder-crew version
|
|
317
|
-
npm ls cofounder-crew --depth=0
|
|
318
|
-
codex mcp get cofounder
|
|
270
|
+
cofounder pin
|
|
319
271
|
```
|
|
320
272
|
|
|
321
|
-
##
|
|
273
|
+
## Docs
|
|
322
274
|
|
|
323
|
-
|
|
275
|
+
| Topic | Link |
|
|
276
|
+
| --- | --- |
|
|
277
|
+
| Docs home | [docs/README.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/README.md) |
|
|
278
|
+
| Codex bootstrap prompt | [docs/prompts/bootstrap-codex.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/prompts/bootstrap-codex.md) |
|
|
279
|
+
| Team configuration, AGENTS.md, context, MCP, and skills | [docs/configuration.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/configuration.md) |
|
|
280
|
+
| CLI commands | [docs/cli.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/cli.md) |
|
|
281
|
+
| Delegation runtime, worktrees, logs, and interrupts | [docs/runtime.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/runtime.md) |
|
|
282
|
+
| Practical examples | [docs/examples.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/examples.md) |
|
|
283
|
+
| FAQ | [docs/faq.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/faq.md) |
|
|
284
|
+
| Updating an existing project | [docs/updating.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/docs/updating.md) |
|
|
324
285
|
|
|
325
|
-
|
|
326
|
-
npx -y --package cofounder-crew -- cofounder setup codex --install
|
|
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>
|
|
333
|
-
```
|
|
286
|
+
## Packages
|
|
334
287
|
|
|
335
|
-
|
|
288
|
+
`create-cofounder` initializes a project with `npm create cofounder@latest`.
|
|
336
289
|
|
|
337
|
-
|
|
290
|
+
`cofounder-crew` provides the `cofounder` CLI and MCP runtime.
|
|
338
291
|
|
|
339
|
-
|
|
340
|
-
2. cancel the running process,
|
|
341
|
-
3. start a resumed task with revised instructions.
|
|
292
|
+
## Requirements
|
|
342
293
|
|
|
343
|
-
|
|
294
|
+
- Node.js 22+
|
|
295
|
+
- npm
|
|
296
|
+
- Codex CLI
|
|
297
|
+
- Git with at least one commit when using worktree mode
|
|
344
298
|
|
|
345
|
-
|
|
346
|
-
{
|
|
347
|
-
"live_interrupt": false,
|
|
348
|
-
"interrupt_mode": "cancel-resume"
|
|
349
|
-
}
|
|
350
|
-
```
|
|
299
|
+
## Contributing
|
|
351
300
|
|
|
352
|
-
|
|
301
|
+
Local development quick start:
|
|
353
302
|
|
|
354
303
|
```bash
|
|
355
304
|
npm install
|
|
@@ -358,26 +307,12 @@ npm test
|
|
|
358
307
|
npm run build
|
|
359
308
|
```
|
|
360
309
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
Publishing runs through GitHub Actions and npm Trusted Publishing.
|
|
364
|
-
|
|
365
|
-
One-time npm setup for both packages:
|
|
310
|
+
Before opening a pull request, read [CONTRIBUTING.md](https://github.com/eugeneyvt/cofounder-crew/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/eugeneyvt/cofounder-crew/blob/main/CODE_OF_CONDUCT.md). Report vulnerabilities through the [Security Policy](https://github.com/eugeneyvt/cofounder-crew/blob/main/SECURITY.md), not public issues.
|
|
366
311
|
|
|
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` |
|
|
312
|
+
## Support
|
|
371
313
|
|
|
372
|
-
|
|
314
|
+
Use [GitHub Issues](https://github.com/eugeneyvt/cofounder-crew/issues) for bugs, broken setup flows, and feature requests.
|
|
373
315
|
|
|
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
|
-
```
|
|
316
|
+
## License
|
|
382
317
|
|
|
383
|
-
|
|
318
|
+
MIT
|