@limina-labs/momentum 0.38.0 → 0.40.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/README.md +19 -0
- package/adapters/claude-code/settings.json +1 -1
- package/bin/ecosystem.js +738 -28
- package/bin/momentum.js +6 -1
- package/core/commands/brainstorm-initiative.md +128 -0
- package/core/commands/complete-initiative.md +85 -0
- package/core/commands/initiative.md +56 -0
- package/core/ecosystem/lib/complete.js +208 -0
- package/core/ecosystem/lib/events.js +244 -0
- package/core/ecosystem/lib/index.js +96 -2
- package/core/ecosystem/lib/initiative.js +57 -0
- package/core/ecosystem/lib/pointer.js +7 -2
- package/core/ecosystem/lib/team-state.js +93 -0
- package/core/ecosystem/schema/ecosystem.schema.json +30 -3
- package/core/ecosystem/schema/initiative.schema.json +8 -0
- package/core/ecosystem/templates/ecosystem-agents.md +25 -10
- package/core/ecosystem/templates/ecosystem-claude.md +25 -10
- package/core/git-hooks/eco-event.js +253 -0
- package/core/git-hooks/post-commit +21 -0
- package/core/git-hooks/post-merge +20 -0
- package/core/git-hooks/run-check.js +23 -0
- package/core/lanes/lib/land.js +6 -1
- package/core/swarm/lib/manifest.js +28 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -227,6 +227,25 @@ One repo, several features in flight, each in its own agent session — momentum
|
|
|
227
227
|
|
|
228
228
|
[Read the parallel workstreams guide →](https://trymomentum.github.io/parallel-work/)
|
|
229
229
|
|
|
230
|
+
## Team mode — N humans, N clones, N repos
|
|
231
|
+
|
|
232
|
+
Lanes coordinate N sessions on one disk. **Team mode** extends the same story to
|
|
233
|
+
**N humans on N clones sharing one git remote** — no server, no daemon, offline-first.
|
|
234
|
+
It rests on two git-native primitives: **per-actor coordination fragments**
|
|
235
|
+
(`.momentum/team/`, committed and conflict-free by own-prefix construction) and
|
|
236
|
+
**`refs/momentum/*` compare-and-swap** for atomic allocations. `momentum claim` reserves
|
|
237
|
+
a phase/version/backlog-id before you act; `momentum team` gives you a shared board,
|
|
238
|
+
presence, landing turns, reviewer≠author approvals, and cross-machine leases. The
|
|
239
|
+
whole plane runs at the **ecosystem** layer too: remote-URL members (teammates need no
|
|
240
|
+
shared folder layout), a shared attributed active initiative, and cross-machine-safe
|
|
241
|
+
swarm ownership. The layout is a published contract any dashboard can read.
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
bash scripts/demo-team.sh # two clones + two repos, all local, ~10s, self-cleaning
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
[Read the team mode guide →](https://trymomentum.github.io/team/)
|
|
248
|
+
|
|
230
249
|
## The 13 autonomous rules
|
|
231
250
|
|
|
232
251
|
Discipline preserved without enforcement overhead. Three of the highest-leverage:
|