Skip to content

HU Board Dashboard

A web dashboard that visualizes all HU stories and pipeline sessions managed by Karajan Code. It provides a kanban board, session timeline, quality scores, and multi-project support.

Beyond the kanban, the board has a Governance view — the project’s hash-chained ledger, live. Every decision the environment makes (a deny, an exception with its expiry and scope, a review verdict, a supervisor reseal) lands there sealed, and each entry carries the cryptographic fingerprint of the one before it. So while your agent works, you can read — in a browser, no terminal — exactly what was decided and by whom, and be sure nobody rewrote yesterday’s record without it showing.

Parallel work shows too. A card worked in a kj worktree lane carries a badge with the lane, its branch, its commits ahead of the base and its PR. The Governance view lists the lanes outside the method: a branch that names no card, and a lane whose PR is already merged, with the exact kj worktree done <slug> that clears it. All of it comes from git and GitHub (kj worktree list); the board keeps an answer for one minute and stores nothing else.

The Governance view also shows the method rules, the same list as kj gates: the fixed ones with a lock, and each adjustable one with its value and who set it (the default, the project, you or a skill), plus any sentence of the project’s CONTRIBUTING that contradicts a fixed rule. A click tightens an adjustable rule. Loosening one is yours alone: the board shows the kj gates set command to type in your terminal.

The ledger is a plain append-only file where every line links the last:

Terminal window
cat .karajan/policy-decisions.jsonl # one JSON decision per line; each carries a "prev" hash
kj policy report # the same, as a readable report (a broken chain exits 1)
kj policy anchor # re-verify the WHOLE chain and seal its head-hash into git

Once the head-hash is committed (kj policy anchor writes .karajan/policy-anchor.json), rewriting the past means rewriting the repo’s history too — and that shows.

The board’s dependencies come with karajan-code, so nothing else is installed:

Terminal window
kj board start

The npm package does not ship the Docker files; they live in the repository:

Terminal window
cd packages/hu-board && docker compose up -d
Terminal window
kj board start # Start the dashboard
kj board stop # Stop it
kj board status # Check if running
kj board open # Open in browser

It is on by default; this is the block, and enabled: false turns it off (kj board start --force still starts it):

hu_board:
enabled: true
port: 4000

Or enable during setup:

Terminal window
kj init # answer yes to "Enable the HU Board" (the default)
  • Kanban Board: Stories in three columns (Pending → Running → Done)
  • Quality Scores: 6-dimension scores with visual progress bars
  • Session Timeline: Stage-by-stage breakdown with durations
  • Multi-Project: Auto-discovers all projects from ~/.karajan/
  • Auto-Sync: Watches JSON files for real-time updates
  • Dark Theme: Matches Karajan Code design
  • Port Fallback: Starts on port 4000 by default; automatically tries 4001 to 4010 if the primary port is busy
  • Lanes and Governance: each card shows its lane, branch, commits ahead and PR; the Governance view lists lanes outside the method

Two pages open from the board’s header. Usage (/usage.html) sums every agent call kj launched, per project and account, grouped by day, month, year or total, with a CSV export per project and month. Accounts (/accounts.html) shows the provider logins, their order and pace, and never carries a key. What they read and what kj never records: Observability and review truth.

Up to 4.x the board could also launch the kj run pipeline (the Run plan button). That pipeline was retired in 5.0: see Migrating to 5.0.

Each pending card without a lane has a ▶. After you confirm, the board runs kj hu start <id> --code in the project:

  1. kj checks the card. If it does not exist or someone else holds it, nothing is created.
  2. It opens the card’s lane feat/<id>-<slug> from origin/<base>, with your identity and the Sentinel already in it.
  3. It moves the card to running, reserved to you.
  4. The coder declared in your panel writes the card there (kj code --card <id>), and its log opens in the board.

Reviewing and committing stay with you or your agent, inside the lane. A card that already has a lane is not started again: the board tells you where it is. From the terminal, the same is kj hu start <id> [slug], with --code to have the coder write it. When the card already has a lane, one whose branch names its id or its reference (a Planning Game card, say), kj hu start starts the card in that lane instead of opening another; with more than one, it stops and names them.

The board reads the session files in ~/.karajan/sessions/ and the plan files in ~/.karajan/plans/ and <project>/.karajan-shared/plans/ (a shared board reads its GitHub issues). SQLite is only an index: each full scan empties it and rebuilds it from those files.

A team can work on one board: its HUs live as GitHub Issues of the repo (label kj:hu) and everyone sees the same ones.

  • Turn it on: kj hu backend github writes .karajan/board.yml with the repo of origin. That file goes in a PR; whoever pulls inherits it.
  • Work with it: kj hu list reads it, kj hu move <HU> <status> changes an HU. Each HU is assigned to whoever has it in progress.
  • See it in the board: the project shows a github plan with those HUs and a notice explaining it is the shared board, with a link to its issues. It is read-only from the web: the issues are the truth, and kj hu move changes them.

Available as kj_board MCP tool:

kj_board({ action: "start", port: 4000 })
kj_board({ action: "status" })
kj_board({ action: "stop" })

Karajan Code™ · AGPL-3.0