HU Board Dashboard
What is the HU Board?
Section titled “What is the HU Board?”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.
In practice — from your agent
Section titled “In practice — from your agent”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.
Under the hood — try it yourself
Section titled “Under the hood — try it yourself”The ledger is a plain append-only file where every line links the last:
cat .karajan/policy-decisions.jsonl # one JSON decision per line; each carries a "prev" hashkj 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 gitOnce 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.
Quick Start
Section titled “Quick Start”Start it
Section titled “Start it”The board’s dependencies come with karajan-code, so nothing else is installed:
kj board startWith Docker (from a clone of the repo)
Section titled “With Docker (from a clone of the repo)”The npm package does not ship the Docker files; they live in the repository:
cd packages/hu-board && docker compose up -dFrom the CLI
Section titled “From the CLI”kj board start # Start the dashboardkj board stop # Stop itkj board status # Check if runningkj board open # Open in browserConfiguration
Section titled “Configuration”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: 4000Or enable during setup:
kj init # answer yes to "Enable the HU Board" (the default)Features
Section titled “Features”- 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
Usage and Accounts pages
Section titled “Usage and Accounts pages”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.
Start a card from the board (▶)
Section titled “Start a card from the board (▶)”Each pending card without a lane has a ▶. After you confirm, the board runs kj hu start <id> --code in the project:
- kj checks the card. If it does not exist or someone else holds it, nothing is created.
- It opens the card’s lane
feat/<id>-<slug>fromorigin/<base>, with your identity and the Sentinel already in it. - It moves the card to running, reserved to you.
- 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.
How It Works
Section titled “How It Works”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.
Shared board
Section titled “Shared board”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 githubwrites.karajan/board.ymlwith the repo oforigin. That file goes in a PR; whoever pulls inherits it. - Work with it:
kj hu listreads 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
githubplan 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, andkj hu movechanges them.
MCP Tool
Section titled “MCP Tool”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