Skip to content

Releases

0.9.88 — a law can be retired; a candidate is a rule two roles said

Choose a tag to compare

@apbodrov apbodrov released this 26 Nov 18:03
  • A law can be retired. Laws were only ever added: the section is never rotated, and
    hub_context hands 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> (MCP hub_law with verdict retire) 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 --json now 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 lint warns 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/*.md only. 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-driver now puts resources/*.md under the driver
    too; hub doctor names 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-line key: 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 needs why: what was checked and what it showed. hub task done <id> --why "...", hub task update --status done --why, and why in hub_task_update; an empty
    one, a bare id or a "done" is refused with what is wanted. In a report, a DONE: line closes on
    the ground the report's other lines give (FACT:, DECIDE:, notes); a report of DONE: alone
    closes nothing and says to add a FACT: line (doneNoGround). The ground is kept on the task
    (task get shows 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-1473 to have an open task to hang a done report on, after the task they meant was
    closed. A report needs no open task: a DONE: 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 with DONE: <id> or name #<id> in a note, or reopen with status: open.

0.9.85 — 2026-11-21

  • Reactions, run by the MCP server. hub watch --exec reacts to the journal only while a
    process of its own runs, and somebody has to keep it running. The rules in
    <hub>/reactions.json run 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; node pins a rule to one node. Each firing is a journal entry of kind
    reaction. hub reactions shows the rules; hub reactions run makes one pass.
    HUBD_REACTIONS=0 turns it off. Example 09 in examples/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 with rules.json, and
    hub watch --exec deleting a branch once its ACCEPT is merged. sh examples/team/run.sh runs
    them all, each on a fresh hub demo in a temporary folder; npm test runs them too. They ship
    in the package.
  • hub task update. Reassigning a task had no verb outside MCP, while hub lint told the
    reader to run exactly this. hub task update <id> --assignee <role> --by <you> now does, with
    -i, -d, --text, --status and --needs as hub_task_update takes 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: off is flagged by hub 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_onboarding and hub_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 brief and hub agenda now open
    with two lists. unowned holds open high tasks with no assignee for over an hour, not held.
    deadlocks holds open tasks whose depends_on chain 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 pool hub now --for hands out); none of them ends a chain. Over MCP: unowned and deadlocks in
    hub_brief and hub_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,
    nobodyRepeatS in sense.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 add and hub_task_add/hub_task_update warn
    when the text names an open task and depends_on is 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 (tag epic) without being one: the epic waits on its parts, so the link belongs on the
    epic. The write goes through either way. hub task get and hub_task_get show what holds a
    task (holding): each open task it waits on, who has it or NOBODY, 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 send and hub_queue_send now 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 asked hub 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 --for the 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 on task:<id>). The owner's tasks and tasks assigned to another role are
    never handed out. --only-tags a,b takes only free work carrying one of the tags; a task
    assigned to the role is not narrowed by it. --skip-tags a,b is 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, and why names it (assigned to dev-api; skipped own: oak-9 (epic)) so the mistake is seen. why says why the task was picked, or where the ready
    tasks went when none was; --json prints {task, why, eligible, ready, skipped: {assigned, claimed, tags, owner}, skippedOwn}.
    Without --for the answer is the one it was. Over MCP: hub_next with for,
    onlyTags, skipTags. The choice itself is a pure...
Read more

0.9.54 — a project's laws, from its roles' reflections

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:37
  • A project's laws, from its roles' reflections. A reflection's rule was a proposal nobody
    turned into a rule: one hub's rules file held one law while 36 hours wrote 949 reflections.
    hub reflect --promote --project <p> lists the candidates: a rule said 3 times by one role, or
    by 2 roles, in the window (default 7 days), each with an id, its count per role and its other
    wordings. The head rules on each with hub reflect --accept <id> or --reject <id> --reason "<why>", signed --by <head> (MCP hub_law); a project with a head on record as a role card
    is that head's to rule on, or a fleet role's. An accepted rule is a line of the card's new Laws
    section, - <when> (<head>): <rule>, never rotated out: hub_context returns the laws as
    laws, hub whereami prints them, hub reflect --laws lists them. A rejection is a journal
    line, and the rule stays off the list until it is said again after it. On two days of one
    project's journal: 19 candidates.
  • One rule in other words counts as one. Counted by exact wording, a rule restated from turn
    to turn read as several rules said a few times each, below any line a head draws. Wordings that
    share 40% of their words (a word by its first five letters, a number a word of its own) are one
    rule now: hub reflect and hub_reflect list the others under it as variants. A wording
    joins the most repeated one it resembles, never a chain.
  • A reflection is checked for its own rules, not only the lists. Refused in the reflect
    field and named a problem in the text: result: no with obstacle: none; instead: none
    anywhere but a done turn with no obstacle; a rule that joins several with ; outside
    backticks. A REFLECT marker followed by no key this reads (keys in another language, or
    misspelt) is a reflection with one problem that says so, no longer prose. The fragment asks for
    the values in the dispatch's language and the keys as written.
  • A turn that found no work takes no reflection. Its report is the one line "waiting for a
    dispatch"; with a reflection, in the field or the text, it is refused, so a loop can tell it
    from a step that skipped the block.
  • DONE: takes the id as people write it. DONE: #471 or DONE: 471 closes the one task
    whose id ends in -471; of several, the one in the report's project; if still several, none, and
    the reply lists them as doneAmbiguous. A line that reads as closing a task but is not the form
    (#471 DONE, DONE #471, pine-471 done) refuses the report before anything is written: it
    was filed as a note and closed nothing. The CLI's warning names each id not closed, and why.
  • A block's id is one block in the whole hub. Headers end in · id <node>-<N>, N counted by
    the node across all its queues, under a lock, as task ids are. It was a bare number counted per
    file, and one hub had "id 39" in twelve headers of four queues. hub_queue_ack takes the
    string; a bare number names an old block, or the one new id ending in it. Escalations and their
    answers are keyed by it. Upgrade every node together: an older hubd reads no block in a header
    with the new id.
  • A full queue refuses with a code. The refusal carries queue-full (Error [queue-full]:
    over MCP, exit 4 from hub queue send) and leaves a line in the sender's project journal, at
    most one per sender and role in ten minutes. A role of rank fleet is never refused, since an
    escalation must go; hub doctor lists its queue as OVER THE LIMIT.
  • hub whereami gives the inventory script 30 s, not 5: 5 killed a one-line echo on a loaded
    machine. A script it stops says so in the output.

0.9.53 — mesh-sync fetches again after a lost push race

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:37
  • mesh-sync fetches again when another node's push lands first. Every node pushes to one
    mirror about once a minute, and a push that lands between this node's fetch and its push wins:
    git refuses ours ("fetch first"), or the mirror cannot lock the branch it is moving. One node
    lost one run in six that way, about 90 a day, each a minute of delay and a failed unit in
    systemd's log. That failure, and only that one, now goes back to the fetch in the same run, up
    to HUBD_SYNC_PUSH_TRIES times in all (default 3). Any other failed push is left to the next
    run, as before.
  • A node's presence snapshot says when hubd last ran there. presence.<node>.json was
    written on heartbeat only, so a node whose sessions never heartbeat (people at a terminal, not
    agents in a loop) kept the one it wrote weeks before: from every other node it looked silent
    for 24 days while it wrote to the mesh every minute. Any MCP tool call now refreshes it too, at
    most every 5 minutes. A hub that has never published one gets none.
  • hub doctor waits for the hub's git. Its checks read git with an 8 s bound and took a read
    that ran out as an empty answer: with every core busy, git ls-files once took longer, and a
    case-colliding pair came back as no pair. Reads of the hub's own repository now get a minute;
    reads of project repositories keep 8 s.

0.9.52 — doctor says when a merge driver will not run

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:37
  • hub doctor says when a merge driver will not run. The drivers live in the node's own
    .git, and a missing one or one whose path went stale fails without a word: the merge just
    falls back. On a node that syncs, doctor now names each driver that is not installed, lacks an
    attribute line, or names a file that is gone, says what a merge does instead, and counts it as
    a warning. A command set by hand is not checked.
  • The driver command names node as PATH has it. It named the binary with every link
    resolved, which on one node was /usr/bin/node-22: gone with the next major version, while
    /usr/bin/node stays. Now the first node on PATH that is the same binary is named. Run
    hub card merge-driver again on each node to repoint it.

0.9.51 — a file one node rewrites whole merges by its time

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:36
  • A file one node rewrites whole no longer stops the mesh. snapshot.<node>.json,
    presence.<node>.json, sense.<node>.json and the read marks in queues/read/ have one
    writer each, so two versions meet only after history was repaired or rebased, or when one node
    name is in two clones. git's text merge then stopped on every line with a time in it: one
    node's snapshot stopped another node's sync until its history was realigned by hand.
    hub card merge-driver now also installs a driver for these files that takes the version with
    the later time (ts, written, or the latest read-mark at), whole. Ours and theirs swap
    between a merge and a rebase; the time does not, so both keep the same version. A version whose
    time does not read loses; equal times pick the same version on every node. If the driver's path
    goes stale, the file keeps git's ours. Run the command again on each node to get it.

0.9.50 — mesh-sync packs the hub itself, in the foreground

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:36
  • mesh-sync packs the hub itself, once a run, in the foreground. git packs after a commit,
    a fetch or a merge, in a process it forks into the background. On macOS that process crashed
    after the fork and left .git/gc.log.lock, and every background gc after it stopped on that
    lock without a word: one hub went seven weeks unpacked, 86000 loose objects and 3.75 GiB, and
    every run redid the part of gc that comes before the fork, once for each command that started
    one. git's own gc is now off for the script's commands (maintenance.auto=false, read by git
    2.31+), and one git gc --auto runs after the push, its errors in the sync's log. A failed
    push still packs. A foreground gc never takes the lock, so a hub that has one needs nothing
    done to it; its first run packs the backlog, which git -C <hub> gc by hand does ahead of time.

0.9.49 — a queue read elsewhere no longer counts full

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:36
  • A queue read on another node no longer counts full there. The send limit took a block as
    read only by its own ack, so blocks written before ids, which no ack can name, and header lines
    quoted inside a body stayed unread for ever. A reader hands its file out in order, so a file
    now counts as read up to the last block its ack log names, every block above it included.
  • A reader publishes its position even when nothing new came. A reader that read its queue
    to the end on a hubd from before read marks left none, and its cursor never leaves its node:
    every other node counted that queue unread until the next message, which a queue counted full
    refused. Each wait now writes the cursor's watermark as the read mark where the two differ.
  • The hub sets the send limit in limits.json. {"queue": {"msgs": N, "bytes": N, "exempt": [role, ...]}} travels with the mesh; HUBD_QUEUE_MAX_MSGS and
    HUBD_QUEUE_MAX_BYTES set on a node still win there. A role in exempt is never refused nor
    listed as near full: one whose reader reads the file itself, leaving no cursor, mark or ack.
    hub doctor names the exempt roles.

0.9.48 — deliveries are mail, a row of their own

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:36
  • Artifact deliveries are mail, a row of their own. A mail relay (a fleet tool) records each
    delivery that succeeded as a journal entry of kind delivery, through hub report -k delivery: <sender> → <recipient>: <name> <bytes> B sha256 <hex> (the byte unit may be the
    Cyrillic one, the arrow ->). Live shows the newest 20 in a Mail row above Activity, which no
    longer lists them; /api/kanban and hub_kanban gain mail, each delivery read into
    from, to, name, bytes, sha256 beside its whole text. On the Summary each track has the newest
    20 whose recipient is one of its roles (/api/summary gains mail per track, and
    mailLimit). An entry of the kind whose text does not read so is kept whole with the parts
    null: Live shows it, and no track claims it. hub report takes any kind, so the relay needs
    no change.

0.9.47 — the Summary shows each node from its own snapshot

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:36
  • The Summary shows each node as its own snapshot states it. A node's fleet tool writes
    snapshot.<node>.json (v1: sessions, disks, relays) into the hub directory, and the mesh
    carries it like presence.<node>.json; hubd only reads it. /api/summary gains nodes, one
    row per file, and snapshotStaleMin and diskFullPct. The page lists each node's snapshot
    age, disks and relays, and a table of sessions: session, node, role, state, minutes since the
    hub, minutes since motion. In red: a snapshot over 5 minutes old (or with no time), a disk at
    90% or more, a relay failed or not active. Fields it does not know are ignored; a file that
    does not parse, is not an object or is not v1 is a row "snapshot unreadable" with its node and
    the reason.

0.9.46 — an escalation waits until an answer quotes its key

Choose a tag to compare

@apbodrov apbodrov released this 06 Oct 20:36
  • An escalation to the fleet waits until it is answered, and the board says which. An
    escalation is a block with an id in the queue of a fleet role, and its key is its header,
    <date> · from <role> · id N. It is answered when an entry of the fleet card's Owner decisions
    section quotes that key; the entry's stamp is the answer's time. Matching is by the key alone:
    "id 3" is not "id 32", and no author or wording is read for an answer. Entries the section cap
    moved to the project's history still answer, and of two answers to one key the later stands.
  • "Waiting for you" lists every unanswered escalation, however old, and those answered in the
    last 24 hours
    with the answer, in hub board, the Tracks view and the Summary
    (/api/summary gains escalations: {fleet, waiting, answered} and answeredHours). Each
    carries its key, who sent it to which role, its text, how long it waited and, once answered,
    when and what. Queue files are read whole for this, not their last 256 KB. This replaces the
    window of escalations and of the fleet role's own replies, which said nothing about whether
    the owner had answered.
  • A section key owner-decisions (## Owner decisions), not in new cards, localised by
    sections.json like any other: hub section add <fleet project> owner-decisions "<key> — <answer>" --by <you>.