@staix/agent-hub 0.51.0 → 0.52.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 +35 -0
- package/README.md +1 -1
- package/docs/adding-an-ai-tool.md +24 -2
- package/docs/agent-notes/adapters.md +1 -0
- package/docs/agent-notes/budget.md +8 -2
- package/docs/agent-notes/daemon.md +13 -8
- package/docs/agent-notes/security-review.md +6 -5
- package/docs/agent-notes/tasks.md +5 -2
- package/docs/agent-notes/tests.md +4 -3
- package/docs/cooperbench.md +1 -1
- package/docs/design/adapters.md +4 -0
- package/docs/design/cli-output-inventory.md +162 -152
- package/docs/design/cli-output.md +4 -3
- package/docs/design/guidance-probes.md +1 -0
- package/docs/design/roadmap.md +2 -0
- package/docs/design/task-board.md +1 -0
- package/docs/dogfood.md +14 -0
- package/docs/events.md +4 -2
- package/docs/memory.md +5 -3
- package/docs/operations.md +210 -16
- package/docs/quickstart.md +12 -2
- package/docs/roles.md +1 -1
- package/docs/sdlc.md +26 -3
- package/docs/security.md +11 -5
- package/docs/specs/2026-09-19-agent-hub-design.md +43 -0
- package/docs/specs/2026-09-19-multi-project-design.md +4 -0
- package/docs/specs/2026-09-20-upgrade-recovery-design.md +17 -0
- package/docs/specs/mcp-endpoint.md +63 -0
- package/docs/verification/2026-11-30-capability-listing-shape-1808.md +45 -0
- package/docs/verification/2026-11-30-upgrade-keep-1807.md +174 -0
- package/docs/verification/2026-12-01-1811-confirmation-receipt.md +19 -0
- package/docs/verification/2026-12-01-1811-orca-agent-list.md +20 -0
- package/docs/verification/2026-12-01-1811-orca-pane-key.md +21 -0
- package/docs/verification/2026-12-02-1819-claude-process-after-renewal.md +54 -0
- package/docs/verification/2026-12-02-agy-1.5.21.md +74 -0
- package/docs/verification/2026-12-02-claude-implementer-2.1.334.md +44 -0
- package/docs/verification/2026-12-02-cli-import-graph.md +33 -0
- package/docs/verification/2026-12-03-0.52.0.md +150 -0
- package/docs/verification/2026-12-03-codex-0173-reviewer-isolation.md +53 -0
- package/docs/verification/2026-12-03-codex-0173-reviewer-tool-call.md +34 -0
- package/docs/verification/2026-12-03-jcode-1.3.0.md +25 -0
- package/docs/verification/agy/README.md +17 -0
- package/docs/verification/agy/cli-surface.ts +68 -0
- package/docs/verification/agy/interactive-bridge.ts +92 -0
- package/docs/verification/agy/interactive-session.ts +131 -0
- package/docs/verification/agy/launcher-nonce.ts +215 -0
- package/docs/verification/agy/native-hooks.ts +210 -0
- package/docs/verification/agy/originals/agent-hub-681/cli-surface.ts +87 -0
- package/docs/verification/agy/originals/agent-hub-681/native-hooks-adapted.ts +91 -0
- package/docs/verification/agy/originals/agent-hub-681/tui-actual.ts +200 -0
- package/docs/verification/agy/originals/agent-hub-684/probe.ts +107 -0
- package/docs/verification/agy/originals.json +25 -0
- package/docs/verification/agy/permission-new-functions.ts +128 -0
- package/docs/verification/agy/run-probe.py +108 -0
- package/docs/verification/agy/runtime.ts +171 -0
- package/docs/verification/agy/tmux-helper-control.ts +6 -0
- package/docs/verification/agy/tmux-session.ts +235 -0
- package/docs/verified.json +82 -41
- package/package.json +3 -3
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/compat.json +157 -0
- package/plugins/agent-hub/kimi-hook.js +621 -865
- package/plugins/agent-hub/server.js +17423 -32962
- package/src/adapters/agy/definition.ts +7 -24
- package/src/adapters/channel-peer.ts +3 -1
- package/src/adapters/claude-channel.ts +38 -257
- package/src/adapters/claude-implementer.ts +3 -1
- package/src/adapters/codex-appserver.ts +77 -15
- package/src/adapters/compat.ts +74 -11
- package/src/adapters/configured-acp.ts +23 -163
- package/src/adapters/configured-adapter-policy.ts +160 -0
- package/src/adapters/configured-pull-entry.ts +53 -0
- package/src/adapters/configured-pull.ts +38 -0
- package/src/adapters/conformance/fakes/app-server.ts +9 -2
- package/src/adapters/declaration-catalog.ts +25 -0
- package/src/adapters/declaration-data.ts +342 -0
- package/src/adapters/declaration-resolution.ts +53 -0
- package/src/adapters/definitions/builtin-metadata.ts +61 -83
- package/src/adapters/definitions/jcode-launch.ts +13 -0
- package/src/adapters/definitions/native-adapter-policy.ts +390 -0
- package/src/adapters/definitions/native-cli-claude-launch.ts +3 -2
- package/src/adapters/definitions/native-cli-codex-launch.ts +2 -1
- package/src/adapters/definitions/native-cli-entry-jcode.ts +4 -2
- package/src/adapters/definitions/native-cli-entry-types.ts +9 -2
- package/src/adapters/definitions/native-cli-launch-common.ts +2 -2
- package/src/adapters/definitions/native-cli-retained.ts +1 -1
- package/src/adapters/definitions/native-configuration.ts +18 -0
- package/src/adapters/definitions/native-help.ts +24 -0
- package/src/adapters/definitions/native-launch-declarations.ts +34 -0
- package/src/adapters/definitions/native-launch-policy.ts +4 -0
- package/src/adapters/definitions/native-launch-settings.ts +72 -0
- package/src/adapters/definitions/native-light-cli.ts +18 -0
- package/src/adapters/definitions/native-light-preview.ts +10 -0
- package/src/adapters/definitions/native-wrapper-launch.ts +10 -0
- package/src/adapters/definitions/qwen.ts +6 -29
- package/src/adapters/definitions/reviewer-variants.ts +7 -8
- package/src/adapters/external-declarations.ts +31 -0
- package/src/adapters/external-modules.ts +4 -29
- package/src/adapters/jcode.ts +3 -12
- package/src/adapters/native-capabilities.ts +18 -8
- package/src/adapters/native-proof-ports.ts +1 -1
- package/src/adapters/presets.ts +136 -0
- package/src/adapters/qwen-dual.ts +2 -2
- package/src/adapters/registry-types.ts +3 -0
- package/src/adapters/registry.ts +20 -81
- package/src/adapters/reviewer-print.ts +26 -9
- package/src/adapters/role-eligibility.ts +2 -1
- package/src/cli/accounts-import.ts +72 -0
- package/src/cli/agents-latest-table.ts +88 -0
- package/src/cli/agents-latest.ts +22 -0
- package/src/cli/agents-output.ts +10 -0
- package/src/cli/agents-presets.ts +100 -0
- package/src/cli/agents.ts +1 -1
- package/src/cli/attention.ts +3 -2
- package/src/cli/autonomy-homes.ts +7 -2
- package/src/cli/budget-renew-guidance.ts +129 -0
- package/src/cli/claude-homes.ts +9 -5
- package/src/cli/command-context.ts +3 -0
- package/src/cli/command-table.ts +123 -0
- package/src/cli/commands/accounts.ts +8 -0
- package/src/cli/commands/agents.ts +18 -0
- package/src/cli/commands/answer.ts +28 -0
- package/src/cli/commands/ask.ts +17 -0
- package/src/cli/commands/autonomy.ts +83 -0
- package/src/cli/commands/backlog.ts +46 -0
- package/src/cli/commands/bench.ts +60 -0
- package/src/cli/commands/board.ts +48 -0
- package/src/cli/commands/broker.ts +9 -0
- package/src/cli/commands/budget.ts +96 -0
- package/src/cli/commands/capabilities.ts +12 -0
- package/src/cli/commands/check-path.ts +55 -0
- package/src/cli/commands/completion.ts +8 -0
- package/src/cli/commands/console.ts +12 -0
- package/src/cli/commands/daemon.ts +8 -0
- package/src/cli/commands/deliverables.ts +25 -0
- package/src/cli/commands/doctor.ts +249 -0
- package/src/cli/commands/down.ts +3 -0
- package/src/cli/commands/export.ts +15 -0
- package/src/cli/commands/facts.ts +15 -0
- package/src/cli/commands/goal.ts +22 -0
- package/src/cli/commands/guidance.ts +102 -0
- package/src/cli/commands/help.ts +17 -0
- package/src/cli/commands/host.ts +45 -0
- package/src/cli/commands/init.ts +121 -0
- package/src/cli/commands/instructed.ts +19 -0
- package/src/cli/commands/instruction-hook.ts +15 -0
- package/src/cli/commands/intake.ts +24 -0
- package/src/cli/commands/kill.ts +15 -0
- package/src/cli/commands/learn.ts +23 -0
- package/src/cli/commands/lineage.ts +30 -0
- package/src/cli/commands/logs.ts +21 -0
- package/src/cli/commands/manager.ts +15 -0
- package/src/cli/commands/memory.ts +21 -0
- package/src/cli/commands/model.ts +25 -0
- package/src/cli/commands/models.ts +40 -0
- package/src/cli/commands/native.ts +39 -0
- package/src/cli/commands/pause.ts +5 -0
- package/src/cli/commands/peer.ts +32 -0
- package/src/cli/commands/permission.ts +26 -0
- package/src/cli/commands/permit.ts +12 -0
- package/src/cli/commands/pet.ts +24 -0
- package/src/cli/commands/projects.ts +49 -0
- package/src/cli/commands/queue.ts +70 -0
- package/src/cli/commands/recovery-run.ts +13 -0
- package/src/cli/commands/recovery.ts +130 -0
- package/src/cli/commands/release.ts +23 -0
- package/src/cli/commands/releases.ts +9 -0
- package/src/cli/commands/remember.ts +6 -0
- package/src/cli/commands/report.ts +27 -0
- package/src/cli/commands/research.ts +53 -0
- package/src/cli/commands/reset.ts +89 -0
- package/src/cli/commands/restart.ts +5 -0
- package/src/cli/commands/results.ts +31 -0
- package/src/cli/commands/resume.ts +5 -0
- package/src/cli/commands/review.ts +24 -0
- package/src/cli/commands/roadmap.ts +21 -0
- package/src/cli/commands/role.ts +34 -0
- package/src/cli/commands/roles.ts +30 -0
- package/src/cli/commands/room.ts +14 -0
- package/src/cli/commands/roster.ts +48 -0
- package/src/cli/commands/route.ts +9 -0
- package/src/cli/commands/say.ts +21 -0
- package/src/cli/commands/schedule.ts +17 -0
- package/src/cli/commands/sdlc.ts +321 -0
- package/src/cli/commands/settings.ts +148 -0
- package/src/cli/commands/setup.ts +89 -0
- package/src/cli/commands/shared-refusals.ts +25 -0
- package/src/cli/commands/smoke.ts +44 -0
- package/src/cli/commands/source.ts +64 -0
- package/src/cli/commands/specs.ts +13 -0
- package/src/cli/commands/status.ts +28 -0
- package/src/cli/commands/stop.ts +17 -0
- package/src/cli/commands/structure.ts +60 -0
- package/src/cli/commands/study.ts +39 -0
- package/src/cli/commands/tail.ts +19 -0
- package/src/cli/commands/task.ts +114 -0
- package/src/cli/commands/title.ts +17 -0
- package/src/cli/commands/turns.ts +10 -0
- package/src/cli/commands/ui.ts +47 -0
- package/src/cli/commands/undo.ts +77 -0
- package/src/cli/commands/up.ts +39 -0
- package/src/cli/commands/upgrade.ts +5 -0
- package/src/cli/commands/usage.ts +33 -0
- package/src/cli/commands/version.ts +5 -0
- package/src/cli/commands/watch.ts +30 -0
- package/src/cli/commands/worktrees.ts +31 -0
- package/src/cli/console-state.ts +5 -138
- package/src/cli/console-versions.ts +1 -1
- package/src/cli/help.ts +37 -15
- package/src/cli/identity.ts +23 -4
- package/src/cli/launch-check.ts +1 -2
- package/src/cli/launch.ts +13 -82
- package/src/cli/light-dispatch.ts +29 -0
- package/src/cli/main.js +8 -1
- package/src/cli/main.ts +233 -2816
- package/src/cli/orca-probe.ts +119 -0
- package/src/cli/output.ts +31 -2
- package/src/cli/preview.ts +10 -5
- package/src/cli/recovery-version-preflight.ts +28 -9
- package/src/cli/replace-process.ts +22 -0
- package/src/cli/report-layout.ts +142 -0
- package/src/cli/roadmap-usage.ts +16 -0
- package/src/cli/roadmap.ts +3 -16
- package/src/cli/sdlc-doctor.ts +27 -0
- package/src/cli/sdlc-output.ts +55 -1
- package/src/cli/setup-homes.ts +1 -1
- package/src/cli/start-agents-run.ts +1 -1
- package/src/cli/statusline-tee.ts +25 -4
- package/src/cli/terminal-recovery.ts +53 -10
- package/src/cli/upgrade-interactive.ts +1 -0
- package/src/cli/upgrade-runtime.ts +11 -0
- package/src/cli/upgrade.ts +4 -15
- package/src/hub/accounts.ts +148 -0
- package/src/hub/addons.ts +20 -0
- package/src/hub/agent-drift.ts +2 -1
- package/src/hub/budget-projection.ts +39 -7
- package/src/hub/budget.ts +231 -16
- package/src/hub/channel-project.ts +3 -3
- package/src/hub/conductor-peer.ts +24 -0
- package/src/hub/conductor.ts +2 -21
- package/src/hub/config-apply.ts +24 -13
- package/src/hub/config-edit.ts +1 -1
- package/src/hub/config-tier.ts +2 -0
- package/src/hub/config.ts +31 -14
- package/src/hub/control-client.ts +48 -0
- package/src/hub/daemon.ts +421 -61
- package/src/hub/events.ts +3 -0
- package/src/hub/home-tag.ts +12 -0
- package/src/hub/host.ts +217 -0
- package/src/hub/hub-tools.ts +2 -1
- package/src/hub/instance-budget.ts +2 -2
- package/src/hub/instance-config.ts +15 -126
- package/src/hub/instances.ts +22 -6
- package/src/hub/instruction-receipt.ts +2 -2
- package/src/hub/kimi-usage.ts +38 -11
- package/src/hub/lifecycle.ts +86 -4
- package/src/hub/mcp-bridge-core.ts +98 -0
- package/src/hub/mcp-channel-push.ts +20 -0
- package/src/hub/mcp-endpoint-serve.ts +178 -0
- package/src/hub/mcp-endpoint.ts +226 -0
- package/src/hub/mcp-tool-call.ts +181 -0
- package/src/hub/operational-settings.ts +2 -0
- package/src/hub/orca-env.ts +6 -0
- package/src/hub/orca-state.ts +84 -0
- package/src/hub/peers.ts +5 -1
- package/src/hub/permission-mode.ts +2 -1
- package/src/hub/project.ts +20 -0
- package/src/hub/protocol-window.ts +58 -0
- package/src/hub/quota-origin.ts +20 -0
- package/src/hub/registry.ts +36 -2
- package/src/hub/report.ts +1 -1
- package/src/hub/research.ts +1 -1
- package/src/hub/review-brief.ts +47 -2
- package/src/hub/roster.ts +6 -3
- package/src/hub/routing.ts +9 -2
- package/src/hub/sdlc-check.ts +205 -0
- package/src/hub/sdlc-sync.ts +146 -0
- package/src/hub/sdlc.ts +33 -4
- package/src/hub/settings.ts +7 -4
- package/src/hub/start-agents.ts +1 -1
- package/src/hub/start-mode.ts +11 -4
- package/src/hub/structure-budget.ts +131 -0
- package/src/hub/structure-scan.ts +149 -0
- package/src/hub/tasks-experiment.ts +455 -0
- package/src/hub/tasks-guidance.ts +606 -0
- package/src/hub/tasks-roadmap-plan.ts +419 -0
- package/src/hub/tasks-roadmap.ts +491 -0
- package/src/hub/tasks-study.ts +661 -0
- package/src/hub/tasks-survey.ts +192 -0
- package/src/hub/tasks.ts +319 -2548
- package/src/hub/terminal-open.ts +5 -3
- package/src/hub/tooling.ts +3 -19
- package/src/hub/usage-rollup.ts +9 -3
- package/src/local/tools.ts +5 -0
- package/src/ui/index.html +1 -1
- package/src/ui/needs.ts +17 -5
- package/src/ui/peer-palette.ts +2 -4
- package/templates/presets/agents.json +60 -0
- package/templates/presets/confirmation-matrix.json +8 -8
package/docs/dogfood.md
CHANGED
|
@@ -10,6 +10,9 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
10
10
|
|
|
11
11
|
| Feature | State here | Measured by |
|
|
12
12
|
| --- | --- | --- |
|
|
13
|
+
| SDLC upkeep: `ahub sdlc status` default, `check`, `sync` and its opt-in roadmap and close actions (#1856 T1 to T4) | source, fixture and real-daemon coverage; runs on this repository after release and restart, with `--write-roadmap` and `--close-settled-issues` only for the person or the conductor with `roadmap.github_write` | count stale receipts per `ahub sdlc check` (head-binding and issue-binding warnings) before and after a `sync --apply`, and open issues whose tasks are all approved and merged after a `--close-settled-issues` run; the target is zero of both |
|
|
14
|
+
| Structure budgets: `ahub structure check`, `baseline --write`, plan and review notices (#1829) | configured in `.agenthub/sdlc.toml` (`src` and `scripts`, 800 lines, 64 KiB, `grow = "warn"`); on after release and restart | baseline entries and summed excess lines per release |
|
|
15
|
+
| Claude bridge mismatch retry (#1807 T2) | Scratch MCP and loopback fixture only. The installed bridge needs an upgrade before it can retry mismatches. | Count same-session reattachments and the time between attempts after 4426. Tool calls during the gap report the mismatch. |
|
|
13
16
|
| Review draft before macOS (#1576) | source and fixture coverage; active after release and restart | compare macOS shard runs per merged PR before and after rollout; target close to one full set of shards per merged PR |
|
|
14
17
|
| Edit governance guards (#1556 T3) | off by default; fixture coverage, available after release and restart | inspect edit guard availability and text-free evidence counts; compare shadow and advisory proposals and check outcomes |
|
|
15
18
|
| Sandboxed package-manager caches (#1549 T3 partial) | source and isolated macOS fixture coverage; active after release and restart | offline Bun and npm installs use per-command writable caches and leave a temporary home untouched; caller overrides and host-wrapper parity are tested; sandboxed reader-lease identity remains open |
|
|
@@ -107,9 +110,11 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
107
110
|
| Instructed conductor SDLC configuration (#1432) | off until a direct person instruction in the current conductor's own session; no live migration performed | `ahub sdlc configure` intent/result events record the actor and changed paths; measure saved off/advise/check-list edits, refusal reasons and pending restarts. Scoped host/control/CLI fixtures cover loader, audit, privacy, role/session and enforce boundaries; init and generic settings remain person-only |
|
|
108
111
|
| Project autonomy preset (#999 T1) | off on this repository until released and explicitly enabled by the person; project scope only | focused person-only, retained-consent, metadata-independent off and authenticated/fallback preset undo tests; the preset writes `action_policy.floor` (#999 T3) and off removes it; status leads with a peer table separating current modes from desired defaults, groups identical floor verdicts and unknowns once with peer lists (#1137), and reads each floor class from the host verdict (`floorEnforcement`), naming the unverified guard where the hub does not see the call first; the Orca zero-prompt native task remains T4 |
|
|
109
112
|
| Machine autonomy and used Claude homes (#999 T2) | off until released and explicitly opted in by the person; no real home is changed by fixture tests | trusted-default/unsafe-default startup consent, all-project preview/apply, init inheritance with unchanged absent-file ask defaults, and isolated per-home plugin/hook setup/status tests; #1069 covers preserving project/local plugin rows while configuring only user scope, plus recording `start.agents` after a failed home step; metric: applied/refused registered targets and missing/unknown discovered-home states; #1245 fixtures cover a verified current alias surviving A-to-B upgrades without marketplace removal, exactly one managed hook, actionable non-user-row refusals, stale-hook doctor warnings in an unselected default home, and PATH-selected global CLI update advice with a pure handoff doctor pointer; real-home setup remains unverified for that change; native Orca receipt remains T4 |
|
|
113
|
+
| Capability listing and watch-only compat entries, Orca CLI watch and published compat table (#1808 T1-T5) | capability listings and watch-only entries on after release and restart; on this repository when the person runs `ahub doctor` or plans an upgrade with Orca installed, and `ahub agents --latest` by hand; the daily watch lists Orca releases; fixture orca only in tests, no live Orca run, no network in tests | `ahub doctor` shows an `orca cli` row; a plan with an Orca whose list lacks a field the recovery reads shows a blocker naming it; `ahub agents --latest` prints a release or `not verified in any release` per refused CLI; the metric is the first real Orca release after 1.4.250 that the row or the watch reports before an upgrade meets it; `ahub agents` shows watch-only rows as observed and never refused |
|
|
110
114
|
| Model-free compat receipt harness (#1248 T1) | disposable-runner command after merge; local personal Mac refused, automation off pending T2, native candidate qualification unverified | fake-only pass/fail/model-not-run and leg/total deadlines, SRI-before-effects and archive refusal tests; JSON/Markdown artifacts, scoped owned stop and lifetime cleanup reported unproven; detached-helper and output-parent-swap regressions; promoted Kimi/Qwen native producers have fake protocol coverage; reconstructed Jcode has an actual 0.99.1 Linux control with four native legs passing and telemetry/context binding failing, without a qualification or trust change |
|
|
111
115
|
| Automated compatibility receipts (#1248 T2) | after merge: daily watch and hosted isolated harness; manual dry mode is the default; no personal Mac candidate install or model/account leg | structured candidate/verified IDs, per-leg artifacts, validated read-only bundle preparation, zero-write dry plans, exact-row bot PRs and explicit check dispatch; failed/not-run rows stay visible and stale verified rows clear; no auto-merge |
|
|
112
116
|
| Compat producer gaps (#1248 hub task 978) | the daily hosted run on macOS arm64, no account, key or model | pi has a committed producer: its nine legs pass on the published 1.5.2 (npm install, real CLI and SDK), with tests for each leg's failure; kimi-review's three native legs now pass on the verified 2.5.1 and on 2.6.2 (they failed on both: the CLI's startup update check hit the network and the empty-network assertion rightly refused it); a manifest test fails an `autoAdmit` id with no producer branch. The metric is the first `compat/<id>-<version>` PR opened by the workflow; kimi-review and qwen stay not-run on a human source-review leg by design |
|
|
117
|
+
| Writer session attribution on hub-saved notes (#1879) | fixture coverage; available after hub upgrade | count attributable `hub_remember` notes with a session key, and confirm console and unbound notes have none |
|
|
113
118
|
| Live memory sync interval (#1543) | available after release and upgrade; person controls the interval | compare `ahub status` sync availability and the time of subsequent passes after changing the setting, with no restart |
|
|
114
119
|
| Read-time memory code neighbours (#684 phase 4) | off until released; dashboard toggle is opt-in | derived call edges with current SHA; attached fail/decision brief coverage; explicit unknown/truncated results; unchanged authoritative memory log bytes |
|
|
115
120
|
| Canonical memory symbol anchors (#684 phase 3) | off until released; optional `doctor --stale-anchors` report only | actual-symbol completion anchors versus plan guesses; symbol-related earlier notes at memory hop two; stale/unknown/truncated report counts; zero note mutations during inspection |
|
|
@@ -164,6 +169,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
164
169
|
| Release preparation and guarded tag (#787 P3b) | scratch-repo fixtures with a local bare remote; the real history was dry-run in a disposable clone; release branches are prepared with it, and since #1273 it also renders the generated README facts blocks | `scripts/release-prepare.ts` run on a `release/<version>` branch and a release PR that carries the version, CHANGELOG, report and stamps; `scripts/release-tag.ts` refusing without the person's consent and pushing one tag after it; native version-named receipts retained while dated release reports are excluded (#1004 fixture) |
|
|
165
170
|
| Opt-in auto pull (#785 P1c) | source/fixture coverage and a real daemon test; off by default, active only where a person sets `tasks.auto_pull` in `config.local.json` | `backlog pulled` history entries with `by: hub` and an `auto_pull:` note; at most one per trigger and peer; no pull with the setting off, for unreserved, PII, pinned, frozen or dependency-blocked cards |
|
|
166
171
|
| Opt-in assignment queue backpressure (#800) | off by default; this change enables no live repository policy | `ahub route explain` and status queue-count/age/unknown reasons beside WIP; bounded summary reads, held-offer release, post-await offline/not-attached origin retention with plan-policy handoff, and role-scoped override regressions; no delivery disposition or routing-template change |
|
|
172
|
+
| Quota renewal (#1806) | Fixture checks in development. Native account switches remain unverified. | Time from `budget_renew` to the peer's next turn, and pauses attributed to old readings after renewal. |
|
|
167
173
|
| Per-head CI watcher and `ci_completed` (#785 P1b, #1490, #1801 T1) | source and fake GitHub fixtures, active after release and hub upgrade | minutes from exact-head CI completion to the next owner action on a draft or conductor action after approval. Record conflict and missing-run notices separately. The watcher uses one metadata read per poll, and merge-ready needs green checks and zero unresolved threads. |
|
|
168
174
|
| Required CI shard reruns (#1801 T3, AC7) | off in this repository (default 0). Enabling reruns is a separate change after every hub that reads this repository's `.agenthub/sdlc.toml` runs 0.51.0. | After enabling, count `ci_rerun` requests per merged PR and how many of the requested reruns passed. |
|
|
169
175
|
| Plan conformance (#481 S2, #1403 T6) | advise | PRs with files outside the plan or under exclusions; accept base-to-local remote-tracking default tip (no task head needed); done base-to-unique merge-base of recorded task head/default tip, excluding own commits. Real temp Git graphs cover upstream/own/integrated/unrelated/shallow/ambiguous/missing refs and changed/none/unknown advice; default tip rechecked, no fetch or checkout-HEAD substitution, no live drift receipt yet |
|
|
@@ -206,6 +212,9 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
206
212
|
|
|
207
213
|
| Feature | State here | Measured by |
|
|
208
214
|
| --- | --- | --- |
|
|
215
|
+
| Orca account import (#1811 T4) | off here by default: person-run only, source and fixture coverage | a person pastes the printed block and `readAccounts` accepts it once homes are filled in |
|
|
216
|
+
| Instance accounts, setup homes and cross-account handoff (#1810 T4-T6) | off here: no `accounts` in this repository's `config.local.json`; source and fixture coverage | a paused `claude:<label>` account's task lands on a peer of another label and the `budget_handoff` event names both |
|
|
217
|
+
| Declared accounts (#1810 T1-T3) | off here: no `accounts` in this repository's `config.local.json`; source and fixture coverage only | a second Claude home pauses on its own `claude:<label>` window while the other keeps running |
|
|
209
218
|
| Quota budgets and pauses | on; this repository's hubs run the 0.99 gate from the machine-local `budget.gate` since 2026-11-07 (#1292), and projects created before #1292 still pin 0.9 in their tracked config until the key is removed | pauses, resets, time paused (#683); for #1292, the count of soft `budget_pause` rows per week before and after the change, and the window share each pause's `reason` names (`5h window at 99%`; a hard refusal names the provider instead). The ledger row has no numeric `used` field, so the share is read from that reason text; #1440 source/fake-clock fixtures prove a paused Codex account polls every 60 s, resumes only through Budget.evaluate, restores normal cadence and cancels on detach/stop; budget text/JSON exposes only count/time/flag diagnostics, credits never change admission, capped expiry remains unknown, and real account reset/credit-funded turns remain unverified; #1446 adds default review floor 0.8/cap 20 min, strict all-candidate known-reset wait, immutable deadline/restart/fallback and owned Kimi accounting fixtures. Native Kimi quota diagnostic is observed 2.2.0/unverified 2.5.2, reset unknown; live reviewer quota/reset remains unverified; #1467 synthetic admission/config/routing/budget fixtures measure off admitting missing/above-floor readings with zero quota waits, pass admitting unknown while preserving known-floor skips, actual/manual pauses remaining blocked, rule readback, and explicit-policy recovery refusal on unsupported targets. Neither opt-out has been applied to this repository's running configuration or verified with live accounts |
|
|
210
219
|
| Token usage per peer and task | `ahub report` and, from the roll-up in `hub.db`, `ahub usage [--by peer\|task\|issue\|pr\|release\|day\|model]`, `usage limits` and `usage total` (#683 U2); console tab `7` (U3) and dashboard Usage view (U4) shipped | tokens per merged PR |
|
|
211
220
|
| Operational settings mechanism (#489 H1) | available after release; this PR does not change this hub's running configuration; planner FYI interval defaults to the existing 10 minutes | shared descriptor/schema/UI/apply parity, independent legacy-default pins, real planner-notice boundary and settings inherit/undo/reload fixtures; native console/dashboard editing remains unverified |
|
|
@@ -232,6 +241,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
232
241
|
| Multiple Jcode instances (#685) | implemented and fixture-covered; none is declared on this repository. One `JcodePeer` per declared id (at most 8), each with its own `jcode_home`, socket and state; homes are compared through `canonicalHome` and refused when equal to or nested in another's, every owned launch supplies `AGENTHUB_PEER_ID` and `AGENTHUB_LAUNCH_ID` through `peerChildEnv`, and a `tools` hello is admitted only with the launch id of that peer's current owned launch (`docs/agent-notes/adapters.md`). `.agenthub/config.json` declares no `instances` here and `ahub status --json` lists only the base `jcode` peer | turns per instance |
|
|
233
242
|
| Jcode TUI refusal causes and the recovery hint (#1085) | on for the base jcode wherever `roster.jcode` is on; fixture coverage only (fake jcode server drives each cause class, a resumed session and the status hint). A live recovery of a real jcode under a person's home is unverified and is not run here | hub.log lines `native_tui_launch jcode refused: <code>` per class (a class that dominates names the real failure), and `ahub status` showing the `jcode is running headless after recovery` line only until a ready TUI launch is served |
|
|
234
243
|
| Peer terminals open in the target project's Orca worktree (#1089) | on wherever a TUI start opens a terminal through Orca; fixture coverage only (a fake `orca` CLI answers `worktree list` and records every call: a start from another project's terminal, refusals for no match, a parent or child root, an archived entry, two matches, a cut-off list and an Orca failure). Run against a real second project in Orca is unverified and not run here (no live panes) | hub.log lines `the hub opened no watch pane (Orca has no worktree whose root is this project's root ...)` and `ahub up` or `hub_peer_start` refusals that name the same cause, and no `ahub <peer>` failing its project-root readback after a hub-made start |
|
|
244
|
+
| Orca pane-keyed launch record and blocked-pane Attention (#1811 T1-T3) | on after release and restart wherever a peer's terminal opens through Orca | Attention items naming a blocked pane and how long the delivery waited first; at most one `orca agent list` read a minute per peer |
|
|
235
245
|
| Crash-recovery notices that clear (#1082) | on after release and upgrade, for the first crash a hub recovers from after that; fixture coverage only (`test/crash-notices.test.ts`: a real daemon over a planted crashed run, peers attached through the bus, rows resolved through the control path). A real `kill -9` recovery on a project with live peers is not recorded here | the `crash` lines of `ahub status --json` after every peer is attached and the held rows are resolved (expected: the headline only); the headline count against `ahub queue list` for the crash's own rows; any `run ahub ... again` line still showing next to an attached peer |
|
|
236
246
|
| Urgent accept takes back unaccepted offers; WIP refusal splits accepted from offered (#1080) | on after release and upgrade; fixture coverage only (`test/urgent-wip.test.ts`: a real `Tasks` over a real board, an owner at its limit with one accepted task and offers). A live urgent task for a busy owner is not recorded here | task history: `unassigned` by `hub` with a `displaced by urgent task` note; the planner notice `was taken back from`; any `planner WIP capacity` refusal that still reads as one undivided list of open tasks |
|
|
237
247
|
| Declared needs keep work from a peer that cannot do it (#1081: `needs_network`, `needs_worktree`) | on after release and upgrade, for tasks proposed with `needs_network` or `needs_worktree` (or `--needs-network`, `--needs-worktree`); fixture coverage only (`test/routing-network-needs.test.ts` and `test/routing-worktree-needs.test.ts`: routing, `route explain`, explicit assignment, a reservation, accept with a rostered fake Pi and Codex, and a real git repo showing a refused accept creates no branch ref; `test/capabilities-network-worktree.test.ts`: a real daemon's per-peer capabilities). A real Pi or local worker offered flagged work is not recorded here. A hub-made worktree for a sandboxed peer (#1115) is covered by fixtures only (`test/task-worktree.test.ts`: real git, a bare origin, the hub's commit and push, a moved branch or HEAD refused, the path policy, decline and cancel cleanup; `test/task-worktree-sandbox.test.ts`: the real `sandbox-exec` profile, unchanged, with the peer editing and the hub's commit after (the peer's own commit failing is asserted in `test/sandbox-git-refs.test.ts`, #1123); `test/task-worktree-tasks.test.ts`: accept, refusal, decline, cancel and the done hand-off through `Tasks`), so it is on after release and upgrade, for flagged work offered to Pi or local in a git repository with a GitHub origin, and its metric is a Pi or local task whose branch was committed and pushed by the hub and reviewed, with no `.git` write attempt from the sandbox (expected: none) and no empty `task/*` refs left by a declined or cancelled one | `ahub route explain` lines `skipped, no network` and `skipped, no worktree` for Pi or local; Pi or local declines of work that needed the network or a worktree (expected: none once the task is flagged); empty branch refs left by a declined Pi or local task (expected: none for flagged tasks); unflagged tasks that were declined for a missing worktree or registry, which show the planner is not flagging them |
|
|
@@ -309,6 +319,10 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
309
319
|
| acon console plugin (#935) | off here until a person runs `ahub setup` after the release and `acon ui` on this machine; the plugin registers per agenthub home, not per repository | `acon plugins` shows `ahub verified`; the console's agent-hub panel shows this repository's live board, and an approval answered from the console inbox appears in hub.log as `answered option allow_once by dashboard`. Space (#1012): adopted with the plugin, no separate switch; acon's Space view (Flat, Room, 3D) shows this repository's peers as actors (state and marks matching the dashboard's office), the board columns as queue/work/review/done zones with the same counts, and overlap links plus message arcs (broadcasts to every other desk) as links; clicking an actor or card opens this project's agents or board panel; incremental Space (#1380) keeps a daemon cursor and OfficeScene per project, coalesces concurrent reads and caches the running listing for 10 s, refreshing it in the background on a later poll. A viewer holding the combined cursor receives `changed:false` when the public scene, per-project cursors and membership are unchanged, including wall-clock message-link expiry. `test/acon-space-1380.test.ts` pins unchanged replies, changed-project reads, listing refresh, restart/refusal and privacy; current daemons still return full office bodies even with a cursor, so wire/body savings and the live console warm p95 remain unverified. A project is a Space group since #1375: the scene declares one group per project, every actor, zone and card carries its group, actor names carry no project prefix, and an actor adds the project's configured roles (at most 4 names of 32 characters) and `since` (the open turn's start, only while the actor is working, because no other state has a change time here); the trim follows acon 0.2.0 (actors 96, groups 200, cards 200, links 128) and the manifest declares `inboxMaxAgeMs` 1000 and `spaceMaxAgeMs` 2000, one poll interval. `test/acon-plugin.test.ts` checks the mapped scene with acon's own `spaceSceneProblems` and pins each cap against acon's own number. The first cold inbox call (#1375 AC6) measured 1.0 to 1.1 s here with 21 registered projects, split into 74 ms of plugin load, 628 to 740 ms for the first project listing and 250 to 319 ms for the project `agents` snapshots; a poll inside the 1 s fresh window costs 0 ms and one with the cache bypassed 258 ms. So the cold cost is the listing, which the inbox does not reuse (Space does), plus one snapshot per project, and the ~2 s observed is the per-project snapshot budget (`inboxProjectBudgetMs`) a slow project is waited out on, a project that misses it adding no rows to that first poll; #1375 left the inbox path unchanged. The live acon `perf-snapshots` measurement (AC7) stays a person-run leg and is unverified |
|
|
310
320
|
| acon lineage read declaration (#1632) | pinned agent-console 0.2.0 loads the manifest and keeps the lineage route unavailable; 0.3.x acceptance is pending | pinned console route returns 400 for lineage, its shell displays the one-line refresh error, and dashboard navigation gains no tab |
|
|
311
321
|
| Configured print adapter (#1515) | source and isolated conformance fixtures; real non-ACP CLI receipt is person-run | stdout delivery and truncation, timeout and stderr failure, sandbox write denial and reviewer-pool exclusion |
|
|
322
|
+
| Agent presets, `ahub agents presets` and `agents add` (#1809) | off here: no `adapters` in this repository's `config.local.json`; person-run | an added preset loads after restart and joins with `ahub roster add`; presets with a receipt against untested ones |
|
|
323
|
+
| Configured pull kinds, `ahub <kind>` (#1809) | off here: no pull kind declared | a pull session attaches under its kind and reads `hub_inbox`; zero owned tasks and zero pushed deliveries |
|
|
324
|
+
| Shared host, `host.shared` (#1779 T3a) | off here: no `host` key in this repository's config | projects per host process and its memory against one daemon each; `ahub down` of one project leaves the others serving |
|
|
325
|
+
| MCP endpoint socket (#1780 T1, T2a) | on after release and restart for every hub; serves no MCP yet | `mcpSocket` in `status.json`; `mcp endpoint unavailable` lines in `hub.log` per start, target zero |
|
|
312
326
|
| Peer activity category (#1512 T2) | source and isolated fixtures; live dashboard and Space presentation are deferred | live JSON status emits only the kind and start time, clears at lifecycle boundaries, omits private activity and leaves no persisted row |
|
|
313
327
|
| Agent CLI version policy and trust (#691) | on after the release: Kimi Code 2.8.1 passed all nine [model-free reviewer proofs](verification/2026-11-29-kimi-281-reviewer-compat.md) with scratch trust and with the verified pin alone, and its [interactive TUI legs remain unverified](verification/2026-11-29-kimi-tui-281.md); Claude Code 2.1.332 headless implementer passed all 22 [model-free native cases](verification/2026-11-25-claude-implementer-2.1.332.md) in this repository; Codex 0.163.0 verified by the [2026-10-22 receipt](verification/2026-10-22-codex-reviewer-isolation.md) and 0.164.0 by the [2026-10-24 receipt](verification/2026-10-24-codex-0164-reviewer-isolation.md); Kimi 2.3.0 and Qwen 0.26.0 verified by the [model-free receipt](verification/2026-10-22-kimi-qwen-compat.md), Kimi 2.3.1 by the [2026-10-25 model-free receipt](verification/2026-10-25-kimi-231-reviewer-compat.md) and 2.3.2 by the [2026-10-26 one](verification/2026-10-26-kimi-232-reviewer-compat.md), with account/provider live legs unverified; Qwen basic ACP 0.27.0 has a [macOS arm64 account-free receipt](verification/2026-11-09-qwen-0270-acp.md), while historical setter A/B/B has an unknown third-request purpose; the [suggestions-off repeat](verification/2026-11-11-qwen-setter-suggestions-off.md) passes ordinary A/B/A on 0.26.9/0.27.0, with production setter admission still unavailable; agy exact 1.5.3 has an [account-free receipt](verification/2026-11-08-agy-1.5.3.md); effective after release and upgrade, with the 1.4.x line unchanged | model-free isolation receipts, `ahub agents` verdicts, versions trusted per machine, lead time from an `agent-compat` issue to a receipt |
|
|
314
328
|
| Peer child environment isolation (#1077) | source and fixture coverage; no native account or Orca session used | daemon peer children, version probes and process-table helpers contain no `ORCA_*`; person-owned native launches keep their fixture pane's `ORCA_*` context while replacing agent identity; explicit Claude/Codex selectors pass through where the adapter inherits them; preload clears ambient selectors without changing fixture home bytes |
|
package/docs/events.md
CHANGED
|
@@ -31,6 +31,7 @@ marked `private: true`, and PII tasks `pii: true`.
|
|
|
31
31
|
| `stuck` | `peer`, `task` (task id), `category` (`repetition`, `false_progress`, `drift`, `desperation`, `capability_gap`), `streak`, `latched`: an escalation verdict; it recommends considering reassignment and never reassigns automatically |
|
|
32
32
|
| `capability` | `peer`, `state` (`verified` or `lost`), `via`: a peer's context path for facts |
|
|
33
33
|
| `memory_brief` | `peer`, `task`, `native`, `fails`, `claudeMem`: what a task brief carried, as counts (#258, docs/memory.md); the research record's `memory` block reads agent-mem's counters for the task, not new events (#1279, docs/research.md) |
|
|
34
|
+
| `budget_handoff` | `from`, `to` (peer ids), `fromLabel`, `toLabel` (declared account labels, `default` for an undeclared home), `role`: a paused account's work moved to a peer on another account (#1810). Labels only, never a home. |
|
|
34
35
|
| `preface` | `peer`, `bytes` (of the whole session preface block), `lines` (memory lines in it, those that start with `mem:`), `ordered` (true when observed use reordered the long-term section): one per peer per hub run, when the preface is installed (#1330). Numbers and a boolean only, never a line. |
|
|
35
36
|
| `hub_start` | `instance`, `personAttribution: true` (this run writes `task` and `attribution` on `permission`, `question`, `completion` and `agent_cli`, #1278; a log with no such start says nothing about which task a person interaction belonged to): a hub run began, written once it holds its control port and before any peer can attach (a daemon that cannot bind writes none); every peer counts as detached until its next `state` event |
|
|
36
37
|
| `tooling` | `peer`, `addons` (`{ name, version }` from a closed list, version null when unknown): the add-ons a peer works with, at each attach (#248, docs/research.md) |
|
|
@@ -60,7 +61,8 @@ marked `private: true`, and PII tasks `pii: true`.
|
|
|
60
61
|
| `checkpoint` | `peer`, `reason` (`quota`, `context`), `fields` (the names, from `done`, `in_progress`, `next`, `verified_by`, `traps`, of the structured fields the saved checkpoint carried; an empty list for a summary-only one): one per `hub_checkpoint` the hub accepted (#1331). Never the checkpoint text. |
|
|
61
62
|
| `context_pressure` | `peer`, `source` (`claude_statusline`, `codex_token_usage`, `acp_usage_update`), `measuredAt` (epoch ms of the reading), `used` (the fraction of the context window in use, 0 to 1), `window` (its size in tokens, or null): a fresh reading of a peer's native context reached `context.gate`. Recorded once per crossing, until a reading below the gate or a new native session rearms it, and not while the peer is paused or offline or the hub is in recovery or stopping |
|
|
62
63
|
| `quota` | `peer`, `windows` (`id`, `used`, `resetsAt`), `hard`, `measuredAt` (when the reading was taken; older rows omit it when the reading was current) |
|
|
63
|
-
| `budget_pause` | `peer` (the account), `reason` (the coordinator's own text: window id, percent and source), `window` (`5h`, `week`, `tokens` or `unknown`), `resetsAt` (epoch ms), `by` (`hub`). Written where the pause record is written (#683). |
|
|
64
|
+
| `budget_pause` | `peer` (the account; `claude:<label>` for a declared Claude account, #1810), `reason` (the coordinator's own text: window id, percent and source), `window` (`5h`, `week`, `tokens` or `unknown`), `resetsAt` (epoch ms), `by` (`hub`). Written where the pause record is written (#683). |
|
|
65
|
+
| `budget_renew` | `peer` (canonical account), `mode` (`reset` or `switched`), `by` (`person`). The first admitted reading establishes the baseline without adding a derived `quota_reset`. Kimi soft-window replay uses the saved renewal marker and each usage event's `measuredAt`; renewal leaves usage events and totals intact. |
|
|
64
66
|
| `budget_resume` | the same fields; `reason` says why it ended and `by` is `hub` (the window reset, or usage fell back under the gate) or `person` (an `ahub budget resume` override). A pause replaced by a new one after its window reset gets a `budget_resume` first (reason `replaced by a new pause after its window reset`). `ahub reset` clears pauses without writing one, because it keeps `events.jsonl` untouched. |
|
|
65
67
|
| `quota_reset` | `peer`, `window`, `cause` (`resets_at_moved`: the window's `resetsAt` moved forward by more than 15 minutes, since a provider's `resetsAt` wobbles by seconds inside one window; `used_dropped`: `used` fell by 0.5 or more inside one window id), `resetsAt`, `previousResetsAt`, `used`, `previousUsed`, optional `measuredAt`. Derived from two readings, one entry per peer, window and `resetsAt`, also across a restart. |
|
|
66
68
|
| `conflict` | `peer`, `task` (its task in progress, when it had one), `other` (the other owner's open task), `owner`, `paths` (names that match a PII pattern left out, so it can be empty), `concurrent` (another peer worked during the turn), `turns` (the two turn ids, when two overlapping turns' snapshots both hold the change) |
|
|
@@ -118,7 +120,7 @@ Token usage by adapter:
|
|
|
118
120
|
|
|
119
121
|
## The usage roll-up (#683)
|
|
120
122
|
|
|
121
|
-
`ahub usage` does not read `events.jsonl` on each call. The daemon folds it into `hub.db`: `usage_rollup` (day, peer, model, source, task and the private mark, with the sum of each provider counter and how many records carried it), `token_rollup` (the hub's own `tokens` increments), `limit_events` (every `budget_pause`, `budget_resume` and `quota_reset`, without the reason text), `usage_points` (#1513: per hour, peer and `native` or `count`, the tokens each record spent and how many records added to it; the quota forecast in `ahub budget` reads it, taking the provider's figure for an hour a provider reported and the hub's own `tokens` count otherwise, so an hour is never counted twice) and `rollup_state` (the byte offset and the first event's time). Each `usage` record is counted once by peer, source and id, as `ahub report` counts it. The roll-up holds ids and numbers only, so a title cannot reach it. A sum is shown only where at least one record carried the counter, otherwise it is unknown.
|
|
123
|
+
`ahub usage` does not read `events.jsonl` on each call. The daemon folds it into `hub.db`: `usage_rollup` (day, peer, model, source, task and the private mark, with the sum of each provider counter and how many records carried it), `token_rollup` (the hub's own `tokens` increments), `limit_events` (every `budget_pause`, `budget_resume`, `budget_renew` and `quota_reset`, without the reason text; a `budget_renew` row keeps only `mode` and `by`, with its window `unknown`), `usage_points` (#1513: per hour, peer and `native` or `count`, the tokens each record spent and how many records added to it; the quota forecast in `ahub budget` reads it, taking the provider's figure for an hour a provider reported and the hub's own `tokens` count otherwise, so an hour is never counted twice) and `rollup_state` (the byte offset and the first event's time). Each `usage` record is counted once by peer, source and id, as `ahub report` counts it. The roll-up holds ids and numbers only, so a title cannot reach it. A sum is shown only where at least one record carried the counter, otherwise it is unknown.
|
|
122
124
|
|
|
123
125
|
## Per-task usage reports
|
|
124
126
|
|
package/docs/memory.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Agent-hub consumes the first-party [`@staix/agent-mem`](https://github.com/STAIxBWLB/agent-mem) library through the declared range `>=X.Y.Z <M.0.0` in [package.json](../package.json) (X.Y.Z at or above 0.33.0, M the next major; the lockfile resolves a release inside it). A plain release inside the range is accepted without a hub release when the package's `HOST_API_MIN` and `HOST_API_VERSION` are positive integers, `MIN <= VERSION`, and their range intersects the host API range this hub supports (`[1, 1]`); a package without them, or with an incompatible host API, is refused with the cause and the next step. A new major is a reviewed raise. Format-floor note: a new minor may raise the on-disk format floor, and a store written by it is not readable by an older hub or amem, so roll the hub back only together with the store, and read agent-mem's release notes for the new floor before upgrading. The package owns portable storage, tiers, graph, goals, sync, import and raw commands. Agent-hub owns caller authority, current project privacy policy, task lifecycle integration and presentation. Claude-mem is an optional, explicit import source only; runtime recall and capture make no worker HTTP requests.
|
|
4
4
|
|
|
5
|
-
The declared range is `>=0.
|
|
5
|
+
The declared range is `>=0.47.0 <1.0.0`. The lockfile resolves agent-mem 0.47.0, which pins `@staix/cli-output` 0.1.5 and `@staix/mcp-stdio` 1.2.1. Recovery requires the cli-output pin to match the hub's (#1768). The range also keeps agent-mem's outstanding-task index (`MemoryStore.unsettledTaskKeys`, agent-mem#610, since 0.39.0; see [Task lifecycle and host policy](#task-lifecycle-and-host-policy)). A hub that loads a release older than 0.47.0 refuses memory at load with the range check above. Since 0.39.0, each populated profile has a v6 derived index beside the v5 one, so a 0.38.0 reader (such as a 0.46.1 hub) can share the home; 0.42.0 adds a separate search cache, so older versions keep their own index. `HOST_API_VERSION` stays 1. Releases from 0.43.0 through 0.47.0 leave the store and sync format floors unchanged. Agent-mem 0.45.0 can read session-bearing notes in storage. Use 0.46.0 or later to import or promote those notes with attribution intact.
|
|
6
6
|
|
|
7
7
|
## Portable core and data directory
|
|
8
8
|
|
|
@@ -173,6 +173,8 @@ Whether hub memory helps is measured, not assumed (#258 AC11, with #248):
|
|
|
173
173
|
|
|
174
174
|
A plan's explicit paths/symbols and refs paths are matched against live, screened fail `about` nodes (the source of v1 `rules_out` graph edges). Matching fails lead the owner's brief and the review delivery's checklist; accepting a plan or claiming work returns the same current advice. Existing related-memory fails-first ordering is retained. Unrelated fails do not gain plan priority. The guard informs, never blocks or changes the task, and PII tasks never invoke it.
|
|
175
175
|
|
|
176
|
+
Curated `hub_remember` notes carry a 16-character writer session key when the daemon has the current adapter's session ID. For socket-owned peers the request must come from the current attachment. The daemon hashes the observed ID with `captureSessionKey`. Console and unbound calls omit the field, and existing notes keep their original contents.
|
|
177
|
+
|
|
176
178
|
`hub_remember` accepts optional string fields `approach`, `symptom`, `cause`, `evidence`, and `retry_when` only with `kind: "fail"`. Provided fields appear in that order with labels `Approach`, `Symptom`, `Cause`, `Evidence`, and `Retry when`, after optional plain text. A structured-only fail is valid; plain text remains valid. The completed text is validated before policy, storage or display: at most 4000 UTF-8 bytes, with actual/limit byte counts on refusal and no truncation. Every composed field passes the existing secret/PII/private-path checks.
|
|
177
179
|
|
|
178
180
|
## Decay review
|
|
@@ -322,11 +324,11 @@ An unchanged failure emits one safe log line per episode. A complete bounded pol
|
|
|
322
324
|
|
|
323
325
|
`ahub memory declined [--json]` is a read-only inspection that an agent shell may also run (#1522). It reports physical outbound row IDs and safe policy categories, never title, body, path nodes or literal private patterns. Reads defer promotions and recheck the profile binding. Forgotten originals still matter: `forget` changes materialized visibility but leaves the source row in append-only history. Do not use it as a promise to clear a sync refusal.
|
|
324
326
|
|
|
325
|
-
The declared agent-mem floor (0.
|
|
327
|
+
The declared agent-mem floor (0.47.0) supplies bounded `inspectSyncPolicy` inspection for shared-v1 and generation profiles. A complete result lists the declined IDs and safe rule categories for the inspected physical outbound history, including originals hidden by a later forget. An incomplete `input-bound` result may now carry an optional `bound` receipt (`kind`, `limit`, `observed`, `nextStep`); `complete` and `reason` keep their shapes. An unavailable, stale or bounded-out inspection remains explicitly incomplete; it never proves that no declined rows exist. The hub uses the public SDK rather than private helpers, snapshots of full history or its own portable log reader.
|
|
326
328
|
|
|
327
329
|
The package also owns per-row local placement. The hub adopts only the projection of a successful trusted SDK placement result: `ok` with its verified withheld/exported counts. Since agent-mem 0.23.0 the daemon passes `placementAttestation` on every `syncMemory` pass, built by the package's own `createPlacementAttestation` for the memory home (`hostPlacementAttestation`, `src/hub/memory-sync-attestation.ts`). A legacy or shared-v1 store ignores it. The hub supplies no writer facts of its own, never fabricates the proof and builds a new one per pass, so no measurement outlives it. A refusal (`PlacementWriterContextError`) is its own closed cause `writer` in status, the dashboard and the log: the category (`running CLI`, `host package`, `setup receipt`, `declared writer`, `active locator`, `home floor`, `writer renewal`, or `unknown` for an unrecognized SDK category), the cause class (`missing`, `changed`, `unavailable`) and the next step (repair the amem install and its host pin, then a person runs `amem migrate --sync-placement --dry-run`). The package's message, paths and versions never enter status or logs. It logs once per episode like every other cause. Count projection does not delete or rewrite notes, change policy or promote a declined row; transport failures remain failures.
|
|
328
330
|
|
|
329
|
-
Legacy stores without active per-row placement still refuse a sync containing declined rows. The native amem CLI has person-only activation from 0.22.0 ([activation documentation](https://github.com/STAIxBWLB/agent-mem/blob/v0.24.0/README.md#initial-sync-placement-activation)). A person using a CLI upgraded with the hub's declared floor (0.
|
|
331
|
+
Legacy stores without active per-row placement still refuse a sync containing declined rows. The native amem CLI has person-only activation from 0.22.0 ([activation documentation](https://github.com/STAIxBWLB/agent-mem/blob/v0.24.0/README.md#initial-sync-placement-activation)). A person using a CLI upgraded with the hub's declared floor (0.47.0; a 0.22.1 install sharing the home drops Record entries, see [Agent-authored records](#agent-authored-records-1320)) can preview it with every local writer installation declared, including the CLI and hub library installs:
|
|
330
332
|
|
|
331
333
|
```sh
|
|
332
334
|
amem migrate --sync-placement --dry-run --writer-root '<cli-install-root>' --writer-root '<host-amem-install-root>' --json
|
package/docs/operations.md
CHANGED
|
@@ -85,7 +85,7 @@ The transport probe found an inherited Unix socket on macOS. On Linux with Yama
|
|
|
85
85
|
`report --by task` keeps the attribution and coverage sentences with section headings and aligned counters.
|
|
86
86
|
Use `--json` for scripts; it returns the fetched data without color, and `status --json` keeps its existing document.
|
|
87
87
|
Every human view prints on the shared Report layout (a header, a `▸` mark per section and state markers) and takes `--ascii` for ASCII markers (#1654). Stderr warnings read `ahub: warning: <what>: <why>`, with a `→` line naming the next step where the fix is known; `ahub: blocker:` lines are unchanged, and `--json` output and exit codes stay the same.
|
|
88
|
-
`sdlc status`, `sdlc explain`, `sdlc queue`, `sdlc release`, `sdlc metrics`, `sdlc costs`, `sdlc merge` and `sdlc authorize-release` print readable output by default (#814, #899: aligned columns, wrapped text, readable times, `--color=auto|always|never`). A script that parsed their JSON must pass `--json`, which prints exactly the document they printed before. `sdlc export` is a data format and stays JSON, as do `export`, `research export` and `bench export`.
|
|
88
|
+
`sdlc status`, `sdlc explain`, `sdlc queue`, `sdlc release`, `sdlc metrics`, `sdlc costs`, `sdlc merge` and `sdlc authorize-release` print readable output by default (#814, #899: aligned columns, wrapped text, readable times, `--color=auto|always|never`). A script that parsed their JSON must pass `--json`, which prints exactly the document they printed before. A bare `sdlc status` (and its `--json`) now lists only the unsettled tasks and those of a release train that is neither shipped nor dropped; `sdlc status --all` keeps the earlier view, the first 100 tasks by id (#1856). `sdlc export` is a data format and stays JSON, as do `export`, `research export` and `bench export`.
|
|
89
89
|
`restart` and `upgrade` off an interactive terminal (a pipe, `--dry-run`), `recovery status` and the results of `recovery reattach`, `resume`, `abort` and `dispose`, `models setup` and `start`, `queue resolve`, and `budget execution configure` and `disable` print readable text by default (#814); a script that parsed their JSON must pass `--json`, which prints exactly the document they printed before, including `restart --json --yes`. A readable plan lists each project, each peer with how it runs and what happens to it, every blocker, every reconnect-only session and every fresh start, and says nothing was changed; `--json` keeps those as stderr lines. A pipe wraps at `COLUMNS` when it is set, else at 80 columns.
|
|
90
90
|
`task show`, `task cancel`, `backlog groom`, `backlog return|plan|pin|split|undo|pull-ready` and the `release` commands (`list`, `show`, `new`, `plan`, `activate|freeze|ship|drop`) print a readable block by default (#814): the task or release as the hub holds it, a table for lists, every identifier whole, long text wrapped to the terminal. A script that parsed their JSON must pass `--json`, which prints the hub tool's text exactly as before. A private task arrives from the hub as its stub and is shown as that stub. Because these commands also take free text, `--json` and `--color=` count as flags only at the start or the end of the arguments: `--json` in the middle of a reason is part of the reason, and a value flag's value (`task cancel --reason --json`) is never a flag. A reason that ends in a bare `--json` loses it to the flag. `backlog add|pull`, `task escalate|assign|unassign` already answered one sentence and are unchanged.
|
|
91
91
|
In `projects --json` and `status --all --json`, an unavailable hub that explicitly refuses an inspection for SQLite contention also carries `failure: { "code": "database_busy" }`; it is additive metadata alongside the neutral `error` sentence.
|
|
@@ -193,7 +193,7 @@ Tab `9 Roadmap` (#1483 R5) appears while the hub reports the `roadmap` feature.
|
|
|
193
193
|
|
|
194
194
|
The dashboard's Usage view (#683 U4) sits in the Agents view, under Usage budgets, and shows the same roll-up: the lifetime, without-cache and cache-read totals with
|
|
195
195
|
the peers whose figure is unknown, the last 14 UTC days as stacked columns per peer (a day with no record is a `no record` column, never zero), a limits table with the
|
|
196
|
-
open pauses and the last 20 pause, resume and reset events, and a task table (state, owner, PR, input, output, cache read, cache write, total). Every figure names its
|
|
196
|
+
open pauses and the last 20 pause, resume, renewal and reset events, and a task table (state, owner, PR, input, output, cache read, cache write, total). Every figure names its
|
|
197
197
|
source like the console does and `unknown` stays the word. A private task shows `#id [pii]` and never its title. The page asks for the figures only while the Agents view is open
|
|
198
198
|
(`view: "agents"` in the snapshot request), so a hidden view costs no roll-up work on the 1 s poll. When the roll-up is still behind a very large log the snapshot carries
|
|
199
199
|
`usage.behind: true` and the view says the figures are a lower bound until it catches up; a roll-up that cannot be read shows `unavailable`, never the last figures. When there
|
|
@@ -712,7 +712,11 @@ Conductor operations are listed in [the operational command table](#conductor-op
|
|
|
712
712
|
|
|
713
713
|
`ahub capabilities [--json]` is Console only: an agent shell is refused, and so is the configured conductor. It lists, for each attached peer, the skills and commands the hub can read from that peer's own session, whether you share each one, its digest, and the class a call would count as. It lists and never calls anything; agents call what you share with `hub_invoke` (see below).
|
|
714
714
|
|
|
715
|
-
What the hub can read is deliberately narrow. A listing is read only from a version whose listing was probed (the [C0 receipt](verification/2026-10-30-445-capability-probes.md)): Kimi 2.3.2, Qwen 0.26.1 and Codex 0.166.0. Any other version lists nothing until a new receipt covers it, and
|
|
715
|
+
What the hub can read is deliberately narrow. A listing is read only from a version whose listing was probed (the [C0 receipt](verification/2026-10-30-445-capability-probes.md)): Kimi 2.3.2, Qwen 0.26.1 and Codex 0.166.0. Any other version lists nothing until a new receipt covers it or the person trusts that exact version with `ahub agents trust kimi-capabilities|qwen-capabilities|codex-capabilities <version>` (#1808; the three are `COMPAT` entries without a `line`). Trust is read from this machine's record on every call, so a revoke takes effect without a restart, and a record that cannot be read trusts nothing. A trusted listing is untested and may miss or misclassify entries. It also lets a capability you shared earlier be invoked again without a new share when its digest still matches, because the digest covers neither the CLI version nor the skill's content; every other share and invocation check stays. A peer that is offline or whose list did not arrive lists nothing. The three entries also add rows to `ahub doctor` and `ahub agents` whenever the installed CLI is not a verified version, and each refused row becomes a status Attention item whose next step is `ahub agents trust` and queues one planner notice, as every contract entry does. People who do not use shared capabilities see these rows too. Only the capability listing is refused for such a version, never the start of the CLI: no launch or restore check reads these three ids. The `listing-shape` legs of `kimi-capabilities` and `qwen-capabilities` have a producer (`scripts/compat-receipts/proofs/capabilities.ts` with the driver `capabilities-acp.py`). It starts the exact installed candidate as an ACP agent with a fixture model on an unreachable loopback address, opens one session, sends no prompt, and compares the `available_commands_update` of that session with the shape the C0 receipt recorded. A pass needs the exact agent name and candidate version, no entry or field the record does not know, the recorded builtins first and in order (Kimi), exactly one fixture skill, a network log that is absent or a zero-byte regular file (a link, another file type, an oversized or an unreadable log never passes), a preload marker written from inside the candidate process (without it the leg is not-run, never a pass), and no surviving process. The driver signals the candidate's group only while its leader is unreaped and still leads it (SIGTERM, up to 3 s, then SIGKILL, up to 3 s) and sends only signal 0 probes afterwards, so a helper that outlives its leader is reported as a cleanup failure and never signalled by the driver. A PermissionError from a probe counts as not shown gone yet and probing goes on to the 3 s bound. If the driver itself is stopped mid-cleanup, the runner records what it started and stops it when the process table can be read; otherwise the disposable runner is the boundary. It was tested only with fake executables: no real candidate has been measured. It cannot prove that a skill runs, that an entry has the class its name suggests, or anything about a version it was not given. Its pass leaves `autoAdmit` false, so a pass adds a drift row and never a PR, a verified version or a `line`; a person reviews before `verified` changes. The Codex leg (`codex-capabilities` `skills-list-shape`) has a producer (`scripts/compat-receipts/proofs/codex-capabilities.ts` with `codex-listing.py` and `codex-sandbox-launcher.py`, macOS only). It starts `codex app-server` over stdio under the seatbelt profile of `src/local/sandbox.ts` with network false and `(deny network*)`, `CODEX_HOME`, `HOME` and `TMPDIR` in a private folder, and a launcher in the same process that becomes the candidate tries a loopback connection first. A pass needs the same listener to accept a connection from outside the sandbox, the launcher's attempt to fail with EPERM (a refusal, a timeout or another error proves nothing and the leg is not-run, and so is any error before that control is proved or an exit before the candidate's first answer; an exit after a valid answer is a failure), nothing to reach the listener from the launcher, the exact version, the recorded `skills/list` fields, the entry's `cwd` equal to the requested one and the one fixture user skill at its exact file (`skills/probe-fixture/SKILL.md` under the private `CODEX_HOME`, compared by real path) (both the exact file name and the exact `cwd` are inferred from how the C0 run was set up, not recorded in its answer) and a clean stop; only `initialize`, `initialized` and `skills/list` are sent. It was tested only with fake executables: no real Codex was measured, a real Codex may not start under this profile, and the sandbox does not log blocked network attempts. It cannot prove that a skill runs, that nothing else leaves the machine on a path the profile does not cover, or anything on another OS. `autoAdmit` stays false. Two more watch-only entries use the same producers: `codex-appserver` (leg `appserver-handshake`, mode `handshake` of the same Codex driver: `initialize` only, exact version in `userAgent`) and `kimi-acp` (leg `acp-handshake`, mode `handshake` of the Kimi driver: exact agent name and version, `loadSession` true and a session id, no listing; it adds nothing to the Kimi listing leg's isolation). Both are gate `observe`, tested only with fake executables, never auto-admitted, and a failed leg of either is reported as `contract-drift`; an unreadable version is `unknown`. `claude-channel` (gate `observe`, `referenceOnly`: 2.1.332 is the install reference, not a verified version, and every version reads as `observed`) has one leg, `channel-flag-parse`: the installed Claude Code is started three times with no account, no prompt and stdin closed under the Codex leg's sandbox and network control, with random option names, and must name the first of two invalid options, name one invalid option, and with the launcher's own channel flag and value before an invalid option name only that option. Only the third run can fail the leg, and only when the first two passed; a zero exit, a session start, a timeout, oversized output or a failed control is not-run. It proves only that the parser still takes the flag, not that a live session accepts channel messages, and no real Claude parse error is recorded, so a real candidate may always be not-run. `classifyClaudeParentCommand` stays a separate check on the launcher's real argv. Codex's pinned 0.154.0 is not probed, so a pinned install lists nothing for now. Only skills are listed: Qwen by its `_meta.source` (`bundled-skill`, `skill-dir-command`), Kimi by the `skill:` prefix of its name, Codex by an enabled entry of `skills/list`. A builtin such as Kimi's `compact` or Qwen's `clear` changes session or host state and is never listed. A session the hub cannot read natively publishes its own list with `hub_capabilities_publish`; that list is bound to the connection that published it, forced to `invoke: prompt`, and gone when the connection ends.
|
|
716
|
+
|
|
717
|
+
The Orca CLI is watched the same way (#1808 T4, `orca-cli`, gate `observe`, never a gate: no start or restore path reads it to refuse anything; verified versions 1.4.245 and 1.4.250 are the two read-only receipts in `docs/verification/`). When Orca is installed, `ahub doctor` runs `orca --version`, `orca terminal list --json` and `orca worktree list --json` (all read-only) and compares field names and types only, never a value: the terminal rows must carry the handle, incarnation, worktree id and worktree path (`worktreePath`, else `projectRoot`) the recovery binds a terminal with, and the worktree rows the id and path it matches a project root with. A missing field fails the `orca cli` row and names the field, an Orca newer than 1.4.250 is only a note, and an answer that is not Orca's `ok: true` JSON (Orca not running) is a note, not a shape problem. `ahub restart` and `ahub upgrade` run the same check while they make the plan, only for a plan with a peer whose terminal the recovery looks up and before anything is closed: a failed shape check adds a blocker to that project's rows, with the next action, and a newer Orca adds a `note:` line that blocks nothing. A plan with no such peer runs no Orca command and carries no note. The daily watch lists the public releases of `stablyai/orca` as a drift row only. Orca has no install source a runner can use, so the manifest entry has install method `unavailable`, `autoAdmit` false and one `tui-desktop` leg that only the person's machine can run.
|
|
718
|
+
|
|
719
|
+
`ahub agents --latest [--json]` (#1808 T5) is the one command that reads the network for this. The build writes the release's `COMPAT` table as `plugins/agent-hub/compat.json` (ids, verified versions, gate, reference-only flag and line: no trust note, receipt path or executable), and the command reads the newest GitHub release's copy of that file (two public GitHub reads, each with a size and time limit, refused as a whole when it is not the expected shape). For each CLI whose installed version is refused or trusted here it prints `verified in <release>` or `not verified in any release`; a reference-only version is never reported as verified. It is advice for the person: it writes nothing, admits nothing and never changes a verdict on the running hub (admission stays per hub release), and agent shells, including the delegated live-test form, are refused. The daemon never reads the network for it: only `src/cli/commands/agents.ts` imports the reader, and `test/compat-published-table-1808.test.ts` holds that. The refusal text names `ahub agents --latest` next to `ahub agents trust`.
|
|
716
720
|
|
|
717
721
|
Sharing is a positive allowlist in `.agenthub/config.local.json` only (`invocation` is machine-local: a committed copy is ignored and logged, and it is never editable from settings):
|
|
718
722
|
|
|
@@ -1121,6 +1125,24 @@ Keep any unrelated registry changes by restoring only the moved registration
|
|
|
1121
1125
|
from the registry backup. Move the repository back to its original root
|
|
1122
1126
|
before restarting the restored registration.
|
|
1123
1127
|
|
|
1128
|
+
|
|
1129
|
+
### Shared host process (#1779 T3a)
|
|
1130
|
+
|
|
1131
|
+
Off by default: each project runs its own daemon. With `"host": { "shared": true }` in a project's `.agenthub/config.json` (or `config.local.json`), `ahub up` runs that project inside the host process of its runtime, which several projects of the same runtime share (`ahub host --runtime <root>`, started for you; not a command to type). Every client contract stays: the project keeps its own control port, token file and state directory, and `status.json` gains `hostId` while `pid` is the host's. A project that starts under a recovery operation or a live test runs in its own process.
|
|
1132
|
+
|
|
1133
|
+
- Stop one project with `ahub down` as usual: only that project's listener, timers and children go, and the others keep serving. The host exits when its last project stops.
|
|
1134
|
+
- A signal to the host stops every project in the order they were added, then the host; if that takes longer than 15 s the host exits anyway.
|
|
1135
|
+
- An uncaught error thrown from a timer a project started stops that project only. An error from a socket handler or an unhandled rejection cannot be tied to a project under Bun, so it is logged in the hub log and stops the host (the same as an error that belongs to none), and every project in it comes back through the usual crash recovery.
|
|
1136
|
+
- Turn it off by removing the key and restarting the project. Upgrade across hosts and the default switch are later tasks.
|
|
1137
|
+
|
|
1138
|
+
### MCP endpoint socket (#1780)
|
|
1139
|
+
|
|
1140
|
+
Every hub that `ahub up` starts, alone or in a shared host, also listens on `<hub home>/run/<projectId>/mcp.sock`; `status.json` names it as `mcpSocket`. The `run` and project directories are `0700` and the socket `0600`. It serves no MCP yet: a connection must send one hello line carrying the control token within 5 s (8 KB at most), and every request after it is answered with a JSON-RPC `not served yet` error. `mcp endpoint listening on <path>` in the hub log confirms it. A refusal never stops the hub: it logs `mcp endpoint unavailable: <cause and fix>` and the hub runs without the endpoint (no `mcpSocket`).
|
|
1141
|
+
|
|
1142
|
+
- A group- or world-accessible directory: run the printed `chmod 700` and restart; a symlink or a directory of another user: remove it and restart.
|
|
1143
|
+
- A socket path over 100 bytes: set `AGENTHUB_HOME` to a shorter path.
|
|
1144
|
+
- A socket left by a hub that did not stop cleanly is replaced only by the hub that holds the project's control port, and only when nothing answers on it, it is your own socket and it is the same file at both looks (the log says `mcp endpoint replaced a stale socket`); otherwise delete the named file and restart.
|
|
1145
|
+
|
|
1124
1146
|
## acon console plugin (#935, #1012)
|
|
1125
1147
|
|
|
1126
1148
|
`ahub setup` registers agent-hub as a plugin of the family console
|
|
@@ -1978,7 +2000,7 @@ does not show them: `ahub usage` and `ahub usage limits` read them (below), and
|
|
|
1978
2000
|
|
|
1979
2001
|
```bash
|
|
1980
2002
|
ahub usage [--since 7d|<iso>] [--by peer|task|issue|pr|release|day|model] [--json]
|
|
1981
|
-
ahub usage limits [--peer <id>] [--limit <n>] [--json] # current quota windows, plus the newest 200 (up to 5000) pauses, resumes and resets
|
|
2003
|
+
ahub usage limits [--peer <id>] [--limit <n>] [--json] # current quota windows, plus the newest 200 (up to 5000) pauses, resumes, renewals and resets
|
|
1982
2004
|
ahub usage total [--json] # lifetime development tokens since the first event, per peer and overall
|
|
1983
2005
|
```
|
|
1984
2006
|
|
|
@@ -4044,8 +4066,9 @@ For CI-opened PRs, the person selected `GITHUB_TOKEN` with explicit `check.yml`
|
|
|
4044
4066
|
|
|
4045
4067
|
After merge, `agent-compat.yml` runs daily and can be dispatched with `dry: true`
|
|
4046
4068
|
(the manual default). The watcher emits validated ahead/version and verified-ID
|
|
4047
|
-
JSON directly; matrix construction never parses report prose. At most
|
|
4048
|
-
|
|
4069
|
+
JSON directly; matrix construction never parses report prose. At most sixteen IDs
|
|
4070
|
+
(`MAX_COMPAT_IDS`, raised from eight by #1808; every check of the watch, preparation and
|
|
4071
|
+
publish scripts reads it) are considered, with two hosted jobs at once. An unspecified manifest OS stays
|
|
4049
4072
|
not-run rather than receiving an invented native-platform proof.
|
|
4050
4073
|
|
|
4051
4074
|
The candidate matrix has only `contents: read`, no supplied secrets, checkout
|
|
@@ -4287,10 +4310,63 @@ or the plugin is older than the daemon it installed (#1179). It prints nothing w
|
|
|
4287
4310
|
| 0.12.20 through 0.25.0 | 16 only | `protocol: 16` |
|
|
4288
4311
|
| 0.26.0 through 0.47.0 | 16 through 17 | `protocol: 16`, `protocolMin: 16`, `protocolMax: 17` |
|
|
4289
4312
|
|
|
4290
|
-
New clients choose the highest common protocol. The
|
|
4291
|
-
through 17, so the published protocol-16 client and
|
|
4292
|
-
capabilities still require their own labels. A disjoint
|
|
4293
|
-
|
|
4313
|
+
New clients choose the highest common protocol. The default window is 16
|
|
4314
|
+
through 17, so the published protocol-16 client and bridge remain usable.
|
|
4315
|
+
Unrelated feature capabilities still require their own labels. A disjoint
|
|
4316
|
+
window refuses with 4426. Protocol 15 or older needs a fresh session.
|
|
4317
|
+
|
|
4318
|
+
A newly built Claude bridge keeps its MCP session on 4426. Tool calls report
|
|
4319
|
+
the mismatch, and the bridge rereads the project endpoint every five minutes.
|
|
4320
|
+
A compatible hub lets the same session resume hub calls. If the hub upgrade
|
|
4321
|
+
does not restore compatibility, run `ahub setup` and restart the session.
|
|
4322
|
+
|
|
4323
|
+
Set `upgrade.bridge_window_days` (default 90) and `upgrade.bridge_window_min`
|
|
4324
|
+
(default three prior protocols) to change the accepted window on restart.
|
|
4325
|
+
The wider of the two settings applies, bounded by the implemented floor.
|
|
4326
|
+
`ahub status` shows the accepted range. It reports the floor limit only
|
|
4327
|
+
when at least one setting exceeds its default and the requested range
|
|
4328
|
+
reaches below that floor. The descriptor retains `protocol`, `protocolMin` and
|
|
4329
|
+
`protocolMax` fields. Its legacy scalar is 16 by default and follows the
|
|
4330
|
+
accepted minimum when the window narrows. A v0.50.0 hub's config validation
|
|
4331
|
+
refuses the `upgrade` key. Apply those settings after installing a hub that
|
|
4332
|
+
supports them. When a bridge offers an implemented version outside the accepted
|
|
4333
|
+
range, the hub log reports that range and names both settings to check.
|
|
4334
|
+
|
|
4335
|
+
The upgrade planner checks the implemented range. With a narrower configured
|
|
4336
|
+
range, it can classify a protocol-16 session as reconnect-only even though the
|
|
4337
|
+
restarted hub will refuse it. If this happens, run `ahub setup` and restart
|
|
4338
|
+
that session.
|
|
4339
|
+
|
|
4340
|
+
In each release PR, update the current protocol row's latest stable tag and
|
|
4341
|
+
planned UTC publication date in `src/hub/protocol-window.ts`. When the wire
|
|
4342
|
+
version changes, append its first/latest row and retain the earlier row.
|
|
4343
|
+
Run `bun scripts/bridge-protocol-table.ts --write` in the release PR.
|
|
4344
|
+
`release-prepare` does not perform this step. If publication moves to a
|
|
4345
|
+
later UTC date, correct the date and rerender before tagging. The 90-day
|
|
4346
|
+
compatibility window uses that date, so an earlier date would end support early.
|
|
4347
|
+
|
|
4348
|
+
<!-- BRIDGE_PROTOCOL_RELEASES:BEGIN -->
|
|
4349
|
+
|
|
4350
|
+
| Bridge protocol | First stable tag | First date (UTC) | Latest stable tag | Latest date (UTC) |
|
|
4351
|
+
| --- | --- | --- | --- | --- |
|
|
4352
|
+
| 4 | v0.1.0 | 2026-09-19 | v0.1.0 | 2026-09-19 |
|
|
4353
|
+
| 5 | v0.2.0 | 2026-09-19 | v0.2.0 | 2026-09-19 |
|
|
4354
|
+
| 6 | v0.3.0 | 2026-09-19 | v0.3.2 | 2026-09-19 |
|
|
4355
|
+
| 7 | v0.4.0 | 2026-09-19 | v0.4.0 | 2026-09-19 |
|
|
4356
|
+
| 8 | v0.5.0 | 2026-09-20 | v0.5.0 | 2026-09-20 |
|
|
4357
|
+
| 9 | v0.6.0 | 2026-09-20 | v0.6.4 | 2026-09-20 |
|
|
4358
|
+
| 10 | v0.7.0 | 2026-09-20 | v0.12.0 | 2026-10-01 |
|
|
4359
|
+
| 11 | v0.12.1 | 2026-10-01 | v0.12.2 | 2026-10-02 |
|
|
4360
|
+
| 12 | v0.12.3 | 2026-10-02 | v0.12.3 | 2026-10-02 |
|
|
4361
|
+
| 13 | v0.12.4 | 2026-10-03 | v0.12.15 | 2026-10-07 |
|
|
4362
|
+
| 14 | v0.12.16 | 2026-10-09 | v0.12.16 | 2026-10-09 |
|
|
4363
|
+
| 15 | v0.12.17 | 2026-10-09 | v0.12.19 | 2026-10-09 |
|
|
4364
|
+
| 16 | v0.12.20 | 2026-10-09 | v0.25.0 | 2026-11-01 |
|
|
4365
|
+
| 17 | v0.26.0 | 2026-11-01 | v0.52.0 | 2026-12-03 |
|
|
4366
|
+
|
|
4367
|
+
Through 2026-12-03, the default accepted window is 16–17. Protocol 15 or older needs a fresh session.
|
|
4368
|
+
|
|
4369
|
+
<!-- BRIDGE_PROTOCOL_RELEASES:END -->
|
|
4294
4370
|
|
|
4295
4371
|
Release N-1 is counted in minor versions, separately from this protocol window
|
|
4296
4372
|
(#1164, family contract entelecheia/ai-workspace#70). For 0.51.x, N-1 is 0.50.0,
|
|
@@ -5606,7 +5682,7 @@ output through unchanged and appends one byte to a progress file for each of tho
|
|
|
5606
5682
|
the watchdog polls that file's size. On a stop it prints where the run is and the process
|
|
5607
5683
|
table below it first. `AHUB_CHECK_HANG_S` (2700 by default, 45 minutes: the owner raised it from 2250 on 2026-11-19 after healthy full runs on the remote host were ended at exit 143 while still printing passing results, #1564; #1086 had sized 2250 from two measured full runs on dgx02 of 1483 s and 1487 s of test time, and before that it was 960) is only the backstop for a run
|
|
5608
5684
|
that keeps printing results while hung; hosted CI sets 1500 on Linux inside a 35-minute
|
|
5609
|
-
job limit (#378, #593, #752, task 516). The macOS leg runs as
|
|
5685
|
+
job limit (#378, #593, #752, task 516). The macOS leg runs as five shards (#1833) and the Ubuntu leg as six (#548, #1490): `AHUB_CHECK_SHARD=i/n`
|
|
5610
5686
|
makes `scripts/check.sh` run slice `i` of the full suite through `bun test --shard=i/n --timings=scripts/test-timings.json`, which puts
|
|
5611
5687
|
every test file in exactly one shard and balances them by the recorded per-file times; shard 1 also runs the docs check, typecheck, role check, bundle freshness and
|
|
5612
5688
|
package contents, so each of those runs once per gate, and the others install and test. Each shard runs under the same 1500 s backstop as Linux inside a 25-minute job
|
|
@@ -5917,6 +5993,110 @@ session may turn protection on but cannot weaken it. No agent surface changes it
|
|
|
5917
5993
|
Like other machine-local security defaults, loading it requires git to establish
|
|
5918
5994
|
that the file is untracked; a dropped value is reported by the settings result.
|
|
5919
5995
|
|
|
5996
|
+
## Quota renewal
|
|
5997
|
+
|
|
5998
|
+
Use `ahub budget renew <peer> --reset` in a person terminal after refreshing
|
|
5999
|
+
the same account, or `ahub budget renew <peer> --switched` after switching.
|
|
6000
|
+
Add `--json` for one document with the outcome and any guidance. Both forms
|
|
6001
|
+
keep the budget gate active. Any moved tasks stay assigned where they are.
|
|
6002
|
+
Check the task board before running a printed assignment command. An older
|
|
6003
|
+
pause without a recorded source peer points to the task for inspection.
|
|
6004
|
+
A renewal marker in `hub.db` that cannot be read stops the hub at start with
|
|
6005
|
+
`invalid stored budget renewal marker; stop the hub and restore a trusted hub.db backup before retrying`
|
|
6006
|
+
(#1837): restore a trusted `hub.db` backup, then start the hub again.
|
|
6007
|
+
|
|
6008
|
+
`ahub accounts import --from orca` (#1811, person only) prints an `accounts` block from Orca's managed accounts: labels and kinds, a home only where Orca carries one (else a placeholder `readAccounts` refuses), no email or id, and it writes nothing. Paste it into `config.local.json`.
|
|
6009
|
+
`instances.<id>.account` (#1810) names a declared account of the instance's own kind (Codex or Claude); config load refuses an undeclared one or one of another kind, and the daemon starts the instance with that account's home. `ahub setup` lists every declared Claude home with its label and installs the plugin there. When an account is paused its work may go to a peer of the same kind on another declared account (a `budget_handoff` event names both labels); `budget.cross_account_handoff: false` restores handoff across kinds only.
|
|
6010
|
+
|
|
6011
|
+
Declared accounts (#1810): list each extra Claude or Codex home under `accounts` in `.agenthub/config.local.json` (label, `kind`, absolute `home`). A Claude session under a declared home budgets as `claude:<label>`; any other home keeps the bare `claude` key. Output shows labels only, never home paths.
|
|
6012
|
+
|
|
6013
|
+
Before changing accounts or resetting a window, checkpoint any turn that must
|
|
6014
|
+
continue and check the task board for work already handed over. Use reset for
|
|
6015
|
+
the same account and switched for a different one. Either mode can be used
|
|
6016
|
+
before or during a budget pause. Renewal keeps manual and conductor holds,
|
|
6017
|
+
leaves moved work with its current owner and clears earlier quota evidence.
|
|
6018
|
+
An old provider value cannot establish a new baseline. The hub treats equal
|
|
6019
|
+
usage as a repeat when the reset times are within 15 minutes or either time
|
|
6020
|
+
is missing. A quota value
|
|
6021
|
+
set explicitly through the authenticated console at or after renewal can trigger
|
|
6022
|
+
the gate. It provides no evidence about which process produced a provider reading.
|
|
6023
|
+
|
|
6024
|
+
When the provider window predates renewal, the first accepted provider reading
|
|
6025
|
+
for each source sets its own forecast baseline. The forecast uses the rise in
|
|
6026
|
+
provider usage over the time since that source's baseline. It needs at least five percentage points of
|
|
6027
|
+
increase and at least 15 minutes of elapsed time. The dashboard and CLI label
|
|
6028
|
+
this projection `rate since the renewal`, and JSON uses `basis: "renewal"`.
|
|
6029
|
+
Reset-time jitter and small dips leave the baseline in place. A materially
|
|
6030
|
+
different reset time, an expired reset bound or a reset-sized usage drop starts
|
|
6031
|
+
a fresh baseline. A hub restart also needs a fresh provider reading. The average
|
|
6032
|
+
can reflect a recent speed-up late, especially in a weekly window.
|
|
6033
|
+
|
|
6034
|
+
Claude observations are grouped by session and, when present, launch. Codex
|
|
6035
|
+
observations are grouped by peer and app-server process. These IDs stay in
|
|
6036
|
+
memory. A source with too little evidence can temporarily hide a warning while
|
|
6037
|
+
its reading is shown. When a source with enough evidence is shown again, the
|
|
6038
|
+
same account and window has one Attention item without a separate push notice.
|
|
6039
|
+
A source can still report a
|
|
6040
|
+
cached value with a newer timestamp. Without a renewal, the usual forecast
|
|
6041
|
+
can still treat a cached value from another source as current.
|
|
6042
|
+
|
|
6043
|
+
After `--reset`, a cached value that differs from the discarded reading can
|
|
6044
|
+
still open a budget pause. A fresher reading clears it when every fresh
|
|
6045
|
+
gating window is more than ten percentage points under the gate. At the
|
|
6046
|
+
default 99% gate, all those windows must be below 89%. Otherwise the pause
|
|
6047
|
+
can end on the first budget tick at least one minute after the saved reset
|
|
6048
|
+
time once the peer is attached. The person can end it earlier through
|
|
6049
|
+
`ahub budget resume`, which applies its normal override.
|
|
6050
|
+
|
|
6051
|
+
Claude's in-session account change remains unverified. After a switched renewal,
|
|
6052
|
+
Claude's provider quota stays unknown and its soft gate is off. A hard quota
|
|
6053
|
+
refusal still pauses Claude, and the person can supply a value with
|
|
6054
|
+
`ahub budget set`. Restarting Claude does not restore provider readings under
|
|
6055
|
+
this rule. Codex home comparisons happen only for switched renewal and keep
|
|
6056
|
+
the paths private. While a Codex reviewer attempt is in flight, the hub reports
|
|
6057
|
+
its home comparison as unknown and leaves the account unchanged. Matching homes still require a newly launched app-server
|
|
6058
|
+
before soft quota is accepted. The model-free fixture verified an offline
|
|
6059
|
+
Codex relaunch can replace that process without restarting the hub. Native
|
|
6060
|
+
thread continuation remains unverified. Check the checkpoint and board first.
|
|
6061
|
+
|
|
6062
|
+
For a matching home, finish or stop the current Codex turn and exit its TUI.
|
|
6063
|
+
Wait for the printed project-scoped status command to show the peer offline,
|
|
6064
|
+
then run the printed start command. If it ran before detach, the hub can
|
|
6065
|
+
reuse the old app-server. Quota remains unknown until a newly started process
|
|
6066
|
+
reports a usable reading.
|
|
6067
|
+
|
|
6068
|
+
For differing homes, renewal refuses and leaves the pause in place. Run the
|
|
6069
|
+
printed chain from the shell that selects the new home, outside any agent
|
|
6070
|
+
session. It stops the whole project hub, starts it without default agents or
|
|
6071
|
+
the console, renews quota, then launches Codex. Each successful step is
|
|
6072
|
+
required before the next starts. Down waits for shutdown without waiting for running turns to finish. It can
|
|
6073
|
+
refuse if hub ownership or lifecycle admission is unavailable. Finish active turns before proceeding and check the printed recovery step on a
|
|
6074
|
+
failure. Reopen any listed other sessions after renewing, in a separate
|
|
6075
|
+
terminal if Codex takes over the first one. A fresh print reviewer has no
|
|
6076
|
+
session to reopen. The printed Claude start command does not request the
|
|
6077
|
+
earlier conversation. A displayed start command is scoped by project ID, so it works from another folder using the same hub
|
|
6078
|
+
registry and carries no home path. For an unverified home, correct the cause and run the printed renewal
|
|
6079
|
+
retry. Wait for an active Codex reviewer to settle if it blocks comparison.
|
|
6080
|
+
If the hub cannot return status before renewal, no renewal request is sent.
|
|
6081
|
+
If the renewal request loses its reply, check the printed project-scoped
|
|
6082
|
+
`ahub budget` command before retrying. The hub may already have saved it.
|
|
6083
|
+
|
|
6084
|
+
The Kimi 5-hour hub count starts a fresh window after either renewal mode,
|
|
6085
|
+
with or without a pause. It counts usage measured strictly after the saved
|
|
6086
|
+
renewal, including reviewer usage and eligible rows replayed after a restart.
|
|
6087
|
+
An unreadable or future measurement cannot restore the soft count. A clock
|
|
6088
|
+
change can leave out real use and delay a soft pause. Usage events, totals and
|
|
6089
|
+
hard refusals keep their normal behavior. The count has no provider baseline,
|
|
6090
|
+
so its forecast stays unknown while its window predates renewal. The hub
|
|
6091
|
+
counts Kimi work it observes, including work from a session on the old login.
|
|
6092
|
+
|
|
6093
|
+
## Project structure budgets (#1829)
|
|
6094
|
+
|
|
6095
|
+
Add a `[structure]` table to `.agenthub/sdlc.toml` to cap file size under named roots and to flag a name that a shared module already exports; `ahub structure check` prints the table to start from when it is absent. Hubs before 0.52.0 refuse a file containing this table, so add it only after every hub reading the file is upgraded. The keys and rules are in [the SDLC contract](sdlc.md#structure-budgets-1829).
|
|
6096
|
+
|
|
6097
|
+
- `ahub structure baseline --write` writes the first baseline; review it and commit it. Later runs only shrink it.
|
|
6098
|
+
- `ahub structure check [--json]` exits 1 on a finding and prints each with its next step.
|
|
6099
|
+
|
|
5920
6100
|
## Automatic CI shard retries
|
|
5921
6101
|
|
|
5922
6102
|
Set `ci_shard_retries` in `.agenthub/sdlc.toml` and restart the hub. The setting
|
|
@@ -5949,7 +6129,7 @@ tells the owner and conductor which shard or required check needs attention.
|
|
|
5949
6129
|
|
|
5950
6130
|
## SDLC artifact receipts and gates
|
|
5951
6131
|
|
|
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)).
|
|
6132
|
+
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)). `ahub sdlc check [--json]` audits the lifecycle setup read-only (config and roles, required checks, task bindings, roadmap hygiene; exit 1 only when a row fails) and `ahub doctor` shows its offline `sdlc` row; `ahub sdlc sync` previews board receipt repairs with a 64-hex fingerprint and writes them only with `--apply --confirm <fingerprint>` ([sync](sdlc.md#ahub-sdlc-sync-1856)).
|
|
5953
6133
|
## Supervision proposals
|
|
5954
6134
|
|
|
5955
6135
|
`supervision.mode` is off by default and machine-local (`ahub settings set supervision.mode advisory`); a committed
|
|
@@ -6048,7 +6228,7 @@ is `tui` runs headless. Until a TUI launch is served, `ahub status` and the
|
|
|
6048
6228
|
launcher say `jcode is running headless after recovery; run ahub stop jcode, then
|
|
6049
6229
|
ahub jcode to get its TUI back`.
|
|
6050
6230
|
|
|
6051
|
-
`ahub jcode --dry-run` stays pure and redacted. A person's `--print-command` can show the actual top-level native argv and closed native environment for an already-saved running session; it starts nothing, and like the launch it names a `--model`, `--provider-profile` or `--session-id` that differs from the running session (#574). The private socket/session tuple is not returned to hub tools or status. Native saved-session evidence is read-only and capped at 32 MiB; unsafe, mismatched or larger evidence refuses the TUI launch.
|
|
6231
|
+
`ahub jcode --dry-run` stays pure and redacted. A person's `--print-command` can show the actual top-level native argv and closed native environment for an already-saved running session; it starts nothing, and like the launch it names a `--model`, `--provider-profile` or `--session-id` that differs from the running session (#574). The private socket/session tuple is not returned to hub tools or status. Native saved-session evidence is read-only and capped at 32 MiB; unsafe, mismatched or larger evidence refuses the TUI launch. The wrapper closes its hub connection and then replaces itself with the Jcode TUI through `process.execve` (#1778 T6a): the wrapper's pid is the TUI's, no `ahub` process stays resident, and a runtime without `execve` keeps the spawn path.
|
|
6052
6232
|
|
|
6053
6233
|
A busy jcode takes an `important` message into its running turn (#572): the hub sends it as a soft interrupt through jcode's own private server socket, which jcode injects at its next tool boundary, so the message no longer waits for the turn to end. The hub never cancels a turn to deliver. Headless Kimi and Qwen have no such path: an `important` message waits, and `ahub status` and the console show `important messages waiting on a busy ACP peer for N min` once it has waited past `budget.stale_min`, so you can decide to stop the peer.
|
|
6054
6234
|
|
|
@@ -6065,7 +6245,7 @@ Native policy is unmanaged and has NO hub sandbox; no permission_modes.jcode or
|
|
|
6065
6245
|
|
|
6066
6246
|
## Optional Antigravity (agy) peer
|
|
6067
6247
|
|
|
6068
|
-
Antigravity is optional and off roster by default. Use `ahub roster add agy`, then run `ahub agy` in a terminal: it runs the Antigravity CLI as a fresh pull-only TUI in that terminal. It accepts the 1.4.x line plus exact 1.5.3: 1.4.2, 1.4.7, 1.4.12 and 1.5.
|
|
6248
|
+
Antigravity is optional and off roster by default. Use `ahub roster add agy`, then run `ahub agy` in a terminal: it runs the Antigravity CLI as a fresh pull-only TUI in that terminal. It accepts the 1.4.x line plus exact 1.5.3 and 1.5.21: 1.4.2, 1.4.7, 1.4.12, 1.5.3 and 1.5.21 are the verified versions ([1.4.7 receipt](verification/2026-10-26-agy-1.4.7.md), [1.4.12 launcher nonce receipt](verification/2026-11-03-agy-1.4.12-launcher-nonce.md), [1.5.3 account-free receipt](verification/2026-11-08-agy-1.5.3.md), [1.5.21 account-free receipt](verification/2026-12-02-agy-1.5.21.md)), any other 1.4.x launches with a stderr warning (agy updates itself, so the launcher sets `AGY_CLI_DISABLE_AUTO_UPDATE=1` for its version probe and the TUI it starts, #1140, #1286), and other versions are refused (#589) unless the person trusts that exact version with `ahub agents trust agy <version>` (#691). The running hub must advertise `native_hook_launch`; an older hub refuses before any write with an upgrade-or-restart remedy. Only the person's launcher starts it: conductor starts are refused, there is no controlled restore or resume, and a declared agy extra instance is refused when the config loads (#625). Headless/print, resume (`--conversation`, `--continue`, `--new`), `--mode`, `--dangerously-skip-permissions` and `--unattended` are refused until their native mapping is verified; `--print-command` previews without writing.
|
|
6069
6249
|
|
|
6070
6250
|
The launcher writes exactly `plugin.json`, `mcp_config.json` and `hooks.json` in `.agents/plugins/agent-hub/`, refusing linked or foreign entries before any write, and removes only its own matching files when the TUI ends. It never writes project-level `.agents/hooks.json` or the person's `~/.gemini` settings. Run `ahub init` afterwards to ignore the untracked plugin directory; a tracked plugin is written with a warning. The native model sees the hub tools under the server name `agent-hub_agent-hub`.
|
|
6071
6251
|
|
|
@@ -6777,7 +6957,7 @@ Default-branch capture runs only at daemon startup when a Claude implementer is
|
|
|
6777
6957
|
|
|
6778
6958
|
Project Git retains the core policy that clears credential.helper and core.askpass; an HTTPS push needing those helpers may fail, rather than importing credentials or relaxing that policy. Task branch/config proof reads are bounded synchronous reads (1.5 seconds per reader); slow or unknown evidence asks. The existing sandbox profile discovery is also synchronous; moving it to an asynchronous inventory proof with a shared deadline remains a follow-up. The nonce is visible in a permission response, so it proves a bounded grant rather than native-dispatch provenance.
|
|
6779
6959
|
|
|
6780
|
-
The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) covers Claude Code 2.1.309, and the [2.1.310 receipt](verification/2026-10-26-claude-implementer-2.1.310.md) repeats it on 2.1.310 (with 2.1.309 as a control), and the [2.1.314 receipt](verification/2026-10-31-claude-implementer-2.1.314.md) repeats it and the host-wrapper procedure on 2.1.314 (with 2.1.310 as a control), and the [2.1.316 receipt](verification/2026-10-31-claude-implementer-2.1.316.md) repeats both on 2.1.316 (with 2.1.314 as a control), and the [2.1.318 receipt](verification/2026-11-05-claude-implementer-2.1.318.md) repeats both on 2.1.318 (with 2.1.316 as a control), and the [2.1.319 receipt](verification/2026-11-06-claude-implementer-2.1.319.md) repeats both on 2.1.319 (with 2.1.318 as a control), and the [2.1.322 receipt](verification/2026-11-10-claude-implementer-2.1.322.md) repeats both on 2.1.322 (with 2.1.319 as a control), the [2.1.323 receipt](verification/2026-11-13-claude-implementer-2.1.323.md) repeats both on 2.1.323 (with 2.1.322 as a control),
|
|
6960
|
+
The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) covers Claude Code 2.1.309, and the [2.1.310 receipt](verification/2026-10-26-claude-implementer-2.1.310.md) repeats it on 2.1.310 (with 2.1.309 as a control), and the [2.1.314 receipt](verification/2026-10-31-claude-implementer-2.1.314.md) repeats it and the host-wrapper procedure on 2.1.314 (with 2.1.310 as a control), and the [2.1.316 receipt](verification/2026-10-31-claude-implementer-2.1.316.md) repeats both on 2.1.316 (with 2.1.314 as a control), and the [2.1.318 receipt](verification/2026-11-05-claude-implementer-2.1.318.md) repeats both on 2.1.318 (with 2.1.316 as a control), and the [2.1.319 receipt](verification/2026-11-06-claude-implementer-2.1.319.md) repeats both on 2.1.319 (with 2.1.318 as a control), and the [2.1.322 receipt](verification/2026-11-10-claude-implementer-2.1.322.md) repeats both on 2.1.322 (with 2.1.319 as a control), the [2.1.323 receipt](verification/2026-11-13-claude-implementer-2.1.323.md) repeats both on 2.1.323 (with 2.1.322 as a control), the [2.1.328](verification/2026-11-19-claude-implementer-2.1.328.md) and [2.1.329](verification/2026-11-20-claude-implementer-2.1.329.md) receipts repeat both on those versions (each with 2.1.323 as a control), the [2.1.332 receipt](verification/2026-11-25-claude-implementer-2.1.332.md) repeats both on 2.1.332 (with 2.1.329 as a control), and the [2.1.334 receipt](verification/2026-12-02-claude-implementer-2.1.334.md) repeats both on 2.1.334 (with 2.1.332 as a control), each with a deterministic loopback fixture and no real account/model call. It is not sandbox proof or a runtime receipt gate. The real account/model/person interaction remains a separate live leg.
|
|
6781
6961
|
|
|
6782
6962
|
A headless Claude reviewer is run by the hub instead (task 223): declare
|
|
6783
6963
|
`"claude-review": { "kind": "claude", "roles": ["reviewer"], "start_mode": "headless" }`
|
|
@@ -6915,7 +7095,7 @@ Native launcher connections retry transport timeouts/unclean closes with bounded
|
|
|
6915
7095
|
|
|
6916
7096
|
## amem runtime (agent-mem#13 P4)
|
|
6917
7097
|
|
|
6918
|
-
The hub accepts @staix/agent-mem <!-- facts:agent-mem-pin -->>=0.
|
|
7098
|
+
The hub accepts @staix/agent-mem <!-- facts:agent-mem-pin -->>=0.47.0 <1.0.0<!-- /facts:agent-mem-pin --> (a range `bun.lock` resolves; a newer plain release in it with a supported host API needs no hub release) for recall, curated evidence and local deterministic capture. No runtime call reaches a claude-mem worker; `memory.worker_url` is ignored. The person's `ahub memory import claude-mem` remains explicit and off by default. Existing profile, alias, PII and private-turn fences still apply. `ask --remember` and context checkpoints propose machine-local candidates, never automatic curated evidence. See [memory integration](memory.md#in-process-recall-and-capture-agent-mem13-p4) for changed behavior and bounded-view ceilings.
|
|
6919
7099
|
|
|
6920
7100
|
## Person-run backlog legs (#1176)
|
|
6921
7101
|
|
|
@@ -7636,6 +7816,14 @@ metadata. A healthy online link needs no broker repair advice.
|
|
|
7636
7816
|
|
|
7637
7817
|
The optional Orca companion moved to [STAIxBWLB/ahub-orca](https://github.com/STAIxBWLB/ahub-orca) (#1387). Its code, tests and receipts live there; nothing of it remains in this repository. (The two Orca CLI verification records under `docs/verification/` stay here: they are ahub's own terminal-recovery evidence, cited by `src/cli/terminal-recovery.ts`.) It is an Orca plugin (`orca-plugin.json` at that repository's root, tagged `vX.Y.Z`), not an ahub dependency. It stays off here, and its native receipts are person-run and not run.
|
|
7638
7818
|
|
|
7819
|
+
### Orca pane identity and instance worktrees (#1811)
|
|
7820
|
+
|
|
7821
|
+
A launch from an Orca pane records `ORCA_PANE_KEY`, `ORCA_TAB_ID` and `ORCA_WORKSPACE_ID` in `terminal-recovery.json` beside the handle (each optional, at most 256 characters; absent when the pane exports none). Recovery matches a terminal to its record by handle, worktree and incarnation first; when Orca has reassigned the handle, it matches by the pane key inside the same worktree (and workspace, when both name one), and only when exactly one record carries that key. The hub's terminal opener asks Orca for the worktree whose root is the peer's own execution root (an extra implementer's `.worktrees/<id>`) and falls back to the project root's worktree when Orca has none; the base peer always uses the project root. Both are reads and creates through the public `orca` CLI that recovery already used; outside an Orca pane, or without `orca` on the path, nothing is read.
|
|
7822
|
+
|
|
7823
|
+
### Blocked Orca pane (#1811)
|
|
7824
|
+
|
|
7825
|
+
When a delivery to a peer whose launch record holds an Orca pane key has stayed queued for two minutes, the daemon asks Orca for that pane's state: one `orca agent list --json --worktree id:<worktree id>` read, killed after five seconds, at most once a minute per peer, taking the one row whose `paneKey` equals the record's. A state of `blocked` or `waiting` raises one Attention item at level act, "<peer> waits for you in Orca: orca terminal switch --terminal <handle>"; it clears when the state changes or the delivery is accepted. A peer without a recorded pane is never read, and an error, a timeout, a missing row or any other state raises nothing. The hub reads only and never answers the prompt. `orcaPaneEveryMs` (daemon option, default 30 s) is the check cadence, not the read rate. Receipt: `docs/verification/2026-12-01-1811-orca-agent-list.md`.
|
|
7826
|
+
|
|
7639
7827
|
## Herdr companion (moved, #1199)
|
|
7640
7828
|
|
|
7641
7829
|
The Herdr companion moved to [STAIxBWLB/ahub-herdr](https://github.com/STAIxBWLB/ahub-herdr) (#1387). Its code, tests and receipts live there; nothing of it remains in this repository. It is a mod folder the person copies into Herdr, not an ahub dependency. It stays off here, and its native receipts are person-run and not run.
|
|
@@ -7786,6 +7974,12 @@ Kimi reviewer usage is read from its isolated native session index/wire usage th
|
|
|
7786
7974
|
|
|
7787
7975
|
Controlled recovery advertises `reviewer_quota`. A target needs it only when reviewer accounting/wait history is retained or the project explicitly configures `review.gate`, `review.unknown_quota` or `review.max_minutes` (including `unknown_quota = "skip"` and `gate = "off"`); legacy empty state remains compatible with older targets. Snapshot integrity binds ordered safe accounting fields, complete/pending/unknown counts and replay completeness, with no native session/home/text. Missing or changed journal state refuses target restoration. Ending a quota wait at its original deadline is separate from native review readiness: failed enforce-mode CI cannot extend the quota wait, and no premature native review is sent.
|
|
7788
7976
|
|
|
7977
|
+
## Agent presets (#1809)
|
|
7978
|
+
|
|
7979
|
+
`ahub agents presets` lists the presets shipped in `templates/presets/agents.json`: the executable, the headless launch line (if any), the CLI version it was recorded against and a status. A preset is `verified` only when its `receipt` names an existing file under `docs/verification/`; every other preset is `untested`, and an untested preset is a recorded starting point, not a claim that it works. `ahub agents add <preset> [--as <kind>]` is person only. It resolves the executable on `PATH`, then writes `adapters.<kind>` into `.agenthub/config.local.json` after git confirms that file is untracked. It refuses an existing kind, a reserved kind name, a missing executable, a preset with no headless launch line (copilot) and a config file it cannot parse, and in each case writes nothing. `ahub status` shows `preset: <id> (<status>)` for such a kind. Remove the kind by deleting its entry from that file.
|
|
7980
|
+
|
|
7981
|
+
`ahub agents add <preset> --pull` writes a `transport: "pull"` kind instead (the person's own TUI, `tasks: false`, no reviewer role) and prints the command that registers the hub's bridge in that CLI; it runs nothing and writes nothing outside `.agenthub`. `ahub <kind>` then starts the CLI in the terminal with the kind's peer identity, after checking that the hub loaded the kind and has it on the roster. `ahub doctor` reads the CLI's settings file named by the preset and reports a pull kind whose bridge is not registered there. The bridge attaches pull-only, as agy does: the session reads `hub_inbox` and calls hub tools, and nothing is pushed to it. A process started without `ahub <kind>` has no `AGENTHUB_PEER_ID`, and the bridge in tools mode refuses every hub tool for it.
|
|
7982
|
+
|
|
7789
7983
|
## Hub skills on other hosts (#1622)
|
|
7790
7984
|
|
|
7791
7985
|
The hub's own skills (`ahub-status`, `ahub-manage`, `ahub-use` and the person-only `ahub`) ship in the Claude
|