@staix/agent-hub 0.50.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/docs/adding-an-ai-tool.md +2 -2
- package/docs/agent-notes/README.md +1 -0
- package/docs/agent-notes/adapters.md +3 -3
- package/docs/agent-notes/daemon.md +1 -1
- package/docs/agent-notes/local-worker.md +3 -3
- package/docs/agent-notes/tasks.md +5 -1
- package/docs/design/adapters.md +17 -0
- package/docs/design/cli-output-inventory.md +22 -17
- package/docs/design/roadmap.md +1 -1
- package/docs/design/task-board.md +34 -0
- package/docs/dogfood.md +7 -3
- package/docs/operations.md +49 -3
- package/docs/quickstart.md +18 -1
- package/docs/roadmap.json +20 -20
- package/docs/roadmap.md +2 -2
- package/docs/sdlc.md +3 -2
- package/docs/specs/2026-09-19-agent-hub-design.md +1 -0
- package/docs/verification/2026-11-29-agy-1.5.20.md +33 -0
- package/docs/verification/2026-11-29-claude-profile-hook.md +12 -0
- package/docs/verification/2026-11-29-idle-daemon-footprint.md +75 -0
- package/docs/verification/2026-11-29-kimi-281-reviewer-compat.md +38 -0
- package/docs/verification/2026-11-29-kimi-tui-281.md +12 -0
- package/docs/verification/2026-11-30-0.51.0.md +91 -0
- package/docs/verification/2026-11-30-account-switch-1806.md +445 -0
- package/docs/verified.json +31 -27
- package/package.json +1 -1
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +1329 -24654
- package/plugins/agent-hub/server.js +612 -413
- package/scripts/check-docs.mjs +1 -1
- package/src/adapters/acp.ts +13 -13
- package/src/adapters/agy/definition.ts +2 -2
- package/src/adapters/agy/entry.ts +2 -0
- package/src/adapters/claude-channel-evidence.ts +7 -3
- package/src/adapters/compat.ts +4 -3
- package/src/adapters/definitions/builtin-metadata.ts +2 -2
- package/src/adapters/definitions/native-cli-claude-launch.ts +3 -1
- package/src/adapters/definitions/native-cli-entry-claude.ts +17 -2
- package/src/adapters/definitions/native-cli-entry-codex.ts +2 -0
- package/src/adapters/definitions/native-cli-entry-jcode.ts +2 -0
- package/src/adapters/definitions/native-cli-entry-kimi.ts +2 -0
- package/src/adapters/definitions/native-cli-entry-pi.ts +2 -0
- package/src/adapters/definitions/native-cli-entry-qwen.ts +2 -0
- package/src/adapters/definitions/native-cli-entry-types.ts +3 -1
- package/src/adapters/definitions/native-cli-jcode-home-init.ts +1 -1
- package/src/adapters/definitions/native-cli-preview-common.ts +1 -1
- package/src/adapters/definitions/native-config-defaults.ts +1 -1
- package/src/adapters/jcode.ts +16 -0
- package/src/adapters/native-facts-hooks.ts +12 -0
- package/src/cli/autonomy-offline.ts +1 -1
- package/src/cli/bench.ts +1 -1
- package/src/cli/claude-profile-hook.ts +31 -11
- package/src/cli/commands/releases.ts +82 -0
- package/src/cli/conductor-recovery.ts +1 -1
- package/src/cli/facts-hook.ts +11 -4
- package/src/cli/help.ts +8 -6
- package/src/cli/identity.ts +5 -1
- package/src/cli/init-prompt.ts +1 -1
- package/src/cli/init-settings.ts +4 -35
- package/src/cli/init.ts +1 -1
- package/src/cli/json-text-spans.ts +57 -0
- package/src/cli/launch-check.ts +157 -0
- package/src/cli/launch.ts +19 -1
- package/src/cli/main.ts +44 -3
- package/src/cli/memory.ts +1 -1
- package/src/cli/output.ts +14 -1
- package/src/cli/preview.ts +1 -1
- package/src/cli/recovery-launch.ts +1 -1
- package/src/cli/setup-homes.ts +2 -2
- package/src/cli/start-agents-run.ts +85 -7
- package/src/cli/start-check.ts +28 -0
- package/src/cli/upgrade-runtime.ts +1 -1
- package/src/cli/warn-line.ts +1 -1
- package/src/hub/ci-watch.ts +311 -79
- package/src/hub/config-apply.ts +1 -1
- package/src/hub/config.ts +518 -0
- package/src/hub/control-client.ts +1 -1
- package/src/hub/daemon.ts +76 -513
- package/src/hub/delivery-public.ts +11 -0
- package/src/hub/hub-check.ts +125 -0
- package/src/hub/path-policy.ts +1 -1
- package/src/hub/permission-mode.ts +3 -40
- package/src/hub/permission-paths.ts +41 -0
- package/src/hub/recovery-policy.ts +1 -1
- package/src/hub/releases-inventory.ts +198 -0
- package/src/hub/runtime-capture-prune.ts +25 -3
- package/src/hub/runtime-prune-health.ts +8 -1
- package/src/hub/sdlc-release-authorization.ts +42 -21
- package/src/hub/sdlc-release-diagnostics.ts +5 -0
- package/src/hub/sdlc-release-policy.ts +21 -7
- package/src/hub/sdlc-release.ts +80 -20
- package/src/hub/sdlc.ts +7 -3
- package/src/hub/tasks.ts +138 -36
- package/src/ui/plugin.ts +1 -1
package/docs/operations.md
CHANGED
|
@@ -493,7 +493,8 @@ example the parent of a retry, whose redelivery is a separate row) is refused as
|
|
|
493
493
|
`already resolved`, never `stale revision`. `ahub queue show` on a failed row says
|
|
494
494
|
that nothing is left to do, or, if the row is unsettled, prints the full `ahub queue
|
|
495
495
|
resolve` command with the project directory, revision, `--action discard` and a
|
|
496
|
-
prefilled reason, and names `completed` as the other choice (#1098, #1399).
|
|
496
|
+
prefilled reason, and names `completed` as the other choice (#1098, #1399). It also
|
|
497
|
+
prints the stored failure reason; a private delivery shows a fixed stub instead (#1795).
|
|
497
498
|
|
|
498
499
|
`ahub queue discard --peer <id> --reason <text> [--state queued|needs_review|failed] [--yes] [--json]` clears one peer's backlog and is for the person or the configured conductor (any other agent identity is
|
|
499
500
|
refused, and a remote `peer@label` queue is the person's only). Without `--yes` it only says how many deliveries it would discard; with `--yes` it discards each delivery of that peer through the
|
|
@@ -3633,6 +3634,16 @@ verified native id; reattach the native session before further hub delivery`:
|
|
|
3633
3634
|
end its TUI and relaunch it (`ahub codex resume <thread-id>`) before resolving
|
|
3634
3635
|
the held delivery.
|
|
3635
3636
|
|
|
3637
|
+
### Reading the hub check (#1798)
|
|
3638
|
+
|
|
3639
|
+
`ahub up` prints a `Hub check` block after it starts the default agents: it waits up to `--wait <seconds>` (default 15, at most 600) for the agents it started to attach, then prints one line per agent. Reading the check has its own five-second limit, including connecting and retries. The command can take up to five seconds beyond `--wait`. `✓` means the link is what the launch intended. `⚠` names the link (`tools-only`, `unverified`, `detached`), the evidence value, the queued count and the full command that fixes it. An agent that has not attached by the bound shows `pending`. A refused start shows `refused` with its cause and next step. Neither is OK. When the hub check cannot be read, text reports it as unavailable and JSON returns `{ "hubCheck": { "unavailable": true, "cause": "the hub check could not be read from the hub", "nextStep": "ahub status" } }`. Otherwise `ahub up --json` prints the same data as `{ "hubCheck": ... }`, and `ahub status --json` carries it as `hubCheck`. `ahub status` lists every peer whose link is weaker than expected in Attention, with that command as its next step. A line carries peer ids, link names, counts and commands, never task text. A Claude session `unverified` here was not started by `ahub claude` (or was started with its channel flag displaced): relaunch it with the printed command, and its queued messages stay until it attaches (`hub_inbox` still reads them).
|
|
3640
|
+
|
|
3641
|
+
### The Hub check at an agent's start (#1798)
|
|
3642
|
+
|
|
3643
|
+
`ahub claude`, `ahub codex`, `ahub kimi`, `ahub jcode`, `ahub pi`, `ahub qwen` and `ahub agy` print a `Hub check` to stderr before the agent starts (TUI launches only, and only when stderr is a terminal: with stderr redirected or piped nothing prints and `ahub claude` makes no connection for it, and `ahub status` shows the same state). The agent has not started, so its line is neutral: it says the agent is starting, its expected link, its queued count and `ahub status` to run once it has started. If the hub's check shows a state for the agent that is not offline, a second line gives it as the state before this launch (it does not mean that session is still attached). A hub that cannot be read in time, or an older hub without the check, prints one warning with `ahub status`. In Claude, a `SessionStart` notice (startup and resume only) shows the check again once the session is up, and says `pending` until this session's own channel has attached. Kimi and agy show the wrapper line only: no start output the person sees is confirmed for either. The line is ids, states, counts and commands, never task text.
|
|
3644
|
+
|
|
3645
|
+
The check itself adds no wait to the wrappers that reuse the status read they already make, and at most 3 seconds to `ahub claude` (one connection attempt, no retry, one deadline; a hub that cannot be read prints one warning and Claude still starts). The existing status reads in the other wrappers can still wait up to 30 seconds on a hub that accepts and never replies, and this change does not alter that. `local` and the hub-started headless paths print no check, and `--print-command` and `--dry-run` read nothing for it.
|
|
3646
|
+
|
|
3636
3647
|
### Claude sessions without channel pushes
|
|
3637
3648
|
|
|
3638
3649
|
Only `ahub claude` starts Claude Code with the development-channel flag. A
|
|
@@ -4261,6 +4272,8 @@ record/capture requires inspection or restoration.
|
|
|
4261
4272
|
Archiving the record deliberately resets first-use selection; archived copies
|
|
4262
4273
|
are not active pruning references.
|
|
4263
4274
|
|
|
4275
|
+
Entries the worker never touches (bare coordinator sources, registry installs, unknown layouts) are the person's to inspect and remove (#1781). `ahub releases list [--json]` classifies each entry under `$AGENTHUB_HOME/releases` as `capture`, `coordinator-source`, `registry-install` or `unknown`, with version, digest, size and what refers to it: a registered project's `runtime.json`, a recovery receipt, the live manager, a running process or the CLI itself. `ahub releases prune [--kind <capture|coordinator-source|registry-install>] [--older-than <days>] [--apply] [--json]` previews the removable set and removes nothing without `--apply`. An entry changed within the last hour is kept unless `--older-than 0` is given, because an upgrade or a stage writes its source before its receipt or `runtime.json` exists. With `--apply`, every entry is rechecked immediately before it moves, under the registry writer lock the worker uses, and then removed through a reserved `.runtime-prune-` quarantine name. It reads references through the worker's own observation, so an unreadable registry, project state directory, recovery directory or process table keeps every entry and prints the cause and the next step; `unknown` entries and symlinks are listed and never removed, and a legacy install that holds one (a leftover `.runtime-prune-*` quarantine, a symlinked source, a referenced capture) is kept whole. Each entry's identity and children are compared again under the lock against the listing, so an entry that changed since `list` is skipped. If deleting a quarantined entry fails, the command names the `releases/.runtime-prune-*` path and `ahub doctor` reports it; delete it by hand. Both commands are the person's own: an agent session is refused.
|
|
4276
|
+
|
|
4264
4277
|
A scoped upgrade leaves the global CLI and shared Claude plugin unchanged.
|
|
4265
4278
|
Update the CLI separately with `bun add --global @staix/agent-hub@<version>`, then
|
|
4266
4279
|
run `ahub setup` for the plugin. `ahub doctor` reports either tool when its known
|
|
@@ -4280,7 +4293,10 @@ capabilities still require their own labels. A disjoint window refuses with 4426
|
|
|
4280
4293
|
The compatibility-floor `protocol` field remains readable by old clients.
|
|
4281
4294
|
|
|
4282
4295
|
Release N-1 is counted in minor versions, separately from this protocol window
|
|
4283
|
-
(#1164, family contract entelecheia/ai-workspace#70). For 0.
|
|
4296
|
+
(#1164, family contract entelecheia/ai-workspace#70). For 0.51.x, N-1 is 0.50.0,
|
|
4297
|
+
the latest published patch of 0.50.x (declared `@staix/agent-mem` `>=0.42.0 <1.0.0`,
|
|
4298
|
+
0.43.0 in its fixture lock, control protocol 17 with descriptor floor 16). Every
|
|
4299
|
+
patch on 0.51.x keeps that release baseline. For 0.50.x, N-1 is 0.49.1,
|
|
4284
4300
|
the latest published patch of 0.49.x (declared `@staix/agent-mem` `>=0.42.0 <1.0.0`,
|
|
4285
4301
|
0.42.0 in its fixture lock, control protocol 17 with descriptor floor 16). Every
|
|
4286
4302
|
patch on 0.50.x keeps that release baseline. For 0.49.x, N-1 is 0.48.4,
|
|
@@ -5901,6 +5917,36 @@ session may turn protection on but cannot weaken it. No agent surface changes it
|
|
|
5901
5917
|
Like other machine-local security defaults, loading it requires git to establish
|
|
5902
5918
|
that the file is untracked; a dropped value is reported by the settings result.
|
|
5903
5919
|
|
|
5920
|
+
## Automatic CI shard retries
|
|
5921
|
+
|
|
5922
|
+
Set `ci_shard_retries` in `.agenthub/sdlc.toml` and restart the hub. The setting
|
|
5923
|
+
accepts integers from 0 through 3 and defaults to 0 (off). Older hubs refuse a
|
|
5924
|
+
file containing this key. Set it only after every hub reading the file supports
|
|
5925
|
+
it. The budget applies per required shard and exact PR head. The hub retries only a ready PR
|
|
5926
|
+
in review or approved for the project's GitHub origin, when the watcher can
|
|
5927
|
+
attribute one failed required shard to that PR's completed `pull_request`
|
|
5928
|
+
workflow run. It reports the failed check when the retry budget is used or the
|
|
5929
|
+
evidence cannot safely identify a single failed shard. Draft deferrals never
|
|
5930
|
+
trigger a retry. When an eligible run is still active, the watcher waits for it
|
|
5931
|
+
to finish before deciding whether to rerun. Each confirmed rerun grants one new
|
|
5932
|
+
phase deadline. The owner and conductor receive a final failure even if the
|
|
5933
|
+
watcher reported an earlier failure for that head.
|
|
5934
|
+
|
|
5935
|
+
A `ci_rerun` notice names the shard and the requested retry number. An
|
|
5936
|
+
`unconfirmed` attempt still counts. The task history records the reservation
|
|
5937
|
+
before GitHub is called, including the failed shard's start time. A copied check
|
|
5938
|
+
row keeps its original start time even when GitHub labels it with a newer run
|
|
5939
|
+
attempt. The watcher treats that row as the same failure. A restart preserves
|
|
5940
|
+
the reservation, and pushing a new head starts a new count. A failed outcome
|
|
5941
|
+
tells the owner and conductor which shard or required check needs attention.
|
|
5942
|
+
|
|
5943
|
+
- If another required check fails and is reported during a rerun, the watcher
|
|
5944
|
+
reports the rerun shard's final failure separately only after the other check
|
|
5945
|
+
clears.
|
|
5946
|
+
- If GitHub reports mergeability as `UNKNOWN` when the shard fails, the failed
|
|
5947
|
+
notice can arrive before the rerun. Once GitHub reports `MERGEABLE`, the watcher
|
|
5948
|
+
can request the rerun and report its final failure.
|
|
5949
|
+
|
|
5904
5950
|
## SDLC artifact receipts and gates
|
|
5905
5951
|
|
|
5906
5952
|
The playbook lifecycle (#257, #481) is off without `.agenthub/sdlc.toml`. When enabled its stages are intent, spec, plan, build, test, review, merge, release and maintain, grouped as Plan, Design, Build, Test, Deploy and Maintain. Advise shows blockers; enforce checks implemented head-bound review and approval gates. Stored implement/verify receipts read as build/test; new enabled receipts use canonical ids. See [the SDLC contract](sdlc.md) for gates, required check names, local receipts, console-only readbacks and the S0-S8 delivery table. A person accepts a spec issue with `ahub sdlc accept <task> --issue <n>` (S1). A PR merged outside the hub is recorded with `ahub sdlc adopt-merge <task> --pr <n>` (person or current conductor), which approves the task and releases dependents only at its recorded head with green required checks ([adoption](sdlc.md#adopting-a-pr-merged-outside-the-hub-1328-t3)). The planner records plan reviews with review and CI scope (`hub_plan_review`, `ahub sdlc plan-review`) and grooms with `ahub backlog groom`; `ahub backlog return <task> <revision> <reason>` returns accepted, untouched work (S9). `ahub sdlc costs [owner/repo]` reports review rounds and CI runs of merged PRs without writing the board (S10). `ahub sdlc metrics [--since <YYYY-MM-DD|ISO time>]` (the planner tool `hub_sdlc_metrics`, planner or person, read-only) reports lead times, first-pass approval and check rates, rework rounds, stale-head re-reviews and open stalls from board history, with `unknown` counted and never 0; optional `[bands.<metric>]` in `sdlc.toml` add control bands that the daemon checks every five minutes in advise or enforce, writing a hub notice (`log`), a read-only `triage` backlog task (`diagnose`) or a `plan` backlog card (`propose`), one per breach episode and never a GitHub issue (S7, see [metrics](sdlc.md#sdlc-metrics-and-control-bands-481-s7)). With the lifecycle on, a task's issue identity is linked when it is proposed or accepted, from the one issue it names (an imported GitHub issue, or a `#N`, `owner/repo#N` or issue URL in its title); a title that names a sibling repository (`agent-mem#13`) links only when `refs.repo` names it, and without `refs.repo` the propose result says to set it. `ahub backlog groom` also backfills up to 32 links per call, within 1 s (#723). S11 release trains ship in 0.12.37 (see [release scheduling](#planner-release-scheduling)). S3 structured review findings (an open Important finding blocks approval in enforce; `max_nits` in `sdlc.toml` caps nits) and S2 literal-path plan conformance with the person-only `ahub sdlc accept-departure <task> <head> <reason...>` are in source; see [findings](sdlc.md#structured-review-findings-481-s3) and [plan conformance](sdlc.md#plan-conformance-481-s2). S4 [test integrity](sdlc.md#test-integrity-481-s4) and S6 [release authorization](#release-approval-and-optional-tag-guard) are in source too. S5 is in source as an [eval gate mechanism](sdlc.md#eval-gate-for-agent-configuration-481-s5) with no suite chosen, and S7 adds merge-time readback, [release metrics](sdlc.md#release-metrics-481-ac12) and an opt-in security baseline; a full live advise/release cycle and the per-release gates-run record remain pending. Owners/reviewers record bounded identities through `hub_sdlc_record`; these grant no additional authority. Off output, receipt and schema shapes stay unchanged. #1403 adds a `[security]` table whose paths need a recorded `security_pass` on the approving review ([security pass](sdlc.md#security-pass-for-sensitive-paths-hub-task-895-1403-a2)), `ahub sdlc audit start|show` with a hub-written coverage ledger ([audit](sdlc.md#security-audit-with-a-coverage-ledger-hub-task-896-1403-a4-a5)), plan intent fields with advisory base drift on accept and done, and `ahub sdlc survey start|show` ([surveys](sdlc.md#advisor-surveys-and-considered-findings-1403-t7)); while survey or considered-finding state exists, a restart, upgrade or recovery onto a target without `advisor_surveys` is refused. The person may instruct the configured conductor in its own session to run `ahub sdlc configure` for `off`/`advise` and required checks ([#1432](sdlc.md#instructed-conductor-configuration-1432)). In `advise` or `enforce`, `ahub sdlc readback start|show <task>` (person or current conductor) asks a reviewer-role peer that neither proposed nor owns the task to state the spec issue back, a report that never gates acceptance ([spec read-back](sdlc.md#spec-read-back-1658)), and an optional `[risk]` table in `sdlc.toml` derives a risk tier from a filed change's paths, a `high` change owing a verifier card from a peer other than the implementer ([risk tier](sdlc.md#minimum-review-by-risk-tier-1645)).
|
|
@@ -6771,7 +6817,7 @@ Start them with `ahub claude --as claude-review`, `ahub codex --as codex-review`
|
|
|
6771
6817
|
|
|
6772
6818
|
Codex requires a verified `codex-cli` (0.146.0, 0.163.0, 0.164.0, 0.166.0 or 0.169.0) or one the person trusts on this machine, and a passing bounded runtime receipt before its model child starts. 0.146.0 and 0.163.0 passed the [2026-10-22 model-free production admission](verification/2026-10-22-codex-reviewer-isolation.md) and 0.164.0 the [2026-10-24 one](verification/2026-10-24-codex-0164-reviewer-isolation.md); 0.166.0 passed the [2026-10-31 model-free procedure](verification/2026-10-31-codex-0166-reviewer-isolation.md). Its [first authorized model review](verification/2026-10-31-codex-0166-reviewer-tool-call.md) missed a marker hidden by the fixture's accepted plan, so that admission was reverted. After a committed model-free envelope regression and a fixture correction, the separately authorized [2026-11-02 single model review](verification/2026-11-02-codex-0166-reviewer-tool-call.md) persisted one approved verdict with the required marker and exact head; 0.166.0 is now verified. 0.167.0 passed the [2026-11-06 model-free procedure](verification/2026-11-06-codex-0167-reviewer-isolation.md) with 0.166.0 as control. The separately authorized [single model-backed attempt](verification/2026-11-06-codex-0167-reviewer-tool-call.md) failed a harness readiness/readback check after startup and marker preconditions; a complete persisted verdict/head/marker result was not recorded, so the model/tool outcome is unknown and 0.167.0 remains unverified. No retry was made. It joins the verified set only after a separately authorized model-backed tool-call run succeeds; until then it is refused unless the person runs `ahub agents trust codex-review 0.167.0`, and every runtime proof still runs. 0.167.2 passed the [2026-11-13 model-free procedure](verification/2026-11-13-codex-01672-reviewer-isolation.md) with 0.166.0 and 0.167.0 as controls and stays out of the verified set on the same terms (`ahub agents trust codex-review 0.167.2`). 0.169.0 passed the [2026-11-14 model-free procedure](verification/2026-11-14-codex-0169-reviewer-isolation.md) with 0.166.0 and 0.167.2 as controls (six of the seven re-read source files changed and were re-read, and the app-server schema comparison found no removed type, property or enum value), and the separately authorized [single model-backed review](verification/2026-11-14-codex-0169-reviewer-tool-call.md) persisted one approved verdict with the required marker and exact head; 0.169.0 is verified. Four earlier starts of that harness were refused at the isolation proof before any model request, a fixture deny-list artifact that the receipt records. A refusal names the installed and verified versions. Either set `codex_bin` to a verified executable, or run `ahub agents trust codex-review <version>`: trust lifts only the version pin, and every proof below still runs before each child (#691). Each launch approves exactly `hub_review` and `hub_task_show` per tool (`approval_mode = "approve"`), never through a server-wide default: without it Codex 0.164.0 listed the tools but refused the call, so reviews ended with no verdict (#783). A model-free receipt proves the inventory, not that a verdict reaches the hub; a [model-backed 0.164.0 run](verification/2026-10-25-codex-0164-reviewer-tool-call.md) recorded one verdict through that path. The producer checks native binary/config stability, configured MCP inventory with only the two hub tools, effective Apps/plugins/hooks disablement, an explicit empty legacy `notify` command and a named filesystem profile. Apps needs separate feature readback because configured inventory omits runtime connectors. Web search is requested disabled; its effective turn mode is not read back and managed requirements can select Cached (see the verification ceiling). Each launch proves public-read, exact/glob/symlink private-denial, standard host credential denial and write-denial in temporary fixtures. Standard credential and configured tool-home/XDG subtrees are denied independently of project `local.deny`. Its sandboxed shell is filesystem read-only with private paths denied and network configured disabled; it is not Claude's Read/Grep/Glob-only tool whitelist. No credential home is copied.
|
|
6773
6819
|
|
|
6774
|
-
Kimi requires a compat-admitted Kimi Code on the hub's PATH (receipt-verified 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.1, 2.5.1 and 2.
|
|
6820
|
+
Kimi requires a compat-admitted Kimi Code on the hub's PATH (receipt-verified 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.1, 2.5.1, 2.7.2 and 2.8.1), signed in through its managed OAuth provider, and a passing runtime preparation before each child; an unverified/untrusted version or a failed preparation is unavailable with its reason. The [2.8.1 receipt](verification/2026-11-29-kimi-281-reviewer-compat.md) covers headless reviewer compatibility. Interactive [2.8.1 TUI completion](verification/2026-11-29-kimi-tui-281.md) remains unverified. The [2.3.0](verification/2026-10-22-kimi-qwen-compat.md), [2.3.1](verification/2026-10-25-kimi-231-reviewer-compat.md), [2.3.2](verification/2026-10-26-kimi-232-reviewer-compat.md), [2.4.1](verification/2026-10-31-kimi-241-reviewer-compat.md) and [2.5.1](verification/2026-11-06-kimi-251-reviewer-compat.md) receipts are model-free and do not verify real login/provider readiness. Each review runs a new `kimi -p` child without Seatbelt, in a private `KIMI_CODE_HOME` with managed-provider-only config, a clean temporary working directory and an empty skills directory. Its agent may call only `hub_review` and `hub_task_show`, through a task-bound loopback MCP session that never carries the hub's control token, and has no native read, file or shell tool: it reviews the screened brief and host facts only. Its `credentials/`, `oauth/` and `device_id` link to the person's native Kimi files, so it shares the native login, refresh lock and the Kimi account's budget; no token is copied. A stop revokes its verdict authority first, then waits briefly while an OAuth refresh holds the lock; a forced stop mid-refresh may require a native re-login. The Kimi backend records no measured token counts here, so its usage stays unknown; the 2.3.0 receipt makes no usage claim. This is a native tool-authority boundary, not filesystem or network isolation.
|
|
6775
6821
|
|
|
6776
6822
|
A dangling or unreadable standard/configured credential root makes the Codex reviewer unavailable with only its path class in the reason (for example `~/.docker` or `$DOCKER_CONFIG`, never an expanded path or contents); repair the root and start the reviewer again.
|
|
6777
6823
|
|
package/docs/quickstart.md
CHANGED
|
@@ -18,7 +18,7 @@ Or use the matching GitHub release:
|
|
|
18
18
|
|
|
19
19
|
<!-- facts:install-tag -->
|
|
20
20
|
```bash
|
|
21
|
-
bun add -g github:STAIxBWLB/agent-hub#v0.
|
|
21
|
+
bun add -g github:STAIxBWLB/agent-hub#v0.51.0
|
|
22
22
|
ahub setup
|
|
23
23
|
```
|
|
24
24
|
<!-- /facts:install-tag -->
|
|
@@ -39,6 +39,11 @@ If the dotfiles CLI manages ahub (`dot ai family install ahub`), `ahub` runs fro
|
|
|
39
39
|
- After 0.33.0, `ahub setup` replaces it and `ahub doctor` names the home that needs it.
|
|
40
40
|
- With 0.33.0 or earlier, delete that one entry from `hooks.PreToolUse` in that home's `settings.json`; `ahub setup` has already installed the current one (#1245).
|
|
41
41
|
|
|
42
|
+
On macOS and Linux, `ahub setup` installs a shell guard for the Claude profile
|
|
43
|
+
`PreToolUse` hook. It starts Bun only when both hub state and peer markers are
|
|
44
|
+
present and the launch marker is unset. Run `ahub setup` in the intended Claude
|
|
45
|
+
home to refresh a legacy hook that doctor reports as outdated.
|
|
46
|
+
|
|
42
47
|
`ahub doctor` tells you what is installed, running and configured. Rows you do not need can stay red: the hub works with any subset of the peers.
|
|
43
48
|
|
|
44
49
|
Who conducts, plans and reviews is yours to choose, including with no commercial agent at all: see [choosing who conducts, plans and reviews](roles.md#choosing-who-conducts-plans-and-reviews).
|
|
@@ -54,6 +59,18 @@ A project whose hub is stopped is upgraded without starting it: `ahub upgrade
|
|
|
54
59
|
--all-stopped --to <version>` does that for every stopped project at once
|
|
55
60
|
(`--dry-run` lists each one first).
|
|
56
61
|
|
|
62
|
+
## Upgrading to 0.51.0
|
|
63
|
+
|
|
64
|
+
**Restart Claude sessions that were started by 0.49.0, 0.49.1 or 0.50.0.** Those versions put a generated session ID ahead of the channel flag, so `ahub claude` could attach `tools-only`: the session worked, but hub messages waited until it called `hub_inbox` (#1794). 0.51.0 puts the flag first again. A session that is already running keeps its old arguments, and upgrading the hub does not change them. In each project, `ahub status` now lists such a session under Attention. Exit that Claude session and start it again with `ahub claude` in the same project. `ahub claude --continue` continues the latest conversation there.
|
|
65
|
+
|
|
66
|
+
You can now see the hub's state when you start it. `ahub up` waits up to 15 seconds (change this with `--wait <seconds>`, at most 600) for the agents it starts, then prints a `Hub check` block. Every `ahub <agent>` terminal command prints a `Hub check` before the agent starts, and Claude shows it again once its channel is verified. Kimi Code and agy show it only in the output of their `ahub` command, before the agent starts. With stderr redirected, the commands that start an agent print no check; `ahub status` shows the same state.
|
|
67
|
+
|
|
68
|
+
The hub now follows a recorded pull request's CI from draft to merge readiness, and tells the owner, the reviewer and the conductor about results, conflicts and missing runs. Automatic retries of a failed CI shard stay off unless you set `ci_shard_retries` (1 to 3) in `.agenthub/sdlc.toml`. **Do not add that field until every hub that reads the file runs 0.51.0:** a 0.50.0 hub refuses to start with it.
|
|
69
|
+
|
|
70
|
+
`ahub releases list` shows what is kept under the hub home's `releases` directory, and `ahub releases prune` previews what can be removed. It removes nothing without `--apply`. Run `ahub setup` after the upgrade to replace an older Claude profile hook with one that starts Bun only in hub sessions.
|
|
71
|
+
|
|
72
|
+
`ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.51.0` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
|
|
73
|
+
|
|
57
74
|
## Upgrading to 0.50.0
|
|
58
75
|
|
|
59
76
|
Nothing changes until you use something new. A launcher can now read the dashboard link as data: `ahub ui --no-open --json` (with `--settings` or `--all` too) prints one JSON line with `url`, `origin`, `mode` and `settings`, and `ahub ui --all --stop --json` prints a stop receipt. Plain output is unchanged. The memory library resolves agent-mem 0.43.0, which pins mcp-stdio 0.5.0. The declared range stays `>=0.42.0 <1.0.0`, and store and sync formats do not change. Release N-1 for 0.50.x is 0.49.1.
|
package/docs/roadmap.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"ref": "staixbwlb/agent-hub#1445",
|
|
24
|
-
"state": "
|
|
24
|
+
"state": "closed"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"ref": "staixbwlb/agent-hub#1578",
|
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
"specs": [
|
|
44
44
|
{
|
|
45
45
|
"id": "cli-output",
|
|
46
|
-
"state": "
|
|
46
|
+
"state": "fresh"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
49
|
"progress": {
|
|
50
50
|
"tasks": {
|
|
51
51
|
"approved": 36,
|
|
52
|
-
"total":
|
|
52
|
+
"total": 40
|
|
53
53
|
},
|
|
54
54
|
"issues": {
|
|
55
|
-
"closed":
|
|
55
|
+
"closed": 6,
|
|
56
56
|
"total": 7,
|
|
57
57
|
"unknown": 0
|
|
58
58
|
},
|
|
59
59
|
"specs": {
|
|
60
|
-
"fresh":
|
|
60
|
+
"fresh": 1,
|
|
61
61
|
"stale": 0,
|
|
62
62
|
"unverified": 0,
|
|
63
|
-
"unknown":
|
|
63
|
+
"unknown": 0,
|
|
64
64
|
"total": 1
|
|
65
65
|
},
|
|
66
66
|
"releases": {
|
|
@@ -113,47 +113,47 @@
|
|
|
113
113
|
"specs": [
|
|
114
114
|
{
|
|
115
115
|
"id": "adapters",
|
|
116
|
-
"state": "
|
|
116
|
+
"state": "fresh"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"id": "agent-hub",
|
|
120
|
-
"state": "
|
|
120
|
+
"state": "stale"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"id": "agent-hub-architecture",
|
|
124
|
-
"state": "
|
|
124
|
+
"state": "fresh"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"id": "bus",
|
|
128
|
-
"state": "
|
|
128
|
+
"state": "fresh"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
"id": "execution-reference",
|
|
132
|
-
"state": "
|
|
132
|
+
"state": "fresh"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
"id": "guidance-experiments",
|
|
136
|
-
"state": "
|
|
136
|
+
"state": "fresh"
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"id": "guidance-probes",
|
|
140
|
-
"state": "
|
|
140
|
+
"state": "stale"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"id": "model-routes",
|
|
144
|
-
"state": "
|
|
144
|
+
"state": "fresh"
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"id": "roadmap",
|
|
148
|
-
"state": "
|
|
148
|
+
"state": "stale"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"id": "supervision",
|
|
152
|
-
"state": "
|
|
152
|
+
"state": "fresh"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"id": "task-board",
|
|
156
|
-
"state": "
|
|
156
|
+
"state": "fresh"
|
|
157
157
|
}
|
|
158
158
|
],
|
|
159
159
|
"progress": {
|
|
@@ -167,10 +167,10 @@
|
|
|
167
167
|
"unknown": 0
|
|
168
168
|
},
|
|
169
169
|
"specs": {
|
|
170
|
-
"fresh":
|
|
171
|
-
"stale":
|
|
170
|
+
"fresh": 8,
|
|
171
|
+
"stale": 3,
|
|
172
172
|
"unverified": 0,
|
|
173
|
-
"unknown":
|
|
173
|
+
"unknown": 0,
|
|
174
174
|
"total": 11
|
|
175
175
|
},
|
|
176
176
|
"releases": {
|
package/docs/roadmap.md
CHANGED
|
@@ -8,10 +8,10 @@ Generated from the public roadmap view.
|
|
|
8
8
|
|
|
9
9
|
Startup reconcile bounded, task detail never cut silently, compat CI opens its own verification PRs, every command meets CLI output standard v1, the top CI flake is gone, and a moved repository keeps its registration
|
|
10
10
|
|
|
11
|
-
State: active. Tasks: 36/
|
|
11
|
+
State: active. Tasks: 36/40 approved. Issues: 6/7 closed; 0 unknown. Private tasks withheld: 0.
|
|
12
12
|
- staixbwlb/agent-hub#1248: closed
|
|
13
13
|
- staixbwlb/agent-hub#1424: closed
|
|
14
|
-
- staixbwlb/agent-hub#1445:
|
|
14
|
+
- staixbwlb/agent-hub#1445: closed
|
|
15
15
|
- staixbwlb/agent-hub#1578: closed
|
|
16
16
|
- staixbwlb/agent-hub#1648: closed
|
|
17
17
|
- staixbwlb/agent-hub#1654: closed
|
package/docs/sdlc.md
CHANGED
|
@@ -117,7 +117,8 @@ release authorization. For a project with `package.json` and no
|
|
|
117
117
|
|
|
118
118
|
`release.version` may instead be `release-notes` with `release.notesPath`
|
|
119
119
|
(default `docs/releases/v{version}.md`), or `none` for an exact-commit version
|
|
120
|
-
binding. Use `release.docs: "checker"`
|
|
120
|
+
binding. Use `release.docs: "checker"` for the bundled hub checker, or set
|
|
121
|
+
`release.docs: { "command": "scripts/check-docs.mjs" }` for a project checker.
|
|
121
122
|
`none` is refused while that manifest exists; local config does not override
|
|
122
123
|
committed release policy. This exemption skips documentation checking only,
|
|
123
124
|
without supplying release consent, a tag or publication.
|
|
@@ -672,7 +673,7 @@ write nothing. If the file was saved but result auditing fails, the refusal says
|
|
|
672
673
|
|
|
673
674
|
From the running daemon's candidate checkout, the person or the one configured conductor runs `ahub sdlc authorize-release <version>` (#1063). The conductor acts only on the person's explicit instruction in its own session naming that release. A hub message, task text, review note, file or another peer's relay is never that instruction; the daemon cannot verify this cooperative rule. A conductor request uses the tools role and refuses a child `toolsOwner`, private turn or PII context, exactly like `sdlc merge`. Other peers and `--live-test` refuse. By default, consent binds the exact current commit, committed package version, origin fetch/push identity and fresh committed documentation evidence, all reread after the docs check. Receipt `by` and the append-only metadata audit identify the actual asker alongside the approval id, commit, version and, when checked, the docs digest/count. The authoritative ledger is daemon-owned memory: restart revokes every approval; audit history cannot restore one.
|
|
674
675
|
|
|
675
|
-
Release source policy is read only from `.agenthub/config.json` as committed at the candidate commit. A missing shared config keeps the existing defaults; unreadable or malformed committed policy refuses authorization. Release keys in `.agenthub/config.local.json` are ignored with a notice, and neither local config nor runtime settings can override the committed contract. `release.version` defaults to `package.json`; `release-notes` checks a regular committed notes blob at `release.notesPath` (default `docs/releases/v{version}.md`), and `none` binds the requested semantic version to the exact commit. `release.docs` defaults to `checker
|
|
676
|
+
Release source policy is read only from `.agenthub/config.json` as committed at the candidate commit. A missing shared config keeps the existing defaults; unreadable or malformed committed policy refuses authorization. Release keys in `.agenthub/config.local.json` are ignored with a notice, and neither local config nor runtime settings can override the committed contract. `release.version` defaults to `package.json`; `release-notes` checks a regular committed notes blob at `release.notesPath` (default `docs/releases/v{version}.md`), and `none` binds the requested semantic version to the exact commit. `release.docs` defaults to the bundled `checker`. A `{ "command": "<repository-relative path>" }` policy runs that committed regular file with the hub runtime and fixed arguments `<root> --json --committed`. The checkout path and file hash must match the candidate blob before execution. Project checkers return schema-1 evidence for the candidate head and version, with document states, dirty flags, an error count and freshness. An optional `messages` array carries up to three 300-character diagnostics. A command-based receipt binds the path and blob digest; readiness and the publish guard use the same policy. `none` is allowed only when the candidate has no regular `docs/verified.json` blob. A committed manifest keeps the documentation-evidence step required; remove `release.docs` from `.agenthub/config.json` or remove the manifest, commit the change and authorize again. For a project without that manifest, `none` skips only documentation evidence and is recorded as an explicit exemption with no freshness digest or document count. All source modes retain the person/conductor boundary, exact commit and origin binding. `npm publish` requires a clean tracked worktree and derives its target from committed `package.json`; with an alternate version source, that package version must identify the same configured target.
|
|
676
677
|
|
|
677
678
|
`ahub sdlc release <owner/repo>` keeps the existing package.json-default version and receipt output. For `release-notes` or `none`, it selects the latest successful receipt only when its commit, repository, origin and committed policy match this report; it rechecks the notes blob for the receipt version, or reports the `none` version bound by that receipt. Without an eligible receipt it prints `version undetermined`, names the configured source and points to `ahub sdlc authorize-release <version>`. It never guesses from a tag, notes filename or stale receipt. A source revalidation failure is stale/unknown consent and `ready` remains false. `docs:none` is shown as an explicit exemption and performs no documentation read. Authorization removes only the person-decision blocker. Native acceptance remains unverified and `ready` remains false until separately supported. No tag, workflow or publication is changed by authorization or readback.
|
|
678
679
|
|
|
@@ -2843,6 +2843,7 @@ push `accepted` and show none of them.
|
|
|
2843
2843
|
- Status: `status.json` peers carry `toolsOnly`, a line naming the state and the
|
|
2844
2844
|
next action (`ahub claude`); `ahub status`, the console footer and the
|
|
2845
2845
|
dashboard show it.
|
|
2846
|
+
- Hub check (#1798): the status reply carries one `hubCheck` the daemon builds from peer state it already holds (`src/hub/hub-check.ts`): `version`, `controlPort`, and per peer `expected` (`push` or `pull`), `observed` (`push`, `tools-only`, `pull-only`, `detached`, `unverified`, `pending`, `offline`, `refused`), the attach `evidence`, `pullOnly`, `detached`, `queued`, `ok`, and for a weakened or pending link a `cause` and the full `nextStep` command. A row never carries task text or a message body. `ahub status` (Attention), `ahub up` (`Hub check` block, `--json` the same data) and later surfaces render this one result and never recompute it. For `ahub up`, a start refusal is rendered as `refused` with the start cause and next step. Attachment waiting follows `--wait`. Acquiring a usable check has a separate five-second limit covering connect, status reads and retries, so the command can take up to five seconds beyond `--wait`. If no check can be read, the text names the cause and next step, and `--json` returns `{ "hubCheck": { "unavailable": true, "cause": "the hub check could not be read from the hub", "nextStep": "ahub status" } }`. Per-agent surfaces today: Attention in `ahub status` for every agent, the `ahub up` block for the agents it started, and the launcher self-check for Claude (#1798 AC1); the wrapper pre-launch line (every `ahub <agent>` TUI wrapper, printed only when stderr is a terminal; with stderr redirected nothing prints, Claude makes no connection for it, and `ahub status` shows the same state) and the Claude session-start notice follows it (#1798 AC4). The status reply carries one optional display boolean `thisLaunch`, only for a tools connection acting as its own named Claude channel peer with a launch id: true only if that peer's current attached socket holds the same launch id. It is per request, never in `hubCheck`, the status file or a cache, never returns or logs a launch id, and never decides admission, routing, delivery or permissions. Amended AC4, unmet on purpose: no post-attach check inside Kimi (its managed plugin registers no start event and no user-visible start output is confirmed, so Kimi relies on its wrapper output), and agy cannot confirm that its link belongs to this session (its link carries no launch identity), so agy has its wrapper line only (SessionStart can add an `ephemeralMessage` for the model, but output visible to the person and how often it fires are not confirmed). Kimi likewise has its wrapper line only: our managed plugin registers no `SessionStart` event and no user-visible start output is confirmed.
|
|
2846
2847
|
- Control protocol 16 adds the hello `channel` field and `inbox`. Recovery
|
|
2847
2848
|
sources add protocol 15 (0.12.17 through 0.12.19); the transition from a real
|
|
2848
2849
|
0.12.19 hub is not yet proven.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# agy 1.5.20 verification attempt (2026-11-29)
|
|
2
|
+
|
|
3
|
+
Hub task 1201, Refs #843. **Result: 1.5.20 stays unverified.** Only the CLI surface leg could run from this checkout. The hooks, plugin MCP, normal close and actual-launcher nonce legs were not run, so `src/adapters/compat.ts` is not touched and `verified` is unchanged. This is the third attempt with the same blocker as [1.5.14](2026-11-22-agy-1.5.14.md) and [1.5.16](2026-11-25-agy-1.5.16.md).
|
|
4
|
+
|
|
5
|
+
Binary: `agy` 1.5.20, sha256 `5928eb6cde4b8d0bdf40808e5b9ced4769ed1ca3ca9d95e2344678ef0bebbf14`, 229,837,584 bytes, installed at `~/.local/bin/agy`.
|
|
6
|
+
|
|
7
|
+
## Isolation and the real install
|
|
8
|
+
|
|
9
|
+
- The probes ran a scratch copy of the binary (`cp -p`, same hash as the real one), never `~/.local/bin/agy`. Environment: `env -i` with a scratch `HOME`, scratch XDG config, cache, data and state directories, a scratch `TMPDIR`, `PATH=/usr/bin:/bin` and `AGY_CLI_DISABLE_AUTO_UPDATE=1`. The working directory was an empty scratch project. `AGENTHUB_HOME` was unset. No account, token or prompt was used.
|
|
10
|
+
- Real install, hashed before and after the probes (never executed or written):
|
|
11
|
+
- before: `5928eb6cde4b8d0bdf40808e5b9ced4769ed1ca3ca9d95e2344678ef0bebbf14`, 229,837,584 bytes, mtime 1795930076, 42 directory entries
|
|
12
|
+
- after: identical on all four.
|
|
13
|
+
|
|
14
|
+
## Results
|
|
15
|
+
|
|
16
|
+
| Leg | Result | Evidence |
|
|
17
|
+
| --- | --- | --- |
|
|
18
|
+
| CLI surface | pass | `--version` printed `1.5.20`, exit 0. `--help` and `help` exit 0 with 3,511 bytes on stderr. `--acp` and `--new` exit 2 with the unknown-flag diagnostic. `mcp list` in an empty project exit 0, `No MCP servers configured.` The ten flags `--continue`, `--conversation`, `--disable-slash-commands`, `--input-format`, `--output-format`, `--print`, `--prompt-interactive`, `--project`, `--remote-control` and `--sandbox` are all present. The `acp` subcommand is listed. |
|
|
19
|
+
| Hooks and plugin MCP | not run: harness | The task801 producers (`cli-surface.ts`, `native-hooks.ts`, `tmux-helper-control.ts`, `launcher-nonce.ts`, `run-probe.py`) are not in the repository and their `/tmp` originals are gone, as the 1.5.14 and 1.5.16 receipts recorded. |
|
|
20
|
+
| Normal close (tmux helper) | not run: harness | Same missing producer set. |
|
|
21
|
+
| Actual-launcher nonce through `ahub agy` | not run: harness and install risk | Needs the restored `launcher-nonce.ts`. A live `ahub agy` run with only a scratch `HOME` has replaced the person's real `~/.local/bin/agy` before (mem:cf73141a), so it was not run. |
|
|
22
|
+
|
|
23
|
+
## What changed from 1.5.3
|
|
24
|
+
|
|
25
|
+
Only the help text could be compared: 3,319 bytes on 1.5.3 against 3,511 on 1.5.20. The flags the hub depends on are unchanged. The help lists further flags (for example `--agent`, `--effort`, `--mode`, `--model`, `--json-schema`, `--settings`, `--log-file`, `--new-project`, `--remote-agent`). No public release notes or binary diff were reviewed, so behavior of the hooks and plugin MCP contract between the two versions is unknown. The earlier 1.5.14 attempt found agy declaring 17 functions (the 15 known plus `run_workflow` and `swarm`); that decision is still open and 1.5.20 was not re-measured.
|
|
26
|
+
|
|
27
|
+
## Person-run next step
|
|
28
|
+
|
|
29
|
+
Restore the task801 producers by their recorded hashes, decide whether `run_workflow` and `swarm` are accepted declarations, then rerun the hooks, close and launcher-nonce legs against 1.5.20 from a scratch copy of the binary with `PATH` pointing at the copy first, `HOME` and `AGENTHUB_HOME` both scratch, and the real `~/.local/bin/agy` hashed before and after. Until then `ahub doctor` keeps reporting `agy 1.5.20` as not verified, which is accurate.
|
|
30
|
+
|
|
31
|
+
## Not verified
|
|
32
|
+
|
|
33
|
+
Everything except the CLI surface above, including account and model behavior, the TUI, permission modes, headless ACP and the plugin MCP and hook contract. No other agy version is inferred.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Claude profile hook startup outside a hub
|
|
2
|
+
|
|
3
|
+
Measured on 2026-11-29 on macOS 27.2.1 arm64, Bun 1.4.4 (Refs #1783). The comparison used the same Bun binary and profile script for both forms. Each command ran through `/bin/sh -c` with empty stdin and only `HOME` and `PATH` in its environment, so none of the hub markers was present. Twenty alternating samples per command ran under `/usr/bin/time -l`. Wall time was measured around the subprocess with a monotonic clock, including the timing utility and shell. RSS is the utility's per-sample peak, shown as the median and maximum across samples.
|
|
4
|
+
|
|
5
|
+
| Command | Median wall | Median peak RSS | Highest peak RSS |
|
|
6
|
+
| --- | ---: | ---: | ---: |
|
|
7
|
+
| Legacy, Bun runs the hook script directly | 32.13 ms | 35,397,632 B | 39,174,144 B |
|
|
8
|
+
| Guarded, shell exits without starting Bun | 8.32 ms | 2,408,448 B | 2,441,216 B |
|
|
9
|
+
|
|
10
|
+
Both commands exited zero and emitted no hook output. The shell fixture separately confirms that the runtime is skipped unless both hub markers are present and the launch marker is unset, including the set-but-empty case. With a target it confirms the runtime receives the quoted script path, the `--run` argument and unchanged stdin.
|
|
11
|
+
|
|
12
|
+
The shell tests cover the POSIX command on macOS. Ubuntu is covered by the project CI shell fixtures. Hook command execution on any other host remains an owner decision before rollout there.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Idle daemon footprint attribution (#1779 T1, AC1)
|
|
2
|
+
|
|
3
|
+
Measured 2026-11-29 on macOS arm64, Bun 1.4.4, hub 0.50.0 (capture `source-c17b647e...`), with `footprint(1)` (physical footprint, the number `top` shows as MEM), never `ps` RSS. Measurement only: no daemon code changed.
|
|
4
|
+
|
|
5
|
+
## Result
|
|
6
|
+
|
|
7
|
+
| What | Physical footprint |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Bare `bun` process, idle | 4 MB |
|
|
10
|
+
| Bun after importing the hub module graph (`src/hub/daemon.ts`, nothing started) | 67 MB |
|
|
11
|
+
| Fresh idle daemon, empty project, no agents, 20 s after `ahub up` | 94 MB |
|
|
12
|
+
| Same daemon 80 s after start | 102 MB |
|
|
13
|
+
| Fleet of 20 live daemons on this workstation (registered projects, sessions attached) | 106 to 352 MB, mean 185 MB, total 3.69 GB |
|
|
14
|
+
|
|
15
|
+
Attribution of the fresh idle daemon (94 MB):
|
|
16
|
+
|
|
17
|
+
| Category (footprint category) | MB | Reading |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| Loaded code and engine heap (`App-Specific Tag 1`, JSC heap, bytecode, parsed modules) | 75 | 59 MB of it exists after only importing the module graph, so about 60 MB is code, not data |
|
|
20
|
+
| Malloc small and large | 8 | runtime allocations |
|
|
21
|
+
| JIT generated code | 2 | |
|
|
22
|
+
| SQLite page cache | 1.5 | an empty board; 10 to 14 MB on the busy daemons |
|
|
23
|
+
| WebAssembly | 1.5 | |
|
|
24
|
+
| Stacks (26 threads) | 1.3 | |
|
|
25
|
+
| `__TEXT` (clean, file backed) | 22 | counted separately, not in the dirty figure |
|
|
26
|
+
|
|
27
|
+
## Same-process measurements (credit: PR #1785)
|
|
28
|
+
|
|
29
|
+
Codex's earlier draft for this task (PR #1785, branch `docs/1779-idle-daemon-footprint`) measured one fresh idle daemon in a single process with `heapStats()` at three checkpoints. Its method and numbers are kept as written. Source `5dba20ee619295e556c88b35ffcb9929f3f1da3b`, an empty Git project and fresh SQLite state, no attached peers or control clients, ephemeral ports, memory integration, spec scanning and MLX disabled, its own `HOME`, `AGENTHUB_HOME` and `AMEM_HOME`.
|
|
30
|
+
|
|
31
|
+
A Bun driver paused at three checkpoints. It first loaded only the measurement imports (`bun:jsc`, `node:fs`, `node:path`), then dynamically imported `src/hub/daemon.ts`, then called `startDaemon` with a scratch project and waited five seconds after readiness. At each checkpoint it recorded `heapStats()` and waited for a file marker while the parent sampled the same PID with `top -l 1 -pid "$pid" -stats pid,command,mem` and `footprint -p "$pid" -f bytes`. At idle, `vmmap -summary` corroborated the total and `lsof -p "$pid" -F n` identified the open database, WAL and shared-memory files.
|
|
32
|
+
|
|
33
|
+
| Checkpoint | top MEM | Kernel physical footprint | JSC heap size | JSC heap capacity |
|
|
34
|
+
| --- | ---: | ---: | ---: | ---: |
|
|
35
|
+
| Bare driver | 13M | 13,419,072 B (12.80 MiB) | 352,379 B | 984,939 B |
|
|
36
|
+
| Daemon graph imported | 60M | 62,817,192 B (59.91 MiB) | 6,877,196 B | 11,026,476 B |
|
|
37
|
+
| One project open and idle | 70M | 73,352,128 B (69.95 MiB) | 13,016,846 B | 15,183,710 B |
|
|
38
|
+
|
|
39
|
+
The import step added 47.11 MiB of private footprint (module initialization, allocator state, runtime support; it does not isolate compiled code). Opening the idle project added 10.05 MiB. Peak startup footprint was 115.2 MiB and does not enter the idle estimate.
|
|
40
|
+
|
|
41
|
+
Idle attribution, same fixture (all `footprint`-based; JS heap counters overlap the private VM categories and cannot be added to them):
|
|
42
|
+
|
|
43
|
+
| Component | Observed at idle |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| JS heap | 12.41 MiB size, 14.48 MiB capacity |
|
|
46
|
+
| Loaded code | 0.41 MiB dirty JIT pages, 20.23 MiB clean executable text (tracked separately) |
|
|
47
|
+
| SQLite | 1.06 MiB dirty page cache, 0.55 MiB reclaimable |
|
|
48
|
+
| Other file mappings | 0.47 MiB clean, no dirty charge |
|
|
49
|
+
| Remaining private footprint | 68.50 MiB: 55.77 MiB dirty app-specific VM, 6.09 MiB dirty small malloc, plus stacks, page tables and other runtime categories |
|
|
50
|
+
|
|
51
|
+
So the JS heap is about 12 MiB of the 70 MiB idle daemon. The rest is engine, module and allocator state that the OS view does not split further.
|
|
52
|
+
|
|
53
|
+
## Expected saving per added project
|
|
54
|
+
|
|
55
|
+
- Per-process share (bare runtime plus loaded code): about 67 MB measured on module import alone, about 94 to 102 MB for a started daemon with no project data. Against the fleet mean of 185 MB that is 36 to 54 percent. Against the smallest live daemon (106 MB) it is nearly all of it.
|
|
56
|
+
- Project-dependent share: the fleet mean minus the idle floor, about 85 MB per daemon. Live daemons differ mainly in `App-Specific Tag 1` (85 to 272 MB) and Malloc Large (up to 40 MB). These are heap growth from board size, session state, caches and adapter catalogs, and a shared host would still carry them per project.
|
|
57
|
+
- Expected saving when one project joins an existing host of the same runtime: roughly 65 to 100 MB per added project, and about 1.2 to 1.8 GB over this workstation's 20 daemons if all shared one host. The saving does not reach the 3.69 GB total: about 85 MB times 20 of per-project state remains.
|
|
58
|
+
|
|
59
|
+
## Against the owner's gate
|
|
60
|
+
|
|
61
|
+
The owner's gate is "reconsider if the per-process share is under half of a daemon's footprint". The answer depends on which daemon is the denominator. Both readings are given and neither is chosen here; the owner decides.
|
|
62
|
+
|
|
63
|
+
| Reading | Per-process share | Source |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| Against a fresh idle daemon (same-process, one empty project) | 85.6 percent (59.91 of 69.95 MiB) | PR #1785 method above |
|
|
66
|
+
| Against the live fleet mean (185 MB, 20 daemons with real boards and attached sessions) | 36 to 54 percent (67 MB module graph, 100 MB fresh-start floor) | this receipt's fleet snapshot |
|
|
67
|
+
|
|
68
|
+
The fresh-daemon reading is above half. The fleet reading straddles half: it is above only if a started daemon's floor counts as per-process, and below if only the module graph does. The gap is the project-dependent footprint a populated daemon carries (about 85 MB on average, up to 250 MB), which a shared host would still hold per project.
|
|
69
|
+
|
|
70
|
+
## Limits
|
|
71
|
+
|
|
72
|
+
- Engine, module and allocator state is not split further than the same-process table above. The OS view does not separate live JS, parsed code and untagged native data within the app-specific categories.
|
|
73
|
+
- The fresh daemon had an empty board, no memory runtime sync and no peers. The live fleet's extra footprint is therefore a mix of project state, attached sessions and daemon age (peak footprints reach 708 MB); it was not attributed per cause.
|
|
74
|
+
- One fresh daemon and one snapshot of the live fleet. No repeated runs, so figures are about 10 percent indicative.
|
|
75
|
+
- The daemon ran from the installed 0.50.0 capture because a source checkout stops at the memory runtime identity check. The scratch hub home and project were outside the person's home and were stopped with `ahub kill`.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Kimi Code 2.8.1 fresh-reviewer compatibility receipt
|
|
2
|
+
|
|
3
|
+
Date 2026-11-29. Refs #888, hub task 1200. The [2.7.2 reviewer procedure](2026-11-25-kimi-272-reviewer-compat.md) passed all nine model-free markers on macOS arm64 with Bun 1.4.4, first with isolated fixture trust and again with the proposed exact pin and no trust file.
|
|
4
|
+
|
|
5
|
+
## Artifact and isolation
|
|
6
|
+
|
|
7
|
+
| Artifact | Binding |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Installed executable | `~/.kimi-code/bin/kimi`, macOS arm64, 191,589,952 bytes |
|
|
10
|
+
| Official macOS arm64 archive | `kimi-code-darwin-arm64.tar.gz`, 61,367,668 bytes |
|
|
11
|
+
| Archive SHA-256 | `39582deb22cb9c5a2127b3cfea28816b0f928b3b8e5506cc3c7db8bbcebfae63` |
|
|
12
|
+
| Isolated version probe | `2.8.1` |
|
|
13
|
+
| Executable SHA-256, before and after | `3615f959e5fa46df1a46cedbe2be8628809a2977ca2c5ce1c0115fe40585e768` |
|
|
14
|
+
| Upstream tag object | `5eb17ca75b4698b8ee41871262d34481b6db6fdb` |
|
|
15
|
+
| Upstream source commit | `62402f173c5a838a1c1f8fa263b637a22486fa39` |
|
|
16
|
+
| Hub source base | `0afe9759b676e5eb9edbed72dc48695a9e71d4a1`, agent-mem 0.43.0 from frozen install |
|
|
17
|
+
|
|
18
|
+
Each isolated run copied the executable byte for byte into a fresh private prefix under the OS temporary directory. Every native invocation used scratch HOME, AGENTHUB_HOME, KIMI_CODE_HOME, AMEM_HOME, XDG roots and TMPDIR, a fixed PATH, synthetic credentials and fixed loopback responses. The installed binary was only read for copying and hashing. The archive SHA-256 matched the GitHub asset digest and the sibling `.sha256` file. The repository extractor unpacked it into a private directory with a 64-entry and 250,000,000-byte expanded limit, rejecting unsafe archive paths and nonregular entries. The extracted executable matched the SHA-256 of the executable used in both proof runs. [Official 2.8.1 release](https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai/kimi-code%402.8.1)
|
|
19
|
+
|
|
20
|
+
## Production and native results
|
|
21
|
+
|
|
22
|
+
| Leg | Scratch trust | Exact pin without trust |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| Production preparation and fresh environment | Pass | Pass |
|
|
25
|
+
| Two-tool inventory, private files, empty skills and subagents | Pass | Pass |
|
|
26
|
+
| Task-bound broker refusals | Pass | Pass |
|
|
27
|
+
| Native two-tool loop | Pass | Pass |
|
|
28
|
+
| Write absent from the restricted loop | Pass | Pass |
|
|
29
|
+
| Write positive control | Pass | Pass |
|
|
30
|
+
| Loopback guard positive control | Pass | Pass |
|
|
31
|
+
| Workspace trust environment decoy removed | Pass | Pass |
|
|
32
|
+
| Fixture bytes, owned process and temporary cleanup | Pass | Pass |
|
|
33
|
+
|
|
34
|
+
The second pass changed only the proof's scratch trust callback to assert exact verification with an empty trust list and an absent trust file. The committed proof producer was restored afterward. Both result JSON files match, with SHA-256 `ad678b120e27c41c3d7ed8b32a8d4c483c2d3ce313760d975e2b691f705baf70`. The restricted loop advertised only `hub_review` and `hub_task_show`. The Write positive control used disposable fixture data. Real account readiness, OAuth refresh, kernel network isolation and interactive behavior were outside this run.
|
|
35
|
+
|
|
36
|
+
## Scoped upstream review
|
|
37
|
+
|
|
38
|
+
The inspected workspace trust files, core tool registry and OAuth manager have unchanged Git blob IDs from 2.7.2 to 2.8.1. Workspace MCP configuration changed disposal to remove its OAuth configuration source and skip work once disposed. The CLI changelog adds bounded startup MCP discovery in 2.8.0 and fixes stale tool dispatch after tool changes or session resume in 2.8.1. The native proof covers the reviewer tool inventory and restricted calls in a fresh session. It does not exercise resumed sessions, other CLI roles or real provider cancellation. [Upstream comparison](https://github.com/MoonshotAI/kimi-code/compare/%40moonshot-ai/kimi-code%402.7.2...%40moonshot-ai/kimi-code%402.8.1) · [CLI changelog at 2.8.1](https://github.com/MoonshotAI/kimi-code/blob/62402f173c5a838a1c1f8fa263b637a22486fa39/apps/kimi-code/CHANGELOG.md)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Kimi Code 2.8.1 TUI completion checks
|
|
2
|
+
|
|
3
|
+
Date 2026-11-29. Refs #888, hub task 1200. Exact artifact identity and the isolated version probe are in the [reviewer receipt](2026-11-29-kimi-281-reviewer-compat.md). Interactive completion remains verified at [2.5.2](2026-11-08-kimi-tui-completion-1282.md).
|
|
4
|
+
|
|
5
|
+
| Required leg | Result |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| Native TUI turn origin, blocked Stop and final readback | Unverified. Requires an interactive native turn. |
|
|
8
|
+
| Native background inventory, quiescence and private completion | Unverified. Requires an interactive turn with background work. |
|
|
9
|
+
| Launch-scoped plugin installation, ownership and cleanup | Unverified on the native 2.8.1 TUI. Host fixtures cover the hub side. |
|
|
10
|
+
| Host completion, launcher, privacy and adapter regressions | 23 pass, 0 fail in `test/kimi-tui-completion-1282.test.ts`, `test/kimi-tui.test.ts`, `test/kimi-tui-facts.test.ts` and `test/conformance/kimi-tui.test.ts`. |
|
|
11
|
+
|
|
12
|
+
The runs used disposable homes and did not launch a live Kimi session. The `kimi-tui` verified set and its live receipt pointer stay at 2.5.2.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# 0.51.0 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.51.0 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.51.0, prepared from main 0665e512c (19 commits since v0.50.0, 7 of them `feat`; bump rule: minor) plus the N-1 retarget 8898de0f6 on the release branch. The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.
|
|
8
|
+
|
|
9
|
+
## Reviews
|
|
10
|
+
|
|
11
|
+
Pull requests named by the commits since v0.50.0: #1815, #1814, #1813, #1805, #1804, #1800, #1799, #1802, #1797, #1796, #1787, #1793, #1784, #1786, #1792, #1791, #1790, #1788, #1776.
|
|
12
|
+
|
|
13
|
+
Each of the 19 merged after a Claude hub review approved its exact merged head, and after `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards` passed in full CI at that head. No merge is bound to an approval at an earlier head. On a draft-first PR, the draft run's deliberate `check (macos-latest)` failure ("macOS deferred") is still visible beside the full run.
|
|
14
|
+
|
|
15
|
+
| PR | Work | Hub task, owner | Merged head | Full CI run (attempts) |
|
|
16
|
+
| --- | --- | --- | --- | --- |
|
|
17
|
+
| #1776 | project documentation checker for release authorization (Refs #1775) | 1184, codex | d14805231 | 46242871444 (1) |
|
|
18
|
+
| #1784 | light entry import-graph guard (Refs #1778) | 1186, codex | 86b77ea96 | 46315009524 (2) |
|
|
19
|
+
| #1786 | Claude profile hook shell guard (Refs #1783) | 1194, codex | 3e9465e3f | 46315012405 (1) |
|
|
20
|
+
| #1787 | `ahub releases list` and `prune` (Refs #1781) | 1189, jcode | 50ba55ad9 | 46318801750 (2) |
|
|
21
|
+
| #1788 | roadmap export | 1198, codex | 381cf753e | 46270613782 (1) |
|
|
22
|
+
| #1790 | idle daemon footprint receipt (Refs #1779) | 1195, jcode | 4b8d2a5c4 | 46312684708 (1) |
|
|
23
|
+
| #1791 | agy 1.5.20 attempt receipt (Refs #843) | 1201, jcode | aaf73f9af | 46312686306 (1) |
|
|
24
|
+
| #1792 | roadmap drift check (Refs #1789) | 1199, codex | 8100368d7 | 46314960821 (1) |
|
|
25
|
+
| #1793 | Kimi Code 2.8.1 for fresh reviewers (Refs #888) | 1200, codex | 537f1068e | 46314962498 (2) |
|
|
26
|
+
| #1796 | Claude channel flag order (Refs #1794) | 1206, codex | c6b89fb12 | 46320004331 (1) |
|
|
27
|
+
| #1797 | refused jcode hello, failure reasons (Refs #1795) | 1207, jcode | ddaa0c271 | 46326300483 (1) |
|
|
28
|
+
| #1799 | config loading split (Refs #1778) | 1187, codex | 76c2ad8bc | 46328743276 (1) |
|
|
29
|
+
| #1800 | Claude launch argument check (Refs #1798) | 1208, codex | ac3751256 | 46331110054 (1) |
|
|
30
|
+
| #1802 | ready notices for owned dependents (Refs #1801) | 1215, jcode | a434de98a | 46327949262 (1) |
|
|
31
|
+
| #1804 | CI watcher from draft to merge readiness (Refs #1801) | 1214, codex | d29147fef | 46338891413 (3) |
|
|
32
|
+
| #1805 | `hubCheck`, Attention and `ahub up` (Refs #1798) | 1212, codex | b03d337df | 46366060846 (1) |
|
|
33
|
+
| #1813 | opt-in CI shard retries (Refs #1801) | 1216, codex | a14826197 | 46375330476 (2) |
|
|
34
|
+
| #1814 | account-switch probe receipt (Refs #1806) | 1217, codex | 2bca53c69 | 46379998728 (1) |
|
|
35
|
+
| #1815 | pre-launch Hub check and the Claude start notice (Refs #1798) | 1213, jcode | fa2685011 | 46406518020 (1) |
|
|
36
|
+
|
|
37
|
+
Five runs passed only after same-head reruns. Their first attempts failed as follows:
|
|
38
|
+
- #1784: macOS shard 3/4. #1787: Ubuntu shard 1/6. #1793: macOS shard 4/4.
|
|
39
|
+
- #1804: the `decision` job. It passed on attempt 3.
|
|
40
|
+
- #1813: macOS shard 1/4, in `test/conductor-recovery-process.test.ts` ("detached restart did not settle before the shared deadline"). The cause is unconfirmed.
|
|
41
|
+
|
|
42
|
+
#1815 was approved with #1798 AC4 partly unmet on purpose: Kimi and agy show the check only in their wrapper's output, not in the session, because no start hook output visible to the person is confirmed for either (docs/design/adapters.md). #1798 stays open.
|
|
43
|
+
|
|
44
|
+
## Native acceptance receipts
|
|
45
|
+
|
|
46
|
+
Receipts added under `docs/verification/` since v0.50.0: `docs/verification/2026-11-29-agy-1.5.20.md`, `docs/verification/2026-11-29-claude-profile-hook.md`, `docs/verification/2026-11-29-idle-daemon-footprint.md`, `docs/verification/2026-11-29-kimi-281-reviewer-compat.md`, `docs/verification/2026-11-29-kimi-tui-281.md`, `docs/verification/2026-11-30-account-switch-1806.md`.
|
|
47
|
+
|
|
48
|
+
This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.51.0`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.
|
|
49
|
+
|
|
50
|
+
## Document review
|
|
51
|
+
|
|
52
|
+
`node scripts/check-docs.mjs` reported 26 stale documents after release-prepare. `docs/agent-notes/README.md` became the 27th when this review edited `docs/agent-notes/daemon.md`. The review compared the source changes since each stamp with the statements they affect, using targeted searches of every stale document and reading the passages they found. It was not a line-by-line reread of the long documents. What changed under them:
|
|
53
|
+
- **Behavior (#1775, #1781, #1783, #1794, #1795, #1798, #1801):** README.md, docs/agent-notes/{adapters,bus,daemon,security-review,tasks}.md, docs/dogfood.md, docs/operations.md, docs/quickstart.md, docs/sdlc.md, docs/security.md, src/cli/help.ts. The merged PRs had already updated the operations, SDLC, task note, dogfood and help statements they changed.
|
|
54
|
+
- **Imports, moved code or `package.json` version only (#1799 and this release):** docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/agent-notes/{budget,local-worker}.md, docs/bench.md, docs/data-policy.md, docs/profiles.md, docs/research.md, docs/text-projection.md. docs/memory.md also has the `releases` command classification in `src/cli/identity.ts` under it, which it does not describe.
|
|
55
|
+
- **One narrow change:** docs/events.md (the Kimi reviewer's verified version, which it does not name), docs/agent-notes/benchmarks.md (`failureCause` on ACP receipts, which it does not describe) and docs/influences.md (the Hub check paragraph in the design spec).
|
|
56
|
+
- **Tests and CI:** docs/agent-notes/tests.md (N-1 fixture, import-graph step, roadmap drift mode and test changes). Its shard, rerun and fixture rules still hold.
|
|
57
|
+
- **Edited note only:** docs/agent-notes/README.md.
|
|
58
|
+
|
|
59
|
+
Corrected at 5c436d3f0:
|
|
60
|
+
- #1799 moved `AGENT_CONFIG_SEGMENTS`, `INSTRUCTION_FILES` and `grantablePath` to `src/hub/permission-paths.ts`. docs/adding-an-ai-tool.md and the adapters and local-worker notes still named `permission-mode.ts`.
|
|
61
|
+
- `permission-paths.ts` and `src/hub/config.ts` (both split out by #1799) were missing from the area-note scopes in AGENTS.md and the notes, and from the matching paths in docs/verified.json, so an edit there would not have made those documents stale. Both are added.
|
|
62
|
+
- docs/operations.md now says that `ahub queue show` prints the stored failure reason, or a fixed stub for a private delivery (#1795).
|
|
63
|
+
|
|
64
|
+
Checks of the new user-facing text:
|
|
65
|
+
- The quickstart's "Upgrading to 0.51.0" note was checked against the tagged source: the v0.49.0, v0.49.1 and v0.50.0 Claude entries put `--session-id` first, and v0.48.4 does not.
|
|
66
|
+
- The help rows and flags for `up --wait|--json` and `releases list|prune` match `src/cli/main.ts` and `src/cli/commands/releases.ts`.
|
|
67
|
+
|
|
68
|
+
All 27 documents were restamped at 5c436d3f0 with `restamp --reviewed`. No spec's `verified-against` was edited.
|
|
69
|
+
|
|
70
|
+
## Checks
|
|
71
|
+
|
|
72
|
+
Run locally on the release branch at 4c28d3b8a (after the restamp). This report is the only later change:
|
|
73
|
+
- `node scripts/check-docs.mjs --require-fresh --committed`: `docs: OK (0 stale documents)`.
|
|
74
|
+
- `bun x tsc --noEmit`: exit 0. `bun scripts/build.mjs --check` (Bun 1.4.4): exit 0.
|
|
75
|
+
- `unused-exports`, `check-import-graph`, `refusal-inventory`, `cli-output-inventory` and `inventory-hardcoded-values`, each with `--check`: exit 0. `bun scripts/readme-facts.ts --check`: `facts: OK`.
|
|
76
|
+
- `node scripts/check-roadmap.mjs --warn-drift`: `roadmap: OK (7 milestones)`.
|
|
77
|
+
- `node scripts/check-package.mjs` with npm 11.20.0 (the CI pin): `package: OK (1072 files, @staix/agent-hub@0.51.0)`.
|
|
78
|
+
- 90 tests pass and 0 fail in `published-protocol-compat`, `broker-server`, `release-prepare`, `release-tag`, `check-docs` and `readme-facts`. The N-1 fixture was installed from its frozen lock (0.50.0, agent-mem 0.43.0).
|
|
79
|
+
- The help and completion suites: 103 pass, 0 fail.
|
|
80
|
+
- Main CI run 46409861038 passed at 0665e512c on both OSes, with seeded guards, on attempt 1.
|
|
81
|
+
- The release PR's exact-head CI run is recorded on the release PR.
|
|
82
|
+
|
|
83
|
+
## Known gaps, not blocking
|
|
84
|
+
|
|
85
|
+
- **Not run live:** no running hub was upgraded to 0.51.0, and no real Claude session was restarted on it. Channel push after the #1794 fix, the Hub check in real terminals and the Claude start notice are covered by fixtures and source review only. The person's upgrade is the live leg.
|
|
86
|
+
- **No remote full suite:** exact-head CI on both OSes is the full gate for this release PR.
|
|
87
|
+
- **agy 1.5.20 stays unverified** (its receipt is an attempt), and **Kimi Code 2.8.1 is verified only for fresh reviewers**. Interactive Kimi TUI completion stays verified at 2.5.2.
|
|
88
|
+
- **Account switches (#1806) are not implemented in 0.51.0.** The probe receipt leaves a Claude login change during a session, a Codex login change in one home, and resuming a Codex thread from another home unverified.
|
|
89
|
+
- **CI shard retries are off by default,** and off in this repository. When retries are on, a retry error can end a CI watch without a notice. That is to be fixed and tested before or with the change that turns them on here.
|
|
90
|
+
- **Existing waits remain:** in wrappers other than `ahub claude`, existing status reads can still wait up to 30 seconds on a hub that accepts a connection and never replies.
|
|
91
|
+
- **Unconfirmed causes:** the recovery-test failure in #1813's first attempt and the `decision` failure in #1804's. Investigate a repeat before rerunning it.
|