Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

## Unreleased

## [0.2.1] - 2026-11-19

- Upgrading from 0.2.0: upgrade forward only. Logs created or written by 0.2.1 use log format 25 and cannot be opened by 0.2.0. A new work log starts at format 25; a log that already has records stays at its format until a person posts `format_raised` (see [upgrades](docs/upgrades.md)), and the raise cannot be undone, so back it up first. To start fresh with this release, check out `v0.2.1` and run `KBL_IMAGE_TAG=v0.2.1 dev/quickstart.sh`.
- Added: A triage policy accepts routine triage without a person. Set `KBL_TRIAGE_POLICY_FILE` to a JSON file of rules over what triage recorded (`tiers`, `areas`, `deny_areas`, `types`, `sizes`, `deny_needs`); when a finished, plain triage matches a rule the tracker writes `accepted` as itself with the rule's name in `admitted_by`, and everything else stays in Needs you. A person can take a policy acceptance back from the dashboard (`undo_admission`, `POST /v1/work/proposals/undo-admission`), which returns the root to Triage and keeps the policy off it. The dashboard shows "Admitted by policy <rule>" on the item and in its history. This is log format 25, so raise the format before the policy runs; with no policy file a person accepts each triage.
- Added: A supervise profile can set `git_identity = { name, email }`, which `kbl-mcp` turns into the four `GIT_AUTHOR_*` and `GIT_COMMITTER_*` variables for that worker (`set_env` wins if both name one). The email is checked when the config loads. The profile docs show how to turn off Claude Code's `Co-Authored-By` trailer and PR footer, which fail CLA checks.
- Changed: Dashboard: the board keeps its column widths when the item panel is open (the panel floats over the right edge), phone filters fold behind one Filters button, Save view is a bordered button, a stopped dashboard says "Your session ended." with the code in a details line, the Stop button lines up in the phone worker block, and a finished or stopped worker shows nothing for an unrecorded vendor or model and "Nothing held" instead of "None" (#465, #466, #467, #468, #469, #470).
The item panel leads with the upstream reference and keeps the item id beside it, a pull request address reads owner/repo#N, child work is one compact row (kind, state, holder) on the board, in the list and in the panel, and the stage no longer shows a stale triage state next to a linked fix.
- Changed: The stored fold results in `wasm/golden` change: `format_25` is new, and `every_record` now shows `policy_held` on the root its `reopened` record returns to Triage, because a reopened root waits for a person and the triage policy leaves it alone.
- Changed: Admitted roots now wait for their triage to be accepted, by a person or by a triage policy, before any agent is handed their fix. Admit mode no longer writes `accepted` for a rule that runs triage, so `work_next` and `work_peek` show triage and augment first. This applies at every log format, so it is a behaviour change on upgrade: to keep the old auto-accept for issues that are already well specified, set `"triage": "skip"` on the rule. The intake rule's tier is kept as the last choice: an accept takes a person's tier, then triage's, then the rule's (`intake_tier`, format 25).
- Changed: From format 25, finishing a fix cancels triage and augment items nobody holds and that have no recorded work instead of refusing with `open_children`. Any other open child still blocks it, and the refusal now names each one and who holds it.
- Fixed: The dev scripts (`dev/ingest.mjs`, `dev/connect.mjs`, `dev/agents.mjs`) find `kbl-ingest` and `kbl-mcp` on `PATH`, after the flag, the environment variable, the build directories, `~/.kbl/bin` and `dev/state/bin`, and the not-found error lists every place. `dev/ingest.mjs` keeps the `agent-ok` label default only when no filter is given: `--milestone` or `--exclude-label` alone no longer AND with it, the rule is named after all its filters, and the effective rule is printed before the check (#474).
- Fixed: The dashboard's sidebar count for All work is the number the list shows, with the sub-tasks beside it (for example 257 and +514, with a hover title) while Child cards is off; with Child cards on every item is a card and the count has no note (#475).
- Fixed: A new work log starts at the current format, so a fresh stack's `supervise_start` launches workers with no `format_raised` by hand. A log that already has records keeps its format until a person raises it. Every refusal for the format now says which record needs which format, the log's format, and that a person raises it with `format_raised`; `supervise_status` shows it as `paused_because`, `GET /v1/me` reports each team's `log_format`, and `dev/quickstart.sh` prints it with the command to raise a log that is behind.
- Documentation: The supervise profile examples pass `USER` (macOS needs it for Claude Code's saved login) and say what to do when workers exit with "Not logged in".

## [0.2.0] - 2026-11-19

- Upgrading from 0.1.0: 0.2.0 reads every 0.1.0 log as it is. The work log format goes from 13 to 24, and nothing raises it for you. A log stays at 13 until a person posts `format_raised` (`to` up to 24; see [upgrades](docs/upgrades.md)), and a feature that needs a newer format is refused with `format` until then. Upgrade the tracker first, then ingest, `kbl-mcp` and the dashboard, and raise the format last, once no 0.1.0 build is still running: a 0.1.0 reader stops at a record above 13. The raise cannot be undone, so take a backup first. Each format's feature and its raise are in the Formats table of that page.
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["core", "wasm", "tool", "mcp", "tracker", "ingest", "metrics", "trace
resolver = "3"

[workspace.package]
version = "0.2.0"
version = "0.2.1"
edition = "2024"
rust-version = "1.97"
license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ dev/quickstart.sh
the stack can pull them instead of building:

```bash
KBL_IMAGE_TAG=v0.1.0 dev/quickstart.sh
KBL_IMAGE_TAG=v0.2.1 dev/quickstart.sh
```

With `KBL_IMAGE_TAG` set, the script never builds. It refuses a checkout whose version differs from the tag
("check out v0.1.0, or unset KBL_IMAGE_TAG to build") and prints at the start whether it is pulling or building.
("check out v0.2.1, or unset KBL_IMAGE_TAG to build") and prints at the start whether it is pulling or building.

Download `kbl-mcp`, `kbl-tool` and `kbl-ingest` from the same release ([Getting the binaries](#getting-the-binaries)).
The images exist only after the first tag. The tracker, dashboard and every `dev/*.mjs` script need only Node and the
Expand Down Expand Up @@ -347,7 +347,7 @@ binaries on your `PATH`. Each archive and `SHA256SUMS` carry a signed attestatio
them; `gh attestation verify` (GitHub CLI 2.49 or later) checks it, and `SHA256SUMS` catches a corrupt download:

```bash
tag=v0.1.0 # the release you want
tag=v0.2.1 # the release you want
target=x86_64-unknown-linux-gnu # or aarch64-unknown-linux-gnu, aarch64-apple-darwin, x86_64-apple-darwin
base=https://github.com/GetFelix/KBL/releases/download/$tag
curl -fLO "$base/kbl-$tag-$target.tar.gz" -O "$base/SHA256SUMS"
Expand Down
2 changes: 0 additions & 2 deletions changelog.d/465-dashboard-review-followups.changed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/474-dev-scripts-path.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/475-all-work-count.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/476-golden-fold.changed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/476-triage-policy.added.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/478-fresh-log-format.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/481-admit-waits-for-triage.changed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/481-finish-cancels-moot-triage.changed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/484-worker-git-identity.added.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/supervise-pass-env-user.documentation.md

This file was deleted.

4 changes: 2 additions & 2 deletions deploy/helm/kbl/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: kbl
description: The KBL work tracker, its dashboard and optionally the ingest worker. Felix is installed separately.
type: application
# Both move with the workspace version; scripts/lint.mjs fails when they drift.
version: 0.2.0
appVersion: 0.2.0
version: 0.2.1
appVersion: 0.2.1
kubeVersion: ">=1.27.0-0"
home: https://github.com/GetFelix/KBL
sources:
Expand Down
8 changes: 3 additions & 5 deletions dev/check-upgrade.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
// 3. the previous build takes over again, which is a rollback before the
// format is raised: w2 finishes there and w1 takes the last item;
// 4. this build comes back and finishes the log's story.
// Every record either build wrote is of the first format, each item was
// claimed and done once, and neither build refused a record of the other.
// Both builds write format 1 only, so this does not show a reader stopping at
// a newer format: the unit tests of core, the tracker and the page do.
// Each item was claimed and done once, and neither build refused a record of the other.
// Both builds write the formats a fresh log starts at, so this does not show
// a reader stopping at a newer format: the unit tests of core, the tracker and the page do.
//
// KBL_TRACKER_OLD and KBL_MCP_OLD name the previous build's binaries.
// cargo build -p kbl-mcp -p kbl-tool -p kbl-tracker && node dev/check-upgrade.mjs
Expand Down Expand Up @@ -104,7 +103,6 @@ try {
await w1.tool("work_complete", { item: c });

const records = mine();
check(records.every((r) => r.v === undefined), "every record either build wrote is of the first format");
for (const id of [a, b, c]) {
const of = records.filter((r) => r.item === id);
check(
Expand Down
2 changes: 1 addition & 1 deletion dev/quickstart.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# The quick start: Felix, felix-gateway, the work tracker and the dashboard,
# built and run in containers on this machine (or pulled, with KBL_IMAGE_TAG
# set to a release such as v0.1.0). See "Quick start" in README.md.
# set to a release such as v0.2.1). See "Quick start" in README.md.
set -euo pipefail
cd "$(dirname "$0")"
export KBL_QUICKSTART=1
Expand Down
Loading