@staix/agent-hub 0.40.0 → 0.42.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 +17 -1
- package/README.md +1 -1
- package/docs/addons/claude-mem.md +1 -1
- package/docs/agent-notes/tasks.md +1 -1
- package/docs/dogfood.md +5 -3
- package/docs/events.md +2 -0
- package/docs/memory.md +10 -7
- package/docs/operations.md +41 -8
- package/docs/quickstart.md +15 -3
- package/docs/research.md +1 -1
- package/docs/security.md +3 -3
- package/docs/verification/2026-11-16-0.41.0.md +33 -0
- package/docs/verification/2026-11-16-0.42.0.md +48 -0
- package/docs/verification/2026-11-16-compat-producer-gaps-1248.md +57 -0
- package/docs/verified.json +20 -20
- package/package.json +2 -2
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +35 -4
- package/plugins/agent-hub/server.js +35 -4
- package/src/cli/agent-attribution.ts +6 -0
- package/src/cli/help.ts +7 -7
- package/src/cli/identity.ts +8 -2
- package/src/cli/main.ts +2 -1
- package/src/cli/memory.ts +21 -6
- package/src/hub/checkpoint-fields.ts +60 -0
- package/src/hub/ci-watch.ts +17 -2
- package/src/hub/config-apply.ts +2 -2
- package/src/hub/daemon.ts +24 -10
- package/src/hub/events.ts +4 -0
- package/src/hub/hub-tools.ts +2 -1
- package/src/hub/operational-view.ts +6 -6
- package/src/hub/research-quality.ts +18 -3
- package/src/hub/tasks.ts +1 -1
- package/src/memory/recall.ts +44 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,28 @@ Issue and pull request numbers in the entries for 0.7.7 and earlier refer to the
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.42.0
|
|
8
|
+
|
|
9
|
+
- Release N-1 for 0.42.x is published 0.41.0, with exact agent-mem 0.27.1 and control protocol 17 (descriptor floor 16). The N-1 fixture and matrix pin that package; the separate protocol-16 fixture stays at 0.25.0. The isolated fixture exercises old client and plugin against the new daemon and the new client and plugin against the old daemon. It does not establish live-agent, rollback or shared-home compatibility. The wire is unchanged from 0.41.0. This release pins agent-mem 0.28.0 while 0.41.0 pins 0.27.1; agent-mem 0.28.0 raises no sync/home format floor, so both can share a memory home until a person raises it, and file compatibility beyond these fixtures remains subject to the release verification report.
|
|
10
|
+
- `ahub help memory` and the memory docs no longer call memory changes, `sync`, `import`, `decay` and `declined` person-only; an agent shell runs them as itself since hub task 969 (#1522). `graph`, `confirm`, `reject` and `profile-check` stay the person's.
|
|
11
|
+
- Agent shells can run the supported `ahub memory` commands with their own attribution (hub task 969, Refs #1522). Memory writes retain the existing policy and confirmation checks and record the agent; person-only hub verdicts stay restricted. The implementation uses agent-mem's public attribution API.
|
|
12
|
+
- The hub exact-pins `@staix/agent-mem` 0.28.0 (hub task 988, from 0.27.1). Candidates gain a nullable `origin` column that agent-mem fills from the optional `origin()` option of `createMemoryMcp`, which the hub does not set, so no candidate gets an origin from the hub. Placement sync can batch its journal appends only after a person raises the sync/home format floor to 0.28.0; no floor is raised implicitly, so behavior is unchanged until then. The N-1 compatibility baseline is 0.27.1. Package, lockfile integrity, the pin sentences in the docs and the plugin bundles move together. This is not a release.
|
|
13
|
+
|
|
14
|
+
## 0.41.0
|
|
15
|
+
|
|
16
|
+
- Release N-1 for 0.41.x is published 0.40.0, with exact agent-mem 0.26.3 and control protocol 17 (descriptor floor 16). The N-1 fixture and matrix pin that package; the separate protocol-16 fixture stays at 0.25.0. The isolated fixture exercises old client and plugin against the new daemon and the new client and plugin against the old daemon. It does not establish live-agent, rollback or shared-home compatibility. The wire is unchanged from 0.40.0. This release pins agent-mem 0.27.1 while 0.40.0 pins 0.26.3; file and format-floor compatibility beyond these fixtures remains subject to the release verification report.
|
|
17
|
+
- The session preface's long-term section is ordered by observed use (hub task 976, #1330). Counter rows are per delivery, so they are summed per entry: entries with a cited share lead, entries with no observed use keep today's newest-first order, and entries delivered at least `memory.preface_unused_after` times (default 20, 0 turns it off, applies at the next session start) and never cited move to the end, so the display cap cuts them first. Null counters, no sidecar or an unreadable one keep the current order; nothing is deleted or demoted, and the short-term amem section and `MemoryClient` are unchanged. Each preface writes a `preface` event (bytes, memory lines, reordered or not), totalled under `events.preface` in `quality.json`.
|
|
18
|
+
- GitHub milestone import is person-only in `Tasks` as well as at the CLI (hub task 982, Refs #1481). `Tasks.roadmapImportGitHub` allowed the configured conductor, although its refusal text, the daemon comment and `src/cli/identity.ts` all say the console user imports; only the CLI gate stopped it. It now requires the console user and refuses the conductor before any `gh` call, dry run or apply. No other roadmap op changes.
|
|
19
|
+
- The compat receipt harness can now prove pi, and kimi-review's native legs pass again (hub task 978, Refs #1248, #888). pi had no producer branch in the proof worker, so every one of its nine legs ended `producer-not-importable` while its manifest said `autoAdmit: true`; `scripts/compat-receipts/proofs/pi.ts` is the candidate-parameterized form of the 1.5.0 and 1.5.2 model-free producers (the SDK driver is copied byte for byte), and on the published 1.5.2 all nine legs pass in about 11 s with no account, key or model. kimi-review's `native-tool-loop`, `write-absent` and `write-positive-control` failed on the verified 2.5.1 as well as on 2.6.2, from two producer bugs: Kimi's startup update check reached `code.kimi.com`, which the loopback guard refuses and logs, so the log the proof requires empty never was (the native child now sets `KIMI_CODE_NO_AUTO_UPDATE` and its legacy alias; any other network attempt still fails), and 2.6.x words the injected-Write refusal differently from 2.5.x (both exact wordings are accepted; a vague one is not). A manifest test now fails an `autoAdmit: true` id with no producer branch. qwen's 0.27.2 cleanup failure of 2026-11-12 did not reproduce (one failed receipt of six read, none in six local runs) and its producer is unchanged. The [receipt](docs/verification/2026-11-16-compat-producer-gaps-1248.md) records the evidence and one decision left to the person: kimi-review, qwen, claude-implementer and jcode keep `autoAdmit: true` although each has a required human-only source leg, so only pi can reach a CI-opened admission PR. #1248 stays open until the workflow opens one.
|
|
20
|
+
- The CI watcher no longer reports a stale deferred macOS aggregate as failed when a newer same-workflow macOS shard is queued or running. It waits for the new aggregate and still reports a real failure; missing ordering or workflow evidence remains a failure rather than a guessed pass. Refs #1490.
|
|
21
|
+
- `hub_checkpoint` accepts optional structured fields `done`, `in_progress`, `next`, `verified_by` and `traps` next to `summary` (hub task 975, #1331). Each is at most 5 lines of 200 characters and the rendered checkpoint stays within the 3000 characters a handoff keeps; an over-length field is refused with its limit named and nothing is saved or cut. The private context-checkpoint file, the shared-memory note and the quota handoff prompt render them in that fixed order and omit a missing one; both checkpoint requests name them; a call with only `summary` is unchanged. Each saved checkpoint writes a `checkpoint` event with the field names (never text), counted under `events.checkpoints` in `quality.json`. `docs/operations.md` describes a context reset as an operator option; nothing resets automatically. Rebuilds the plugin bundle.
|
|
22
|
+
- Exact-pin `@staix/agent-mem` 0.27.1. Since 0.27.0 its curated CLI search groups visible hits from the same task by default; `ahub memory search --ungrouped` returns individual hits. The daemon's screened memory-search tool keeps its own read path. The package reports unchanged N-1 storage and sync formats and adds bounded placement-refusal diagnostics; 0.27.1 adds the root `withCliAttribution` export and screened agent-session amem operations; the hub's privacy and authority rules remain in place.
|
|
23
|
+
|
|
7
24
|
## 0.40.0
|
|
8
25
|
|
|
9
26
|
- Release N-1 for 0.40.x is published 0.39.0, with exact agent-mem 0.26.0 and control protocol 17 (descriptor floor 16). The N-1 fixture and matrix pin that package; the separate protocol-16 fixture stays at 0.25.0. The isolated fixture exercises old client and plugin against the new daemon and the new client and plugin against the old daemon. It does not establish live-agent, rollback or shared-home compatibility. The wire retains protocol 16 through 17; roadmap adds a conditional recovery feature and additive milestone tables. New roadmap CLI and MCP forms are not available from a 0.39.0 daemon. File and format-floor compatibility beyond these fixtures remains subject to the release verification report.
|
|
10
27
|
|
|
11
28
|
- Companion CLI contract v1 lists the existing optional per-peer context occupancy and freshness (hub task 974, Refs #1511). A scratch hub with a fixture status-line reading verifies the real status JSON; no context measurement or wire field was added.
|
|
12
|
-
|
|
13
29
|
- Execution lineage accepts `atex` as an opaque declared producer (hub task 972, Refs #1510). A build reference can carry its receipt id and PDF SHA-256; the hub does not execute atex, fetch the receipt or attest the build.
|
|
14
30
|
|
|
15
31
|
- `ahub help <command>` says what each flag is for (hub task 971, #1504 AC3). A Flags line was the flag, its value shape and the forms that take it (`--sync in handoff`); it is now one short description (`--sync sync handoff states from the targets`), at most 46 cells so it fits 80 columns. The words live in `FLAG_DESCRIPTIONS` in `src/cli/help.ts`, keyed by the flag or by `<command> <flag>` where a command uses a flag differently (`--all` means every project for `status`, decided candidates for `learn`, completed goals for `goal`). A flag with no entry falls back to the forms line. `test/help.test.ts` fails a flag of any command without a description, a line over the width, and a table entry that names no flag.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Code, Codex, Kimi Code, Pi and a hub-owned local worker (plus Qwen Code, Jcode a
|
|
|
5
5
|
Antigravity if you want them) share a message bus, a task board and a memory, each
|
|
6
6
|
connected through its own native interface.
|
|
7
7
|
|
|
8
|
-
Status: 0.
|
|
8
|
+
Status: 0.42.0, control protocol 17 (accepts 16). Bun + TypeScript, one loopback daemon per
|
|
9
9
|
project. Site: [agent-hub.staix.net](https://agent-hub.staix.net).
|
|
10
10
|
|
|
11
11
|
Inspect bounded task and attempt metadata with `ahub lineage show`; admit external
|
|
@@ -6,7 +6,7 @@ Status 2026-10-12: keep optional. No measured effect yet.
|
|
|
6
6
|
|
|
7
7
|
- Through the hub: nothing at runtime. Session-start recall, task briefs, the local worker's capture and `hub_remember` all use the in-process amem store (`@staix/agent-mem`); the hub makes no claude-mem worker request and ignores `memory.worker_url` (`ahub doctor`: "in-process, no claude-mem worker").
|
|
8
8
|
- Native plugin: claude-mem installed as a Claude Code or Codex plugin runs its own hooks inside those sessions; the hub neither reads nor writes them. The add-on fingerprint records it when it is enabled there, so `ahub research addons` and `ahub bench run --addon claude-mem=on|off` can compare on against off.
|
|
9
|
-
- Import: `ahub memory import claude-mem` is a
|
|
9
|
+
- Import: `ahub memory import claude-mem` is a one-way, read-only copy of past hub observations into hub memory (`docs/memory.md`). The bench memory arms `claude-mem` and `both` are historical labels for `memory.enabled`, not a live claude-mem path.
|
|
10
10
|
|
|
11
11
|
## Evidence
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ Scope: the task flow, assignment, the state machine and the hub's MCP tools. Rea
|
|
|
26
26
|
- Opt-in auto pull (#785 P1c, `tasks.auto_pull`, `Tasks.queueAutoPulls`, `autoPull`, `topReservedReady`): `writePlannerNotices` collects the peers whose WIP this write lowered and, only when `TasksDeps.autoPull()` is true (read at each release, so a reload applies to the next one), queues one `autoPull(peer)` per peer on a promise chain, so two releases never pick the same card and each job re-reads the board. It takes the top backlog card explicitly reserved for that peer (`topReservedReady(peer, undefined, true)`, the rule the notice's `reserved ready #id` line also uses; never an unreserved card, never PII, which `topReservedReady` skips for a pull), finds the card's own planner of record (`taskPlanner(card)[0]`, which must be rostered) and calls `pullPlanned(HUB, input, { onBehalfOf: planner })`. `onBehalfOf` is accepted only with `by === HUB`; the planner's authority is what `planningAuthority` checks, the actor in history and the planning telemetry stays `hub`, and the planner binding records the planner it acted for. Every other check is `pullPlanned`'s own, unchanged, and a refusal is one console notice with the public title (never detail). A held or recovering hub, a storage error or the setting off pulls nothing, and that is checked twice: at entry and again by `pullPlanned`'s `opts.guard` (`autoPullAdmitted`) wherever authority is rechecked, which includes right before the assignment or board write after the awaited PII screen and `planReviewGap`, so turning the setting off or starting recovery or shutdown mid-admission writes nothing and reports nothing. `autoPullsPending()` counts queued and running pulls and `recoveryReady` waits for it (also named in the recovery view's blockers), as it does for `checksPending`. The key is in `ALL_MACHINE_LOCAL` (`config-trust.ts`) so a committed config is ignored for it, and it is not in `CONDUCTOR_SETTING_KEYS`: an agent never turns it on. Never add a timer or sweep that pulls: the only trigger is the write that freed the slot.
|
|
27
27
|
- Bounded waits (#1454, `Tasks.wait`, `taskWait`, `hub_task_wait`): a wait is one quiet `wait recorded` history entry with `wait: {until, owner}` and the public reason as its note, never a column or a second write. `taskWait` (`src/hub/task-sweep.ts`) parses whether the latest wait remains in force from history alone (latest wait entry names the current owner, nothing state-changing after it); callers use that result for idle-sweep timing and to surface an expired wait as `wait-passed` in planner grooming. A new event that must not end a wait joins `WAIT_KEEPING_EVENTS` beside its `QUIET_EVENTS` line. `nextSweep` reads it for `idle-owner` only; never let it touch `review-pending`, `unaccepted-assignment` or `ready-unassigned`. The tool is published only while `task_sweep.enabled` (`profileTaskTools(..., wait)`, status field `taskWait`), and `Tasks.wait` refuses with the same condition, so sweep off changes no tool list. Refusals are `PreEffectToolRefusal` naming cause and next step; the reason is screened and refused, not cut, on an ordinary task.
|
|
28
28
|
- Planned start (#1092): `plannedStartPending` (`src/hub/task-sweep.ts`) is the only test that a card's `plannedStart` is still ahead. Every automatic path skips such a card: dependent readiness, `backlog_ready` notices, the reserved-ready pick, auto pull and its `guard`, a hub-actor (`by === HUB`) offer, pull or assign of an ownerless backlog or proposed card, and the idle sweep. The planner digest shows it as `scheduled`. A new automatic path asks it too.
|
|
29
|
-
- Per-head CI watcher (#785 P1b, `src/hub/ci-watch.ts`, `Tasks.watchCi`, `ciCompleted`, `reofferHeldReview`): when a `done` leaves a review whose admission was not ready at the task's exact full-commit head (or a review is held as premature in `sendReview`), `CiWatchers` starts at most one watcher per task and head, with chained unref'd `setTimeout`s and no interval. Each poll is one `gh pr view` through the `sdlc.gh` port (`pollCi`); `latestCheckRuns` drops older rows only when a same-name check has the same workflow identity and a unique latest start time, otherwise duplicate evidence remains. A cancelled check and a draft PR's deliberately deferred `check (macos-latest)` failure are pending, not failed; other required failures remain failures. It ends on a passed result for the required checks, on `CI_WATCH_DEADLINE_MS`, on `stopCiWatchers` (daemon `stopOnce`), or silently when `ciWatchCurrent` fails (the task left `in_review`, its head or PR changed, the lifecycle is off, it turned private). `complete`, `review` (both verdict writes) and `cancel` cancel it. Each (head, outcome) is told once (`settled`), and only `passed` settles a head for good (#540): after `failed` or `incomplete` the watcher keeps reading for a rerun of that head (the first pending read after each newly told result is a new run attempt and renews the deadline once; later pending or unreadable reads and an unchanged failed result never renew it, so the watcher always ends; a deadline after a told result ends silently), and a later `hub_task_done` at that head starts one again. A newer head replaces the watcher. The result is one ids-only `ci_completed:` task envelope at `status` weight to the owner and the reviewer (`fyi` is never delivered to a peer, so it would not reach them), a console notice for `user`, and for a deadline a console notice only. A passed or incomplete result re-offers a review held as premature once (`heldReviews`, keyed by task, head, reviewer and review revision) after a fresh `reviewRequestAdmission` says ready; a failed one re-offers nothing. No task text goes in the notice, no PII task is watched, and nothing is restored after a hub restart (the next `hub_task_done` starts one). Never add a second periodic gh read outside this watcher.
|
|
29
|
+
- Per-head CI watcher (#785 P1b, `src/hub/ci-watch.ts`, `Tasks.watchCi`, `ciCompleted`, `reofferHeldReview`): when a `done` leaves a review whose admission was not ready at the task's exact full-commit head (or a review is held as premature in `sendReview`), `CiWatchers` starts at most one watcher per task and head, with chained unref'd `setTimeout`s and no interval. Each poll is one `gh pr view` through the `sdlc.gh` port (`pollCi`); `latestCheckRuns` drops older rows only when a same-name check has the same workflow identity and a unique latest start time, otherwise duplicate evidence remains. A cancelled check and a draft PR's deliberately deferred `check (macos-latest)` failure are pending, not failed, and so is an older macOS aggregate failure while a newer same-workflow `check (macos-latest) shard N/M` is queued or in progress with a later start (`awaitingDeferredReplacement`, #1490); missing ordering or workflow evidence stays a failure; other required failures remain failures. It ends on a passed result for the required checks, on `CI_WATCH_DEADLINE_MS`, on `stopCiWatchers` (daemon `stopOnce`), or silently when `ciWatchCurrent` fails (the task left `in_review`, its head or PR changed, the lifecycle is off, it turned private). `complete`, `review` (both verdict writes) and `cancel` cancel it. Each (head, outcome) is told once (`settled`), and only `passed` settles a head for good (#540): after `failed` or `incomplete` the watcher keeps reading for a rerun of that head (the first pending read after each newly told result is a new run attempt and renews the deadline once; later pending or unreadable reads and an unchanged failed result never renew it, so the watcher always ends; a deadline after a told result ends silently), and a later `hub_task_done` at that head starts one again. A newer head replaces the watcher. The result is one ids-only `ci_completed:` task envelope at `status` weight to the owner and the reviewer (`fyi` is never delivered to a peer, so it would not reach them), a console notice for `user`, and for a deadline a console notice only. A passed or incomplete result re-offers a review held as premature once (`heldReviews`, keyed by task, head, reviewer and review revision) after a fresh `reviewRequestAdmission` says ready; a failed one re-offers nothing. No task text goes in the notice, no PII task is watched, and nothing is restored after a hub restart (the next `hub_task_done` starts one). Never add a second periodic gh read outside this watcher.
|
|
30
30
|
- Required checks (#1344): resolve the names only through `requiredChecksFor` / `requiredCheckNames` (`src/hub/sdlc-merge.ts`, `src/hub/sdlc.ts`); the built-in `check (...)` and `seeded guards` set applies only to this repository, and an empty set elsewhere is a `required checks unknown` blocker, never a pass.
|
|
31
31
|
- Build-entry guidance (#1354, `buildEntryDiagnostic` in `src/hub/build-entry.ts`) is pure display data: routing and `route explain` may show it but never read GitHub or change eligibility because of it.
|
|
32
32
|
- Merge adoption (#1348, `ahub sdlc adopt-merge`, `Tasks.adoptMerge`): only the person or the one configured conductor adopts an already merged PR; it writes `approved` with the `merged outside the hub` event and creates no reviewer verdict, review metric, reviewed-head receipt, guarded-merge result or GitHub mutation, and a private task or turn refuses before any GitHub read. Its bounded GraphQL check read uses `latestCheckRuns`: discard an older same-name row only when workflow identity and a unique latest start time prove which run is newest; preserve duplicate evidence when ordering is uncertain. Contract: `docs/design/task-board.md` "Merged PR adoption".
|
package/docs/dogfood.md
CHANGED
|
@@ -74,6 +74,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
74
74
|
| 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 |
|
|
75
75
|
| 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 |
|
|
76
76
|
| 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 |
|
|
77
|
+
| 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 |
|
|
77
78
|
| 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 |
|
|
78
79
|
| 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 |
|
|
79
80
|
| Symbol preparation and historical recall (#684 phase 3 follow-ups) | off until release | exists calls per no-reviewer completion; raw-signature fail recall; indexed-definition/unknown labels; unchanged note/candidate bytes and neutral cleanup failures |
|
|
@@ -123,7 +124,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
123
124
|
| 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) |
|
|
124
125
|
| 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 capacity release; no pull with the setting off, for unreserved, PII, pinned, frozen or dependency-blocked cards |
|
|
125
126
|
| 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 |
|
|
126
|
-
| Per-head CI watcher and `ci_completed` (#785 P1b, #1490 AC5) | source/fixture coverage with a fake gh; active after release and hub upgrade | one `ci_completed:` task notice per head to owner and reviewer, a premature review re-offered once green; watchers started per `hub_task_done` head and gone at the result, deadline, newer head, verdict or shutdown; cancelled checks and the intentionally deferred macOS check on a draft PR stay pending,
|
|
127
|
+
| Per-head CI watcher and `ci_completed` (#785 P1b, #1490 AC5) | source/fixture coverage with a fake gh; active after release and hub upgrade | one `ci_completed:` task notice per head to owner and reviewer, a premature review re-offered once green; watchers started per `hub_task_done` head and gone at the result, deadline, newer head, verdict or shutdown; cancelled checks and the intentionally deferred macOS check on a draft PR stay pending, as does its older failure when a newer same-workflow macOS shard is queued or running; same-name rows collapse to a newest run only when workflow and start time make the ordering unique, otherwise duplicate evidence stays; `test/ci-watch.test.ts` covers the ready-run window and genuine failure; no gh read outside a watcher |
|
|
127
128
|
| 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 |
|
|
128
129
|
| Test integrity for bug fixes (#481 S4) | advise | bug PRs without a red-first receipt, modified pre-existing tests |
|
|
129
130
|
| Eval gate for agent configuration (#481 S5) | advise; mechanism only, `eval_check` is not set here until the person chooses a suite (#251, #266), so configuration PRs show `eval check not configured` as a note | configuration PRs with a missing, failing or unreported eval check; recorded pass rate and suite on the approval note |
|
|
@@ -144,8 +145,8 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
144
145
|
|
|
145
146
|
| Feature | State here | Measured by |
|
|
146
147
|
| --- | --- | --- |
|
|
147
|
-
| amem runtime integration (agent-mem#13 P4) | on after release; no claude-mem worker dependency | no-worker tripwire requests (must be 0), screened capture rows, profile refusals, all-author short-term recall, bounded-view truncation notices and curated-only ask citations |
|
|
148
|
-
| Shared memory through amem, briefs, recall preface | on; library intent briefs and plan guard (#436) take effect after release and hub upgrade; legacy index/timeline reads and worker notices retire in intent mode | notes saved per week, brief hits, fails that prevented a retry; same-input hub/library brief equality, host privacy refusals and front-of-brief plan fails despite the library byte cap or standalone screen |
|
|
148
|
+
| amem runtime integration (agent-mem#13 P4) | on after release; no claude-mem worker dependency; 0.27.1 search grouping and agent-shell attribution are fixture-tested, live rollout unverified | no-worker tripwire requests (must be 0), screened capture rows, profile refusals, all-author short-term recall, bounded-view truncation notices and curated-only ask citations; `test/memory-grouping.test.ts` checks grouped and ungrouped CLI search and the unchanged daemon tool; `test/memory-agent-shell.test.ts` reads agent-attributed writes and checks person-only refusals |
|
|
149
|
+
| Shared memory through amem, briefs, recall preface | on; library intent briefs and plan guard (#436) take effect after release and hub upgrade; legacy index/timeline reads and worker notices retire in intent mode | notes saved per week, brief hits, fails that prevented a retry; the session preface's bytes and memory lines per session and how many were reordered by observed use (`preface` events, `events.preface` in `quality.json`, #1330; the cited share is the existing per-task `memory` block's `cited` over `rendered`, which covers briefs and prefaces together, not a preface-only per-session share); same-input hub/library brief equality, host privacy refusals and front-of-brief plan fails despite the library byte cap or standalone screen |
|
|
149
150
|
| `ahub ask` | on | answers with cited ids |
|
|
150
151
|
| Source registry, `ahub source add\|list` (#508 AC1, AC2, AC5 CLI) | on after release; local (no daemon needed for the person); `add` is the person's or the configured conductor's (#933, admitted and audited by the hub); `hub_source_read` adds bounded, screened snapshots and private stubs; plan sources are registry-validated on proposal/acceptance, and the dashboard Plan sheet lists allowlisted source metadata (#1144) | `ahub source list` rows (id, size, private, origins); `sources/` under the hub state dir; a refusal in the CLI audit for an agent shell; unknown-plan-source refusals and metadata-only dashboard snapshot tests (#1144) |
|
|
151
152
|
| Intake drafts, `ahub intake` (#511 AC1 CLI, AC2 to AC4) | on after release; person-only except `approve`, which the configured conductor may run too (#933); a draft is held until `ahub intake approve`, so nothing changes for work that does not use it; the dashboard Plan sheet stages the same held drafts and refuses delegated live-test intake (#1144) | drafts opened, approved and discarded in `ahub backlog list` and the board history (`draft approved`, `intake unsplit` with its reason); the share of drafts the planner or hub model split without a reason on file |
|
|
@@ -173,6 +174,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
173
174
|
| 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 |
|
|
174
175
|
| 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 |
|
|
175
176
|
| Context gate | off: `context.gate = 0` | context-pressure events |
|
|
177
|
+
| 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` |
|
|
176
178
|
| 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 |
|
|
177
179
|
| 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 |
|
|
178
180
|
| Permission modes | on, person-chosen | approval prompts and their wait times |
|
package/docs/events.md
CHANGED
|
@@ -27,6 +27,7 @@ marked `private: true`, and PII tasks `pii: true`.
|
|
|
27
27
|
| `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 |
|
|
28
28
|
| `capability` | `peer`, `state` (`verified` or `lost`), `via`: a peer's context path for facts |
|
|
29
29
|
| `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) |
|
|
30
|
+
| `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. |
|
|
30
31
|
| `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 |
|
|
31
32
|
| `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) |
|
|
32
33
|
| `native_turn_end` | `peer`, `id` (an opaque hash that names the completed turn): the end of a Claude turn, recorded once the hub finds the turn its Stop hook reported completed in the native transcript (Codex's is its `turn_end`), or the correlated final `turn.ended` of a Kimi TUI turn (#1282), or an agy terminal `Stop` of an active, fully idle turn, which carries no `id` and a closed `reason` (`user_canceled`, `error`, `max_invocations`, `max_forced_invocations`, `max_token_budget_exceeded`, `terminal_step_type`, `terminal_custom_hook`; #1280); quiescence evidence for an integration, never a hook payload, prompt or error |
|
|
@@ -52,6 +53,7 @@ marked `private: true`, and PII tasks `pii: true`.
|
|
|
52
53
|
| `completion` | `id`, `peer`, `outcome` (`done`, `failed`, `limit`, `interrupted`), `ms` (start of the run to settle): a run a person started settled (#1054). A run starts at the `turn_start` that consumes the person's message and settles only when the adapter's `settle` signal fired and nothing else is pending (no queued continuation, open permission or question, owned child, running check, held delivery, native background task or unknown native inventory); a restart or launcher loss cut short settles `interrupted`, once. An explicit person Stop and a budget pause create none. Never the prompt, the reply, an error, a task command or any other text: the envelope ids live in `hub.db` and are read through the usual privacy path; native-person results are private stubs. From #1278 it also carries `task` (a board task id) and `attribution` (`delivery`, `single_open`, `unattributed`, the rule `turn_end` and `tokens` use; `task` is absent when unattributed), resolved when the event's subject opens (a permission when requested, a question when asked, a completion's run when it starts) and repeated on every later event of it, so an answer given after the task closed still names the task it was asked under; `pii: true` when that task is PII. Ids and a closed word only. |
|
|
53
54
|
| `completion_seen` | `id`, `surface` (`terminal`, `console`, `dashboard`, `acon`): a person marked a result read (#1054). One per receipt written, never from a snapshot read or a listing, never the prompt or the reply. `surface` is where the person marked it: `dashboard` is the Results section of `ahub ui` and of the acon panel (the panel's own buttons), `acon` is the acon inbox's `result_seen` or "Mark all read" with the console's verified person meta, `terminal` is `ahub results`. Mark-unread deletes a receipt and records no event. The detail line shown beside a result (the head of the starting prompt) is built at display and is in no event |
|
|
54
55
|
| `pii_screen` | `task` (absent for a budget hand-off or a note not about a task), `item` (`task`, `summary`, `review note`, `handoff`, `note`), `label` (`pii`, `clear`), `source` (`regex`: a pattern matched and no call was made; `screen`; `unknown`: no verdict, handled as PII), `category` (`name`, `student_id`, `phone`, `address`, `grade`, `health`, `other`), `miss` (why there was no verdict: `too long`, `off campus`, `timeout`, `unreadable`, `failed`), `ms` (absent for `regex`): one PII screen verdict while `signals.pii_screen = "local"` (issue #198); never the text |
|
|
56
|
+
| `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. |
|
|
55
57
|
| `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 |
|
|
56
58
|
| `quota` | `peer`, `windows` (`id`, `used`, `resetsAt`), `hard`, `measuredAt` (when the reading was taken, if not when it arrived: Claude's numbers come through a file) |
|
|
57
59
|
| `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). |
|
package/docs/memory.md
CHANGED
|
@@ -97,19 +97,22 @@ A running hub syncs 5 seconds after start and every `memory.sync_interval_min` m
|
|
|
97
97
|
the task's paths, symbols, issue and task: a linked fail first, then nearer, then newer; superseded entries dropped;
|
|
98
98
|
other projects' entries only when shared), then related amem curated notes, `memory.brief_items` lines in all. A peer is never
|
|
99
99
|
shown the same entry twice in one hub run.
|
|
100
|
-
- **Session-start recall**: this project's long-term decisions, contracts and fails (and shared ones) lead the recall block; display-only filtering omits automatic approval notes, while changes-requested notes show their nonempty reasons. Lines preserve their headers and end at word boundaries with a visible marker when capped; each delivery deduplicates memory ids across prefaces and note lines. Stored notes and brief evidence are unchanged. Recent short-term amem curated notes follow; each gets half of `memory.inject_tokens` when both answer.
|
|
100
|
+
- **Session-start recall**: this project's long-term decisions, contracts and fails (and shared ones) lead the recall block; display-only filtering omits automatic approval notes, while changes-requested notes show their nonempty reasons. Lines preserve their headers and end at word boundaries with a visible marker when capped; each delivery deduplicates memory ids across prefaces and note lines. Stored notes and brief evidence are unchanged. Recent short-term amem curated notes follow; each gets half of `memory.inject_tokens` when both answer. The long-term section is ordered by observed use (#1330): the sidecar's `delivered` and `cited` counter rows are per delivery, so they are summed per entry; entries with a cited share lead (highest share first), entries with no observed use keep the store's newest-first order, and entries delivered at least `memory.preface_unused_after` times (default 20) and never cited move to the end of the section, so the display cap cuts them first. An entry with null counters, no sidecar, an unreadable sidecar or `memory.preface_unused_after = 0` keeps today's order: unknown is never read as zero. Nothing is deleted or demoted by this (demotion is proposed by agent-mem and accepted by a person), the short-term amem section keeps its store order (the client builds that text), and the setting applies at the next session start. Each preface records one `preface` event (bytes, memory lines, whether it was reordered) and `quality.json` totals them under `events.preface`.
|
|
101
101
|
- **`ahub ask`**: entries that match the question and the graph neighbourhood of what they are about are evidence, cited
|
|
102
102
|
as `[mem:<8 hex>]` for existing native projections or `[mem:<32 hex>]` for full entry references. A question that carries PII skips them. `ahub ask --remember` writes a pending candidate, never curated evidence; a person must review it.
|
|
103
|
-
- **`ahub memory`** needs no running hub.
|
|
103
|
+
- **`ahub memory`** needs no running hub. An agent shell (an honest marker such as `CLAUDECODE`, `CODEX_THREAD_ID` or `AGENTHUB_PEER_ID`) runs the whole family except the person's few forms (#1522, owner decision 2026-11-16): `list`, `search`, `show`, `suggestions`, `machine` (`--label` included), `sync` (`--remote` included), `import`, `dedupe` (`--apply` included), `promote`, `demote`, `forget`, `supersede`, `rebuild`, `decay` and `declined`. The recording forms (`sync`, `import`, `dedupe`, `promote`, `demote`, `forget`, `supersede`, `rebuild`) run inside amem's agent attribution, so amem records and shows the agent (the peer id, `actor: agent`), never the person, and applies its screened-visibility check to every target; each still runs its own preview and confirm steps and policy screens. If amem's attribution cannot be reached, or no agent identity is found, the change is refused and nothing is written, never run as the person. `decay` and `declined` are read-only and show an agent only the generation prefix, never the home path, selector or skip totals. Still the person's: `graph` (its labels are unscreened note text), `confirm` and `reject` (judging a suggested link), `profile-check`, `--live-test` delegation of any memory write, and every command outside `memory`: hub verdicts and authority (approvals, task review verdicts, campaign verdicts, capabilities, `learn` accept and reject, conductor actions, queue retries) are not memory commands and keep their refusals. The marker is attribution, never person intent anywhere else. `ahub goal` keeps its own rule: `new`, `state`, `done` and `take` are the person's, and `ahub goal link` is the configured conductor's, the hub recording the peer as the link's actor. Managed peers use the bounded `hub_memory_search`, `hub_memory_show` and `hub_memory_graph` tools through the daemon, with project scope, `memory_read`, PII-turn refusal and capture exclusion:
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
106
|
ahub memory # this project's entries, newest first, with tier counts
|
|
107
107
|
ahub memory list --tier long --kind fail --peer codex --since 2026-10-01 --json
|
|
108
108
|
ahub memory search parser quoting # every word must match the title, text or nodes
|
|
109
|
+
ahub memory search parser quoting --ungrouped # show individual hits from the same task
|
|
109
110
|
ahub memory show 1a2b3c4d # one entry with provenance and edges (this project's or a shared one)
|
|
110
111
|
ahub memory graph 1a2b3c4d --hops 2 # its neighbourhood as edges, a person's (labels are unscreened); also a node: path:src/csv.ts
|
|
111
112
|
```
|
|
112
113
|
|
|
114
|
+
With agent-mem 0.27.1, `ahub memory search` groups visible curated hits for the same task and marks the number folded into the best-ranked hit. `--ungrouped` returns individual hits; grouping is a read-time presentation and does not rewrite memory. The daemon's `hub_memory_search` uses its own screened read path and is unchanged by this CLI grouping.
|
|
115
|
+
|
|
113
116
|
- **The dashboard** has a Memory section: short- and long-term tabs, search, filters by kind, peer, machine and time,
|
|
114
117
|
the list of entries, and for a selected entry or node its neighbourhood (one or two hops, at most 200 nodes) as an
|
|
115
118
|
inline SVG drawn in the page with the same edges as a text list, and its detail with provenance. It is read-only and
|
|
@@ -168,7 +171,7 @@ A plan's explicit paths/symbols and refs paths are matched against live, screene
|
|
|
168
171
|
|
|
169
172
|
## Decay review
|
|
170
173
|
|
|
171
|
-
`ahub memory decay [--days N] [--json]` is
|
|
174
|
+
`ahub memory decay [--days N] [--json]` is a read-only review listing that an agent shell may run (#1522); `--live-test` still does not delegate it to the person. Default age is 90 days. It lists this project's long-term, live, non-superseded notes strictly older than the cutoff, excluding links to open/active/blocked goals through the note's task or `about` nodes. Reads use current privacy screening and defer automatic promotions; authoritative JSONL bytes do not change. Index maintenance remains derived-only. A person or an agent acts separately through existing `demote` or `forget`, recorded under that actor. These are review rows, with no candidate-sidecar write.
|
|
172
175
|
|
|
173
176
|
## Read-time staleness hint
|
|
174
177
|
|
|
@@ -209,7 +212,7 @@ Write screening examines both the JSON representation and literal structured key
|
|
|
209
212
|
|
|
210
213
|
## Agent-authored records (#1320)
|
|
211
214
|
|
|
212
|
-
Managed headless Codex, Kimi, Qwen, Jcode, Pi and local turns receive the package-owned Record instruction once per owned turn. Claude sessions keep their own amem hook path; isolated reviewers and person-owned TUI prompts receive no new instruction. The public `recordsEnabled` accessor from exact-pinned amem 0.
|
|
215
|
+
Managed headless Codex, Kimi, Qwen, Jcode, Pi and local turns receive the package-owned Record instruction once per owned turn. Claude sessions keep their own amem hook path; isolated reviewers and person-owned TUI prompts receive no new instruction. The public `recordsEnabled` accessor from exact-pinned amem 0.28.0 applies the effective machine/repository `records: false` setting to instruction, capture and Record preference. An unavailable policy disables this optional path.
|
|
213
216
|
|
|
214
217
|
The hub imports the instruction and parser from agent-mem. Valid final-answer records become `Record` capture rows with project and peer attribution, not curated notes or approved evidence. Complete text and anchors clear current secret, PII, private-path and deny policy before storage. Private, PII, review-scoped, remote, unbound and incomplete turns are excluded. Owner, turn, session, profile and policy must remain current; unsafe steering excludes the rest of that turn. No model or network call is added.
|
|
215
218
|
|
|
@@ -283,13 +286,13 @@ Sync uses the configured agent-mem standalone policy, narrowed by the hub's curr
|
|
|
283
286
|
|
|
284
287
|
An unchanged failure emits one safe log line per episode. A complete bounded policy inspection identifies the declined ID set for failure dedupe without logging those IDs or their text. An incomplete or unavailable inspection keeps the set explicitly unknown rather than treating it as empty. Other failures use a private error hash; no raw error enters status or logs.
|
|
285
288
|
|
|
286
|
-
`ahub memory declined [--json]` is a
|
|
289
|
+
`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.
|
|
287
290
|
|
|
288
|
-
The exact-pinned agent-mem 0.
|
|
291
|
+
The exact-pinned agent-mem 0.28.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.
|
|
289
292
|
|
|
290
293
|
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.
|
|
291
294
|
|
|
292
|
-
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 pin (0.
|
|
295
|
+
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 pin (0.28.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:
|
|
293
296
|
|
|
294
297
|
```sh
|
|
295
298
|
amem migrate --sync-placement --dry-run --writer-root '<cli-install-root>' --writer-root '<host-amem-install-root>' --json
|
package/docs/operations.md
CHANGED
|
@@ -2068,12 +2068,12 @@ Task briefs, session-start recall and `ahub ask` read it first, and the dashboar
|
|
|
2068
2068
|
ahub memory # this project's entries, newest first
|
|
2069
2069
|
ahub memory search parser # every word must match
|
|
2070
2070
|
ahub memory show 1a2b3c4d # one entry, its provenance and edges
|
|
2071
|
-
ahub memory forget 1a2b3c4d #
|
|
2071
|
+
ahub memory forget 1a2b3c4d # also promote, demote, supersede, rebuild; an agent shell's change is recorded as that agent (#1522)
|
|
2072
2072
|
```
|
|
2073
2073
|
|
|
2074
2074
|
`"memory": { "native": false }` in `.agenthub/config.json` turns it off for a project.
|
|
2075
2075
|
|
|
2076
|
-
The exact-pinned `@staix/agent-mem` 0.
|
|
2076
|
+
The exact-pinned `@staix/agent-mem` 0.28.0 resolves `AMEM_HOME`, then `$AGENTHUB_HOME/memory`, then `~/.agenthub/memory`. An absent `M/profile.json` selects shared v1; an explicit generation selects `M/generations/G` with the package's readonly legacy bridge. All daemon memory consumers and the hub memory/goal CLI use that selected profile. Invalid metadata or a missing selected generation makes native memory unavailable while the bus and board continue; there is no fallback to legacy writes. Inspect the daemon's memory binding/availability before interpreting missing memory as an empty store.
|
|
2077
2077
|
|
|
2078
2078
|
The daemon checks its selector at hub operation entry and before candidate/counter writes. It does not hot-switch handles or provide an atomic fence against selection changes during an in-flight core call. Quiesce consumers and close their handles before migration or selection changes; reopen through the supported session-preserving lifecycle afterward. Candidate/counter storage remains `M/candidates.db`, independent of `G`; since agent-mem 0.7.0 `amem review` also lists and accepts candidates on a selected generation. Every running hub using this home needs an authenticated receipt: a matching ready binding, or a generation-capable unbound receipt (`disabled` when native memory is off, `unavailable` when opening failed) proving it holds no memory handle. An unbound daemon and zero running hubs are quiesced for memory; a stale bound handle, unreadable registry or unknown runtime is not ready. Existing JSON memory/goal results remain unchanged; the additive binding receipt belongs to daemon status, profile-check and the decay object. This source integration does not authorize installing a new runtime, migrating real memory, restarting sessions or claiming real-machine sync/capture receipts. Migration/deactivation and their limits belong to [agent-mem](https://github.com/STAIxBWLB/agent-mem); see [the hub profile contract](memory.md#selected-memory-profile).
|
|
2079
2079
|
|
|
@@ -3715,7 +3715,9 @@ one. A failed or incomplete result is told once and the watcher keeps reading fo
|
|
|
3715
3715
|
rerun of the same head: the first pending read after a newly told result renews the
|
|
3716
3716
|
deadline once, and a deadline after a told result ends silently (#540). Cancelled
|
|
3717
3717
|
attempts and a draft PR's deferred `check (macos-latest)` are pending to this watcher,
|
|
3718
|
-
not failures; it keeps watching for a replacement run.
|
|
3718
|
+
not failures; it keeps watching for a replacement run. After `gh pr ready`, an older
|
|
3719
|
+
macOS aggregate failure stays pending while a newer same-workflow macOS shard is queued
|
|
3720
|
+
or running (#1490). If GitHub returns multiple
|
|
3719
3721
|
rows for one check, the hub uses an older-run filter only when workflow identity and
|
|
3720
3722
|
start times identify one unique latest run; ambiguous duplicates cannot establish a
|
|
3721
3723
|
pass (#1527). On the result the owner and the reviewer each get one
|
|
@@ -3981,9 +3983,9 @@ used as an execution-time proof.
|
|
|
3981
3983
|
| Proof family | T1 can run | Explicit not-run work |
|
|
3982
3984
|
| --- | --- | --- |
|
|
3983
3985
|
| Codex reviewer | Committed production prepare, actual metadata/native-canary checks and launch configuration assertions | Model-backed hub call, separate control artifact and human source review |
|
|
3984
|
-
| Kimi reviewer | Committed prepare/inventory/broker plus promoted native two-tool loop, Write positive/negative controls, preload guard and producer group cleanup | Human source review; unsupported native platform |
|
|
3986
|
+
| Kimi reviewer | Committed prepare/inventory/broker plus promoted native two-tool loop, Write positive/negative controls, preload guard and producer group cleanup; the native child runs with Kimi's own startup update check off (`KIMI_CODE_NO_AUTO_UPDATE`), and accepts the 2.5.x and 2.6.x injected-Write refusal wordings (#1248) | Human source review; unsupported native platform |
|
|
3985
3987
|
| Claude implementer | Committed Write/Bash/rewrite and host-wrapper producer groups | Human upstream-impact review; unsupported launcher forms |
|
|
3986
|
-
| Pi |
|
|
3988
|
+
| Pi | Candidate-parameterized model-free receipt (`proofs/pi.ts`, from the 1.5.0/1.5.2 producers): `--version`, the installed SDK loading this checkout's extension, tool callback replay and denial, `--mode rpc` `get_state`, zero provider requests, the two host fixtures, and a before/after hash of the account's own `~/.pi/agent` (#1248) | Account-backed inference and interactive TUI coexistence (explicit unverified follow-ups, not legs) |
|
|
3987
3989
|
| Qwen ACP | Promoted ACP identity/session/mapped-mode and actual published permission-handler producers, preload controls and group cleanup | Human lifecycle/source review; Linux does not replace required macOS arm64 |
|
|
3988
3990
|
| Jcode | Reconstructed isolated serve/ACP/MCP, fixed-stream steering, telemetry and owned-group checks | Human source comparison; native macOS qualification remains unverified. The 0.99.1 Linux control is not qualified: telemetry identity and strict persisted-context binding fail; see the [reconstruction receipt](verification/2026-11-07-jcode-receipt-reconstruction-1248.md) |
|
|
3989
3991
|
| agy and qwen-dual | Policy and unavailable/manual-leg reporting | No public agy installer; account/model/TUI or unspecified-platform legs |
|
|
@@ -5492,6 +5494,37 @@ nor hands work over. Continue normally or deliberately restart into a fresh
|
|
|
5492
5494
|
session with your chosen checkpoint as preface. No automatic restart or native
|
|
5493
5495
|
compaction override is performed.
|
|
5494
5496
|
|
|
5497
|
+
### Structured checkpoint fields (#1331)
|
|
5498
|
+
|
|
5499
|
+
`hub_checkpoint` keeps `summary` and accepts five optional fields next to it:
|
|
5500
|
+
`done`, `in_progress`, `next`, `verified_by` (how each done item was checked:
|
|
5501
|
+
test, run or review) and `traps`. Each is at most 5 lines of 200 characters, and
|
|
5502
|
+
the rendered checkpoint (summary and fields together) stays within 3000
|
|
5503
|
+
characters, which is what a handoff keeps. A field over its limit is refused
|
|
5504
|
+
with the field and the limit named, nothing is saved, and the request stays open
|
|
5505
|
+
for a corrected call; nothing is truncated. A call with only `summary` behaves as
|
|
5506
|
+
before.
|
|
5507
|
+
|
|
5508
|
+
The private context-checkpoint file, the shared-memory note and the quota
|
|
5509
|
+
handoff prompt ("Handoff from the previous owner") render the summary first and
|
|
5510
|
+
then each present field under its heading (`Done`, `In progress`, `Next`,
|
|
5511
|
+
`Verified by`, `Traps`) in that fixed order. A missing field is omitted, never
|
|
5512
|
+
invented. Both checkpoint requests name the fields and ask for the same
|
|
5513
|
+
headings in `.agenthub/checkpoint.md`; the repository has no template file for
|
|
5514
|
+
it, so the request text is the template. The PII handling is unchanged: the
|
|
5515
|
+
fields are screened with the summary, and the envelope shows only the public
|
|
5516
|
+
view.
|
|
5517
|
+
|
|
5518
|
+
Each saved checkpoint writes one `checkpoint` event with the peer, the reason
|
|
5519
|
+
(`quota` or `context`) and the names of the fields it carried, never their
|
|
5520
|
+
text. `quality.json` counts them under `events.checkpoints` (total, by number of
|
|
5521
|
+
fields, by field name), so field use is measurable.
|
|
5522
|
+
|
|
5523
|
+
A context reset is an operator option, not something the hub does: when a
|
|
5524
|
+
session is long, you can start a new session and give it the structured
|
|
5525
|
+
checkpoint as its preface, or continue the same session after the native
|
|
5526
|
+
compaction. Nothing resets automatically.
|
|
5527
|
+
|
|
5495
5528
|
## Context headroom admission for new work (#802)
|
|
5496
5529
|
|
|
5497
5530
|
`context.max_assignment_used` is a separate, default-off admission threshold.
|
|
@@ -6624,7 +6657,7 @@ Native launcher connections retry transport timeouts/unclean closes with bounded
|
|
|
6624
6657
|
|
|
6625
6658
|
## amem runtime (agent-mem#13 P4)
|
|
6626
6659
|
|
|
6627
|
-
The hub exact-pins @staix/agent-mem <!-- facts:agent-mem-pin -->0.
|
|
6660
|
+
The hub exact-pins @staix/agent-mem <!-- facts:agent-mem-pin -->0.28.0<!-- /facts:agent-mem-pin --> 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.
|
|
6628
6661
|
|
|
6629
6662
|
## Person-run backlog legs (#1176)
|
|
6630
6663
|
|
|
@@ -7268,11 +7301,11 @@ Corrupt or unreadable provenance stays unknown and held. The status next step di
|
|
|
7268
7301
|
|
|
7269
7302
|
A ready memory profile does not prove a successful sync. Read the separate automatic-sync result and timestamp in `ahub status` or Memory. It resets to not run after daemon restart; it is not a machine-global record of manual CLI attempts. Missing remote configuration (shared v1, generation and sharded homes alike) is the neutral `not-configured` state; an interrupted/stopped attempt is neutral `stopped`. Both keep their safe next step and produce no failure log under `quietSyncError`.
|
|
7270
7303
|
|
|
7271
|
-
For policy-declined rows, a person runs `ahub memory declined --json` to inspect IDs and safe rule categories, never note text. The pinned agent-mem 0.
|
|
7304
|
+
For policy-declined rows, a person or an agent shell runs `ahub memory declined --json` to inspect IDs and safe rule categories, never note text. The pinned agent-mem 0.28.0 public `inspectSyncPolicy` API bounds physical outbound inspection for shared-v1 and generation profiles. A complete result supplies the declined IDs and rules; `complete:false` means the scan is unavailable, stale or over its diagnostic bound, not zero declined rows. The command stays read-only and rechecks its profile binding. No migration or policy edit is performed automatically.
|
|
7272
7305
|
|
|
7273
7306
|
The hub projects verified withheld/exported counts when a trusted SDK sync returns a successful placement result. That projection is covered by an injected-result fixture, not an activated-store sync. Agent-mem requires a fresh `placementAttestation` even for an already active v3 store; since 0.35.0 the daemon builds one with the package's own `createPlacementAttestation` on every sync pass and supplies no writer facts of its own, so no attestation is fabricated. A refused attestation is the closed cause `writer` in status, the dashboard and the log: its category, its 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`). Activation remains a person-run action. A nonzero withheld count in a successful result is not a transport failure and does not mean those rows were deleted, rewritten or published. Inspect the IDs and rules before deliberately changing any source or approved policy; a forget operation does not remove its original text from physical history.
|
|
7274
7307
|
|
|
7275
|
-
A legacy store without active per-row placement still blocks a sync containing declined rows. Status names inactive placement and the person-only `amem migrate --sync-placement --dry-run` preview, which requires every local writer installation through repeatable `--writer-root` flags. It keeps `ahub memory declined` as the safe inspection step. The native CLI supports activation from 0.22.0; the pinned core is 0.
|
|
7308
|
+
A legacy store without active per-row placement still blocks a sync containing declined rows. Status names inactive placement and the person-only `amem migrate --sync-placement --dry-run` preview, which requires every local writer installation through repeatable `--writer-root` flags. It keeps `ahub memory declined` as the safe inspection step. The native CLI supports activation from 0.22.0; the pinned core is 0.28.0. See the [activation preview and prerequisites](memory.md#automatic-sync-health-1173) before any separately authorized apply. Preview writes nothing, and activation does not migrate layouts, change policy or automatically raise a format floor. The hub does not invoke it or fabricate its proof.
|
|
7276
7309
|
|
|
7277
7310
|
The bounded diagnostic addresses #1173 AC4; AC5 has result projection and the host attestation. Whether an activated store syncs on a person's machine is not established by the isolated fixtures.
|
|
7278
7311
|
|
package/docs/quickstart.md
CHANGED
|
@@ -18,7 +18,7 @@ Or use the matching GitHub release:
|
|
|
18
18
|
|
|
19
19
|
<!-- facts:install-tag -->
|
|
20
20
|
```bash
|
|
21
|
-
bun add -g github:STAIxBWLB/agent-hub#v0.
|
|
21
|
+
bun add -g github:STAIxBWLB/agent-hub#v0.42.0
|
|
22
22
|
ahub setup
|
|
23
23
|
```
|
|
24
24
|
<!-- /facts:install-tag -->
|
|
@@ -50,6 +50,18 @@ terminal in that project: it reviews the plan with you, applies it and follows
|
|
|
50
50
|
it; other projects keep their version. It then names the `bun add -g` and
|
|
51
51
|
`ahub setup` step when your global CLI or plugin is older than the new daemon.
|
|
52
52
|
|
|
53
|
+
## Upgrading to 0.42.0
|
|
54
|
+
|
|
55
|
+
Agent sessions (Claude, Codex and the other managed peers) can now run `ahub memory` changes themselves: `forget`, `promote`, `demote`, `supersede`, `rebuild`, `sync`, `import`, `dedupe`, `decay` and `declined`. amem records each change under the agent's peer id, not under you. `graph`, `confirm`, `reject` and `profile-check` stay yours. The memory library moves to agent-mem 0.28.0. Your memory home and sync format are unchanged, so a 0.41.0 hub can keep sharing it, and no floor is raised until you choose to.
|
|
56
|
+
|
|
57
|
+
`ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.42.0` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
|
|
58
|
+
|
|
59
|
+
## Upgrading to 0.41.0
|
|
60
|
+
|
|
61
|
+
Nothing changes until you use something new. The hub now pins agent-mem 0.27.1: `ahub memory search` groups hits from the same task (`--ungrouped` lists each one), the session preface orders long-term notes by observed use (`memory.preface_unused_after`, default 20, 0 keeps the store order), and `hub_checkpoint` accepts optional `done`, `in_progress`, `next`, `verified_by` and `traps` fields. GitHub milestone import stays the person's.
|
|
62
|
+
|
|
63
|
+
`ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.41.0` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
|
|
64
|
+
|
|
53
65
|
## Upgrading to 0.40.0
|
|
54
66
|
|
|
55
67
|
This release requires Bun 1.4.4 or newer. It adds roadmap milestones and
|
|
@@ -277,7 +289,7 @@ The restarted Claude planner gets the release-train tools (`hub_release_new`, `h
|
|
|
277
289
|
|
|
278
290
|
Jcode must be 0.98.0 or later, below 1.0.0; 0.94.0 is no longer accepted, so `ahub doctor` fails its Jcode row for an older install and the peer does not start (#529). Every owned jcode process runs with `JCODE_NO_TELEMETRY=1`.
|
|
279
291
|
|
|
280
|
-
Since 0.12.37 the hub opens a split memory home through its shards (#534); the current exact `@staix/agent-mem` pin is
|
|
292
|
+
Since 0.12.37 the hub opens a split memory home through its shards (#534); the current exact `@staix/agent-mem` pin is in `package.json`. Before anyone runs `amem migrate --shards` on a memory home, every hub using that home must run 0.12.37 or later: an older hub does not see the split and keeps writing the old layout. `ahub memory profile-check` is split-aware and compares each hub with its own project's shard (#536). See [memory profiles and rollout](memory.md#selected-memory-profile).
|
|
281
293
|
|
|
282
294
|
From 0.12.30 or earlier, existing Jcode project MCP entries need one refresh before conductor or dashboard starts. Once per project, the person runs:
|
|
283
295
|
|
|
@@ -474,7 +486,7 @@ More: `ahub help`. How it is built and why: [`docs/specs/2026-09-19-agent-hub-de
|
|
|
474
486
|
|
|
475
487
|
## Shared memory
|
|
476
488
|
|
|
477
|
-
The hub exact-pins the first-party `@staix/agent-mem` <!-- facts:agent-mem-pin -->0.
|
|
489
|
+
The hub exact-pins the first-party `@staix/agent-mem` <!-- facts:agent-mem-pin -->0.28.0<!-- /facts:agent-mem-pin --> core, including deterministic capture; no claude-mem worker is needed. Existing shared-v1 memory remains the default; upgrading does not migrate it. Managed agents use screened `hub_memory_search`, `hub_memory_show` and `hub_memory_graph` tools, or propose a correction with `hub_memory_correct`; only a person accepts candidates through the supported `amem review` path. Since agent-mem 0.7.0, `amem review` also accepts candidates on a selected generation.
|
|
478
490
|
|
|
479
491
|
Before any real generation migration, upgrade every hub sharing that memory home to 0.12.30 or later and check its authenticated binding with `ahub memory profile-check` in each custom registry. Ready bindings prove compatibility, not an atomic live cutover: quiesce consumers and close their handles before migrating, then reopen through the supported session-preserving lifecycle. Invalid or changed profiles disable native memory without falling back to legacy writes; the bus and board continue. See [memory operations](operations.md#hub-memory) for the remaining rollout gates.
|
|
480
492
|
|
package/docs/research.md
CHANGED
|
@@ -123,7 +123,7 @@ record file names). It is built to leave the machine, so it is an allowlist:
|
|
|
123
123
|
`unknown`, null or the vocabulary's own `unknown`), `quota` per family (`readings`, `gaps` over one hour, their total
|
|
124
124
|
`gapMs`, `stalenessP95Ms` between readings, and `clock`: how many readings used the event's time or their own
|
|
125
125
|
`measuredAt`), `budget` (pauses and resumes per family, and `handoffs`: the owner moves a budget pause drove, counted from the `reassigned` task events whose board reason is `budget`, once per move; null when the window holds no task event at all, never 0), `outcomes` per family of the last owner and class, `events`
|
|
126
|
-
(the types present with counts, and the ones the report expects that did not occur), and `tokenAttribution` (`total` and the
|
|
126
|
+
(the types present with counts, and the ones the report expects that did not occur, plus `preface` (#1330): how many session prefaces were injected in the window, their total `bytes` and memory `lines`, and how many were `ordered` by observed use; null when none was recorded), `checkpoints` (#1331): how many `hub_checkpoint` calls the hub accepted in the window (`total`), how many carried 0, 1 and up to 5 of the structured fields (`byFieldCount`, keyed by that number) and how many carried each field (`byField`, keyed `done`, `in_progress`, `next`, `verified_by`, `traps`); field names only, never checkpoint text; null when none was saved), and `tokenAttribution` (`total` and the
|
|
127
127
|
share by `delivery`, `single_open`, `unattributed`; null shares when nothing was counted). The 2026-10-21 field analysis found
|
|
128
128
|
40.2% of token increments unattributed: a dataset now says so itself.
|
|
129
129
|
|
package/docs/security.md
CHANGED
|
@@ -61,7 +61,7 @@ instead of changing the backend or copying dependency files.
|
|
|
61
61
|
|
|
62
62
|
## Native memory authority and profile selection
|
|
63
63
|
|
|
64
|
-
The portable core is the exact-pinned first-party `@staix/agent-mem` 0.
|
|
64
|
+
The portable core is the exact-pinned first-party `@staix/agent-mem` 0.28.0 package; it does not replace the hub's caller identity, PII policy or task-write authority. Deny, hardened git, real paths and process identity are single-sourced in its Node-safe platform entry. Current project privacy is applied by the hub before promotion and again before model-facing reads. Standalone person reads are unscreened, and the standalone `--policy-free` acknowledgement grants no hub or peer authority.
|
|
65
65
|
|
|
66
66
|
`hub_memory_search`, `hub_memory_show` and `hub_memory_graph` take the project from the daemon, require `memory_read`, refuse private turns and validate UTF-8 input before logs or storage work. Complete records and graph metadata are screened before counts and truncation. Search is at most 20 lines/4 KiB (default 8); show accepts at most 8 ids and returns at most 8 KiB; graph is at most 120 nodes/240 edges/6 KiB (default 60 nodes), with no edge lacking an endpoint. Unknown, ambiguous and withheld ids share one neutral refusal. Arguments and results are excluded from hub-managed capture; this does not govern a vendor's independent transcript or memory hooks.
|
|
67
67
|
|
|
@@ -876,8 +876,8 @@ narrowed by the hub's deny paths, PII patterns and project-private paths; a prom
|
|
|
876
876
|
that fails it leaves the note short-term (#1173). Status exposes safe sync state and
|
|
877
877
|
counts, including verified withheld/exported counts from a successful SDK placement
|
|
878
878
|
result. Failure logs retain only the closed cause and known declined count.
|
|
879
|
-
`ahub memory declined` is
|
|
880
|
-
and uses bounded physical-row inspection to show IDs and rule categories, never
|
|
879
|
+
`ahub memory declined` is read-only (an agent shell may run it since #1522; `--live-test`
|
|
880
|
+
still does not delegate it) and uses bounded physical-row inspection to show IDs and rule categories, never
|
|
881
881
|
note text or literal patterns; incomplete inspection is not a zero count.
|
|
882
882
|
Since agent-mem 0.23.0 the daemon passes a fresh `placementAttestation` on every
|
|
883
883
|
sync pass, built by the package's own `createPlacementAttestation` for the memory
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# 0.41.0 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.41.0 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.41.0, prepared from main 823f59c1 (7 commits since v0.40.0, 3 of them `feat`; bump rule: minor). The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.
|
|
8
|
+
|
|
9
|
+
## Reviews
|
|
10
|
+
|
|
11
|
+
Pull requests named by the commits since v0.40.0: #1533, #1535, #1532, #1534, #1531, #1529, #1528.
|
|
12
|
+
|
|
13
|
+
Each merged with `gh pr merge --squash --match-head-commit` after exact-head CI was green (`check (ubuntu-latest)`, `check (macos-latest)`, `seeded guards`) with no unresolved review thread. #1528 (hub task 978), #1529 (982), #1531 (981), #1534 (976), #1532 (975) and #1535 (985) were approved with `hub_review` at their merged heads. #1531 was approved at `9796b06b`, the conductor's conflict-only CHANGELOG rebase of the implementer's head, with the code unchanged. #1532 merged at `297f065f`, the implementer's rebase after #1534, whose tree is identical to the conductor's conflict-only rebase `11a1cdd9`. #1535 passed after one rerun of a macOS shard: `test/compat-receipt-qwen-dual-q2.test.ts` timed out at 4 s on the first run, which a docs-only change cannot affect.
|
|
14
|
+
|
|
15
|
+
#1533 (hub task 980) has a different provenance. Its last hub verdict was changes_requested at `fb36472a` (retarget to 0.27.1, and a `test/memory-native.test.ts` failure). The conductor session then raised the pin to 0.27.1 and updated that assertion to 0.27's same-task search grouping (`--ungrouped` keeps the individual hit), on the person's instruction to release with 0.27.1 pinned. That session was not the attached hub peer, so no hub approval exists for the final head `1f008d02`. It merged on exact-head CI run 43815962908 (green) with 0 unresolved threads; the change has no independent review beyond its author.
|
|
16
|
+
|
|
17
|
+
## Native acceptance receipts
|
|
18
|
+
|
|
19
|
+
Receipts added under `docs/verification/` since v0.40.0: `docs/verification/2026-11-16-compat-producer-gaps-1248.md`.
|
|
20
|
+
|
|
21
|
+
This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.41.0`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.
|
|
22
|
+
|
|
23
|
+
## Document review
|
|
24
|
+
|
|
25
|
+
`node scripts/check-docs.mjs` reported 19 stale documents: README, adding-an-ai-tool, the claude-mem add-on, data-policy, dogfood, events, memory, operations, quickstart, research, security, text-projection, and the adapters, budget, bus, daemon, security-review, tasks and tests agent notes. Their source drift is the seven PRs above, mostly the shared `src/hub/daemon.ts`, `src/memory/recall.ts` and `package.json` paths. Each was read against those diffs for the agent-mem pin, the checkpoint fields, the preface order, roadmap import authority, the CI watcher and the pi/kimi compat producers. Two corrections: `docs/operations.md` and the tasks agent note now state #1531's rule that an older macOS aggregate failure stays pending while a newer same-workflow macOS shard is queued or running. The other documents needed no change. All 19 were restamped at `c2a1f646720b`.
|
|
26
|
+
|
|
27
|
+
## Checks
|
|
28
|
+
|
|
29
|
+
On macOS with Bun 1.4.4: `node scripts/check-docs.mjs --require-fresh` OK (0 stale); `bun x tsc --noEmit` clean; `bun scripts/build.mjs --check` exit 0; `bun test test/help.test.ts` 31 pass, 21622 assertions (help against dispatch, subcommands and flags, including the new `--ungrouped`). `bun test test/published-protocol-compat.test.ts --timeout 20000` passed 5 tests and 55 assertions with both exact-locked published fixtures installed (0.40.0 N-1, 0.25.0 protocol floor); this is isolated fixture evidence, not live upgrade or shared-home evidence. `node scripts/check-package.mjs` did not run locally: this Mac's npm 12.2.2 prints a different `npm pack --dry-run --json` shape than CI's pinned npm, so the package check is CI's. The release PR's exact-head CI run is the full gate.
|
|
30
|
+
|
|
31
|
+
## Known gaps, not blocking
|
|
32
|
+
|
|
33
|
+
The full suite was not run locally; heavy tests run on hosted CI. The package-contents check is CI-only on this machine (npm shape, above). This preparation did not install or run 0.41.0 in the person's environment, and the running hub stays at 0.39.0 until the person upgrades it, so #1527 and #1531's watcher fixes are not yet live. #1533's final head carries CI evidence and its author's review only. Publication, registry readback and the GitHub Release body remain pending the release gates and the person's release consent.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# 0.42.0 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.42.0 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.42.0, prepared from main d72af458 (2 commits since v0.41.0, 1 of them `feat`; bump rule: minor). The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.
|
|
8
|
+
|
|
9
|
+
## Reviews
|
|
10
|
+
|
|
11
|
+
Pull requests named by the commits since v0.41.0: #1537, #1523.
|
|
12
|
+
|
|
13
|
+
- #1523 (hub task 969, agent-shell memory commands): approved by the conductor with hub_review at head e81897cc, then squash-merged with `--match-head-commit` at that head after exact-head CI run 43941568383 was green on check (ubuntu-latest), check (macos-latest) and seeded guards, with 0 unresolved threads. The earlier deep-import finding was marked fixed in that review.
|
|
14
|
+
- #1537 (hub task 988, agent-mem 0.28.0 pin): approved by the conductor with hub_review at head a7198534, then squash-merged at that head after exact-head CI run 43967317590 was green on the same three checks, with 0 unresolved threads. Copilot's only review on each PR was a quota notice with no findings.
|
|
15
|
+
|
|
16
|
+
No merge is bound to an approval at an earlier head.
|
|
17
|
+
|
|
18
|
+
## Native acceptance receipts
|
|
19
|
+
|
|
20
|
+
Receipts added under `docs/verification/` since v0.41.0: none.
|
|
21
|
+
|
|
22
|
+
This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.42.0`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.
|
|
23
|
+
|
|
24
|
+
## Document review
|
|
25
|
+
|
|
26
|
+
`check-docs` reported 13 stale documents, all from the two commits above (src/cli identity and memory changes in #1523, package.json and the lockfile in #1537). I read each against those changes. All 13 are restamped at c2ff5565:
|
|
27
|
+
|
|
28
|
+
- `src/cli/help.ts`, `docs/security.md`, `docs/operations.md` and `docs/addons/claude-mem.md` still called memory changes, `sync`, `import`, `decay` and `declined` person-only. They are corrected in the release prep commit.
|
|
29
|
+
- `docs/memory.md`, `docs/quickstart.md` and `docs/dogfood.md` already describe #1522 and the 0.28.0 pin, and the release prep commit adds the quickstart upgrade note.
|
|
30
|
+
- `README.md`, `docs/adding-an-ai-tool.md` and `docs/agent-notes/{adapters,daemon,tasks,tests}.md` state nothing that either change contradicts.
|
|
31
|
+
|
|
32
|
+
## Checks
|
|
33
|
+
|
|
34
|
+
- `node scripts/check-docs.mjs --require-fresh`: OK, 0 stale documents.
|
|
35
|
+
- `bun x tsc --noEmit`: clean.
|
|
36
|
+
- `bun scripts/build.mjs --check`: exit 0.
|
|
37
|
+
- `test/published-protocol-compat.test.ts` with the retargeted N-1 fixture (0.41.0) and the protocol-16 fixture installed: 5 pass.
|
|
38
|
+
- `test/help` tests: 31 pass.
|
|
39
|
+
- `node scripts/check-package.mjs`: run by CI only. Locally, npm 12.2.2 prints a different pack JSON shape.
|
|
40
|
+
- The exact-head CI run of the release PR gates the merge.
|
|
41
|
+
|
|
42
|
+
## Known gaps, not blocking
|
|
43
|
+
|
|
44
|
+
- No running hub was upgraded to 0.42.0. The hub on this machine is still 0.39.0.
|
|
45
|
+
- No live TUI launch or real-model turn was made.
|
|
46
|
+
- The full local suite was not run on this Mac; heavy tests go to CI.
|
|
47
|
+
- Agent-attributed memory writes in a real agent shell (outside fixtures) are unverified.
|
|
48
|
+
- A shared memory home between a 0.41.0 hub and a 0.42.0 hub is reasoned from agent-mem 0.28.0 raising no format floor, not measured.
|