@staix/agent-hub 0.52.0 → 0.54.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 +37 -0
- package/README.md +4 -3
- package/docs/addons/open-code-review.md +3 -6
- package/docs/agent-notes/README.md +1 -1
- package/docs/agent-notes/adapters.md +5 -4
- package/docs/agent-notes/budget.md +2 -2
- package/docs/agent-notes/bus.md +1 -0
- package/docs/agent-notes/daemon.md +6 -5
- package/docs/agent-notes/models.md +1 -1
- package/docs/agent-notes/tasks.md +3 -3
- package/docs/agent-notes/tests.md +4 -4
- package/docs/contracts/companion-cli-v2.json +90 -0
- package/docs/contracts/companion-cli-v3.json +348 -0
- package/docs/design/adapters.md +1 -1
- package/docs/design/agent-hub-architecture.md +8 -5
- package/docs/design/bus.md +1 -1
- package/docs/design/cli-output-inventory.md +4 -2
- package/docs/design/execution-reference.md +1 -1
- package/docs/design/guidance-experiments.md +1 -0
- package/docs/design/guidance-probes.md +1 -0
- package/docs/design/model-routes.md +20 -5
- package/docs/design/roadmap.md +6 -4
- package/docs/design/task-board.md +21 -2
- package/docs/dogfood.md +13 -6
- package/docs/events.md +1 -1
- package/docs/memory.md +2 -2
- package/docs/operations.md +158 -50
- package/docs/quickstart.md +14 -2
- package/docs/security.md +17 -9
- package/docs/specs/2026-09-19-agent-hub-design.md +5 -3
- package/docs/specs/2026-09-19-multi-project-design.md +1 -1
- package/docs/specs/2026-09-20-upgrade-recovery-design.md +24 -0
- package/docs/specs/2026-12-04-arev-adoption-design.md +84 -0
- package/docs/specs/mcp-endpoint.md +15 -4
- package/docs/specs/relay-contract.md +38 -0
- package/docs/verification/2026-12-04-host-shared-receipts.md +43 -0
- package/docs/verification/2026-12-05-0.53.0.md +101 -0
- package/docs/verification/2026-12-05-agy-1.5.24.md +55 -0
- package/docs/verification/2026-12-05-claude-implementer-2.1.337.md +43 -0
- package/docs/verification/2026-12-06-0.54.0.md +76 -0
- package/docs/verification/2026-12-06-codex-0174-reviewer-isolation.md +43 -0
- package/docs/verification/2026-12-06-codex-0174-reviewer-tool-call.md +34 -0
- package/docs/verification/2026-12-06-compat-codex-capabilities-0.174.0.md +25 -0
- package/docs/verification/2026-12-06-compat-pi-1.8.0.md +23 -0
- package/docs/verified.json +38 -29
- package/package.json +9 -3
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/.mcp.json +1 -1
- package/plugins/agent-hub/compat.json +9 -5
- package/plugins/agent-hub/kimi-hook.js +892 -874
- package/plugins/agent-hub/relay-launcher.js +24 -0
- package/plugins/agent-hub/server.js +27271 -25146
- package/src/adapters/acp-session-model.ts +1 -1
- package/src/adapters/acp.ts +5 -4
- package/src/adapters/agy/definition.ts +1 -1
- package/src/adapters/agy/hooks.ts +1 -1
- package/src/adapters/channel-peer.ts +3 -1
- package/src/adapters/claude-channel-evidence.ts +26 -1
- package/src/adapters/claude-channel.ts +27 -30
- package/src/adapters/claude-connection-policy.ts +62 -0
- package/src/adapters/claude-relay.ts +255 -0
- package/src/adapters/codex-review-isolation.ts +1 -2
- package/src/adapters/compat.ts +28 -18
- package/src/adapters/definitions/native-cli-preview-pi.ts +2 -1
- package/src/adapters/definitions/native-config-defaults.ts +1 -1
- package/src/adapters/definitions/native-context.ts +1 -2
- package/src/adapters/definitions/native-factories.ts +4 -1
- package/src/adapters/definitions/native-quota.ts +1 -1
- package/src/adapters/definitions/native-recovery.ts +3 -1
- package/src/adapters/external-modules.ts +2 -2
- package/src/adapters/kimi-review.ts +1 -1
- package/src/adapters/kimi-tui-facts.ts +1 -1
- package/src/adapters/local-worker.ts +3 -3
- package/src/adapters/native-capabilities.ts +1 -1
- package/src/adapters/pi.ts +26 -7
- package/src/adapters/registry-types.ts +2 -0
- package/src/adapters/relay-launcher.ts +27 -0
- package/src/adapters/reviewer-mcp.ts +1 -1
- package/src/cli/agents.ts +20 -8
- package/src/cli/agy-mcp.ts +1 -1
- package/src/cli/claude-profile-hook.ts +1 -1
- package/src/cli/command-table.ts +1 -0
- package/src/cli/commands/agents.ts +18 -1
- package/src/cli/commands/doctor.ts +18 -4
- package/src/cli/commands/launch-line.ts +32 -0
- package/src/cli/commands/status.ts +14 -3
- package/src/cli/help.ts +7 -4
- package/src/cli/identity.ts +1 -1
- package/src/cli/init-roles.ts +1 -1
- package/src/cli/init-settings.ts +1 -1
- package/src/cli/launch-line-plan.ts +82 -0
- package/src/cli/launch-line-project.ts +13 -0
- package/src/cli/main.ts +10 -9
- package/src/cli/pi-steps-warning.ts +14 -0
- package/src/cli/recovery-package.ts +60 -6
- package/src/cli/reset.ts +1 -1
- package/src/cli/shell-quote.ts +1 -3
- package/src/cli/upgrade-interactive.ts +7 -2
- package/src/cli/upgrade-keep-plan.ts +47 -0
- package/src/cli/upgrade-restore-state.ts +1 -1
- package/src/cli/upgrade-runtime.ts +119 -18
- package/src/cli/upgrade.ts +17 -2
- package/src/hub/accounts.ts +8 -4
- package/src/hub/action-class.ts +1 -3
- package/src/hub/adec-triage.ts +105 -0
- package/src/hub/autonomy.ts +1 -1
- package/src/hub/board.ts +3 -27
- package/src/hub/bus.ts +39 -6
- package/src/hub/capabilities.ts +1 -1
- package/src/hub/channel-project-base.ts +46 -0
- package/src/hub/channel-project.ts +21 -46
- package/src/hub/config-apply.ts +1 -1
- package/src/hub/config-edit.ts +1 -1
- package/src/hub/config-tier.ts +1 -1
- package/src/hub/config.ts +2 -2
- package/src/hub/confirmation-matrix.ts +1 -1
- package/src/hub/control/board-messages.ts +415 -0
- package/src/hub/control/dashboard-messages.ts +221 -0
- package/src/hub/control/delivery-messages.ts +356 -0
- package/src/hub/control/dispatch.ts +114 -0
- package/src/hub/control/hub-tool-helpers.ts +243 -0
- package/src/hub/control/hub-tools.ts +147 -0
- package/src/hub/control/native-messages.ts +665 -0
- package/src/hub/control/operations-messages.ts +269 -0
- package/src/hub/control/peer-messages.ts +126 -0
- package/src/hub/control/recovery-messages.ts +391 -0
- package/src/hub/control/recovery-operation.ts +480 -0
- package/src/hub/control/scope.ts +460 -0
- package/src/hub/control/sdlc-messages.ts +373 -0
- package/src/hub/control/task-ops-more.ts +245 -0
- package/src/hub/control/task-ops.ts +553 -0
- package/src/hub/control/ui-actions.ts +241 -0
- package/src/hub/control-write-trace.ts +1 -4
- package/src/hub/daemon.ts +485 -4324
- package/src/hub/delivery-hints.ts +2 -0
- package/src/hub/delivery-journal.ts +17 -6
- package/src/hub/events.ts +2 -1
- package/src/hub/execution-reference.ts +1 -1
- package/src/hub/host.ts +41 -9
- package/src/hub/hub-tools.ts +3 -4
- package/src/hub/invocations.ts +1 -1
- package/src/hub/lifecycle.ts +4 -3
- package/src/hub/mcp-endpoint-serve.ts +4 -3
- package/src/hub/mcp-endpoint.ts +15 -6
- package/src/hub/memory-profile-check.ts +1 -1
- package/src/hub/no-writes.ts +1 -1
- package/src/hub/peers.ts +2 -0
- package/src/hub/pi-exit-policy.ts +27 -0
- package/src/hub/progress.ts +1 -1
- package/src/hub/project-runtime-state.ts +17 -4
- package/src/hub/project-runtime.ts +3 -1
- package/src/hub/protocol-window.ts +1 -1
- package/src/hub/recovery-continuity.ts +3 -3
- package/src/hub/recovery-kept-roster.ts +50 -0
- package/src/hub/review-anchor.ts +13 -181
- package/src/hub/review-brief.ts +78 -28
- package/src/hub/review-findings.ts +15 -193
- package/src/hub/review-ledger.ts +162 -0
- package/src/hub/review-material.ts +3 -3
- package/src/hub/reviewer-pool.ts +4 -2
- package/src/hub/roadmap-issue-states.ts +65 -14
- package/src/hub/roadmap-sync.ts +39 -14
- package/src/hub/routing.ts +9 -0
- package/src/hub/runtime-capture-prune.ts +8 -2
- package/src/hub/runtime-package-assets.ts +3 -0
- package/src/hub/sdlc-release-policy.ts +1 -2
- package/src/hub/settings.ts +1 -1
- package/src/hub/spec-ack-tool.ts +4 -0
- package/src/hub/spec-report-history.ts +36 -0
- package/src/hub/specs.ts +1 -4
- package/src/hub/supervision.ts +33 -6
- package/src/hub/tasks-audit.ts +390 -0
- package/src/hub/tasks-backlog.ts +522 -0
- package/src/hub/tasks-handoff.ts +208 -0
- package/src/hub/tasks-release.ts +257 -0
- package/src/hub/tasks-roadmap.ts +17 -3
- package/src/hub/tasks-specs.ts +672 -0
- package/src/hub/tasks-types.ts +334 -0
- package/src/hub/tasks.ts +286 -1961
- package/src/hub/upgrade-session-contract.ts +11 -0
- package/src/local/probe-sandbox.ts +1 -2
- package/src/local/probe-workspace.ts +1 -1
- package/src/models/route/config.ts +4 -4
- package/src/models/route/decision.ts +18 -10
- package/src/models/route/observation-signals.ts +1 -2
- package/src/models/route/runtime.ts +8 -5
- package/src/npm-artifact.ts +76 -0
- package/src/omniroute/client.ts +6 -0
- package/src/pi/extension.ts +5 -2
- package/src/pi/install.ts +77 -0
- package/src/pi/pin.ts +49 -0
- package/src/primitives.ts +14 -0
- package/src/version.ts +2 -0
- package/templates/adec/README.md +10 -6
- package/templates/config.json +1 -1
- package/templates/specs.block.md +1 -0
package/docs/dogfood.md
CHANGED
|
@@ -13,6 +13,8 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
13
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
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
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. |
|
|
16
|
+
| Keep-first Claude upgrade (#1807 T3) | source and control-fixture coverage; live terminal upgrade awaits release | Compare keep, resume, fresh and blocked rows in `ahub upgrade --dry-run`. Count same-session reattachments and confirm a kept row issues no terminal command. |
|
|
17
|
+
| Claude gap handling (#1807 T4) | source, relay and control-fixture coverage; live upgrade awaits release | Count tool calls held then released versus expired with the gap text during `ahub upgrade`, and confirm no call ran twice. |
|
|
16
18
|
| 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 |
|
|
17
19
|
| 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 |
|
|
18
20
|
| 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 |
|
|
@@ -78,7 +80,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
78
80
|
| Optional model for a headless Claude implementer (#844) | on after the release and once the person sets `model` on `instances.claude-impl` in `config.local.json` (a hub daemon restart applies it); unset it changes nothing | `ahub status` shows `model source` on the instance row; the native argv carries `--model <value>` on every turn and none when unset (test/claude-implementer.test.ts, test/claude-implementer-daemon.test.ts); a tracked-file or non-implementer declaration is refused or ignored with a reason (test/instances.test.ts, test/jcode-instances.test.ts) |
|
|
79
81
|
| Stage route contract (#1352 R1) | source change active after release and hub upgrade; no running model policy or live model behavior changed by this task | newly authored bounded capture/evidence/fallback/switch tests and 24 synthetic sizing fixtures with public scalar provenance; whole-wire Unicode sizing is intentionally conservative; owned relay/local-worker/decision/progress tests provide model-free integration coverage; live model outcomes and routing gains remain unverified |
|
|
80
82
|
| Optional ADEc phase/judge model choices (#1352 R2) | off here; placeholder policies only, with phase, review/escalation authority and fallback execution retained by the hub; focused fake-service integration passed; manual route receipt/live review remains unrun, with no model-quality, gain or rollout claim | `test/model-route-event-parity.test.ts` compares controlled off/shadow fallback calls and route observations against a numeric-loopback fake service; a person-run model-routing receipt/live leg is still required for real-model behavior or gain claims |
|
|
81
|
-
| adec decision routes (#554 consumer) | not enabled on this repository; offline fake-service proof only, including the optional `stage` classifier band (#1373) that asks only inside `ambiguous_band`, and the triage evaluation (`scripts/decision-eval.ts`) is person-run and not yet run against a real decider here, so no native decider or gain claim | shadow chosen alias/effort versus actual tier, margin and latency joined to route outcomes; zero off-campus sensitive/observer requests and no raw evidence in events; a decision-eval report's per-column accuracy, coverage and p50/p95 against planner-named classes, with the same-class agreement of both columns |
|
|
83
|
+
| adec decision routes (#554 consumer) | not enabled on this repository; triage shadow and enforce (#1936) are off here and proven by fake-service tests only; offline fake-service proof only, including the optional `stage` classifier band (#1373) that asks only inside `ambiguous_band`, and the triage evaluation (`scripts/decision-eval.ts`) is person-run and not yet run against a real decider here, so no native decider or gain claim | shadow chosen alias/effort versus actual tier, and fake-gateway enforcement of the selected or current pair; margin and latency joined to route outcomes; zero off-campus sensitive/observer requests and no raw evidence in events; a decision-eval report's per-column accuracy, coverage and p50/p95 against planner-named classes, with the same-class agreement of both columns |
|
|
82
84
|
| Person-only live peer model override (#1317 T1) | source and model-free fake checks passed at the [recorded heads](verification/2026-11-08-live-model-override-1317.md); installed-hub rollout and native model changes unverified | next-turn argv/transport model, unchanged active turns and steering, last desired value, clear/persistence/reset, source and pending status, person-only refusals, unsupported no-write/no-restart, and model_change boundary audit |
|
|
83
85
|
| Receipt-gated ACP model selection (#1317 T2) | exact headless Kimi 2.5.2 native loopback A/B/clear/A setter passed; installed-hub rollout unrun; Jcode shared-TUI safety unqualified; Qwen 0.26.9/0.27.0 pass [suggestions-off ordinary A/B/A](verification/2026-11-11-qwen-setter-suggestions-off.md), with separate admission pending, so both remain unsupported | current owned identity/version and advertisement, held-turn selection, next-turn setter and admission acknowledgement, baseline clear in fixtures, revoked admission and timeout refusal, reviewer isolation unchanged; native receipts separate account/model use |
|
|
84
86
|
| Remote isolated check transport (#793) | off here; fake checks, a bounded local Docker transport receipt and a local run of the lockfile-keyed dependency volume; person opt-in, SSH and the live receipt follow separately | remote tests capability unavailable on failed SSH/Docker/image/transfer probe; one networked install per new lockfile key, none on later runs, the check mounting the volume read-only with no network; exact Git receipt, non-root hardened argv, zero Mac dependency copies and confirmed Docker cleanup before lease release; Darwin tar ignores PATH shims, probe warnings do not pollute JSON, bounded probes do not become unknown task-run orphans |
|
|
@@ -115,6 +117,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
115
117
|
| 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 |
|
|
116
118
|
| 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
119
|
| 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 |
|
|
120
|
+
| Claude relay parent evidence (#1780 T3) | source and synthetic process-observation coverage; available on the Bun relay after release | compare proven channel capability with pull-only fallback and inbox delivery after a missing, mismatched or print-mode parent |
|
|
118
121
|
| 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 |
|
|
119
122
|
| 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 |
|
|
120
123
|
| 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 |
|
|
@@ -158,7 +161,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
158
161
|
| Advisor surveys and considered findings (#1403 T7) | not invoked here; starts only on explicit person/conductor request, no live survey receipt collected | `ahub sdlc survey start` and `show <task>` record the share of vetted candidates that become deduped backlog plans/investigations, rejected-before suppression, unknown diffs and explicit reconsiderations. The survey pure/Board/Tasks/daemon/CLI fixtures cover synthetic admission, privacy and conditional recovery; fixtures do not establish native or live source-review acceptance |
|
|
159
162
|
| Minimum review by risk tier (#1645) | source and fixture coverage after merge and plugin upgrade (`test/risk-tier.test.ts`, `test/sdlc-risk-review.test.ts`); runs only with the lifecycle in `advise` or `enforce` and a `[risk]` table, which this repository has not set yet, so no tier is derived here and every review, plan review and merge gate behaves as before | per high PR: the risk line in the review request and, in `enforce`, the refusals that named the verifier card, with the id of the card approved at the filed head; low and medium PRs that approved without one; plan reviews reported or refused below the floor |
|
|
160
163
|
| Conductor eligibility and the doctor roles row (#1408 T1) | source and fixture coverage after merge and daemon restart (`test/role-eligibility.test.ts`); this repository names no conductor (the shipped default), so nothing changes here; a project that named a headless or non-interactive conductor loses the role with a notice | `ahub doctor` shows one `roles` row per project, and a warning row means a conductor was ignored, no planner is eligible or reviews fall to the person; `roles.<peer>: conductor ignored` notices in `ahub status` count the projects that needed the fix |
|
|
161
|
-
| Anchored review comments and findings (#1056) | source and synthetic-fixture coverage; active after release and hub upgrade; the owner's live document package-format confirmation remains open | draft/edit peer turns (target 0); one envelope and one history count per explicit Send; anchored/moved/outdated/unavailable counts; console-only refusals and quote/body canaries in logs, capture and public views; immutable shared acon fixtures; explicit refresh, task-bound memory versus current-turn capture scope, pruned reviewer requests, refused terminal resend, anchored-batch sibling remember/propose refusals, invocation answers after mid-turn inbox pulls, actionable provenance refusals, anchored-submission final-answer/history canaries, same-session restart retention, real sessionless WsPeer handoff and ordinary-input release, unidentified earlier-SID holds and reconnect status, safe first-SID confirmation, legacy coverage completion and NULL-receipt pruning, corrupt-provenance status, clean new-session admission, evidence-backed sticky restored pull-only holds, saved-package recovery and final-only resolution regression fixtures |
|
|
164
|
+
| Anchored review comments and findings (#1056) | source and synthetic-fixture coverage; active after release and hub upgrade; the owner's live document package-format confirmation remains open | draft/edit peer turns (target 0); one envelope and one history count per explicit Send; anchored/moved/outdated/unavailable counts; console-only refusals and quote/body canaries in logs, capture and public views; immutable shared acon fixtures; explicit refresh, task-bound memory versus current-turn capture scope, pruned reviewer requests, refused terminal resend, anchored-batch sibling remember/propose refusals, invocation answers after mid-turn inbox pulls, actionable provenance refusals, anchored-submission final-answer/history canaries, same-session restart retention, real sessionless WsPeer handoff and ordinary-input release, unidentified earlier-SID holds and reconnect status, safe first-SID confirmation, legacy coverage completion and NULL-receipt pruning, corrupt-provenance status, clean new-session admission, evidence-backed sticky restored pull-only holds, saved-package recovery and final-only resolution regression fixtures; the AREV anchor parser's denied-path behavior has fixture coverage in `test/arev-core-contract.test.ts` (#1874) |
|
|
162
165
|
| Memory sync health and write policy (#1173, #743) | source adoption of exact-pinned agent-mem 0.23.0 and isolated fixtures; not deployed here; AC4 bounded diagnostics available, AC5 result counts and host attestation; the daemon passes agent-mem's createPlacementAttestation on every sync pass and a refusal is the closed cause `writer` (fixture-tested; an activated store is not exercised here); legacy activation remains person-only; #1173 stays open; activation, live rollout and successful person-home sync unverified | automatic sync outcome/cause/count; SDK successful-placement result projection with withheld/exported counts (fixture seam; active-v3 sync unverified); legacy declined-sync refusal names inactive placement and the person-only activation preview; refused writer attestation names its category, cause class and next step; bounded SDK inspection of physical declined IDs and safe rule categories, with explicit incomplete results; one failure log per unchanged known signature; existing declined long-write and kept-short promotion fences |
|
|
163
166
|
| Spec acceptance (#481 S1) | advise | build entries without acceptance |
|
|
164
167
|
| Spec acceptance carry-over (#1328 T4) | Source and isolated Board/fake-GitHub fixtures; live board carry is unverified | `test/spec-acceptance-carry.test.ts`: unchanged-body carry, changed/different issue manual consent, strict local pointers, bounded lookup, no evidence cloning, read-only staged gates, atomic publication/rollback and awaited source/actor/privacy fences |
|
|
@@ -184,6 +187,8 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
184
187
|
| SDLC metrics and control bands (#481 S7) | `ahub sdlc metrics` on; bands off until `[bands]` is set in `.agenthub/sdlc.toml`, and they write cards only in advise or enforce (in off the report still shows tiers). Completion checks are off here; the GitHub first-pass fallback is live here since the 2026-11-24 readback (`first_pass_check` n=17, rate 0.882 over 52 tasks since 2026-11-21, posted on #1579) | its own report, including known and unknown first-pass and PR-based samples after a new merged PR; breach episodes per week by tier, and band cards the planner accepted rather than dropped |
|
|
185
188
|
| Fresh headless reviewers (#223, #519) | configured here (`codex-review`); per-tool approval correction and no-verdict diagnostics/re-offer (#783) take effect after release and upgrade | reviews by fresh sessions, findings they add; a per-review start failure names a closed cause class (#722): `ahub status` reviewer line and hub.log `[cause: ...]`, with the share of failures that are `unknown`; stale admission skips and current-policy `no_verdict` reroutes leave the reviewer available (#781); a real `hub_review` verdict per verified backend/version, beyond inventory-only proof; bounded refusal diagnostics, confirmed re-offers without queue holds, and uncertain fallback holds |
|
|
186
189
|
| Optional Orca companion (#1198 O0-O4) | moved to [STAIxBWLB/ahub-orca](https://github.com/STAIxBWLB/ahub-orca) (#1387); nothing of it remains in this repository. Still off: not installed here, enabled by nothing, not in the package; fixture checks only, `fixture_only` on macOS and unsupported elsewhere, and the native receipts are **person-run** and **not run** | that repository's `support-matrix.json` and `receipts/`; it reads ahub only through `docs/contracts/companion-cli-v1.json`, which `test/companion-contract.test.ts` holds ahub to |
|
|
190
|
+
| `ahub launch-line` keeps the launch's options and refuses an older daemon (#1963, companion CLI v3) | fixture coverage after merge; runs on this repository only when the Orca companion (ahub-orca#28) calls it after release and daemon upgrade, which is not installed here | `test/launch-line-plan.test.ts` and `test/companion-contract.test.ts` cover kept options, adapter-owned flag refusal, the 0.53.0 daemon floor with prereleases, `--exec self` and the never-blank rule; the metric is the refusal count the companion reports against launches it joins |
|
|
191
|
+
| Pi reliability: exit cause and one restart, logical-turn step count, `pi.max_steps` doctor warning (#1967) | fixture coverage after merge; takes effect on this repository's own hub after release and restart (Pi runs here with `pi.auto_start`) | `Pi exit:` log lines carry `reason=`; `ahub doctor` row `pi max_steps`; measured by the count of `Pi exit: ... expected=false` lines followed by a restart notice, and of `Pi inference failed after accepting the turn` fallbacks, per week |
|
|
187
192
|
| Kimi periodic review isolation (#1284) | source and isolated fixture coverage; running-hub/native-account behavior is unchanged until release and restart | max-input benchmark records historical inline blocking and worker control-response ordering separately from synchronous authority cost; fake-clock absolute cadence/no-overlap, complete filesystem tamper checks, source and plugin-only workers, and native/worker cleanup retry tests; no new native compatibility or model-quality claim |
|
|
188
193
|
| Completion checks per class | off: the implementer already runs `scripts/check.sh`; a hub-run copy would double the heavy-slot use | time to verdict when on |
|
|
189
194
|
| Supervision rules and proposals (#1221 T1, T2) | off here: `supervision.mode` is machine-local and defaults to off, so this project's board is not evaluated; with `shadow` a reading only fills a bounded queue, and with `advisory` a pending proposal appears in the console inbox where an explicit accept runs one existing action | the rule fixtures (19, including the exported snapshot shape, the evaluated coverage and its bound, about 0.2 s on one Mac, Bun 1.4.4) plus the queue and decision fixtures: `bun test test/supervision-rules.test.ts test/supervision-proposals.test.ts test/acon-supervision-inbox-1221.test.ts`, which cover the per-rule triggers and gaps, the zero-effect counts, dedupe by rule/task/revision/trigger, the 100/3/400/50 bounds with the refused total, every decision fence including the action's own authority before and after the facts read, the separate intent and receipt, the unknown outcome reconciled from the board's own record at the intent time and inside the proposal's revision, restart, and the advisory inbox row with its two verbs |
|
|
@@ -225,12 +230,13 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
225
230
|
| Model relay and inference settings (#489 H6, task 447) | available after release; no running hub configuration changed here; legacy defaults retained and all seven rows require daemon restart | default pins, schema/UI/apply parity, fake-clock cooldown/backoff and local fake-server journal coverage; configured native/model calls and live console/dashboard editing remain unverified |
|
|
226
231
|
| UI and console settings (#489 H7, task 448) | available after release; no running console or hub configuration changed here; defaults retained | independent default pins, bounds and config/inherit/undo, startup snapshot/fallback, poll seam, notice/history, cold-start counted trimming and permission/close handling; native interactive console editing remains unverified |
|
|
227
232
|
| Context gate | off: `context.gate = 0`; Pi occupancy has source and fake-bridge coverage in headless and TUI modes after release, native live status remains unverified | context-pressure events; `ahub status` reports `pi_usage` and freshness for a verified current Pi session |
|
|
228
|
-
| Roadmap drift, mirror and export (#1482 R4) | source and fake-GitHub coverage; mirror off by default and live write not exercised; mirror
|
|
233
|
+
| Roadmap drift, mirror and export (#1482 R4) | source and fake-GitHub coverage; mirror off by default and live write not exercised; mirror reads only bound or recovered milestone members plus batched GraphQL desired issues (1,000 each, PRs excluded) and live issue states are batched up to 1,000 linked issues (#1850) | `ahub roadmap check` findings and unknown rules, with rule 5 reporting only unacknowledged unchanged specs, preview fingerprints, generated roadmap validation and ids-only supervision notices |
|
|
229
234
|
| Structured checkpoint fields (#1331, `hub_checkpoint`) | on after release and hub upgrade: the fields are optional, so a checkpoint that sends only `summary` behaves as before; quota checkpoints run here, context checkpoints only where `context.gate` is set (off here) | one `checkpoint` event per accepted checkpoint (peer, reason `quota` or `context`, the names of the fields it carried, never its text); `events.checkpoints` in `quality.json` (`total`, `byFieldCount`, `byField`) shows how many checkpoints used the fields and which; over-length refusals name the field and limit in the tool result, and the unit and daemon tests are `test/checkpoint-fields.test.ts` and `test/daemon-context.test.ts` |
|
|
230
235
|
| Context headroom admission (#802) | off by default: `context.max_assignment_used = 0`; not enabled here by this PR | `ahub route explain` known/unknown context decisions and offered owners; pure/session-freshness, real Tasks/manual override and machine-local config regressions; native live admission remains unverified |
|
|
231
236
|
| Always-ask action classes (#636) | on after release for managed Claude forms, hub-owned ACP in ask mode, local/Pi tools and received Codex command approvals; Codex native bypass stays not enforceable | classed permission requests (a `gh api graphql` query is a read, a mutation, `gh run` or `gh workflow` write and every command with a shell expansion in a classed position (`git push $B`, `rm -rf "$DIR"`) is asked about: #756, #762; `test/action-class.test.ts` holds the table), full local/Pi command visibility and denied effects for incomplete native views; actionPolicyInfo current-child enforceability, remaining class budgets and weakening attention; Codex native no-request and Kimi non-ask ceilings are explicit |
|
|
232
237
|
| Permission modes | on, person-chosen | approval prompts and their wait times |
|
|
233
238
|
| Pi/local read-only shell class (#816 T1) | source/fixture coverage; person setting and live Pi receipt (AC4) remain unverified | automatic read-only class versus approval requests, parser/allowlist/proof revalidation tests, unchanged Seatbelt/path-guard byte checks |
|
|
239
|
+
| Hub-owned Pi pin (#1965) | available after release; explicit machine-local argv remains authoritative | a verified local fixture launches despite an unverified PATH Pi, mismatched npm integrity leaves the pin untouched, and doctor names the exact install command |
|
|
234
240
|
| Pi bounded continuations, defaults, failure classes, task-move delivery and focused-check preparation (#1447 T1/T2/T3/T4/T5) | source/fake coverage only until release and upgrade; the person-run implement-task leg stays unverified | fake Pi ceiling continuations delivered, exhausted `step_limit` moves versus `inference_failed`, class-only private diagnostics, and `needs_review` for unsettled/concurrently cancelled tools; Pi default/repository max_steps 100, local 30, and fake-extension rejection at attempt 101/100; late important notices ahead of chat in the actual escalation prompt, durable/volatile receipt preservation and former-owner done/checkpoint refusals; host-busy/provider-prompt window remains open and unmeasured; reviewed-base/cache preparation, fixed failure guidance and offline fixture TypeScript; macOS network-disabled TypeScript fixture passed; localhost listeners moved to a follow-up, and the account-backed Pi leg remains unverified |
|
|
235
241
|
| Pi and the local worker on DGX | off: DGX unreachable recently; Pi is off the roster | turns served on-prem, relay errors |
|
|
236
242
|
| Per-turn child attribution (#1516) | source and fake-child coverage; active after release and restart; native Pi and local sandbox legs require macOS | `test/turn-attribution.test.ts`, implementer and reviewer child fixtures, local sandbox context and Pi tool sandbox tests check IDs, triggers, private cloud withholding and inherited-value stripping; no model or account required |
|
|
@@ -270,7 +276,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
270
276
|
| Own held inbox inspection (#1328 AC6) | source and scratch-daemon/fake-channel coverage; installed-hub activation and native account use remain unverified | `hub_inbox` shows only its authenticated recipient's public held bodies as read-only uncertainty; `test/held-inbox.test.ts` checks repeat-read state/revision invariance, current privacy, row/UTF-8 bounds, restart observer exclusion and ordinary inbox preservation; malformed additive data and owned-launch drift have focused adapter fixtures; no real held row was inspected or settled for this proof |
|
|
271
277
|
| Design spec inspection and task notices (#1064 T1/T2) | on in this repository since 2026-11-02: five draft specs (goal, architecture, bus, task-board, adapters) under `docs/design/`, `ahub specs check` 0 errors; the four-week AC11 report runs `bun scripts/spec-dogfood-report.ts` (#1064 T6), baseline `--since 2026-10-05T19:41:16Z --until 2026-11-02T19:41:16Z --baseline` (the four weeks before #1119 merged; 39 release merges excluded): 408 of 577 PRs touched dogfood paths and 219 (54%) changed the design monolith alongside; first dogfood days `--since 2026-11-02T19:41:17Z --until 2026-11-07T09:00:00Z` (10 release merges excluded): 21 of 51 (41%) changed the covering spec, below the 70% target | `test/specs.test.ts` checks graph/freshness and empty-project silence; `test/specs-tasks.test.ts` checks report/require, head-bound acknowledgements and privacy; committed-head inspection fixtures exclude dirty/main-checkout bypasses; adoption metrics are the counts of `spec not updated` reports, acknowledged reasons and unchanged-spec refusals |
|
|
272
278
|
| Screened room chat and person inbox (#446 X4/X5/X5b) | default off here; requires person enrollment/exposure; console panel 8 and dashboard Agents remain metadata-only; person CLI alone can show one inbox body; real two-machine/account leg remains unverified | signed completed (admitted) versus immutable completed (inbox); once-only inbound count, body-free metadata/list JSON, framed/control-stripped person show, done/discard/expiry purge and fixed stored-byte cap/age refusals, post-ack retries; 1,100-row complete-list ceiling; no broadcast/roles/board/body telemetry, key/storage creation from status or mixed-version success claim; existing restart/binding/disposition regressions |
|
|
273
|
-
| Capability discovery (#445 C1) | off here until a person shares an entry: nothing is listed without `invocation.share` in `.agenthub/config.local.json`; Kimi 2.3.2, Qwen 0.26.1 and Codex 0.166.0
|
|
279
|
+
| Capability discovery (#445 C1) | off here until a person shares an entry: nothing is listed without `invocation.share` in `.agenthub/config.local.json`; verified listings are Kimi 2.3.2, Qwen 0.26.1, and Codex 0.166.0 and 0.174.0; other versions need exact trust; Codex 0.174.0 passed the hosted account-free listing check; invoking is C2 | `ahub capabilities --json` per-peer entry counts and share states; `hub_capabilities` calls (the `capabilities_list` and tool lines in the hub log) against the count of shared entries; a peer on an unprobed version showing zero entries is the pin working, not a fault |
|
|
274
280
|
| Capability invocations (#445 C2/C3) | off here until a person shares a capability; read needs no approval, write/external require task scope and allow-once approval for each call; unattended refuses effects. Stand-in round trips and approval/audit/hold tests are the verification target; live Kimi/Qwen/Codex receipts remain C4 | `invocation` events and rows by outcome (completed, refused, failed, expired, timeout, needs_review), approval ids and task audit entries, result bytes, time from queue to settle; a read that times out against a live peer is the signal to look at that peer, not at the hub |
|
|
275
281
|
| Cross-hub read invocations (#446 X6) | off until both persons expose peers and independently pin the exact capability/digest/read class; discovery is manual; two-daemon broker/crypto fixtures are the verification target, live X7 receipts remain unverified | source/target invocation ids, request admission versus capability result and result transport outcomes; needs_review counts and no duplicate native dispatch |
|
|
276
282
|
| Headless amem Records (#1320) | source and disposable fixtures only; off in the running hub until release/upgrade and coordinated shared-home upgrades; production source uses the exact 0.23.1 policy API; no native/provider-backed receipt | Record capture accepted/dropped counts, forwarded answer/digest bytes, injected brief/recall bytes; proven saved-ID/anchor overlap compaction, unchanged unrelated notes, privacy/owner/steering fences and restart fallback in `test/headless-record*.test.ts` |
|
|
@@ -321,8 +327,9 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
321
327
|
| 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
328
|
| 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
329
|
| 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`
|
|
325
|
-
| MCP endpoint
|
|
330
|
+
| 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` or a WebSocket or MCP control callback failure in one project leaves the others serving |
|
|
331
|
+
| MCP endpoint and Bun relay (#1780 T1 through T4) | after release and restart; older daemons use the existing bridge | `mcpServing` and `mcpSocket` in `status.json`; endpoint refusals per start; fixture relay and bridge parity, no replay after a dropped reply |
|
|
332
|
+
| Native Claude relay launcher (#1942) | fixture coverage; live native relay awaits a compatible agent-suite release | matching PATH executable replaces the launcher with the same PID and stdio; absence, version mismatch and timeout use the bundled relay |
|
|
326
333
|
| 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 |
|
|
327
334
|
| 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 |
|
|
328
335
|
| 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
|
@@ -23,7 +23,7 @@ marked `private: true`, and PII tasks `pii: true`.
|
|
|
23
23
|
| `quiet` | `id`, `from`, `peers`: an agent message held back from these members of a silent turn-free cohort; its other recipients got it (issue #107) |
|
|
24
24
|
| `fact` | `peer`, `id` (the offer), `files` (files whose diff it carried), `plans`, `unknown` (files whose change it showed with attribution unknown), `named` (files under a named directory it named without a diff, those counted as "N more" or held back by the PII filter included), `bytes` (the injected text), `via` (`hook` for Claude, `steer` for Codex, `done` with an integration request), `ms` (the hub's time to build it), `hookMs` (the hook process's own start-up and connect time), `accepted` (whether app-server took the steer), `unanswered` (app-server did not answer it within 10 s: it may have gone in), `rttMs` (an accepted steer: from sending it to app-server's answer), `probe` (a context check), `coverage` (it named files earlier changes are not covered for): one fact offer (issue #108) |
|
|
25
25
|
| `fact_ack` | `peer`, `id`, `via` (`hook` and `steer`: a readback found the offer in the native session; `done`: the next `hub_task_done`), `ms` (from the offer): an acknowledged offer, the only thing that moves a peer's view |
|
|
26
|
-
| `route` | `peer`, `route`, `tier`, `source` (`override`, `dimensions`, `hold`, `classifier`, `default`; for `hub/auto` also `load`: a busy MLX slot moved it to `dgx/fast` (opt-in, `[pi] efficient_wait_ms`), `cooldown`: a cooling MLX went to its fallback first, and `pin`: an enforced tool loop went to the backend it is pinned to, issue #199), `score`, `ms`. Local decisions also carry `decision`, `turn`, optional numeric `task`, `pii`, and decision-time `severity`, `spinning`, `exploring`, `production`. A `hub/auto` decision for a request without a session key carries `stateless: true` (`ahub report` then counts its sessions as unknown). `hub/auto` and hub stage decisions carry `turnType` (`tool_result`, `user`, `compaction`: what the call answers) and `prefillTokens` (estimated input a backend would prefill; absent on a PII route), and, unless `stay_switch` is `off`, `staySwitch` (`shadow`, `enforce`), `plan` (`stay`, `switch`) and `reason` (`new_pin`, `compaction`, `context_fit`, `same_tier`, `override`, `tool_loop`, `prefill_bound`, `user_turn`): the planner's verdict next to the tier taken (issue #197). Decision routes additionally use source `decision`, `decisionMode`, `chosenAlias`/`chosenEffort` (null when the hub has no validated pick), `margin`, `decisionLatencyMs`, closed `decisionReason`, `fallbackApplied` and the decider provider/model/latency metadata (null when no decider was asked). In shadow, `tier` is
|
|
26
|
+
| `route` | `peer`, `route`, `tier`, `source` (`override`, `dimensions`, `hold`, `classifier`, `default`; for `hub/auto` also `load`: a busy MLX slot moved it to `dgx/fast` (opt-in, `[pi] efficient_wait_ms`), `cooldown`: a cooling MLX went to its fallback first, and `pin`: an enforced tool loop went to the backend it is pinned to, issue #199), `score`, `ms`. Local decisions also carry `decision`, `turn`, optional numeric `task`, `pii`, and decision-time `severity`, `spinning`, `exploring`, `production`. A `hub/auto` decision for a request without a session key carries `stateless: true` (`ahub report` then counts its sessions as unknown). `hub/auto` and hub stage decisions carry `turnType` (`tool_result`, `user`, `compaction`: what the call answers) and `prefillTokens` (estimated input a backend would prefill; absent on a PII route), and, unless `stay_switch` is `off`, `staySwitch` (`shadow`, `enforce`), `plan` (`stay`, `switch`) and `reason` (`new_pin`, `compaction`, `context_fit`, `same_tier`, `override`, `tool_loop`, `prefill_bound`, `user_turn`): the planner's verdict next to the tier taken (issue #197). Decision routes additionally use source `decision`, `decisionMode`, `chosenAlias`/`chosenEffort` (null when the hub has no validated pick), `margin`, `decisionLatencyMs`, closed `decisionReason`, `fallbackApplied` and the decider provider/model/latency metadata (null when no decider was asked). In shadow, `tier` is the heuristic alias. In enforce, `tier` is the executed alias from the validated or current pair. `chosenAlias` and `chosenEffort` continue to describe adec's proposal. The decider metadata additionally carries optional `version` when the provider reports a pinned version; absent remains unknown, never inferred from the model id. R2 judge-choice observations additionally carry `decisionTarget: "judge"`; `tier` is the requested fallback judge alias, not a served-model identity, and the event has no purpose or phase field or executor label/usage credit. Off mode emits no judge observation. No prompt/evidence text, tool arguments, credentials or service error prose |
|
|
27
27
|
| `cooldown` | `peer`, `alias`, `event` (`start`, `end`), `failures` (consecutive transport or startup failures), `ms` (on `start`, how long the alias cools down): a relay backend alias after repeated failures (issue #199). An `end` is recorded at an HTTP answer (any status) or when the hub next checks the alias after it expired |
|
|
28
28
|
| `route_outcome` | `peer`, `decision`, `turnId`, `turn` (`completed` or `failed`), optional `task`, `pii`, `latched`, optional `next` (`severity`, `tests`: `pass`/`fail`/`none`, `repeat`) and `advisor` (`approve`/`redo`/`failed`). Exactly once per local decision at turn settlement, including failure/cancellation |
|
|
29
29
|
| `advisor` | `peer`, `route`, `trigger`, `verdict` (`approve`, `redo`, `failed`), `discardedChars`: an advisor check result; no transcript or feedback text |
|
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.50.0 <1.0.0`. The lockfile resolves agent-mem 0.50.0, which pins `@staix/cli-output` 0.1.6 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
|
|
|
@@ -324,7 +324,7 @@ An unchanged failure emits one safe log line per episode. A complete bounded pol
|
|
|
324
324
|
|
|
325
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.
|
|
326
326
|
|
|
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.
|
|
327
|
+
The declared agent-mem floor (0.50.0; the inspection arrived in 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.
|
|
328
328
|
|
|
329
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.
|
|
330
330
|
|