hoshin.lean

Docs

One model, every surface. Version 0.1.0.

The method

Read the short guide: cascade (breakthrough → annual → priority → metric → action), catchball, PDCA, monthly review.

Install

Auth

A workspace key (hk_…) owns boards: Authorization: Bearer hk_…. Get one with POST /api/v1/workspaces, or open the web app (it makes one and shows it under Devices). A board's edit link token (he_…) or read link token (hv_…) opens just that board: X-Board-Token, ?t= or Bearer.

REST API

POST   /api/v1/workspaces                 {name?}            -> {key}
GET    /api/v1/boards
POST   /api/v1/boards                     {title, vision?, horizon?, example?}
GET    /api/v1/boards/:id                 board + cards + summary.gaps
PATCH  /api/v1/boards/:id                 {title?, vision?, horizon?}
DELETE /api/v1/boards/:id
POST   /api/v1/boards/:id/cards           {title, level, status?, parent_id?, owner?, metric?, baseline?, target?, actual?, unit?, due?, health?}
POST   /api/v1/boards/:id/import          {plan:[{title, children:[...]}]}
GET    /api/v1/boards/:id/export
POST   /api/v1/boards/:id/draft           {vision?}  -> 202 {job}; GET /api/v1/jobs/:job
PATCH  /api/v1/cards/:id                  any card field
POST   /api/v1/cards/:id/move             {level?, status?, position?}
POST   /api/v1/cards/:id/comments         {body, author?}
GET    /api/v1/cards/:id/related          pgvector neighbours
GET    /api/v1/search?q=…&board=…          pgvector search

levels: breakthrough annual priority metric action · statuses: plan do check act done · health: none on_track at_risk off_track

curl -s -X POST https://hoshin.lean.pit.world/api/v1/boards -H 'content-type: application/json' \
  -d '{"title":"FY2027 plan","vision":"Become the default tool for small teams","example":true}'

MCP

Streamable HTTP at https://hoshin.lean.pit.world/mcp with Authorization: Bearer hk_…. Tools: hoshin_guide list_boards create_board get_board update_board add_card update_card move_card delete_card get_card comment search related import_plan export_plan draft_plan draft_status load_example.

claude mcp add --transport http hoshin https://hoshin.lean.pit.world/mcp --header "Authorization: Bearer hk_…"
# or stdio, through the CLI:  hoshin mcp

CLI

hoshin login [key]           # store a workspace key (or create one)
hoshin boards                # list
hoshin new "FY2027 plan" --vision "…" [--example]
hoshin show <board>          # cascade tree with health and progress
hoshin add <board> "title" --level metric --parent <card> --target 8 --unit %
hoshin move <card> --status do
hoshin set <card> --actual 6 --health at_risk
hoshin comment <card> "can we hit this with two people?"
hoshin draft <board>         # AI draft from the vision, waits for it
hoshin search "churn"
hoshin export <board> > plan.json ; hoshin import <board> plan.json
hoshin tui [board]           # the kanban board in your terminal
hoshin mcp                   # stdio MCP bridge for agents

Data

Postgres 18 + pgvector, running inside the app on the c0mpute network: state is snapshotted, encrypted, to standby holders and restored on failover. Card vectors are computed in process (no third-party AI sees your plan for search). AI drafts send the vision and card titles to a c0mpute node.