hubd

v0.4.2
io.github.bzdOS/hubd Checked 3 days ago Published 5 months ago

The project tracker for teams of humans and AI agents — in plain files.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hub_sync

Sync a project folder into the hub. Collects git facts automatically; pass digest (your own summary of state/next steps) and the card is rewritten.

ParameterTypeDescription
path *stringAbsolute path to the project folder
agentstringWho is syncing (e.g. claude-cowork, cursor, executor)
digeststringAgent-written summary: status, recent work, next steps, blockers
namestringProject name (default: folder name)

hub_card_set

Create or update a project card from just a name and a digest — no folder needed (unlike hub_sync). Use it to capture a project that is not a local git checkout, e.g. when harvesting a dialog. Preserves any hand-written frontmatter and Facts.

ParameterTypeDescription
digest *stringthe card digest: 3-6 lines of current state
project *stringproject name or slug
bystringwho is writing

hub_report

Append a session report to the shared journal: what was done / broken / blocked.

ParameterTypeDescription
agent *string
project *string
text *string
kindstringdefault: note

hub_status

Snapshot of every project at once: the latest digest of each, when it was last synced, and its open-task count, plus the most recent shared-journal entries. Best for orienting at the start of a session. For a deadline-sorted to-do list use hub_brief; for one project in depth use hub_get.

hub_get

Everything about ONE project: its full card (digest + facts), recent journal entries for it, and any active soft-locks. Use after hub_status or hub_search points you at a project.

ParameterTypeDescription
project *stringproject slug or name

hub_task_add

Add a task to the shared cross-project backlog.

ParameterTypeDescription
project *string
text *string
assigneestringagent name or owner, optional
bystringwho adds
catstringtask category, optional
deadlinestringYYYY-MM-DD, optional
depends_onarraytask ids this task waits on
importancestringdefault normal
resourcesarrayresource slugs this task touches (host/vm/service/...) — a structured link task → resource, not prose

hub_task_list

List backlog tasks. Filter by project and/or status.

ParameterTypeDescription
projectstring
statusstring

hub_task_update

Update a task: close it (status=done), reassign, edit text/deadline/cat.

ParameterTypeDescription
id *integer
assigneestring
bystring
catstring
deadlinestring
depends_onarraytask ids this task waits on
resourcesarrayresource slugs this task touches
statusstring
textstring

hub_brief

Morning brief across all projects: open tasks (deadlines first), journal since N hours, stale cards, active claims.

ParameterTypeDescription
hoursintegerjournal window, default 48
staleDaysintegercard considered stale after N days, default 7

hub_kanban

The board as data: open tasks split into queued (unassigned) and in-progress (assigned), plus done-in-the-last-day and recent journal — the same view the read-only web kanban renders. Each task carries blocked and overdue flags.

hub_claim

Soft-lock a work area so other agents see it (e.g. area="public/index.html"). Not enforced — informational.

ParameterTypeDescription
agent *string
area *string
project *string
notestring
ttlMinintegerdefault 240

hub_release

Release a soft-lock. Pass id, or project+area+agent.

ParameterTypeDescription
agentstring
areastring
idstring
projectstring

hub_resource_set

Create or update a resource — an infrastructure/topology entity: host, vm, service, endpoint, or provider. Structured attributes (type, address, os, provider, status) and typed relationships go in fields, NOT prose. Use this instead of describing infra inside a card digest.

ParameterTypeDescription
slug *stringresource id, e.g. "myvm" or "board.hubd.net"
addressstringip / hostname / url, optional
bystringwho is writing
digeststringone-line description (keep prose minimal)
edgesobjecttyped relationships, merged with existing: {"runs_on":["hubd"],"depends_on":["postgres"]}. Values are target slugs.
osstring
providerstringlibvirt | cloudflare | bare-metal | ...
statusstringlive | down | planned | retired
typestringhost | vm | service | endpoint | provider | ... (open vocabulary)

hub_resource_list

List resource cards (hosts, vms, services, endpoints, providers). Optionally filter by type.

ParameterTypeDescription
typestring

hub_resource_get

One resource card plus its inbound and outbound typed relationships.

ParameterTypeDescription
slug *string

hub_graph

The typed relationship graph across projects AND resources: who runs where, what depends on / deploys to / exposes what. Edges are frontmatter [[links]] keyed by relation (runs_on, depends_on, deploys_to, exposes, part_of, ...). Returns nodes, edges, and dangling links. Filter by project or type.

ParameterTypeDescription
projectstringonly edges touching this project/resource slug
typestringonly edges touching a node of this type