hivemind-agents 0.1.10 → 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 +22 -1
- package/dist/hivemind.mjs +136 -89
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,12 +35,19 @@ records goals, contracts, decisions and tasks in hivemind (tasks unassigned, wit
|
|
|
35
35
|
each teammate's agent can claim one by key. You can also add things yourself with `hivemind add` or
|
|
36
36
|
in the dashboard (`hivemind open`).
|
|
37
37
|
|
|
38
|
+
## What belongs in the plan
|
|
39
|
+
|
|
40
|
+
The plan is for **coordinating with teammates**, not a log of each agent's work. Only what someone
|
|
41
|
+
else needs to know or act on goes in: who is doing what, interfaces between people's work, team
|
|
42
|
+
decisions, and questions for the team. An agent's own progress goes on its task. In a repo where
|
|
43
|
+
only one person has ever worked, hivemind tracks just task status.
|
|
44
|
+
|
|
38
45
|
## Plan and notebook
|
|
39
46
|
|
|
40
47
|
hivemind keeps two things apart:
|
|
41
48
|
|
|
42
49
|
- **The plan**: goals, tasks, contracts, decisions, open questions. What the team agreed and is doing.
|
|
43
|
-
- **The notebook**: status
|
|
50
|
+
- **The notebook**: status other people need, written on purpose (agents use `note_add`; the extractor never writes notes), expiring after 7 days: ("the lab box is busy until
|
|
44
51
|
14:00", "precision 0.82 on the eval set", "image built locally, not pushed"). Agents see the last
|
|
45
52
|
24 hours of notes at session start and can search the rest with `notebook_get`.
|
|
46
53
|
|
|
@@ -48,6 +55,19 @@ At session start agents see the most actionable things first (tasks in progress,
|
|
|
48
55
|
contracts, decisions, questions, recent notes), with long sections capped so nothing important is
|
|
49
56
|
cut off. Finished tasks and answered questions drop out of that view automatically.
|
|
50
57
|
|
|
58
|
+
## Keeping the plan small
|
|
59
|
+
|
|
60
|
+
Plans that only grow stop being read. hivemind keeps them current on its own:
|
|
61
|
+
|
|
62
|
+
- **The extractor records less:** contracts are only interfaces other people's work depends on
|
|
63
|
+
(APIs, schemas, env vars, shared types), not component props or internal function signatures;
|
|
64
|
+
decisions are only project-wide rules. It also sees recent commits, so finished work gets marked done.
|
|
65
|
+
- **A daily tidy** (on plans with 40+ open entries, at most once a day per repo, by whoever's agent is
|
|
66
|
+
active) closes what is superseded, duplicated or no longer true, marks tasks done that commits show
|
|
67
|
+
finished, and moves status-like decisions to the notebook. Every change records its reason, and the
|
|
68
|
+
run is logged in the notebook. Run it yourself with `hivemind tidy` (dry run) / `hivemind tidy --apply`.
|
|
69
|
+
- **Stale work is visible:** a task stuck in progress shows "(no update for 6d)".
|
|
70
|
+
|
|
51
71
|
## When the plan changes direction
|
|
52
72
|
|
|
53
73
|
Plans change mid-hackathon. hivemind makes sure the old direction doesn't linger next to the new one:
|
|
@@ -114,6 +134,7 @@ hivemind status who's in the plan, last sync
|
|
|
114
134
|
hivemind plan print the shared plan
|
|
115
135
|
hivemind open live dashboard in your browser (and a form to add to the plan)
|
|
116
136
|
hivemind review check the plan for contradictions
|
|
137
|
+
hivemind tidy find finished, duplicate and outdated entries (--apply to clean up)
|
|
117
138
|
hivemind add <goal|task|contract|decision|question> <key> <text> [--breaking]
|
|
118
139
|
hivemind doctor check that everything is wired up
|
|
119
140
|
hivemind disable turn hivemind off for this clone (hivemind enable to undo)
|