4949When both stdin and stdout are TTYs, a bare ` kb ` opens the full-screen TUI.
5050When either stream is redirected, it prints root help and exits successfully
5151without creating or opening the data directory. ` kb tui ` remains the explicit
52- form and accepts ` --data ` and ` --user ` .
52+ form and accepts ` --data ` .
5353
5454``` sh
55- kb tui --data ~ /.local/share/kb --user default
55+ kb tui --data ~ /.local/share/kb
5656kb --help
5757```
5858
59- The default data directory is ` $KB_DATA ` or ` ~/.local/share/kb ` . The default
60- board owner is ` $KB_USER ` or ` default ` .
59+ The default data directory is ` $KB_DATA ` or ` ~/.local/share/kb ` . Local modes
60+ always operate on the ` default ` board .
6161
6262## Terminal UI
6363
@@ -67,7 +67,7 @@ The TUI is the primary human interface. It includes:
6767- card detail, markdown rendering, comments, and blocker links;
6868- create/edit forms with labels, due dates, effort, priority, checklists, and
6969 blocked state;
70- - persistent text and label filters per board owner ;
70+ - persistent text and label filters per board;
7171- keyboard lift/drop and mouse drag moves with filtered-order correctness;
7272- completion guards, tick-all/force-ship choices, auto-ship, unship, cancel,
7373 restore, and permanent deletion;
@@ -105,11 +105,14 @@ The data directory contains:
105105- ` kb.db ` , the SQLite database;
106106- ` secret ` , the generated encryption secret when ` KB_SECRET ` is unset;
107107- ` skills/ ` , optional user skill overrides;
108- - TUI preference state scoped by database and board owner .
108+ - TUI preference state scoped by database path .
109109
110- Board owners are normalized to lowercase and may contain ASCII letters,
111- digits, ` . ` , ` _ ` , ` @ ` , and ` - ` . Use ` --user NAME ` or ` KB_USER ` consistently
112- across the TUI, CLI, and MCP server.
110+ The TUI, task CLI, and MCP server all operate on the single ` default ` board.
111+ Board owners still exist in the schema, because ` kb serve ` serves one board per
112+ authenticated identity, but they are not selectable from local commands. A
113+ database written by an older version that holds tasks under another owner keeps
114+ them; local commands print one warning line naming those namespaces and leave
115+ the data alone. ` kb users ` lists them, and ` kb serve ` still serves them.
113116
114117Provider API keys and forge tokens are encrypted at rest with AES-256-GCM.
115118Keep the ` secret ` file with the database. Losing it makes stored credentials
@@ -140,9 +143,9 @@ Root server flags are rejected with exit code 2 and point to `kb serve`, so an
140143old service fails visibly instead of silently launching the wrong mode.
141144
142145If an old Entra-backed deployment used the immutable ` oid ` claim as its board
143- owner, pass that value with ` --user ` or ` KB_USER ` . Token-mode deployments use
144- the former ` X-KB-User ` value. Browser-only session tokens and display state are
145- not database records and are not migrated.
146+ owner, that board is still served by ` kb serve ` under the same identity.
147+ Browser-only session tokens and display state are not database records and are
148+ not migrated.
146149
147150Update service units and container commands before replacing the binary. A
148151reverse proxy may continue forwarding ` /api/* ` for API clients, but there is no
@@ -173,13 +176,12 @@ unique UUID prefix also work. `cancel` is reversible. `rm --yes` permanently
173176deletes a Cancelled task. Moving to Done is refused while checklist items or
174177blockers remain unless ` --force ` is explicit.
175178
176- Every task command accepts ` --data ` , ` --user ` , and ` --json ` . Set ` KB_SERVER ` to
177- use the same verbs against an optional HTTP server:
179+ Every task command accepts ` --data ` and ` --json ` . Set ` KB_SERVER ` to use the
180+ same verbs against an optional HTTP server:
178181
179182``` sh
180183export KB_SERVER=http://127.0.0.1:8080
181184export KB_SERVER_TOKEN=shared-secret
182- export KB_USER=alice
183185kb list
184186```
185187
@@ -191,7 +193,7 @@ kb list
191193HTTP server is required.
192194
193195``` sh
194- kb mcp --data ~ /.local/share/kb --user default
196+ kb mcp --data ~ /.local/share/kb
195197```
196198
197199Example configuration:
@@ -331,7 +333,6 @@ returned in settings responses.
331333| Variable | Used by | Meaning |
332334| --- | --- | --- |
333335| ` KB_DATA ` | all local modes, serve | Data directory |
334- | ` KB_USER ` | TUI, CLI, MCP | Default board owner |
335336| ` KB_SECRET ` | all store users | Encryption secret override |
336337| ` KB_SERVER ` | task CLI | Optional remote API base URL |
337338| ` KB_SERVER_TOKEN ` | task CLI | Bearer token for remote mode |
0 commit comments