Repository navigation
- A law can be retired. Laws were only ever added: the section is never rotated, and
hub_contexthands every law to every role of the project, so one card reached 116 laws,
17 KB, read at the start of every session.hub reflect --retire <id|text> --reason "<why>" --project <p> --by <head>(MCPhub_lawwith verdictretire) moves a law's line to the
project's history with its reason, under the same right as accepting one; the journal says so,
and the rule is no candidate again until it is said after the retirement.hub reflect --laws --jsonnow gives each law its id. - A candidate is a rule two roles said. A rule one role said three times was a candidate too;
a role repeating itself is that role's habit, not a law for every role.hub reflect --promote
now lists only rules said by two roles in the window. hub lintwarns when a card's Laws pass 8 KB (laws-too-long), with how to retire one.
Also in this npm release, since 0.9.78
npm went from 0.9.78 to 0.9.88; the versions between were released in git only.
0.9.87 — 2026-11-21
- Resource cards merge like project cards. The card driver covered
projects/*.mdonly. A
resource card is rewritten from two nodes as well: a rollout stamps its card on every run while
a person adds a field on another node, and git's text merge stopped that node's sync for five
hours on one- set:line.hub card merge-drivernow putsresources/*.mdunder the driver
too;hub doctornames a node that has the old install. Run it again on every node. - Frontmatter merges field by field. A rollout rewriting
rolled:and a person adding a field
on the next line were one clash to a line merge, kept twice and marked. Each field now takes the
side that changed it, and a field new on one side is added. One field given two new values, or a
field that is not a one-linekey: value, falls back to the line merge and its mark.
0.9.86 — 2026-11-21
- A task is closed on a ground. Heads closed sixteen tasks in a minute with nothing said,
one of them with two of its five frames made, and a prompt rule asking for a measurement did
not stop it. Closing now needswhy: what was checked and what it showed.hub task done <id> --why "...",hub task update --status done --why, andwhyinhub_task_update; an empty
one, a bare id or a "done" is refused with what is wanted. In a report, aDONE:line closes on
the ground the report's other lines give (FACT:,DECIDE:, notes); a report ofDONE:alone
closes nothing and says to add aFACT:line (doneNoGround). The ground is kept on the task
(task getshows it), journaled beside the close, and cleared when the task is reopened. - A task whose whole text is a task id is refused. Agents filed tasks reading only
pine-1473to have an open task to hang a done report on, after the task they meant was
closed. A report needs no open task: aDONE:line on a closed one is taken as already
closed, and the report's other lines are written.hub_task_add(and a text edit in
hub_task_update) now refuses a text made only of task ids, and the refusal says both ways
out: report withDONE: <id>or name#<id>in a note, or reopen withstatus: open.
0.9.85 — 2026-11-21
- Reactions, run by the MCP server.
hub watch --execreacts to the journal only while a
process of its own runs, and somebody has to keep it running. The rules in
<hub>/reactions.jsonrun inside the MCP server instead, on a 30 s tick: a rule on a journal
entry (on: {kind, project, agent, match}) or on an interval (every: 10m), its output to a
role's queue or a heartbeat. A rule names a command declared in the same file, never a command
line, and journal text reaches the command only on stdin. Rules are declared by an owner role,
a fleet role or the project's live head; others are refused. One runner per rule per node,
through a lease that passes on when its holder dies;nodepins a rule to one node. Each firing is a journal entry of kind
reaction.hub reactionsshows the rules;hub reactions runmakes one pass.
HUBD_REACTIONS=0turns it off. Example 09 inexamples/team, and docs/recipes.md section 10.
0.9.84 — 2026-11-21
- Team organization, as runnable examples.
examples/team/holds eight scripts, each one
rule of how a team of agents is run and the scar it came from: laws a head dictates, the role
registry and lint, handing a project to a new head, the head's sensor without a model, the
queue as the channel, readiness by heartbeat--ttl, the audit withrules.json, and
hub watch --execdeleting a branch once its ACCEPT is merged.sh examples/team/run.shruns
them all, each on a freshhub demoin a temporary folder;npm testruns them too. They ship
in the package. hub task update. Reassigning a task had no verb outside MCP, whilehub linttold the
reader to run exactly this.hub task update <id> --assignee <role> --by <you>now does, with
-i,-d,--text,--statusand--needsashub_task_updatetakes them.- A head switched off has handed its project over. It no longer rules on the project's laws
(hub reflect --law,hub_law); the live head does. An open task assigned to any role with
status: offis flagged byhub lint(assignee-outside-roster) like one assigned to no
role: no loop reads it.
0.9.83 — 2026-11-21
- The tips are said once. Over stdio every tool result carried two tips, to call
hub_onboardingandhub_whatsnew, until the session called them; an agent with no reason to
call them read both lines on every call. Each is now said on the first result of a session
and not again.
0.9.82 — 2026-11-20
- Work nobody holds is said apart. An open high task with no assignee sat four days among
the other open tasks: every list showed it, none said it was nobody's. A task waiting on it
looked busy, and nothing woke anyone for three days.hub briefandhub agendanow open
with two lists.unownedholds open high tasks with no assignee for over an hour, not held.
deadlocksholds open tasks whosedepends_onchain ends on a task nobody holds, or loops
back on itself, each with the path (waits on #b, which nobody has held for 30 h (via #c)).
A held task is not nobody's, nor one an agent has claimed, nor one under an hour old (that is
the poolhub now --forhands out); none of them ends a chain. Over MCP:unownedanddeadlocksin
hub_briefandhub_agenda. The head of the project (hub sense <head>) is woken for each
case in its project once, and reminded every six hours while it stands (nobodyMin,
nobodyRepeatSinsense.json). Assigning work is the head's job, so the case is never
escalated to the fleet. A wait said only in a blocked report's prose is not read: put it in
depends_on. - Links in data, not prose.
hub task addandhub_task_add/hub_task_updatewarn
when the text names an open task anddepends_onis empty: a wait said in prose ("after the
merge of X") is seen by no list, plan or sensor. They also warn when a task depends on an
epic (tagepic) without being one: the epic waits on its parts, so the link belongs on the
epic. The write goes through either way.hub task getandhub_task_getshow what holds a
task (holding): each open task it waits on, who has it orNOBODY, and when it last moved
(its newest attempt or journal line naming it). - A change handed in twice is said to be a copy. One edit lay in a canon under six branch
names, and another under two, all already in its base; each came to the head for acceptance.
hub sense <head>now reads the patch-id of each task branch against the base. Of branches
with one patch-id the first by name is kept and the others are duplicates of it; a branch
whose every commit is already in the base under another sha is a duplicate of the base.
A duplicate is not raised for acceptance: the head is told once that it is a copy, with the
command to delete it. Patch-ids are kept per branch and base sha, so a pass reads only what
moved. - A role that reads but never acks is said to be one. A send reported over six hundred
unacked blocks for a role whose read mark was current on every shard: it read everything and
had never acked once, so the count was its whole history, not a stopped consumer.hub queue sendandhub_queue_sendnow say so (ackNote) when the role has never acked a block.
0.9.81 — 2026-11-20
hub now --for <role>: the first ready task this role may take. A worker with
nothing of its own askedhub now <project>, looked at the one top task and gave up when
it was assigned to someone else, while unassigned work sat further down the same list:
three workers on one project said "no ready task" over and over, with a third of the ready
tasks assigned to nobody. With--forthe command walks the same urgency order and hands
out the role's own task first, else a task with no assignee that no other agent has started
(a live claim ontask:<id>). The owner's tasks and tasks assigned to another role are
never handed out.--only-tags a,btakes only free work carrying one of the tags; a task
assigned to the role is not narrowed by it.--skip-tags a,bis a ban: a task carrying any
of the tags is never handed out, the role's own included, so an epic or a held task that
landed on a worker is not picked up, andwhynames it (assigned to dev-api; skipped own: oak-9 (epic)) so the mistake is seen.whysays why the task was picked, or where the ready
tasks went when none was;--jsonprints{task, why, eligible, ready, skipped: {assigned, claimed, tags, owner}, skippedOwn}.
Without--forthe answer is the one it was. Over MCP:hub_nextwithfor,
onlyTags,skipTags. The choice itself is a pure function (pickForRole: ready tasks,
live claims, owner roles and dates in, the task out), checked against a table of cases.hub claim --task <id> --exclusiverefuses a task another agent holds. Without it a
second claim on the same task is written with a warning, so two workers that picked the same
task both started it. With it the claim is checked under the claims lock: if another agent
holds a live claim on the area, the command exits 1 and nothing is written. Two workers that
askhub now --forat the same moment get the same task, one of them holds it, and the
other gets the next one on its next round. Works for an area claim too, and over MCP
(hub_claimwithexclusive:{ok: false, refused: true, holder}).- The board says it is loading. The page stayed blank until the first answer came, which
on a large hub is a second or two and reads as an empty board. Every view now shows
"loading..." until its data arrives, and a failed task list shows the error instead. - Tutorials match what the code prints again.
hub planin tutorial 2 still showed the
owner's decision as ready work, and the law dictated in tutorial 6 was close enough to the
law already accepted that it was refused as the same rule.
0.9.80 — 2026-11-15
- A head can dictate a law, not only accept a grown one. A candidate for a
project's laws has to have been said three times, or by two roles, before the head
can accept it; a project whose roles never reflected had no candidate to accept at
all, which is why a head's own word had to come in through the back door of
hub section add, which wrote a line no law reader could take.hub reflect --law "<the rule>" --project <proj> --by <head>now writes the rule the head
dictates as a law of the project: the same line in the card's Laws section, the same
right (the project's head, or a fleet role's), and a journal decision that says it was
dictated, not grown. Said again it is refused with the law the card already holds, so the
card keeps one line per rule; a worker of the project may not dictate, a head may.
hub section addwith the laws section writes a law through the same door, with the
head's name, and refuses--set, which would have dropped the others.
0.9.79 — 2026-11-14
hub initscaffolds your hub, not the folder you stand in. With no path it took the
current directory and refused only inside a git checkout, so a newcomer who ran it from
their home directory gotAGENTS.md,INBOX.md,queues/,specs/and.gitignore
in~. With no path it now scaffolds the hub base (~/.hubd, or whatHUBD_DIR
names), making the folder if it is not there, which is the folderhub doctor,
hub serveand the hints those print already mean byhub init.hub init <folder>
is as it was, and so is--here, which now stands for "this directory" and nothing
else. The checkout refusal is gone with the default that needed it: a bare init in a
repo writes nothing there. IfHUBD_TEAM_DIRnames a team root apart from the hub
base, a bare init says so and gives the command for the other folder. Changed:
cd folder && hub initnow scaffolds the hub base; usehub init .or
hub init --here.
Full history: CHANGELOG.md.