@staix/agent-hub 0.47.0 → 0.48.1
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 +10 -0
- package/README.md +5 -3
- package/docs/agent-notes/daemon.md +1 -1
- package/docs/agent-notes/tasks.md +1 -0
- package/docs/design/guidance-probes.md +12 -0
- package/docs/design/roadmap.md +1 -1
- package/docs/dogfood.md +1 -1
- package/docs/operations.md +32 -1
- package/docs/quickstart.md +13 -1
- package/docs/security.md +13 -5
- package/docs/verification/2026-11-26-0.48.0.md +45 -0
- package/docs/verification/2026-11-27-0.48.1.md +37 -0
- package/docs/verified.json +20 -20
- package/package.json +1 -1
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +20 -6
- package/plugins/agent-hub/server.js +20 -6
- package/src/adapters/local-probe.ts +59 -14
- package/src/adapters/local-worker.ts +18 -6
- package/src/cli/help.ts +1 -1
- package/src/cli/main.ts +2 -2
- package/src/hub/control-client.ts +1 -1
- package/src/hub/daemon.ts +20 -2
- package/src/hub/guidance-probe-store.ts +51 -10
- package/src/hub/guidance-probes.ts +25 -7
- package/src/hub/supervision.ts +19 -6
- package/src/hub/tasks.ts +45 -16
- package/src/local/probe-types.ts +1 -0
- package/src/local/probe-workspace.ts +49 -0
- package/src/omniroute/client.ts +19 -3
- package/src/ui/guidance-panel.ts +2 -2
- package/src/ui/guidance-view.ts +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ 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.48.1
|
|
8
|
+
|
|
9
|
+
- A large board no longer blocks the daemon's event loop (#1738). The supervision round check, run every second and on every task change, skips its full board read while the board status revision, the conductor, the scope and the stored round are unchanged, and per-task supervision notices read one task instead of the whole board. The hub's own roadmap pass (the five-minute sweep and each task change's notice) reuses one working-tree spec check for up to 60 s instead of running one per `milestoneList` call. On a 1156-task board the two paths held the loop about 2.5 s of every 3 s and for 28-38 s every five minutes.
|
|
10
|
+
|
|
11
|
+
## 0.48.0
|
|
12
|
+
|
|
13
|
+
- Release N-1 for 0.48.x is published 0.47.0, which declares agent-mem `>=0.39.0 <1.0.0`; its fixture lock pins the 0.39.0 that the 0.47.0 release resolved, with control protocol 17 (descriptor floor 16). The N-1 fixture and matrix pin that package; the separate protocol-16 fixture stays at 0.25.
|
|
14
|
+
- Add an opt-in, conductor-only guidance probe pilot with a pinned campus model, per-execution limits and distinct live receipts (Refs #1226, hub task 1155). It stays off unless the hub starts with `AGENTHUB_LIVE_GUIDANCE_PROBE_ID` naming one registered probe.
|
|
15
|
+
- Commit the #1226 AC7 preregistration (`test/fixtures/guidance-probe-live-1226.json`) with a model-free admission test, document the operator procedure for the pilot, and make a refused campus pin name its cause (no healthy endpoint, Access endpoint, or campus unconfirmed) and `ahub doctor` (Refs #1226, hub task 1156).
|
|
16
|
+
|
|
7
17
|
## 0.47.0
|
|
8
18
|
|
|
9
19
|
- Release N-1 for 0.47.x is published 0.46.1, which declares agent-mem `>=0.33.0 <1.0.0`; its fixture lock pins the 0.38.0 that the 0.46.1 release resolved, with 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 compatibility fixture covers old clients and plugins against the new daemon and new clients and plugins against the old daemon; it does not prove live-agent, rollback, or shared-home compatibility. The protocol window is unchanged; the daemon adds the `configured_print` and `spec_readbacks` features, and a recovery target without `spec_readbacks` (0.46.1) is refused once a spec read-back is stored. The CLI adds `ahub projects move`, `ahub memory review` and `ahub sdlc readback`; a 0.46.1 CLI does not offer these. The MCP tools add `hub_readback_report` and `hub_review_file`, and `hub_task_propose` takes an optional `reason`. The declared agent-mem range rises to `>=0.39.0 <1.0.0`: on first open each populated profile builds a v6 derived index beside the v5 one, so a 0.46.1 hub on agent-mem 0.38.0 still reads the same home; no store or sync format floor is raised.
|
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.48.1, 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
|
|
@@ -131,8 +131,10 @@ including [a new project with SDLC advise or enforce](docs/quickstart.md#a-new-p
|
|
|
131
131
|
and public projections; the producer console's Guidance panel is read-only.
|
|
132
132
|
Section diffs remain advisory, without activation, permissions or probes.
|
|
133
133
|
`ahub guidance probe register|start|show|cancel` (the person or the configured
|
|
134
|
-
conductor) records a bounded private probe declaration
|
|
135
|
-
|
|
134
|
+
conductor) records a bounded private probe declaration. Live start is off by
|
|
135
|
+
default: a hub started with `AGENTHUB_LIVE_GUIDANCE_PROBE_ID` runs that one
|
|
136
|
+
preregistered pilot, started only by the configured conductor, on the pinned
|
|
137
|
+
campus model with per-run limits
|
|
136
138
|
([guidance probes](docs/design/guidance-probes.md)).
|
|
137
139
|
- **Shared memory.** Decisions, contracts, fails and findings are kept through the
|
|
138
140
|
first-party [`@staix/agent-mem`](https://github.com/STAIxBWLB/agent-mem) library,
|
|
@@ -78,7 +78,7 @@ Scope: the operator console, control WS and its protocol, state files, the dashb
|
|
|
78
78
|
- Adding a native peer requires testing the command emitted by the actual recovery driver, not only its inspection or launch helpers. Never let a generic non-Codex branch treat a new peer as Claude.
|
|
79
79
|
- Cross-version recovery must use the authenticated source protocol for prepare/commit/abort and the target protocol after startup. Prove the transition against a real prior release before claiming compatibility.
|
|
80
80
|
- Preserve `task_cancel` target-feature preflight before source holds, capture or commit. Reuse stored target features only after verifying the same retained root and digest; legacy receipts still capable of commit must obtain feature proof. Do not apply pre-commit compatibility checks to sources already past commit. Every prepare, including the lease renewal before a terminal close and after a resume, sends the operation's stored `targetFeatures` (#478).
|
|
81
|
-
- A recovery target-feature floor (`task_cancel`, `invocation` while the invocation ledger has an open (`queued` or `delivered`) row, `peer_instances`, `role_stages` while a declared Claude-kind instance holds `implementer`, `task_planners` while a list/instance planner is configured or `Board.hasPlannerState()` finds a task/release binding or plan-review authorship marker, `release_trains` while a configured train is active or frozen, `roadmap` while `Board.hasMilestoneState()` finds retained milestones or links (its roadmap digest joins `integrity()` only then), `reviewer_pool` while a fresh reviewer or `review.pool` is configured, `configured_acp` while the project declares `adapters`, `external_adapter_modules` while external module definitions are loaded, `external_adapter_instances` with `external_adapter_modules` and `peer_instances` while an external module-kind instance is declared, `conductor_recovery` while `Board.hasConductorManualState()` finds open conductor manual-assignment intent, `project_autonomy` while the daemon holds retained autonomy consent or a raw `config.json` or `config.local.json` has a top-level `_autonomy` key (an unreadable file refuses as unknown), `calendar_schedules` while a raw `schedules` entry has a `cron` or `tz` key (#1017: an older target refuses the key at load), `research_records` while `Board.hasResearchState()` or a raw `config.json` or `config.local.json` `research` object names `runners` (unreadable refuses as unknown), `research_dispatch`, `research_dropped_offers`, `research_experiments`, `research_comparisons` and `research_evidence` while `Board.hasResearchDispatchState()`, `hasResearchDroppedOffers()`, `hasResearchExperimentState()`, `hasResearchComparisonState()` and `hasResearchEvidenceState()` find rows (each research digest joins `integrity()` only when its rows exist), `research_evidence_withdrawal` while `Board.hasWithdrawnEvidenceState()` finds withdrawal revisions, `advisor_surveys` while `Board.hasSurveyState()` finds survey, survey-finding or considered-finding rows, `spec_readbacks` while `Board.hasSpecReadbacksState()` finds a read-back request or report (its `specReadbacks` digest joins `integrity()` only then, and a corrupt row refuses as unknown storage), `reviewer_quota` while reviewer quota accounting rows or wait deadlines are retained, their integrity proof is incomplete, or the effective config holds a non-default `review.gate`, `review.max_minutes` or `review.unknown_quota` or a raw config file names one of those keys (an unreadable file refuses as unknown; the `advisorSurveys` digest joins `integrity()` only while its rows exist, `reviewerQuota` only while accounting rows or waits exist or its proof is incomplete), `research_runners` under the runner registration rule below, `review_comments` while `Board.hasReviewCommentsState()` finds stored comments or packages (its `reviewComments` digest joins `integrity()` only then), `review_observer_input_state` while the journal (`hasReviewInputState`) or a live or recovery-snapshot peer holds review input (unreadable refuses as unknown), `accepted_delivery_settlement` while `Bus.hasAcceptedTimeoutHolds()` finds a timeout hold (unreadable refuses as unknown), `action_policy_floor` while the raw `config.json` or `config.local.json` names `action_policy.floor`, true or false, even where the key is ignored or normalized away: an older target parses the raw key and rejects it before any trust rule, so check raw file presence, never the effective config (#582, seen twice), `model_overrides` while runtime model overrides are stored, `visuals` while visual records or a raw `visuals` config key exist, `guidance_probes` while `GuidanceProbeStore.hasRecords()` finds retained probe declarations or held work (#1391), `guidance_variants` while `Board.hasGuidanceVariants()` finds rows (#1367) and `execution_lineage` while `Board.hasExecutionReferences()` finds declared references (#1341); for these four a read that throws refuses as unknown) lives in `incompatibleRecoveryTarget`, which every existing check site calls, and its name in `DAEMON_FEATURES`; never check a floor at one site only.
|
|
81
|
+
- A recovery target-feature floor (`task_cancel`, `invocation` while the invocation ledger has an open (`queued` or `delivered`) row, `peer_instances`, `role_stages` while a declared Claude-kind instance holds `implementer`, `task_planners` while a list/instance planner is configured or `Board.hasPlannerState()` finds a task/release binding or plan-review authorship marker, `release_trains` while a configured train is active or frozen, `roadmap` while `Board.hasMilestoneState()` finds retained milestones or links (its roadmap digest joins `integrity()` only then), `reviewer_pool` while a fresh reviewer or `review.pool` is configured, `configured_acp` while the project declares `adapters`, `external_adapter_modules` while external module definitions are loaded, `external_adapter_instances` with `external_adapter_modules` and `peer_instances` while an external module-kind instance is declared, `conductor_recovery` while `Board.hasConductorManualState()` finds open conductor manual-assignment intent, `project_autonomy` while the daemon holds retained autonomy consent or a raw `config.json` or `config.local.json` has a top-level `_autonomy` key (an unreadable file refuses as unknown), `calendar_schedules` while a raw `schedules` entry has a `cron` or `tz` key (#1017: an older target refuses the key at load), `research_records` while `Board.hasResearchState()` or a raw `config.json` or `config.local.json` `research` object names `runners` (unreadable refuses as unknown), `research_dispatch`, `research_dropped_offers`, `research_experiments`, `research_comparisons` and `research_evidence` while `Board.hasResearchDispatchState()`, `hasResearchDroppedOffers()`, `hasResearchExperimentState()`, `hasResearchComparisonState()` and `hasResearchEvidenceState()` find rows (each research digest joins `integrity()` only when its rows exist), `research_evidence_withdrawal` while `Board.hasWithdrawnEvidenceState()` finds withdrawal revisions, `advisor_surveys` while `Board.hasSurveyState()` finds survey, survey-finding or considered-finding rows, `spec_readbacks` while `Board.hasSpecReadbacksState()` finds a read-back request or report (its `specReadbacks` digest joins `integrity()` only then, and a corrupt row refuses as unknown storage), `reviewer_quota` while reviewer quota accounting rows or wait deadlines are retained, their integrity proof is incomplete, or the effective config holds a non-default `review.gate`, `review.max_minutes` or `review.unknown_quota` or a raw config file names one of those keys (an unreadable file refuses as unknown; the `advisorSurveys` digest joins `integrity()` only while its rows exist, `reviewerQuota` only while accounting rows or waits exist or its proof is incomplete), `research_runners` under the runner registration rule below, `review_comments` while `Board.hasReviewCommentsState()` finds stored comments or packages (its `reviewComments` digest joins `integrity()` only then), `review_observer_input_state` while the journal (`hasReviewInputState`) or a live or recovery-snapshot peer holds review input (unreadable refuses as unknown), `accepted_delivery_settlement` while `Bus.hasAcceptedTimeoutHolds()` finds a timeout hold (unreadable refuses as unknown), `action_policy_floor` while the raw `config.json` or `config.local.json` names `action_policy.floor`, true or false, even where the key is ignored or normalized away: an older target parses the raw key and rejects it before any trust rule, so check raw file presence, never the effective config (#582, seen twice), `model_overrides` while runtime model overrides are stored, `visuals` while visual records or a raw `visuals` config key exist, `guidance_probes` while `GuidanceProbeStore.hasRecords()` finds retained probe declarations or held work (#1391), `guidance_probe_live` while `GuidanceProbeStore.hasLiveRecords()` finds live pilot records (#1226 AC7), `guidance_variants` while `Board.hasGuidanceVariants()` finds rows (#1367) and `execution_lineage` while `Board.hasExecutionReferences()` finds declared references (#1341); for these four a read that throws refuses as unknown) lives in `incompatibleRecoveryTarget`, which every existing check site calls, and its name in `DAEMON_FEATURES`; never check a floor at one site only.
|
|
82
82
|
- Project autonomy (`autonomyCommand` in `src/hub/daemon.ts`, `writeAutonomyPreset` in `src/hub/settings.ts`): the `autonomy` control message is console-only; its operations come only from `planAutonomy` and `autonomyRemovalKeys`, never from the request; `off` removes the fixed key list and clears consent whatever `_autonomy` says. `_autonomy` is inert metadata, never approval provenance. Retained consent is created only by `createAutonomyConsent(...).confirm` inside the daemon (console `on`, or startup under a trusted `readAutonomyDefaults` opt-in with an exact plan match), never by a CLI or offline writer; a config `never-ask` takes effect only for a peer in `autonomyConfirmed`.
|
|
83
83
|
- Defer hub notices only for an authenticated recovery `prepare` or `commit` whose target features include `recovery_deferred_hub`, or for a restored daemon. Otherwise `setRecoveryHold(true)` moves the deferred notices into queues before commit records expected integrity, and a bare `fenceRecovery` defers nothing. Abort and lease expiry release the bus hold before clearing the operation; if that release fails, keep the operation and let expiry retry on its 1 s timer (#478).
|
|
84
84
|
- A restored daemon releases deferred hub notices before `tasks` is initialized (#1353), and the bus's `silence` hook (`src/hub/daemon.ts`) runs for them: keep its Tasks-independent exclusions (user, hub and digest senders, `fyi`, non-chat kinds, the user recipient) ahead of `turnFree()` and any `tasks` call (`test/deferred-hub-startup.test.ts`).
|
|
@@ -48,6 +48,7 @@ Scope: the task flow, assignment, the state machine and the hub's MCP tools. Rea
|
|
|
48
48
|
- `review()` reads `escalateAfter()` (`tasks.escalate_after`, 1-10, default `ESCALATE_AFTER` = 3) at each `changes_requested` verdict, so a reload applies from the next verdict; never capture it at construction or compare against a literal (#488).
|
|
49
49
|
- A guard in `tasks.ts` or `conductor.ts` passes `preEffect` (throws `PreEffectToolRefusal`, `src/hub/tool-refusal.ts`) only before the operation's first board or hold write; a throw after a write, a readback failure or a wrapped error stays a plain `Error` (#254). The Pi side of the rule is in `adapters.md`.
|
|
50
50
|
- Supervision reasons use structured enums, never history notes, check output or approval titles. Round signatures survive restart; later summaries count only newly joined tasks.
|
|
51
|
+
- Supervision on a timer or per task change (#1738): `checkRound` skips the board read while its key (conductor, scope, `board.statusRevision()`, stored round) matches the last check that sent nothing, and it never keeps a key after a refused send. Per-task notices read through the `task(id)` port. Never add a `board.list()` to a supervision path that runs every second or on every task write.
|
|
51
52
|
- Supervision rules and proposals (#1362, #1368, #1374: `src/hub/supervision-rules.ts`, `src/hub/supervision-proposals.ts`): the reading stage has no effect path, `supervision-proposals.ts` reaches the board and bus only through ports, and a proposal runs its existing action only on an explicit `accept` by a present role with that action's own authority (`escalate`: conductor or person), never automatically and never retried; `Tasks.supervisionNotice` refuses a private task. Read `docs/design/supervision.md` before changing these paths.
|
|
52
53
|
- Guidance variants (#1363, #1367, #1376: `src/hub/guidance-variants.ts`, `Tasks.guidanceVariant*`): lifecycle writes go only through `Tasks.guidanceVariantCreate` and `guidanceVariantWithdraw`; the `guidance_experiments` and `guidance_variants` tables are private local state, never copied into `Task`, refs, history, public views, bus notices or memory, and the guidance tools stay out of capture (`GUIDANCE_TOOL_NAMES`). Read `docs/design/guidance-experiments.md` before changing these paths.
|
|
53
54
|
|
|
@@ -1165,3 +1165,15 @@ T4 (this part) adds: `ProbeReceiptExport`, `parseGuidanceProbeReceiptExport`, `P
|
|
|
1165
1165
|
the control op, feature, authority label, CLI subcommand and help line; the manager read port, the plugin's `probe` read and the panel section; the shared text; and
|
|
1166
1166
|
the tests above. It does not add a runner, a config key, a write, a prune verb or a model call. The authorized live trial, and with it AC7's real-isolation and
|
|
1167
1167
|
real-delivery evidence, is a separate decision and stays open.
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
## Conductor-selected live worker pilot
|
|
1171
|
+
|
|
1172
|
+
The #1226 AC7 pilot uses the existing registration, start, cancellation and receipt operations. The daemon enables only the exact registered content ID in its startup environment variable `AGENTHUB_LIVE_GUIDANCE_PROBE_ID`. It defaults to no live runner. A start for that ID requires the current configured conductor's authenticated native session and the ordinary task, policy and G1 admission fences. Console, worker and import paths cannot start the live runner.
|
|
1173
|
+
|
|
1174
|
+
The live declaration contains one baseline worker and one candidate worker. The initial pilot admits only the canonical empty Git tree and no external file inputs. Writes are refused by the pilot host. Each execution has ceilings of 8 model calls, 8,000 reserved tokens and 60,000 ms, within the declaration's shared budget. The host validates confinement before sending a request. It pins the confirmed campus endpoint and requests `qwen27b/qwen3.8-27b` there without a local combo, client fallback or redirect. The gateway's upstream fallback policy remains unknown. A missing or different response model makes the execution incomparable. It is never retried.
|
|
1175
|
+
|
|
1176
|
+
The ledger binds live mode at reservation and seals it into the receipt digest. Historical and fixture records cannot become live records. A crash or missing observation remains unknown. Recovery to a daemon without `guidance_probe_live` is refused when live records exist. Model-free checks cover wiring. The separately authorized live run and its AC7 receipt are pending.
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
The [AC7 preregistration](../../test/fixtures/guidance-probe-live-1226.json) fixes the synthetic task, common input, no-data policy and two worker slots. Before registration, bind a local copy to the current project, task, role and installed runtime using the [operator procedure](../operations.md#run-the-preregistered-guidance-pilot). The model-free test binds the same declaration and passes both arms through admission with fake model effects. The public live receipt remains pending.
|
package/docs/design/roadmap.md
CHANGED
|
@@ -308,7 +308,7 @@ A local milestone has at most one remote number per repository. R3's `milestone_
|
|
|
308
308
|
|
|
309
309
|
`ahub roadmap export` renders deterministic JSON and Markdown from screened milestone views. `--write` writes only `docs/roadmap.md` and `docs/roadmap.json` in the caller's Git worktree after proving it shares the selected repository, enforcing its current deny, read-only and PII path policy and refusing symlinks or hardlinks. A partially completed two-file write is reported. `--issue <n> --apply --confirm <fingerprint>` updates that issue body only after a matching preview, under the same person/conductor policy. The fingerprint binds repository, issue and rendered body.
|
|
310
310
|
|
|
311
|
-
Task state and merge changes schedule affected public milestones for an ids-only supervision notice. The existing five-minute merge-readback sweep rechecks unresolved findings, including the close-lag boundary. A durable marker suppresses a finding already delivered; an unavailable feed or evidence is retried on a later change or sweep. Private tasks are never named. `scripts/check-roadmap.mjs` is a standalone Node validator: it checks the generated JSON's schema, linked spec IDs and tracked spec paths, and checks known issue states when a GitHub token is available. `scripts/check.sh` and the hosted docs step run it. Only `docs/roadmap.md` is exempt from the documentation stamp because this validation covers the generated page; the standalone release docs checker retains its Node-only contract.
|
|
311
|
+
Task state and merge changes schedule affected public milestones for an ids-only supervision notice. The existing five-minute merge-readback sweep rechecks unresolved findings, including the close-lag boundary. The hub's own pass reuses one working-tree spec check for up to 60 s across its milestone reads (#1738), so spec freshness in a finding can be up to a minute old. Reads by the person and peers check again. A durable marker suppresses a finding already delivered; an unavailable feed or evidence is retried on a later change or sweep. Private tasks are never named. `scripts/check-roadmap.mjs` is a standalone Node validator: it checks the generated JSON's schema, linked spec IDs and tracked spec paths, and checks known issue states when a GitHub token is available. `scripts/check.sh` and the hosted docs step run it. Only `docs/roadmap.md` is exempt from the documentation stamp because this validation covers the generated page; the standalone release docs checker retains its Node-only contract.
|
|
312
312
|
|
|
313
313
|
## Dashboard and console surfaces (R5)
|
|
314
314
|
|
package/docs/dogfood.md
CHANGED
|
@@ -59,7 +59,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
59
59
|
| Room automatic resend and late settlement (#1204 T2) | off here; source and isolated in-process broker coverage after validation; release and person enrollment/exposure required; live two-machine behavior remains unverified | AC2-AC4: receiver offline for 15 minutes then each application admitted once; pre-enqueue refusal retries without uncertainty; ACK deadline resends within the original TTL; signed late receipt settles once; local receipt commit survives restart before broker storage; no person-disposition override or native/task-read evidence |
|
|
60
60
|
| Room liveness and epoch-change preview (#1204 T3, #736) | source and isolated fixtures, validation pending; rooms remain off here and installed/two-machine behavior is unverified | `rooms-liveness-link-736.test.ts`: signed offline within five seconds, idle crossed-request convergence and no reply loop, synchronous stop fence/FIFO preservation; `rooms-presence-aging-736.test.ts`: three local periods to advisory unknown without changing outbound admissibility, legacy untracked behavior, restart and clock rollback; `rooms-rotation-736.test.ts`: sorted ids-only preview, changed id-set/digest refusal, sealed hold versus Bus-only queue, unchanged person/terminal disposition; `rooms-liveness-status-736.test.ts`: native state preserved, broker upgrade guidance and named epoch-rotated cause; defaults 30 s refresh, 90 s aging, 2 s stop bound; exact-head gate and live proof remain separate |
|
|
61
61
|
| Room health and codec compatibility (#1204 T4, #737) | source and isolated fixtures; installed rooms remain off here | metadata-only refused counts, outbox depth/ages, closed causes, store-open retry/stop and clock rollback; Bus recovery edge wakes receive-only admission; selective three-member traffic emits no false gap; broker opt-in preserves released-broker ephemeral/liveness and legacy presence; immediate-online and forced-refresh feature sends defer pending observations under the original TTL, known unsupported codecs refuse before wire effects; dgx02 and hosted evidence recorded in the PR, native/account and two-machine receipts remain unverified |
|
|
62
|
-
| Guidance probes (#1226 T1/T2/T3/T4 partial) | off here
|
|
62
|
+
| Guidance probes (#1226 T1/T2/T3/T4 partial) | off here by default; the host can enable one exact preregistered pilot for the current conductor; no live worker/model trial has run; T3 adds host-sealed receipts, an outcome denominator and owned-output prune that run only against fakes and fixtures; T4 adds the producer receipt read (`ahub guidance probe receipts`, the Guidance panel) and the fake-provider check gate, active after release and hub upgrade; **AC7's authorized live local-worker trial is not run and stays open** | T1 manifest/CAS/shared-budget/recovery tests plus `test/guidance-probe-local-worker.test.ts`, `test/guidance-probe-input-matrix.test.ts` and `test/guidance-probe-sandbox.test.ts` cover exact request binding, role data, observer exclusion and budget/authority refusals; model-free macOS canary is the confinement gate, Linux proves unavailability only; `test/guidance-probe-receipts.test.ts`, `test/guidance-probe-receipts-store.test.ts` and `test/guidance-probe-cleanup.test.ts` cover sealing with the host's own fingerprints, atomic settle-and-seal, replay stability, crash reconcile at daemon start and recovery release, the unknown-not-failed denominator, stricter-only comparability and identity-checked prune that never touches a receipt; T4: `test/guidance-probe-status.test.ts` (a real fake-provider run exports the sealed receipts and the full denominator, a tampered or moved receipt refuses the whole read, an output name that fails the public-field screen is withheld to its digest, a retained directory shows as a state and never a path), `test/guidance-probe-console.test.ts` (the real generated panel and provider over a scripted control port: one exact id forwarded, a reply for another probe or a late one shows nothing, no action advertised), `test/guidance-probe-cli.test.ts` (the real CLI process: shared text by default, verified JSON with `--json`, an older hub refused before a request) and `test/guidance-probe-gate.test.ts` (register, run, seal and read end to end, a mid-run restart recorded unknown and never relaunched, an unconfigured start and a non-conductor live start refuse before reservation); the metric that shows it works is the denominator: in any read, `counts` adds up to the declared slots and a slot with no receipt is `unknown`, never absent; real model behavior, real isolation, effective guidance delivery and separately authorized live evidence remain unverified |
|
|
63
63
|
| Worktree shelf (#1057): `ahub worktrees`, `tidy`, `tidy --confirm <fingerprint>`, the Agents panel section, Park/Pin, the explicit PR refresh and the inbox alert | fixture-only until a person uses it, and only after release and upgrade: this repository keeps every task in `.worktrees/<name>`, so it is the first real use, but nothing here has run `tidy --confirm` yet, and `worktrees.quiet_days` stays 7 until the owner has used it for a week | `ahub worktrees` live and settled counts over a week, and how many settled rows a person then Pins (a Pin means a rule was wrong); `tidy` preview refusals by reason (`task not approved or cancelled`, `unpushed commits`, `branch changed since preview`); after a confirm, `git worktree list` against the preview; test/worktree-shelf.test.ts, test/worktree-tidy.test.ts and test/worktree-panel.test.ts (a PII row stays live and redacted, a branch switch refuses, no GitHub call on a read, the daemon removes nothing) |
|
|
64
64
|
| Message bus, digests, priorities | on | `ahub report`: messages, digests, overflow, undeliverable; delivery latency from events |
|
|
65
65
|
| Control-send recipient normalization (#963) | active after release and hub upgrade; this PR does not change the running hub | string recipients reach only the named peer, invalid shapes publish nothing, omitted/empty arrays preserve broadcast; real native recipient behavior remains unverified |
|
package/docs/operations.md
CHANGED
|
@@ -6922,7 +6922,7 @@ The selected project's configured conductor may run the commands below through i
|
|
|
6922
6922
|
| research backfill / bench run / source add / goal link | Existing bounded CLI or daemon paths, with fixed audit labels |
|
|
6923
6923
|
| start Jcode | Launcher-only peer the conductor is configured to start |
|
|
6924
6924
|
| task unassign <id> [--role owner\|reviewer] [--revision N] | The actual conductor is recorded; no replacement is routed and no native work is stopped |
|
|
6925
|
-
| guidance probe register/start/show/receipts/cancel | Bounded private probe declaration
|
|
6925
|
+
| guidance probe register/start/show/receipts/cancel | Bounded private probe declaration and read-only sealed-receipt export through Tasks (#1226). Live start is off by default. The hub process may select one exact content ID with `AGENTHUB_LIVE_GUIDANCE_PROBE_ID`. Only the configured conductor's authenticated native session can start it. Delegated `--live-test` is refused. |
|
|
6926
6926
|
| restart --yes | Only with a source-issued continuation proof for this project's own operation |
|
|
6927
6927
|
| upgrade --yes --to <exact-version> | Only with proof for this project's supported exact-version upgrade; newer coordinator handoff is person-only |
|
|
6928
6928
|
| recovery resume\|abort [<op-id>] | Only the initiating conductor's own restart/authorized-upgrade operation; the person keeps the normal recovery path |
|
|
@@ -6931,6 +6931,37 @@ The selected project's configured conductor may run the commands below through i
|
|
|
6931
6931
|
| settings set | Only the thirteen existing live registry keys listed below |
|
|
6932
6932
|
| sdlc configure [--mode off\|advise] [--required-checks <names>] | Only on the person's direct instruction in the conductor's own session (#1432); stages `off`/`advise` and the required check names for the next hub start, never `enforce` or while running or file mode is `enforce` ([contract](sdlc.md#instructed-conductor-configuration-1432)) |
|
|
6933
6933
|
|
|
6934
|
+
### Run the preregistered guidance pilot
|
|
6935
|
+
|
|
6936
|
+
1. Upgrade the project hub to a release with `guidance_probe_live`. Bind a local copy of the [committed preregistration](../test/fixtures/guidance-probe-live-1226.json) to the current public task revision, project namespace and catalog role. Use `localProbeFingerprints({ maxSteps: 8, maxOutputTokens: 512, tokenUpperBound: 8000 })` from the installed hub source, on the machine and Bun version that will run it. Copy the runtime, toolset and model config hashes into the manifest and bind the returned system policy snapshot by its UTF-8 byte count and SHA-256. Set `task.flowRevision` to the current task history length. Set `role.baselineSha256` to the catalog role hash and `guidance.baselineSha256` to the SHA-256 of `taskRoleText(role)`. The project namespace is `ahub-` followed by the SHA-256 of `memoryProjectKey(projectRoot)`. Keep the committed task text, baseline context, empty tree, data policy, slots, model and limits. Choose and record the current immutable G1 variant ID before the baseline. It supplies the candidate guidance.
|
|
6937
|
+
2. From the conductor session, set `probe_file` to that bound JSON and register it.
|
|
6938
|
+
|
|
6939
|
+
```sh
|
|
6940
|
+
ahub guidance probe register --file "$probe_file" --json
|
|
6941
|
+
```
|
|
6942
|
+
|
|
6943
|
+
3. The person copies the returned ID into `probe_id` and restarts the project hub with that value in its startup environment. For a manually started hub, run these from the project root.
|
|
6944
|
+
|
|
6945
|
+
```sh
|
|
6946
|
+
ahub down
|
|
6947
|
+
AGENTHUB_LIVE_GUIDANCE_PROBE_ID="$probe_id" ahub up --no-agents
|
|
6948
|
+
```
|
|
6949
|
+
|
|
6950
|
+
4. Reattach the configured conductor in its native session. Set `probe_revision` to the current revision from `show`. Start the baseline from that session.
|
|
6951
|
+
|
|
6952
|
+
```sh
|
|
6953
|
+
ahub guidance probe show --id "$probe_id" --json
|
|
6954
|
+
ahub guidance probe start --id "$probe_id" --revision "$probe_revision"
|
|
6955
|
+
```
|
|
6956
|
+
|
|
6957
|
+
5. After a covered baseline, reread its revision and start the candidate with the current immutable G1 variant ID in `variant_id`. Read the sealed outcomes. A refusal for missing conductor native-session identity, an unknown outcome or a mismatched served model stays in the record. Inspect it without retrying either arm.
|
|
6958
|
+
|
|
6959
|
+
```sh
|
|
6960
|
+
ahub guidance probe show --id "$probe_id" --json
|
|
6961
|
+
ahub guidance probe start --id "$probe_id" --revision "$probe_revision" --variant "$variant_id"
|
|
6962
|
+
ahub guidance probe receipts --id "$probe_id" --json
|
|
6963
|
+
```
|
|
6964
|
+
|
|
6934
6965
|
The exact settings keys are `task_sweep.enabled`, `task_sweep.auto_reassign`, `task_sweep.no_writes_turns`, `task_sweep.interval_s`, `task_sweep.unaccepted_min`, `task_sweep.idle_min`, `task_sweep.review_min`, `task_sweep.ready_min`, `task_sweep.ladder_min`, `snapshots.enabled`, `research.enabled`, `approvals.notify` and `tasks.escalate_after`. New keys receive no authority by prefix. Generic roster setting writes still use the dedicated roster lifecycle. Conductor setting records name the initiating peer, and conductor writes preserve the person's pending undo record. An intervening write can still invalidate that undo through the existing file-digest guard; preserving the record does not bypass that guard. Permission modes, roles, `models start|stop`, arbitrary configuration reload and undo remain person commands. `task cancel` remains a separate own-task `hub_task_cancel` permission, not a conductor operation.
|
|
6935
6966
|
|
|
6936
6967
|
Log history is limited to the last 100 retained lines and export to the last 1000 retained events, each within a 128 KiB read. Truncation is explicit. An incomplete public projection reports one bounded reason on stderr, preserving export JSON on stdout. The complete privacy inventory has no 500-task cutoff and is cached until board or privacy/config revisions change, so log-follow does not rebuild it for every line. Export accepts closed metadata shapes; unknown fields and nested records are withheld rather than copied. Task titles, paths and private delivery bodies are not part of this projection. It does not change the person's ordinary logs/export output.
|
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.48.1
|
|
22
22
|
ahub setup
|
|
23
23
|
```
|
|
24
24
|
<!-- /facts:install-tag -->
|
|
@@ -54,6 +54,18 @@ A project whose hub is stopped is upgraded without starting it: `ahub upgrade
|
|
|
54
54
|
--all-stopped --to <version>` does that for every stopped project at once
|
|
55
55
|
(`--dry-run` lists each one first).
|
|
56
56
|
|
|
57
|
+
## Upgrading to 0.48.1
|
|
58
|
+
|
|
59
|
+
Nothing to do beyond the upgrade. A hub on a large board stops blocking its event loop (#1738): the supervision round check no longer reads the whole board every second, and the hub's own roadmap pass reuses one spec check for up to 60 s, so spec freshness in a roadmap finding can be up to a minute old. 0.48.1 raises no store, sync or agent-mem floor.
|
|
60
|
+
|
|
61
|
+
`ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.48.1` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
|
|
62
|
+
|
|
63
|
+
## Upgrading to 0.48.0
|
|
64
|
+
|
|
65
|
+
Nothing changes until you use something new. The guidance probe pilot (#1226) stays off unless the hub is started with `AGENTHUB_LIVE_GUIDANCE_PROBE_ID` set to one registered probe id; the procedure is in [operations](operations.md#run-the-preregistered-guidance-pilot). 0.48.0 raises no store, sync or agent-mem floor.
|
|
66
|
+
|
|
67
|
+
`ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.48.0` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
|
|
68
|
+
|
|
57
69
|
## Upgrading to 0.47.0
|
|
58
70
|
|
|
59
71
|
The declared agent-mem range rises to `>=0.39.0 <1.0.0`: on first open each populated memory profile builds a v6 derived index, a one-time startup cost plus extra disk; the v5 index stays beside it, so a 0.46.1 hub on agent-mem 0.38.0 can still share the home. No store or sync format floor is raised, and a hub that resolves agent-mem 0.38.0 or older now refuses memory at load. Human CLI views print on the shared Report layout and take `--ascii`, and stderr warnings read `ahub: warning: <what>: <why>`; `--json` output and exit codes are unchanged. A task proposal whose detail exceeds 8000 characters is refused with a pointer to a spec issue. The rest does nothing until you use it: `ahub projects move` re-keys a moved project, `ahub memory review on` schedules a memory review (off by default, both token caps required), `ahub sdlc readback start` asks for a spec read-back in `advise` or `enforce` (once one is stored, recovery refuses 0.46.1 as a target), a `[risk]` table in `sdlc.toml` sets a minimum review per risk tier, the dashboard gains an Overview view (key 9), and `"transport": "print"` in `.agenthub/config.local.json` adds a sandboxed advisory peer.
|
package/docs/security.md
CHANGED
|
@@ -1512,15 +1512,23 @@ the selected variant's applicability and privacy across every await: a private
|
|
|
1512
1512
|
turn or a private or PII task refuses. Registration is an inert private
|
|
1513
1513
|
declaration in additive `hub.db` tables (`guidance_probe_*`), never on the task,
|
|
1514
1514
|
its history or a public view, and no actor, session or authority can be named in
|
|
1515
|
-
it.
|
|
1516
|
-
fixture runners are injected only by test constructors, never by wire
|
|
1517
|
-
config or a model id. The
|
|
1515
|
+
it. By default production has no probe runner: start refuses before reserving a
|
|
1516
|
+
lane, and fixture runners are injected only by test constructors, never by wire
|
|
1517
|
+
data, CLI, config or a model id. The one exception is the live pilot (#1226 AC7):
|
|
1518
|
+
the hub process's startup environment `AGENTHUB_LIVE_GUIDANCE_PROBE_ID` selects
|
|
1519
|
+
one exact registered id, and only the configured conductor's authenticated
|
|
1520
|
+
native session can start it (the person's console is refused). It runs only the
|
|
1521
|
+
canonical empty tree with no admitted data, requires `onCampus()`, pins the
|
|
1522
|
+
campus endpoint and `qwen27b/qwen3.8-27b` without redirect, fallback or retry,
|
|
1523
|
+
and caps each execution at 8 model calls, 8,000 reserved tokens and 60 s. Live
|
|
1524
|
+
mode is sealed into the receipt digest, and recovery to a daemon without
|
|
1525
|
+
`guidance_probe_live` is refused while live records exist. The T2 confined path (a private `LocalPeer` with no bus,
|
|
1518
1526
|
memory capture, observer or ordinary history) offers only `read`, `write` and
|
|
1519
1527
|
`edit` under a logical `/workspace`, writes only under declared `scratch/` and
|
|
1520
1528
|
`output/` paths, refuses non-regular and hardlinked targets and files over
|
|
1521
1529
|
1 MiB, and runs any proof command under a narrowed seatbelt profile with network
|
|
1522
|
-
denied (the model-free proof's own control listener aside).
|
|
1523
|
-
|
|
1530
|
+
denied (the model-free proof's own control listener aside). Outside the selected
|
|
1531
|
+
pilot it grants no real model or worker run ([design](design/guidance-probes.md)). `receipts`
|
|
1524
1532
|
is read-only under the same fences: it returns the host-sealed receipts, each
|
|
1525
1533
|
re-verified against its own digest (a tampered row refuses the whole read), the
|
|
1526
1534
|
outcome denominator and each slot's retention state, never a path; a
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# 0.48.0 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.48.0 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.48.0, prepared from main c0c250bb (2 commits since v0.47.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.47.0: #1731, #1729.
|
|
12
|
+
|
|
13
|
+
- #1729 (hub task 1155) merged as squash 1a9ac8757 after the hub approval at ea933d75, with exact-head CI green on both OSes. macOS passed after one rerun of the failed job: a #631 channel test timed out at MCP initialize, unrelated to the change, and passed locally 3 of 3.
|
|
14
|
+
- #1731 (hub task 1156, Part A approved as a step) merged as squash c0c250bb5 after the hub approval at ed1b2803, with exact-head CI green on both OSes. macOS passed after one rerun: the friction corpus test timed out at 120 s and a different #631 channel test failed; both files passed locally at that head.
|
|
15
|
+
- Neither merge was bound to an approval at an earlier head. No connector review was posted on either PR, and both had zero unresolved threads at merge.
|
|
16
|
+
|
|
17
|
+
## Native acceptance receipts
|
|
18
|
+
|
|
19
|
+
Receipts added under `docs/verification/` since v0.47.0: none.
|
|
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.48.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 20 documents stale, all because of #1729 and #1731. Each was read against those two diffs and restamped at 7809ceeb3; corrections were committed first in c73ad6955.
|
|
26
|
+
|
|
27
|
+
- Corrected: README.md (the guidance probe paragraph said production has no probe runner), docs/security.md (Guidance probes: the live pilot exception, its conductor-only start, campus pin and per-execution limits), src/cli/help.ts (the guidance probe help line said fake-only and production execution unavailable), docs/agent-notes/daemon.md (the recovery target-feature floor now lists `guidance_probe_live`), docs/quickstart.md (the Upgrading to 0.48.0 note).
|
|
28
|
+
- Already current from the two PRs: docs/operations.md (pilot procedure), docs/dogfood.md (guidance probes row).
|
|
29
|
+
- Read, no change needed: docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/memory.md, docs/agent-notes/README.md, and the adapters, benchmarks, budget, bus, local-worker, models, security-review, tasks and tests agent notes. Their covered paths changed only inside the guidance probe code these notes do not describe.
|
|
30
|
+
|
|
31
|
+
## Checks
|
|
32
|
+
|
|
33
|
+
- `node scripts/check-docs.mjs --require-fresh --committed`: docs: OK (0 stale documents).
|
|
34
|
+
- `bun x tsc --noEmit`: exit 0.
|
|
35
|
+
- `bun scripts/build.mjs --check`: exit 0. `bun scripts/cli-output-inventory.ts --check`: exit 0 after the help line change.
|
|
36
|
+
- `node scripts/check-package.mjs` with the workflow's npm 11.20.0: package: OK (1041 files, @staix/agent-hub@0.48.0).
|
|
37
|
+
- `bun test test/published-protocol-compat.test.ts` against the retargeted release N-1 fixture (0.47.0, agent-mem 0.39.0) and the protocol-16 fixture: 5 pass, 0 fail.
|
|
38
|
+
- The release PR's exact-head CI run is recorded on the PR.
|
|
39
|
+
|
|
40
|
+
## Known gaps, not blocking
|
|
41
|
+
|
|
42
|
+
- The full suite was not run locally (heavy tests run on CI or dgx02 only); the release PR's exact-head CI is the full gate.
|
|
43
|
+
- The #1226 live pilot itself has not run: it needs a hub running 0.48.0, a registered probe and a restart with `AGENTHUB_LIVE_GUIDANCE_PROBE_ID`. AC7 stays pending until that receipt exists.
|
|
44
|
+
- macOS flakes seen on #1729 and #1731 (two different #631 channel tests, one friction corpus timeout) are unexplained; each passed on rerun.
|
|
45
|
+
- Carried from 0.47.0: `hub_readback_report` is not on the review-capture exclusion list (src/hub/memory-policy.ts).
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# 0.48.1 release verification
|
|
2
|
+
|
|
3
|
+
This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.48.1 and no live TUI launch.
|
|
4
|
+
|
|
5
|
+
## Candidate
|
|
6
|
+
|
|
7
|
+
Version 0.48.1, prepared from main 4ef41748 (1 commit since v0.48.0, 0 of them `feat`; bump rule: patch). 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.48.0: #1739.
|
|
12
|
+
|
|
13
|
+
- #1739 (#1738) was implemented and reviewed in the conductor's session without the hub, on the person's instruction (the hub was down with the bug this release fixes).
|
|
14
|
+
- Its review was an OCR delegate review on head 89f798e5, with no high or medium findings, recorded as a PR comment.
|
|
15
|
+
- It merged by squash at that same head (4ef41748), with `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards` green on the ready run 45926193010. No review thread was open. No merge was bound to an approval at an earlier head.
|
|
16
|
+
|
|
17
|
+
## Native acceptance receipts
|
|
18
|
+
|
|
19
|
+
Receipts added under `docs/verification/` since v0.48.0: none.
|
|
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.48.1`, 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
|
+
The only source commit since v0.48.0 is 4ef41748 (#1739), and it marked these 14 documents stale: README.md, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/agent-notes/adapters.md, docs/agent-notes/budget.md, docs/agent-notes/bus.md, docs/agent-notes/daemon.md, docs/agent-notes/security-review.md, docs/agent-notes/tasks.md, docs/agent-notes/tests.md, docs/memory.md, docs/operations.md, docs/quickstart.md and docs/security.md.
|
|
26
|
+
|
|
27
|
+
Each was reviewed against that commit's diff. The commit changes only internal read paths: the supervision round-check key, per-task point reads, and the hub-only reuse of one roadmap spec check. None of the documents states the per-second full read or a per-call roadmap spec check. `ahub specs check` (operations) is unchanged. docs/agent-notes/tasks.md gained the #1738 rule in that same commit, and docs/quickstart.md gained the 0.48.1 upgrade note. All 14 are restamped at 4ef41748.
|
|
28
|
+
|
|
29
|
+
## Checks
|
|
30
|
+
|
|
31
|
+
`node scripts/check-docs.mjs --require-fresh`, `bun x tsc --noEmit` and `bun scripts/build.mjs --check` ran on the release branch, with results in the release PR. The release PR's exact-head CI is the package and full-suite gate. #1739's own head passed `scripts/check.sh --changed` on dgx02: 6231 pass, 0 fail.
|
|
32
|
+
|
|
33
|
+
## Known gaps, not blocking
|
|
34
|
+
|
|
35
|
+
- No live measurement of the fix on the real board yet. The 0.48.0 profile (43 min, 1156 tasks) is the baseline: about 2.5 s blocked of every 3 s, and 28-38 s every five minutes. Re-measure after the running hub moves to 0.48.1.
|
|
36
|
+
- RSS growth (2.5 GB to 9.3 GB in 43 min on 0.48.0) is not addressed here.
|
|
37
|
+
- The hub roadmap pass still runs one `board.list()` per `milestoneList` call.
|
package/docs/verified.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"documents": {
|
|
4
4
|
"README.md": {
|
|
5
|
-
"verifiedAgainst": "
|
|
5
|
+
"verifiedAgainst": "19b5ae2859acd182d43d7bb3441ee19d9f15981a",
|
|
6
6
|
"paths": [
|
|
7
7
|
"package.json",
|
|
8
8
|
"src/",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"docs/security.md": {
|
|
14
|
-
"verifiedAgainst": "
|
|
14
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
15
15
|
"paths": [
|
|
16
16
|
"src/",
|
|
17
17
|
"templates/"
|
|
18
18
|
]
|
|
19
19
|
},
|
|
20
20
|
"docs/operations.md": {
|
|
21
|
-
"verifiedAgainst": "
|
|
21
|
+
"verifiedAgainst": "19b5ae2859acd182d43d7bb3441ee19d9f15981a",
|
|
22
22
|
"paths": [
|
|
23
23
|
"package.json",
|
|
24
24
|
"src/",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"docs/quickstart.md": {
|
|
38
|
-
"verifiedAgainst": "
|
|
38
|
+
"verifiedAgainst": "d7c733817dbfc2c640d3749a921a7f9e5eda1fbd",
|
|
39
39
|
"paths": [
|
|
40
40
|
"package.json",
|
|
41
41
|
"src/",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"docs/adding-an-ai-tool.md": {
|
|
46
|
-
"verifiedAgainst": "
|
|
46
|
+
"verifiedAgainst": "19b5ae2859acd182d43d7bb3441ee19d9f15981a",
|
|
47
47
|
"paths": [
|
|
48
48
|
"src/adapters/registry-types.ts",
|
|
49
49
|
"src/adapters/registry.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"docs/addons/claude-mem.md": {
|
|
65
|
-
"verifiedAgainst": "
|
|
65
|
+
"verifiedAgainst": "19b5ae2859acd182d43d7bb3441ee19d9f15981a",
|
|
66
66
|
"paths": [
|
|
67
67
|
"src/hub/tooling.ts",
|
|
68
68
|
"src/adapters/definitions/native-policy-aux.ts",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
156
|
"docs/dogfood.md": {
|
|
157
|
-
"verifiedAgainst": "
|
|
157
|
+
"verifiedAgainst": "c73ad69559f72e57233a7525c07fb8892aa41441",
|
|
158
158
|
"paths": [
|
|
159
159
|
"src/hub/dogfood.ts",
|
|
160
160
|
"src/hub/dogfood-read.ts",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
]
|
|
190
190
|
},
|
|
191
191
|
"docs/memory.md": {
|
|
192
|
-
"verifiedAgainst": "
|
|
192
|
+
"verifiedAgainst": "19b5ae2859acd182d43d7bb3441ee19d9f15981a",
|
|
193
193
|
"paths": [
|
|
194
194
|
"package.json",
|
|
195
195
|
"src/memory/",
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
]
|
|
286
286
|
},
|
|
287
287
|
"docs/agent-notes/adapters.md": {
|
|
288
|
-
"verifiedAgainst": "
|
|
288
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
289
289
|
"paths": [
|
|
290
290
|
"src/adapters/",
|
|
291
291
|
"src/pi/",
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
]
|
|
325
325
|
},
|
|
326
326
|
"docs/agent-notes/benchmarks.md": {
|
|
327
|
-
"verifiedAgainst": "
|
|
327
|
+
"verifiedAgainst": "c73ad69559f72e57233a7525c07fb8892aa41441",
|
|
328
328
|
"paths": [
|
|
329
329
|
"scripts/benchmarks/",
|
|
330
330
|
"test/benchmarks/",
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
]
|
|
337
337
|
},
|
|
338
338
|
"docs/agent-notes/budget.md": {
|
|
339
|
-
"verifiedAgainst": "
|
|
339
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
340
340
|
"paths": [
|
|
341
341
|
"src/hub/budget.ts",
|
|
342
342
|
"src/cli/statusline-tee.ts",
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
]
|
|
361
361
|
},
|
|
362
362
|
"docs/agent-notes/bus.md": {
|
|
363
|
-
"verifiedAgainst": "
|
|
363
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
364
364
|
"paths": [
|
|
365
365
|
"src/hub/bus.ts",
|
|
366
366
|
"src/hub/envelope.ts",
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
]
|
|
376
376
|
},
|
|
377
377
|
"docs/agent-notes/daemon.md": {
|
|
378
|
-
"verifiedAgainst": "
|
|
378
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
379
379
|
"paths": [
|
|
380
380
|
"src/hub/daemon.ts",
|
|
381
381
|
"src/hub/control-client.ts",
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
]
|
|
469
469
|
},
|
|
470
470
|
"docs/agent-notes/local-worker.md": {
|
|
471
|
-
"verifiedAgainst": "
|
|
471
|
+
"verifiedAgainst": "c73ad69559f72e57233a7525c07fb8892aa41441",
|
|
472
472
|
"paths": [
|
|
473
473
|
"src/adapters/local-worker.ts",
|
|
474
474
|
"src/local/",
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
]
|
|
481
481
|
},
|
|
482
482
|
"docs/agent-notes/models.md": {
|
|
483
|
-
"verifiedAgainst": "
|
|
483
|
+
"verifiedAgainst": "c73ad69559f72e57233a7525c07fb8892aa41441",
|
|
484
484
|
"paths": [
|
|
485
485
|
"src/models/",
|
|
486
486
|
"src/hub/inference.ts",
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
]
|
|
489
489
|
},
|
|
490
490
|
"docs/agent-notes/tasks.md": {
|
|
491
|
-
"verifiedAgainst": "
|
|
491
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
492
492
|
"paths": [
|
|
493
493
|
"src/hub/tasks.ts",
|
|
494
494
|
"src/hub/board.ts",
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
]
|
|
540
540
|
},
|
|
541
541
|
"docs/agent-notes/tests.md": {
|
|
542
|
-
"verifiedAgainst": "
|
|
542
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
543
543
|
"paths": [
|
|
544
544
|
"test/",
|
|
545
545
|
"scripts/check.sh",
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
]
|
|
569
569
|
},
|
|
570
570
|
"docs/agent-notes/README.md": {
|
|
571
|
-
"verifiedAgainst": "
|
|
571
|
+
"verifiedAgainst": "c73ad69559f72e57233a7525c07fb8892aa41441",
|
|
572
572
|
"paths": [
|
|
573
573
|
"src/cli/console-state.ts",
|
|
574
574
|
"src/cli/attention.ts",
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
]
|
|
578
578
|
},
|
|
579
579
|
"src/cli/help.ts": {
|
|
580
|
-
"verifiedAgainst": "
|
|
580
|
+
"verifiedAgainst": "c73ad69559f72e57233a7525c07fb8892aa41441",
|
|
581
581
|
"paths": [
|
|
582
582
|
"src/cli/main.ts",
|
|
583
583
|
"src/cli/launch.ts",
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
]
|
|
597
597
|
},
|
|
598
598
|
"docs/agent-notes/security-review.md": {
|
|
599
|
-
"verifiedAgainst": "
|
|
599
|
+
"verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
|
|
600
600
|
"paths": [
|
|
601
601
|
"src/hub/envelope.ts",
|
|
602
602
|
"src/hub/conductor.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-hub",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.1",
|
|
4
4
|
"description": "Channel between Claude Code and the agent-hub daemon: peer messages from Codex, Kimi and the local worker arrive as channel events; hub_send replies.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Young Joon Lee",
|
|
@@ -14817,7 +14817,7 @@ var package_default;
|
|
|
14817
14817
|
var init_package = __esm(() => {
|
|
14818
14818
|
package_default = {
|
|
14819
14819
|
name: "@staix/agent-hub",
|
|
14820
|
-
version: "0.
|
|
14820
|
+
version: "0.48.1",
|
|
14821
14821
|
description: "Native multi-agent hub: Claude Code, Codex, Kimi Code, Pi and local inference as peers in one project",
|
|
14822
14822
|
license: "MIT",
|
|
14823
14823
|
type: "module",
|
|
@@ -20128,6 +20128,7 @@ var init_local_worker = __esm(() => {
|
|
|
20128
20128
|
probeCalls = 0;
|
|
20129
20129
|
probeServedModel = null;
|
|
20130
20130
|
probeServedExact = false;
|
|
20131
|
+
probeProviderResponded = false;
|
|
20131
20132
|
probeUsageKnown = true;
|
|
20132
20133
|
probeToolPlan;
|
|
20133
20134
|
probePermits = new Set;
|
|
@@ -20266,7 +20267,12 @@ var init_local_worker = __esm(() => {
|
|
|
20266
20267
|
await this.probeConfinement?.stop();
|
|
20267
20268
|
}
|
|
20268
20269
|
probeObservation() {
|
|
20269
|
-
return {
|
|
20270
|
+
return {
|
|
20271
|
+
servedModel: this.probeServedModel,
|
|
20272
|
+
servedModelExact: this.probeServedExact,
|
|
20273
|
+
usageKnown: this.probeUsageKnown,
|
|
20274
|
+
providerResponded: this.probeProviderResponded
|
|
20275
|
+
};
|
|
20270
20276
|
}
|
|
20271
20277
|
async deliver(envs, deliveryId) {
|
|
20272
20278
|
if (this.probeConfinement)
|
|
@@ -20706,15 +20712,23 @@ var init_local_worker = __esm(() => {
|
|
|
20706
20712
|
const upper = probe.config.tokenUpperBound, inputBytes = Buffer.byteLength(frame, "utf8");
|
|
20707
20713
|
if (upper !== undefined && (probe.config.maxOutputTokens > upper || inputBytes > upper - probe.config.maxOutputTokens))
|
|
20708
20714
|
throw new ProbeToolRefusal("token_ceiling");
|
|
20709
|
-
const
|
|
20715
|
+
const reservedTokens = probe.pinnedChat ? inputBytes + probe.config.maxOutputTokens : upper;
|
|
20716
|
+
const result = await probeLocalEffect(probe.accounting, "model_calls", frame, first ? undefined : { inputBytes }, reservedTokens, async (signal) => {
|
|
20710
20717
|
if (signal.aborted || this.abort?.signal.aborted)
|
|
20711
20718
|
throw new ProbeLocalError("interrupted");
|
|
20712
|
-
const value = await this.opts.omni.chat(body, { signal: this.abort.signal });
|
|
20719
|
+
const value = probe.pinnedChat ? await probe.pinnedChat(body, this.abort.signal) : await this.opts.omni.chat(body, { signal: this.abort.signal });
|
|
20720
|
+
if (probe.pinnedChat) {
|
|
20721
|
+
this.probeProviderResponded = true;
|
|
20722
|
+
this.probeServedExact = value.servedModelExact === true;
|
|
20723
|
+
this.probeServedModel = value.servedModel === GUIDANCE_PROBE_MODEL && !this.probeServedExact ? null : value.servedModel ?? null;
|
|
20724
|
+
}
|
|
20713
20725
|
return { value, usage: probeObservedTokens(value) };
|
|
20714
20726
|
});
|
|
20715
20727
|
this.probeCalls++;
|
|
20716
|
-
|
|
20717
|
-
|
|
20728
|
+
if (!probe.pinnedChat) {
|
|
20729
|
+
this.probeServedModel = result.servedModel ?? null;
|
|
20730
|
+
this.probeServedExact = result.servedModelExact === true;
|
|
20731
|
+
}
|
|
20718
20732
|
this.probeUsageKnown = this.probeUsageKnown && probeObservedTokens(result) !== null;
|
|
20719
20733
|
if (!this.probeUsageKnown)
|
|
20720
20734
|
throw new ProbeLocalError("usage");
|