hubd
v0.4.2The 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the project folder |
agent | string | Who is syncing (e.g. claude-cowork, cursor, executor) |
digest | string | Agent-written summary: status, recent work, next steps, blockers |
name | string | Project 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.
| Parameter | Type | Description |
|---|---|---|
digest * | string | the card digest: 3-6 lines of current state |
project * | string | project name or slug |
by | string | who is writing |
hub_report
Append a session report to the shared journal: what was done / broken / blocked.
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
project * | string | |
text * | string | |
kind | string | default: 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.
| Parameter | Type | Description |
|---|---|---|
project * | string | project slug or name |
hub_search
Full-text search across every project card and the entire journal, archived months included. Returns each matching line with its location. Use to find where something was discussed or decided.
| Parameter | Type | Description |
|---|---|---|
query * | string | plain-text substring, case-insensitive |
hub_task_add
Add a task to the shared cross-project backlog.
| Parameter | Type | Description |
|---|---|---|
project * | string | |
text * | string | |
assignee | string | agent name or owner, optional |
by | string | who adds |
cat | string | task category, optional |
deadline | string | YYYY-MM-DD, optional |
depends_on | array | task ids this task waits on |
importance | string | default normal |
resources | array | resource 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.
| Parameter | Type | Description |
|---|---|---|
project | string | |
status | string |
hub_task_update
Update a task: close it (status=done), reassign, edit text/deadline/cat.
| Parameter | Type | Description |
|---|---|---|
id * | integer | |
assignee | string | |
by | string | |
cat | string | |
deadline | string | |
depends_on | array | task ids this task waits on |
resources | array | resource slugs this task touches |
status | string | |
text | string |
hub_brief
Morning brief across all projects: open tasks (deadlines first), journal since N hours, stale cards, active claims.
| Parameter | Type | Description |
|---|---|---|
hours | integer | journal window, default 48 |
staleDays | integer | card 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.
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
area * | string | |
project * | string | |
note | string | |
ttlMin | integer | default 240 |
hub_release
Release a soft-lock. Pass id, or project+area+agent.
| Parameter | Type | Description |
|---|---|---|
agent | string | |
area | string | |
id | string | |
project | string |
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.
| Parameter | Type | Description |
|---|---|---|
slug * | string | resource id, e.g. "myvm" or "board.hubd.net" |
address | string | ip / hostname / url, optional |
by | string | who is writing |
digest | string | one-line description (keep prose minimal) |
edges | object | typed relationships, merged with existing: {"runs_on":["hubd"],"depends_on":["postgres"]}. Values are target slugs. |
os | string | |
provider | string | libvirt | cloudflare | bare-metal | ... |
status | string | live | down | planned | retired |
type | string | host | vm | service | endpoint | provider | ... (open vocabulary) |
hub_resource_list
List resource cards (hosts, vms, services, endpoints, providers). Optionally filter by type.
| Parameter | Type | Description |
|---|---|---|
type | string |
hub_resource_get
One resource card plus its inbound and outbound typed relationships.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
project | string | only edges touching this project/resource slug |
type | string | only edges touching a node of this type |