@staix/agent-hub 0.38.0 → 0.39.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 +45 -0
- package/README.md +17 -7
- package/docs/adding-an-ai-tool.md +6 -4
- package/docs/agent-notes/README.md +16 -0
- package/docs/agent-notes/adapters.md +4 -2
- package/docs/agent-notes/budget.md +8 -0
- package/docs/agent-notes/daemon.md +15 -8
- package/docs/agent-notes/local-worker.md +1 -1
- package/docs/agent-notes/security-review.md +55 -0
- package/docs/agent-notes/tasks.md +15 -4
- package/docs/agent-notes/tests.md +3 -2
- package/docs/design/adapters.md +51 -0
- package/docs/design/agent-hub-architecture.md +29 -1
- package/docs/design/task-board.md +151 -5
- package/docs/dogfood.md +20 -6
- package/docs/events.md +3 -3
- package/docs/memory.md +5 -5
- package/docs/operations.md +177 -28
- package/docs/profiles.md +100 -8
- package/docs/quickstart.md +32 -4
- package/docs/research.md +6 -3
- package/docs/roles.md +52 -0
- package/docs/sdlc.md +187 -1
- package/docs/security.md +50 -11
- package/docs/text-projection.md +1 -0
- package/docs/verification/2026-11-13-claude-implementer-2.1.323.md +59 -0
- package/docs/verification/2026-11-13-codex-01672-reviewer-isolation.md +69 -0
- package/docs/verification/2026-11-14-0.39.0.md +51 -0
- package/docs/verified.json +48 -25
- package/package.json +3 -3
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +1953 -460
- package/plugins/agent-hub/server.js +2019 -498
- package/src/adapters/acp-model-policy.ts +1 -1
- package/src/adapters/acp-session-model.ts +35 -0
- package/src/adapters/acp.ts +14 -0
- package/src/adapters/agy/definition.ts +1 -1
- package/src/adapters/agy/hooks.ts +7 -0
- package/src/adapters/claude-channel.ts +1 -1
- package/src/adapters/claude-implementer.ts +8 -0
- package/src/adapters/claude-print-child.ts +26 -2
- package/src/adapters/claude-print.ts +4 -0
- package/src/adapters/codex-appserver.ts +90 -16
- package/src/adapters/codex-review-isolation.ts +2 -0
- package/src/adapters/compat.ts +4 -4
- package/src/adapters/conformance/fakes/acp-server.ts +11 -2
- package/src/adapters/conformance/fakes/app-server.ts +5 -1
- package/src/adapters/conformance/fakes/pi-rpc.ts +1 -1
- package/src/adapters/definitions/builtin-metadata.ts +6 -6
- package/src/adapters/definitions/native-cli-jcode-mcp.ts +18 -3
- package/src/adapters/definitions/native-quota.ts +122 -0
- package/src/adapters/definitions/native-recovery.ts +3 -0
- package/src/adapters/definitions/qwen.ts +1 -1
- package/src/adapters/kimi-review.ts +23 -0
- package/src/adapters/kimi-wire-usage.ts +39 -16
- package/src/adapters/local-worker.ts +6 -3
- package/src/adapters/pi-state-model.ts +12 -0
- package/src/adapters/pi.ts +22 -0
- package/src/adapters/print-result-model.ts +24 -0
- package/src/adapters/registry-types.ts +10 -1
- package/src/adapters/registry.ts +19 -2
- package/src/adapters/reviewer-print.ts +130 -15
- package/src/adapters/role-eligibility.ts +99 -0
- package/src/adapters/same-directory.ts +16 -0
- package/src/cli/agy-mcp.ts +18 -7
- package/src/cli/console-state.ts +3 -1
- package/src/cli/free-text.ts +20 -0
- package/src/cli/handoff-args.ts +1 -1
- package/src/cli/help.ts +61 -6
- package/src/cli/identity.ts +10 -4
- package/src/cli/init-prompt.ts +31 -2
- package/src/cli/init-roles.ts +156 -0
- package/src/cli/init-settings.ts +24 -2
- package/src/cli/init.ts +139 -17
- package/src/cli/main.ts +194 -49
- package/src/cli/model.ts +1 -1
- package/src/cli/output.ts +56 -1
- package/src/cli/preview.ts +1 -1
- package/src/cli/recovery-launch.ts +114 -0
- package/src/cli/recovery-package.ts +14 -7
- package/src/cli/recovery-version-preflight.ts +104 -0
- package/src/cli/role-doctor.ts +39 -0
- package/src/cli/sdlc-output.ts +66 -1
- package/src/cli/study-output.ts +54 -0
- package/src/cli/study.ts +14 -1
- package/src/cli/terminal-recovery.ts +14 -0
- package/src/cli/upgrade-presentation.ts +4 -0
- package/src/cli/upgrade-restore-state.ts +12 -3
- package/src/cli/upgrade-runtime.ts +40 -2
- package/src/cli/upgrade.ts +8 -4
- package/src/hub/advisor-survey.ts +139 -0
- package/src/hub/audit-source.ts +66 -0
- package/src/hub/board.ts +479 -14
- package/src/hub/budget.ts +54 -4
- package/src/hub/conductor.ts +14 -8
- package/src/hub/config-apply.ts +2 -1
- package/src/hub/config-edit-host.ts +77 -5
- package/src/hub/considered-findings.ts +47 -0
- package/src/hub/control-client.ts +1 -1
- package/src/hub/daemon.ts +343 -58
- package/src/hub/deliverable-files.ts +17 -1
- package/src/hub/dogfood-profile.ts +3 -2
- package/src/hub/events.ts +23 -2
- package/src/hub/folder-trigger.ts +11 -4
- package/src/hub/hub-tools.ts +88 -16
- package/src/hub/kimi-usage.ts +34 -2
- package/src/hub/lifecycle-schema.ts +3 -3
- package/src/hub/memory-profile.ts +9 -1
- package/src/hub/memory-sync-state.ts +1 -0
- package/src/hub/model-overrides.ts +2 -1
- package/src/hub/no-writes.ts +2 -0
- package/src/hub/operational-authority.ts +6 -1
- package/src/hub/operational-view.ts +5 -1
- package/src/hub/peers.ts +2 -0
- package/src/hub/plan-conformance.ts +20 -2
- package/src/hub/quota-account.ts +34 -0
- package/src/hub/recovery-policy.ts +18 -4
- package/src/hub/research-evidence.ts +51 -3
- package/src/hub/research.ts +77 -13
- package/src/hub/restart.ts +14 -0
- package/src/hub/review-budget.ts +88 -0
- package/src/hub/review-findings.ts +93 -12
- package/src/hub/reviewer-pool-config.ts +6 -2
- package/src/hub/reviewer-pool.ts +39 -6
- package/src/hub/routing.ts +7 -3
- package/src/hub/sdlc-merge.ts +1 -1
- package/src/hub/sdlc-queue.ts +14 -4
- package/src/hub/sdlc-release.ts +1 -1
- package/src/hub/sdlc.ts +10 -6
- package/src/hub/security-audit.ts +178 -0
- package/src/hub/security-pass.ts +115 -0
- package/src/hub/settings.ts +11 -5
- package/src/hub/source-read.ts +80 -2
- package/src/hub/sources.ts +57 -9
- package/src/hub/startup-event-seeds.ts +5 -3
- package/src/hub/startup-timing.ts +1 -0
- package/src/hub/synthesis-readiness.ts +279 -0
- package/src/hub/tasks.ts +1083 -69
- package/src/hub/text-projection.ts +11 -1
- package/src/memory/capture.ts +2 -1
- package/src/ui/index.html +3 -0
- package/src/ui/office-model.ts +11 -3
- package/src/ui/office-space.ts +50 -30
- package/src/ui/plugin.ts +21 -11
package/docs/design/adapters.md
CHANGED
|
@@ -230,6 +230,42 @@ The PII screen is distinct from ordinary optional inference. It may use an on-de
|
|
|
230
230
|
|
|
231
231
|
Runtime memory capture and recall use the in-process `@staix/agent-mem` package, screened and invoked by host integration. claude-mem is off by default and import-only; there is no worker HTTP or model-summary path in the runtime. This avoids a parallel capture route with different privacy checks ([#752](https://github.com/STAIxBWLB/agent-hub/issues/752), [agent-mem#13](https://github.com/STAIxBWLB/agent-mem/issues/13)).
|
|
232
232
|
|
|
233
|
+
## Codex quota observation (#1440)
|
|
234
|
+
|
|
235
|
+
Codex reads `account/rateLimits/read` through its current authenticated TUI link
|
|
236
|
+
using hidden negative request IDs. Normal cadence remains `usagePollMs` (ten
|
|
237
|
+
minutes by default). While the canonical Budget account has an open pause,
|
|
238
|
+
Budget's observational subscription re-arms the adapter at the fixed 60-second
|
|
239
|
+
cadence. The subscription and all usage timers/requests are revoked on detach,
|
|
240
|
+
stop or input replacement; a late callback cannot poll or retime a new link.
|
|
241
|
+
The adapter never redeems a credit or resumes a peer. Budget.evaluate retains
|
|
242
|
+
its existing native-window/reset-time resume path and manual pause boundaries.
|
|
243
|
+
|
|
244
|
+
The native-to-host callback contains only window fields and a separate allowlist
|
|
245
|
+
of account diagnostics: reset-credit count, proven earliest expiry, expiry-known
|
|
246
|
+
flag, ordinaryUsageAllowed, hasCredits and unlimited. Native balances, account
|
|
247
|
+
identifiers, credit identifiers, titles and descriptions are discarded at that
|
|
248
|
+
boundary. `availableCount` is authoritative; the detail list can be capped, so a
|
|
249
|
+
partial or unavailable list leaves global earliest expiry unknown. Nullable or
|
|
250
|
+
malformed Boolean fields remain unknown, preserving explicit false values.
|
|
251
|
+
|
|
252
|
+
Diagnostics are timestamped RAM-only data keyed by the existing canonical hub
|
|
253
|
+
account. Paused-account budget text/JSON shows their freshness and permitted
|
|
254
|
+
fields. A fresh snapshot reporting ordinary usage unavailable and paid credits
|
|
255
|
+
available labels that turns would use paid credits; no financial flag changes
|
|
256
|
+
quota admission, pause or resume. A restart leaves these diagnostics unknown
|
|
257
|
+
until another native read. Older clients may omit the additive accountUsage
|
|
258
|
+
projection. Native/account effectiveness remains separate from fake-clock and
|
|
259
|
+
fake app-server fixtures.
|
|
260
|
+
|
|
261
|
+
## Observed turn model (#1402)
|
|
262
|
+
|
|
263
|
+
An adapter may implement `PeerAdapter.observedModel()`: the model its native surface reported for the turn that just ended, as `{ model, evidence }`. The daemon reads it once, when it writes the peer's `turn_end`, and passes it through `turnModelFields`: the event carries `model` (the id exactly as reported, through `safeModelLabel`) and `modelEvidence` (`served`, `session` or `configured`, strongest first) or neither. A label `safeModelLabel` refuses is dropped whole, never truncated, and an alias (`opus`, `default`) is never expanded. An adapter that reports nothing, or throws, records nothing: unknown stays unknown. Codex and Claude print are wired (#1402 T2); the others (ACP peers, Pi, Antigravity) by the later tasks of #1402. Codex: the model in the `thread/start` or `thread/resume` reply, or the model the hub or the TUI started a turn with once Codex accepted it, is `session`; a `model/rerouted` notification names the model it moved the running turn to, `served` for that turn only. Neither reply nor `turn/start` carries a per-response model, so Codex is never `served` unless it said so (schema of codex-cli 0.167.2). Claude print (reviewer and implementer): the `modelUsage` keys of the `result` row are `served`; several keys name the one with strictly more usage tokens, and a tie or a breakdown with no counts names none (`src/adapters/print-result-model.ts`). Claude channel and TUI sessions are unchanged (their transcript usage already carries `servedModel`). research builds `ownerModels` from the owner's turns only (`docs/research.md`).
|
|
264
|
+
|
|
265
|
+
ACP peers (Qwen, Jcode, headless Kimi; #1402 T3) report the session's current model as `session` evidence, whatever the override policy (`src/adapters/acp-session-model.ts`). The id is read from `models.currentModelId` or the `model` select's `currentValue` of the `session/new` or `session/load` result, and moved by `current_model_update`, `config_option_update` and Qwen's `session/model-update` notices for the current session only. It is the value when the turn's prompt was sent, read once at the turn end, so a change that arrives mid-turn belongs to the next one. Qwen's `id(openai)` wire id goes through its receipt codec; an id `safeModelLabel` refuses, the placeholder `unknown` or an absent field names no model. This is the agent's own current model, not a per-response one, so it is never `served`.
|
|
266
|
+
|
|
267
|
+
Pi and Antigravity (#1402 T4). A headless Pi reads `get_state` when a turn starts: `data.model.id` is `session` evidence (`src/adapters/pi-state-model.ts`); Pi 1.5.2 reports the placeholder id `unknown` when no model is selected, which names none. The model the hub set with `set_model` that Pi acknowledged is `configured` and only used when `get_state` names none. The Pi TUI snapshot (`get_session_state`) carries no model, so a TUI Pi reports only a `configured` one. Antigravity's hook payloads carry `modelName` (verified in the 1.4.3 to 1.5.3 receipts); `decodeAgyHook` keeps it as `NativeFactsInput.model` through `safeModelLabel`, and the daemon holds the latest one per peer and uses it, as `session` evidence, for the turn that ends next, dropping it when the peer goes offline. The Antigravity transcript rows the usage reader parses carry no model, so the hook is the only source. An alias such as `default` is kept as reported, never expanded.
|
|
268
|
+
|
|
233
269
|
## Person-owned live model selection (#1317)
|
|
234
270
|
|
|
235
271
|
A person may store a per-peer model override in `hub.db` with `ahub model set`,
|
|
@@ -403,3 +439,18 @@ The local worker binds review observer exclusion to its actual input envelopes b
|
|
|
403
439
|
Only a host-owned getter supplies the imported agent-mem instruction at an admitted headless turn boundary, after owned input and busy state exist and before the native prompt/model request. Multi-call local turns keep one fixed prompt. Native-client prompts, steer, Claude hooks and isolated reviewers keep their separate surfaces. A getter failure omits optional Record guidance and does not change ordinary routing. The production getter reads the public `recordsEnabled(activeHome, executionCwd)` accessor from the exact-pinned amem package; either machine or repository false disables the optional Record path. Its boolean revision is not a privacy-policy fingerprint: current package and hub screens are rechecked separately before effects.
|
|
404
440
|
|
|
405
441
|
Model final output uses a host-only final-answer callback distinct from explicit send tools and diagnostic messages. Only normal completion can append Record rows; partial output is stripped for sharing without certifying a settled record. Capture binds immutable owner, turn, session/generation, execution cwd, profile and policy identity. Replacement, exclusion or unsafe steering revokes the frame before any later append. This grants no task, permission, native consumption or model acceptance authority.
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
## Restoration launch diagnostics (#1426)
|
|
445
|
+
|
|
446
|
+
Recovery keeps terminal descriptors and native ownership/session proofs intact. A private per-attempt launch observation binds its nonce and peer, records only a nonzero exit and bounded screened hub diagnostic, and is consumed between readiness slices. It is failure evidence only: it cannot settle a session, waive a hold or grant startup authority. Late outcomes cannot replace another attempt. Restore receipts/status retain typed `version_refused` or `launch_exit` causes and the existing coordinator resume command; legacy receipts remain readable.
|
|
447
|
+
|
|
448
|
+
Before source commit, the verified target's compatibility assessor and current machine trust decide the configured versions of semantically version-gated restored peers. Unknown is not accepted. Fixed native definitions declare those gates; ordinary Codex does not inherit its reviewer-only gate. Cached uncommitted stages recheck mutable observations, while committed or commit-sent sources retain their recovery evidence rather than gaining a retroactive gate. Tests use fake executable/transport observations; these fixtures do not attest a live account or terminal restoration.
|
|
449
|
+
|
|
450
|
+
## Reviewer quota and owned accounting (#1446)
|
|
451
|
+
|
|
452
|
+
Native definitions admit only pinned outer refusal envelopes, returning safe window/reset metadata and no raw message. Codex exec 0.166.0 has a message-only error schema; only pinned native refusal prefixes inside outer `error`/`turn.failed` are recognized, with UNKNOWN reset. Kimi has no typed frame: the exception is a nonzero owned child with complete bounded own-stderr beginning `error: failed to run prompt: provider.` and containing `usage limit`, observed on 2.2.0 and unverified on 2.5.2. This exception always has UNKNOWN reset. Never inspect stdout/model/tool prose or wire error records. Source pointers and the diagnostic receipt are in [operations](../operations.md#reviewer-quota-admission-and-review-caps-1446).
|
|
453
|
+
|
|
454
|
+
Reviewer quotas use canonical Budget fanout; attached account siblings remain the only native rate-limit observation source. A reviewer-only child adds no account transport and cannot prove an early reset. The wall cap samples once per child and uses the same owned teardown. Kimi usage-only reads reuse the existing session-index/wire counter in the private profile after group settlement, before cleanup. A host opaque journal intent must ACK before spawn; a complete/unknown terminal must ACK after usage read. Incomplete profiles remain held, and unmatched/unknown attempts make the account soft count unknown across restart without inventing an expiry. No native session/home/prompt/stderr leaves the owned read boundary.
|
|
455
|
+
|
|
456
|
+
The host receives admitted quota observations before task fallback, so explicit stop/cleanup failure cannot erase a hard pause. Only settlement of that owned attempt releases the handoff hold. Kimi's stderr callback remains after nonzero owned settlement; no earlier diagnostic gains authority.
|
|
@@ -5,6 +5,7 @@ title: Agent Hub Architecture
|
|
|
5
5
|
status: draft
|
|
6
6
|
parent: agent-hub
|
|
7
7
|
paths:
|
|
8
|
+
- src/hub/startup-event-seeds.ts
|
|
8
9
|
- src/hub/daemon.ts
|
|
9
10
|
- src/hub/peers.ts
|
|
10
11
|
- src/hub/envelope.ts
|
|
@@ -52,6 +53,16 @@ id and cannot release observer provenance or establish execution isolation. A
|
|
|
52
53
|
person takeover detaches ownership without terminating the process, and normal
|
|
53
54
|
delivery uncertainty remains independent ([#1174](https://github.com/STAIxBWLB/agent-hub/issues/1174)).
|
|
54
55
|
|
|
56
|
+
The cooperative instruction boundary also permits the unique conductor to stage
|
|
57
|
+
only off/advise and required check names through `ahub sdlc configure` after
|
|
58
|
+
initialization. The host rechecks its authenticated session, role, privacy and
|
|
59
|
+
recovery context, requires durable instruction intent before the existing
|
|
60
|
+
validated write and backup, and records the actual actor with value hashes.
|
|
61
|
+
The file takes effect at the next start. Initialization, generic settings editing,
|
|
62
|
+
enforce and protected lifecycle settings remain person-only; no release consent
|
|
63
|
+
follows from the configuration claim. See [the narrow SDLC configuration
|
|
64
|
+
contract](../sdlc.md#instructed-conductor-configuration-1432).
|
|
65
|
+
|
|
55
66
|
## Console presentation surfaces
|
|
56
67
|
|
|
57
68
|
The floating pet belongs to acon Mini (#1012). The compatibility command
|
|
@@ -89,6 +100,13 @@ establish entailment or synthesis readiness. The research-only record tool
|
|
|
89
100
|
returns an ids-only receipt and excludes its arguments/results from capture.
|
|
90
101
|
Its T1 authorization, revision and recovery boundaries are defined in
|
|
91
102
|
[the task-board contract](task-board.md#claim-evidence-records-931-t1).
|
|
103
|
+
Explicit synthesis checks bind the complete evidence inventory and registered
|
|
104
|
+
deliverable hashes through that boundary, rechecking privacy and immutable
|
|
105
|
+
provenance after asynchronous reads. Their separate readiness statuses certify
|
|
106
|
+
structural provenance only; #901 retains person judgment. Append-only relation
|
|
107
|
+
history prevents withdrawal/reclassification from silently erasing a contradiction;
|
|
108
|
+
its current manifest still needs the person's explicit disposition. See
|
|
109
|
+
[explicit synthesis readiness](task-board.md#explicit-synthesis-readiness-931-t3).
|
|
92
110
|
|
|
93
111
|
## Bounded visual attachments (#1058)
|
|
94
112
|
|
|
@@ -108,7 +126,7 @@ summary 4000, each pro/con 2000, table cell 4000, key 128, path 4096 and asset
|
|
|
108
126
|
reference 256. These are hub limits, not a claim that acon imposes each limit;
|
|
109
127
|
validation refuses rather than truncates. acon counts Mermaid UTF-16 code units
|
|
110
128
|
and leaves captions unbounded, while the hub counts UTF-8 bytes. All 42 published
|
|
111
|
-
acon 0.
|
|
129
|
+
acon 0.2.0 visual cases are consumed directly; six named valid-acon cases are
|
|
112
130
|
rejected only by these stricter source/caption/asset-ID ceilings. Historical
|
|
113
131
|
hub-owned cases remain extra coverage, not a substitute for the shared fixture.
|
|
114
132
|
|
|
@@ -186,6 +204,10 @@ Privacy decisions are made at hub boundaries, not delegated to model routing. A
|
|
|
186
204
|
|
|
187
205
|
Recovery is a coordinated daemon operation over separately persisted board, delivery, and native-session evidence. A restart or upgrade can continue only with compatible feature evidence from the verified target and host-held proofs that still match the project and actor. Adapters report native evidence; they do not certify their own recovery authority. This avoids treating a stale status file or an unverified receipt as proof that a native process is safe to resume ([#37](https://github.com/STAIxBWLB/agent-hub/issues/37), [#625](https://github.com/STAIxBWLB/agent-hub/issues/625), [#900](https://github.com/STAIxBWLB/agent-hub/issues/900)).
|
|
188
206
|
|
|
207
|
+
Advisor surveys use that same Tasks authority and recovery boundary. An explicit person or current conductor request creates one read-only planner task and its private pinned-ref survey record in one transaction before any task delivery. Findings remain declarations until the current planner explicitly vets them; resulting cards enter the backlog for planning or read-only investigation. Prior rejections remain append-only and apply only within their repository, semantic identity and unchanged affected paths. An unavailable complete diff retains unknown suppression, while explicit reasoned reconsideration appends history. Public briefs and readback withhold security details and private source facts. The `advisor_surveys` recovery feature is required once surveys, candidates or considered records exist; the conditional `advisorSurveys` proof contains validated counts and a digest, and empty legacy stores retain their existing snapshot shape and database floor. Bounds and role rules are in the [task-board contract](task-board.md#advisor-survey-and-rejection-ledger-1403-t7).
|
|
208
|
+
|
|
209
|
+
Target-version preflight and bounded private launch-failure observations follow the [adapter restoration contract](adapters.md#restoration-launch-diagnostics-1426). Failure diagnostics do not replace the existing native ownership, readiness or permission proofs.
|
|
210
|
+
|
|
189
211
|
The architecture does not claim that a fixture proves a real provider account, native session, campus network, or operating-system sandbox. Those are distinct runtime evidence and remain separate from source-level and automated checks ([#625](https://github.com/STAIxBWLB/agent-hub/issues/625), [#754](https://github.com/STAIxBWLB/agent-hub/issues/754)).
|
|
190
212
|
|
|
191
213
|
## Person review packages (#1056)
|
|
@@ -193,3 +215,9 @@ The architecture does not claim that a fixture proves a real provider account, n
|
|
|
193
215
|
The task-board module owns anchored findings and person-authored comment lifecycles. Transport carries one explicit review package only after `Tasks` admits the selected draft set; drafting and editing do not start peer turns. acon supplies the shared review kit and a server-verified person identity, while the standalone dashboard reads counts and bounded placements only. Neither surface writes the Board directly.
|
|
194
216
|
|
|
195
217
|
The host-only review package reference is an observer exclusion, not PII authority. Durable open comment/finding scope protects memory notes naming that task after restart or intervening input. Capture, progress and session-title exclusion follows the current review input, not unrelated board history. The read-only own held inbox view (#1328 AC6) creates no durable handout receipt. Its narrow conservative ceiling also excludes retained readable observer-excluded held inputs (trusted review packages and host-stamped peer chat/status responses) across restart until explicit disposition, even if unread; an overflowing or unreadable recipient row/byte window stays unknown and excluded because a previously viewed review can move outside the window. Ordinary queued/deferred review rows do not acquire this ceiling, and verified ordinary replacement retains its existing turn rules. ID-only current-input holds survive daemon restart. An intact, readable, complete store with no matching held record admits a new session as clean. Unreadable or corrupt storage and unconfirmed coverage for the current identity remain excluded. A validated release receipt confirms that identity without declaring other legacy identities clean. For an identified pull-only session, a positive held row remains sticky across restart until confirmed native identity changes. Its own incomplete marker excludes until verified ordinary replacement or a confirmed new session clears that marker; legacy coverage alone does not create a sticky hold. Missing native identity permits handout under an in-RAM unknown-held scope. A never-identified peer can release it with verified ordinary replacement in that daemon run; earlier positive or incomplete SID rows instead keep unidentified observer state held until a real SID is confirmed. First confirmation persists any current RAM quote under that SID before clearing the peer marker, without discarding other SID rows. It does not invent a native identity or weaken write-failure refusal. Legacy coverage completes from settled journal evidence, after which NULL clean receipts can be pruned; corrupt state remains excluded and is named in status with a repair next step. The hold grants no authority; the task-bound recipient summary and check output remain distinct from observer projections. Explicit publication recovery uses the saved immutable envelope and retained journal evidence, never automatic effect replay. Its intended recipient may read a public package, but memory capture, operational views, delivery logging and incoming-message labels exclude its body. Local-worker capture latches exclusion before any tool in a batch that submits an anchored verdict, including a refused verdict, and applies it to subsequent capture, final summaries and retained history. A delayed response cannot become capturable when another turn starts. Recovery advertises the conditional `review_comments` feature when retained comment/package records require it. It also requires `review_observer_input_state` when held or unknown session-input provenance could otherwise be lost. See [the task-board contract](task-board.md#anchored-review-packages-1056) for bounds, immutable snapshot placement and lifecycle authority.
|
|
218
|
+
|
|
219
|
+
## Reviewer quota coordination (#1446)
|
|
220
|
+
|
|
221
|
+
Reviewer admission is a pure consumer of canonical account headroom and Budget pause evidence, with default floor 0.8, unknown policy skip and per-child cap 20 minutes. Explicit `review.unknown_quota = "pass"` admits unknown observations while retaining the known floor; admitted unknowns supply no wait evidence. `review.gate = "off"` disables floor/unknown checks and all quota waiting, while actual Budget/manual pauses and existing role/health/family guards remain binding. The hub does not gain a second native quota transport or resume authority. Tasks persists bounded wait identity/deadline in role history, schedules one owned deadline per current review, and consumes existing Budget signals. Only a fully quota-blocked declared pool with known resets and a numeric gate waits; unknown under the default skip policy or other blockers use existing fallback. Kimi accounting uses the existing event journal and usage counter, with acknowledged pre-spawn intent, post-settlement terminal accounting, and conservative UNKNOWN replay for unmatched/damaged history. It adds no account/private-profile store.
|
|
222
|
+
|
|
223
|
+
An admitted quota observation writes the canonical account pause independently of task reroute. A host opaque attempt hold delays Budget handoff until owned group/watch settlement; task reroute remains generation-fenced. Controlled recovery conditionally requires `reviewer_quota` and includes safe accounting counts, replay completeness and ordered journal digest in the existing integrity snapshot, checked before target usage replay. Explicit `review.unknown_quota` (including skip) or gate off requires the existing `reviewer_quota` capability; legacy empty state without explicit policy adds no capability requirement.
|
|
@@ -10,6 +10,7 @@ implements: []
|
|
|
10
10
|
covers: [task-board]
|
|
11
11
|
tags: [agent-hub, dogfood]
|
|
12
12
|
paths:
|
|
13
|
+
- src/hub/review-budget.ts
|
|
13
14
|
- src/hub/tasks.ts
|
|
14
15
|
- src/hub/sdlc.ts
|
|
15
16
|
- src/hub/build-entry.ts
|
|
@@ -39,6 +40,7 @@ paths:
|
|
|
39
40
|
- src/hub/deliverables.ts
|
|
40
41
|
- src/hub/deliverable-files.ts
|
|
41
42
|
- src/hub/plan-conformance.ts
|
|
43
|
+
- src/hub/audit-source.ts
|
|
42
44
|
- src/hub/sdlc-merge.ts
|
|
43
45
|
- src/hub/sdlc-mirror.ts
|
|
44
46
|
- src/hub/ci-watch.ts
|
|
@@ -128,7 +130,7 @@ before and after each awaited GitHub read and immediately before the write.
|
|
|
128
130
|
Recovery, shutdown and storage holds refuse adoption.
|
|
129
131
|
|
|
130
132
|
Eligible task states are exactly `in_progress`, `in_review` and
|
|
131
|
-
`changes_requested`, with all Important findings dispositioned. `proposed` and
|
|
133
|
+
`changes_requested`, with all Important findings dispositioned (an open Important marked `needs_validation` or `pre_existing` under an enabled lifecycle, #1403, is a recorded non-blocker: it is counted apart, does not carry as an obligation, and on approval yields one marker-deduplicated backlog card through `Tasks`; with the lifecycle off these fields are refused). `proposed` and
|
|
132
134
|
`backlog` tasks must be assigned and accepted first. `approved` and `cancelled`
|
|
133
135
|
are already closed. Each refusal names the state and the next step. The Board
|
|
134
136
|
transition is host-only and requires the current flow revision; the generic
|
|
@@ -208,15 +210,120 @@ Public receipts contain only link ID, revision and task ID. The tool is excluded
|
|
|
208
210
|
from argument/result capture and from read-only publication; dev-profile tool
|
|
209
211
|
lists retain their existing shape.
|
|
210
212
|
|
|
211
|
-
|
|
212
|
-
hash is checked against registry metadata.
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
At recording, projection hashes/version remain caller-declared bindings and the
|
|
214
|
+
raw source hash is checked against registry metadata. T2 adds the public
|
|
215
|
+
`hub_evidence_read` projection through the existing task-show authority. It
|
|
216
|
+
re-resolves the current claim revision and screened, complete registered source
|
|
217
|
+
projection on every read, with fresh privacy and authorization fences. Unicode
|
|
218
|
+
scalar-value locators are explicitly converted from source-read ranges. Missing,
|
|
219
|
+
truncated, legacy-unbound or changed material is unavailable or stale; private
|
|
220
|
+
upgrades return IDs only, never a source ID, path/origin, excerpt or narrative.
|
|
221
|
+
Resolved excerpts are capped at 4096 UTF-8 bytes and never cached or captured.
|
|
222
|
+
Before handing a passage to a peer, the host latches its existing review-input
|
|
223
|
+
observer exclusion. Derived answers and completion/review prose stay out of
|
|
224
|
+
shared memory and public observer projections; the local worker also excludes
|
|
225
|
+
the whole tool batch and its retained history. Ordinary replacement input follows
|
|
226
|
+
the existing observer-release rules, without changing private-task authority.
|
|
227
|
+
|
|
228
|
+
The existing source registry owns an optional projection receipt bound to raw
|
|
229
|
+
SHA-256, complete text SHA-256 and the genuine converter fingerprint (or named
|
|
230
|
+
UTF-8 decoder). This adds no source registration authority or second source
|
|
231
|
+
store. A read does not retrofit a receipt or execute a network fetch. A bounded
|
|
232
|
+
latest-link inventory and current screened metadata collapse overlapping origins
|
|
233
|
+
into opaque connected groups; unknown/private/overflow evidence gives no group
|
|
234
|
+
count. Group counts are provenance, never an independence or truth verdict.
|
|
235
|
+
#901 keeps the sole person-judgment record. The explicit synthesis check below
|
|
236
|
+
consumes it without deriving a verdict from evidence relations.
|
|
215
237
|
Stored evidence adds a conditional `research_evidence` recovery feature and
|
|
216
238
|
`{links, revisions, digest}` integrity section. An absent section is the empty
|
|
217
239
|
store, preserving older recovery records; an empty database requires no new
|
|
218
240
|
feature. Provenance never manufactures a person verdict or readiness result.
|
|
219
241
|
|
|
242
|
+
### Explicit synthesis readiness (#931 T3)
|
|
243
|
+
|
|
244
|
+
`ahub study evidence --task <task>` exposes bounded authoring bindings, not
|
|
245
|
+
source or claim prose. `ahub study check <task> <manifest.json>` accepts only a
|
|
246
|
+
version-1 manifest naming the task incarnation, registered Markdown/BibTeX
|
|
247
|
+
deliverable IDs and SHA-256 hashes, current #901 claim identities/revisions,
|
|
248
|
+
complete latest-link inventory revision/hash per claim, and selected evidence
|
|
249
|
+
IDs/revisions with citation keys. The hash includes every latest inventory row,
|
|
250
|
+
including unselected counterevidence and withdrawn links. No second claim or
|
|
251
|
+
judgment identity/store is created.
|
|
252
|
+
The manifest shape permits at most 64 KiB, 50 claims, 128 selected links total
|
|
253
|
+
and 128 ASCII characters per citation key. The existing bounded latest-link
|
|
254
|
+
inventory must be complete. Guarded document/bibliography reads use 256 KiB and
|
|
255
|
+
4 MiB; one check refuses above 64 MiB of active registered raw source inputs.
|
|
256
|
+
|
|
257
|
+
`EvidenceLinkV1.status` may be `withdrawn` only on a later append-only revision.
|
|
258
|
+
Legacy omission means active and keeps its original canonical bytes/ID;
|
|
259
|
+
explicit active input normalizes to omission. Withdrawn rows remain in complete
|
|
260
|
+
inventory bindings but supply no active locator. A link that was ever
|
|
261
|
+
`contradicts` remains unresolved after withdrawal or reclassification: its state
|
|
262
|
+
is `withdrawn`, never silently `none`. Only a person's resolved/qualified
|
|
263
|
+
disposition bound to the current manifest clears it, whoever withdrew it. The owner or
|
|
264
|
+
console person uses the existing writer for withdrawal; the active task's owner
|
|
265
|
+
is fenced separately from the actual recorded actor. Source, claim and privacy
|
|
266
|
+
admission stay unchanged. The person exception permits withdrawal, not initial
|
|
267
|
+
active-link creation. Historical revisions retain current privacy checks.
|
|
268
|
+
Person withdrawal also requires an in-progress public research task. Closed
|
|
269
|
+
task evidence stays final: corrections require a follow-up research task and
|
|
270
|
+
its own manifest binding, and a refusal names that next step. The earlier task's
|
|
271
|
+
manifest cannot be applied to the new task incarnation.
|
|
272
|
+
The host verifies each retained revision's canonical hash and contiguous
|
|
273
|
+
sequence within 1,024 revisions per claim. Missing, corrupt or over-window
|
|
274
|
+
history is unknown and cannot verify readiness. Current privacy also covers
|
|
275
|
+
historical source references used by this observation. The history spans claim
|
|
276
|
+
revisions of the same claimId and contributes its verified commitment to the
|
|
277
|
+
existing inventory revision/hash. Moving a link to another claim revision or
|
|
278
|
+
restoring the exact #901 claim list cannot discard its former contradiction
|
|
279
|
+
or re-bind an earlier person disposition. #901 identity and verdict restoration
|
|
280
|
+
remain unchanged.
|
|
281
|
+
Recovery requires `research_evidence_withdrawal` only while a persisted
|
|
282
|
+
withdrawal revision needs its newer parser. Active-only legacy stores retain
|
|
283
|
+
their existing compatibility requirement.
|
|
284
|
+
|
|
285
|
+
The existing person-only #901 `ClaimVerdict` may carry optional
|
|
286
|
+
`synthesis: {manifestSha256, disposition: resolved|qualified}`. The console
|
|
287
|
+
`ahub task claim` takes paired `--manifest <manifest.json>` and `--disposition`
|
|
288
|
+
flags. The descriptor is transient. At entry, the hub independently refreshes
|
|
289
|
+
current bindings and recomputes its canonical manifest hash; a mismatch names
|
|
290
|
+
the current hash and refuses before the existing history write, inside the
|
|
291
|
+
final snapshot fence. No changed inventory silently re-binds an earlier
|
|
292
|
+
disposition. It records no claim or qualification prose. A disposition closes an open contradiction
|
|
293
|
+
only when its manifest hash, claim revision, full inventory and artifact/source
|
|
294
|
+
bindings are current. Agent/model relation labels never supply this authority.
|
|
295
|
+
The CLI requires `research_synthesis` from the authenticated welcome before
|
|
296
|
+
requesting the new study operations or sending an extended `claim_verdict`.
|
|
297
|
+
Without it, upgrade/restart is required before any verdict mutation is sent;
|
|
298
|
+
an older daemon must never silently turn a requested synthesis disposition into
|
|
299
|
+
a plain verdict. Ordinary #901 verdicts retain their earlier compatibility.
|
|
300
|
+
|
|
301
|
+
Tasks owns both reads. The host obtains current state; callers cannot supply
|
|
302
|
+
screened artifacts, provenance resolutions or person authority. Artifact reads
|
|
303
|
+
use the guarded #509 path/hash boundary. Every active inventory link resolves
|
|
304
|
+
through screened source-read/projection checks. Final raw/projection/converter
|
|
305
|
+
and artifact identity/stat fences run after asynchronous reads. Current task,
|
|
306
|
+
actor, policy, inventory and privacy are checked again. Any concurrent board
|
|
307
|
+
write conservatively stales the batch; a task-scoped evidence generation is the
|
|
308
|
+
later narrowing path. A private upgrade returns only a neutral task/status
|
|
309
|
+
stub. Incomplete inventories and unavailable observations cannot verify
|
|
310
|
+
readiness. The observer latch precedes evidence-derived inputs.
|
|
311
|
+
|
|
312
|
+
The pure offline checker reports citation resolution, source/locator freshness,
|
|
313
|
+
person-judgment presence, contradiction state and unchanged deliverables
|
|
314
|
+
separately. The person verdict class (`supported`, `unsupported`, `unclear`)
|
|
315
|
+
is shown independently from judgment presence. Any is a recorded assessment
|
|
316
|
+
for structural readiness; ready never means the person supported the claim.
|
|
317
|
+
Every currently declared claim must be covered. A model's relation
|
|
318
|
+
label or matching passage cannot certify semantic support. Offline forbids
|
|
319
|
+
document fetching and network source reads, while the existing configured
|
|
320
|
+
privacy screen may run. An unavailable or unknown screen is never clear; the
|
|
321
|
+
observational read cannot change source privacy because screening did not clear.
|
|
322
|
+
Actual source privacy upgrades still suppress the result. No earlier readiness
|
|
323
|
+
binding remains current after a claim, artifact, projection or inventory
|
|
324
|
+
change. The command runs only explicitly and preserves legacy citation-script
|
|
325
|
+
semantics and ordinary dev-profile completion behavior.
|
|
326
|
+
|
|
220
327
|
## Execution-reference admission (#1220 T2)
|
|
221
328
|
|
|
222
329
|
`Tasks.linkExecutionReference` admits deduplicated inert metadata using the current
|
|
@@ -250,6 +357,9 @@ Agent list reads return bounded, newest-updated compact pages built from public
|
|
|
250
357
|
|
|
251
358
|
Lifecycle policy can be off, advisory or enforced; this is separate from always-applicable role and privacy invariants. Plans, cost/check scope, review findings and external evidence retain their own typed provenance. Research campaigns and experiments likewise distinguish declared, host-observed and runner-attested facts instead of promoting prose to a signed result ([#481](https://github.com/STAIxBWLB/agent-hub/issues/481), [#932](https://github.com/STAIxBWLB/agent-hub/issues/932), [#1018](https://github.com/STAIxBWLB/agent-hub/issues/1018)). Detailed research contracts remain in the [campaign design](../specs/2026-11-01-research-campaigns-design.md).
|
|
252
359
|
|
|
360
|
+
|
|
361
|
+
Enabled lifecycle plans may retain a full base commit, excluded literal paths, stop conditions and ordered steps with verification text. Exclusions override broader includes in PR conformance, including the merge queue. Accept drift compares the base with the local remote-tracking default tip resolved through `refs/remotes/origin/HEAD`, without requiring a task head. Done drift compares the base with the unique merge-base of the recorded task head and that default tip, excluding own commits. Require the base to be an ancestor of the selected endpoint, recheck the default tip, and keep missing, shallow, ambiguous, reversed, foreign or incomplete evidence unknown. Use bounded hardened local-only Git and privacy-screened names; never fetch, use checkout HEAD or guess a default branch. Drift is advisory in every lifecycle mode, independent of the existing PR conformance approval gate. Verification text grants no execution authority. Off exposes no new plan schema or drift readback ([#1403](https://github.com/STAIxBWLB/agent-hub/issues/1403)).
|
|
362
|
+
|
|
253
363
|
When the specs policy is enabled, covering design specs participate in proposal/accept notices and completion/review reports. Report mode informs; require mode needs an updated spec or a recorded acknowledgement for each applicable unchanged spec. Commitless and verified no-change work remains quiet, and private evidence is withheld rather than exposed to satisfy a report. These modes preserve owner choice while making design drift visible ([#1064](https://github.com/STAIxBWLB/agent-hub/issues/1064)).
|
|
254
364
|
|
|
255
365
|
## Worktree shelf (#1057)
|
|
@@ -305,3 +415,39 @@ Fresh GraphQL review reads retain the original success proof: a CheckRun must be
|
|
|
305
415
|
COMPLETED with conclusion SUCCESS; a StatusContext must have state SUCCESS.
|
|
306
416
|
Common normalization cannot turn malformed fresh proof into admission. The shared
|
|
307
417
|
parser and cached evidence schema retain their existing contracts.
|
|
418
|
+
|
|
419
|
+
## Reviewer quota waits (#1446)
|
|
420
|
+
|
|
421
|
+
Automatic reviewer selection shares `review.gate` (default 0.8) across routing and explain using canonical-account projected headroom. Unknown/no-source readings skip by default (`review.unknown_quota = "skip"`). Explicit `pass` admits unknown readings but preserves the known numeric floor; an admitted unknown never participates in a quota wait. `review.gate = "off"` disables floor checks, unknown checks and every quota wait. Actual Budget/manual pauses and all other routing constraints remain binding. With a numeric gate, a quota-only exhausted pool may wait only when every declared candidate is actually paused or at the known floor and each has a known reset; other blockers prevent waiting. Persist task incarnation, opaque head/repo binding, first start and deadline in ordinary role history. The first `task_sweep.review_min` deadline is the sole hard cap; reset timestamps only wake a recheck (including Budget's existing reset plus 60-second grace), and later signals/restarts cannot extend the cap. Expiry or unknown under the skip policy returns to existing fallback. Head/private/close/stop changes cancel timers. Quota does not join the permanent per-head failure set. `review.max_minutes` defaults to 20; a child-specific generation fence and existing owned teardown produce a typed timeout without closing the task.
|
|
422
|
+
|
|
423
|
+
Quota deadline fallback and native input admission are separate: a person fallback needs no native readiness read, and a failed agent readiness read falls to the person under the same incarnation/head/privacy/recovery fence. `reviewer_quota` is required for a controlled recovery target when new wait/accounting history or explicit reviewer quota policy exists, including `review.gate = "off"` or any `review.unknown_quota` value (even default `skip`); it is not a blanket version floor.
|
|
424
|
+
|
|
425
|
+
## Advisor survey and rejection ledger (#1403 T7)
|
|
426
|
+
|
|
427
|
+
Only Tasks starts a survey or changes its private ledger. The person or current
|
|
428
|
+
configured conductor starts one read-only planner task at a pinned repository
|
|
429
|
+
commit. Assigned in-progress planner reports contain closed bounded findings
|
|
430
|
+
and explicit code-vetting decisions. High/medium vetted confidence yields one
|
|
431
|
+
backlog plan card per semantic repository/pass/id key; low yields a read-only
|
|
432
|
+
investigation. Candidates do not produce cards. Dedupe lookup, generation/flow
|
|
433
|
+
fences, ledger decisions and card creation share one Board transaction after
|
|
434
|
+
privacy screens; no source I/O or await occurs inside it.
|
|
435
|
+
|
|
436
|
+
False-positive review dispositions, rejected audit candidates, successfully
|
|
437
|
+
settled false-positive audit findings and survey rejections retain immutable
|
|
438
|
+
considered entries. Audit entries bind the stored rejection/settlement actor and
|
|
439
|
+
pinned audit source; a missing verifier reason uses "reason not recorded", never
|
|
440
|
+
the finder rationale. Fixed audit settlements do not enter this rejection ledger.
|
|
441
|
+
Matching uses the same semantic
|
|
442
|
+
id/positional exclusion convention as review recurrence. Repository identity,
|
|
443
|
+
source commit and literal affected paths scope suppression. A complete diff
|
|
444
|
+
clears only changed paths; unknown evidence never clears rejection. Explicit
|
|
445
|
+
planner vetted reason records reconsideration and permits a new card without
|
|
446
|
+
deleting historical rejection. Dedupe covers only open host-created cards. A closed approved/cancelled marker permits a new unsuppressed vetted card, whose screened detail names the prior "hub task N" and reopening reason; a closed card never clears an active rejection. Peer-authored marker copies confer no dedupe authority. Unknown path/ref records remain historical,
|
|
447
|
+
never invented unchanged proof. Public projections preserve existing security
|
|
448
|
+
and PII boundaries; internal repository keys are not public markers. Survey
|
|
449
|
+
arguments/results stay out of capture. Malformed tool reports are pre-effect refusals with a fixed field/rule and resend hint, without echoing caller values or unknown key text. Successful report mutations count as native task effects; show-only reads and refused parsing do not. Stored-data parser failures retain generic storage errors. Off exposes no new tool/task fields,
|
|
450
|
+
and no background scanner, timer or model judge is introduced. Live pilots
|
|
451
|
+
require the person's separate instruction.
|
|
452
|
+
|
|
453
|
+
Survey reports accept at most 64 candidates and 64 KiB per normalized request. A candidate has at most 64 literal paths (512 bytes each) and 2048-byte narrative fields. Generated card detail, including any reopening reason, is at most 8 KiB; oversized combinations refuse with a shortening next step. Historical readback returns at most 16 reasons per key; a 1000-row history window that cannot be read completely remains unknown and suppressed. The bounded 32-key/3072-byte brief is a summary, not a complete rejection inventory. `advisor_surveys` advertises parser/recovery support independently of lifecycle mode, but survey tools and task metadata are published only when enabled. Persisted survey or considered state requires that feature and its conditional integrity proof on recovery; empty legacy stores keep their existing format floor.
|
package/docs/dogfood.md
CHANGED
|
@@ -20,6 +20,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
20
20
|
| `ahub down` (counterpart of `ahub up`) | on: an alias of `ahub kill` for stopping this project's hub | the person stops the hub with `ahub down` and `ahub status` then reports it stopped; test/identity.test.ts keeps it person-only (`console`) and labelled `down`, and test/help.test.ts holds its help entry |
|
|
21
21
|
| Daemon startup timing and pending readiness (#1232) | isolated source/fixture coverage; the running development hub is unchanged until release and restart | one `startup timings ms:` line per completed startup; representative synthetic benchmark under 5 s with one streaming seed pass, no full-file event read and no abandoned snapshot body read; private copied-state observations and separate bounded rollup I/O are in the startup receipt; fake-clock and real owned-child tests cover the 12 s notice, late confirmation, cancellation and 120 s outer bound |
|
|
22
22
|
| Person takeover of a channel peer (#1174) | source and isolated fake-session coverage; active after release and plugin upgrade; no live handover receipt yet | one explicit takeover request, old next-tool person-detachment cause, standby attachment identity, no process stop or automatic delivery replay; fake CLI/console authority and stale-generation regressions |
|
|
23
|
+
| Conductor on the console peers panel (#1414) | on here after release: the peers panel labels the conductor beside the planner from the hub's settled flow roles; fixture coverage only (`test/planner-designation.test.ts`) | the console peer label agrees with `ahub status --json` `roleInfo.<peer>.flowRoles` for the conductor on this repository's hub |
|
|
23
24
|
| Owner attachment in detailed status (#1310) | on here, display only: `ahub status` and `ahub status --json` name the current owner of an attached channel peer (pid, attach time, native session or `unverified`), withheld from `status.json` and every non-console reader. Coverage is fixture-only so far: a fake hello pid, and the native session through agy `native_facts` fixtures. No live Kimi or Claude plugin attach has been observed | the share of pull-only queue incidents (a queued peer that does not answer) diagnosed from the owner line without inferring the owner from process start times, counted by hand from the incident notes until a record carries it; `test/owner-attachment.test.ts` for the lifecycle (attach, takeover, detach, roster removal, stop) |
|
|
24
25
|
| Encrypted rooms (#446 X1) | off; source-only crypto/wire, with no broker, room link, invitation CLI or delivery enabled | real WebCrypto vectors and negative wire fixtures; atomic memory fake ports establish ordering only; durable X3 state and the X7 two-machine person receipt remain unverified |
|
|
25
26
|
| Blind room broker (#446 X2) | off; standalone source/fixture work, no public TLS service or hub room link configured here | fake-client auth/fan-out/revocation/restart, ciphertext-only child-process canary, owner admission/offline room reset, queue caps/TTL/FIFO/migration, safe directory modes, and person-only CLI tests; live proxy/account/X7 receipts remain unverified |
|
|
@@ -64,6 +65,9 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
64
65
|
| Confirmation-point inventory (#999 T0) | source and test coverage; `ahub autonomy status` reads the inventory after this feature is released, with no default prompt change from the data alone | `test/confirmation-matrix.test.ts`: every adapter-catalog kind has a tool-approval and a classed-action row per environment, kinds facts equal the definitions, cited source lines exist; the `unknown` rows are the list T4's live receipt must close |
|
|
65
66
|
| Named CI and build-entry diagnostics (#1328 T2) | Source and fixture coverage; installed runtime adoption here is unverified | `test/required-check-blockers.test.ts` and `test/task-entry-blockers.test.ts`: named status checks, ordered actor/command guidance, pure routing parity, real eligibility and private projection |
|
|
66
67
|
| Repository required checks at init (#1328 T1) | This repository retains its native CI floor; discovery and empty enforce refusal run in isolated fixtures, never against the working configuration | `test/init-required-checks.test.ts`, init prompt/settings suites and settings read tests measure discovered names, bounded reads, zero-write refusal and running/file values |
|
|
68
|
+
| Planner pull routing diagnostics (#1430) | source and isolated fixtures; no live planner pull performed for validation | unreserved refusals retain each owner routing reason alongside WIP/hold detail, omit task text, and name hub_backlog_plan fields.reserved then pull again; backlog assignment gives the same next step |
|
|
69
|
+
| GSD migration guidance (#1431) | isolated init fixtures; this repository has no live GSD migration | advise/enforce init adds one pointer only for GSD frontmatter; no-marker output is byte-identical and .planning artifacts retain their bytes and modification times; docs command forms match help |
|
|
70
|
+
| Instructed conductor SDLC configuration (#1432) | off until a direct person instruction in the current conductor's own session; no live migration performed | `ahub sdlc configure` intent/result events record the actor and changed paths; measure saved off/advise/check-list edits, refusal reasons and pending restarts. Scoped host/control/CLI fixtures cover loader, audit, privacy, role/session and enforce boundaries; init and generic settings remain person-only |
|
|
67
71
|
| Project autonomy preset (#999 T1) | off on this repository until released and explicitly enabled by the person; project scope only | focused person-only, retained-consent, metadata-independent off and authenticated/fallback preset undo tests; the preset writes `action_policy.floor` (#999 T3) and off removes it; status leads with a peer table separating current modes from desired defaults, groups identical floor verdicts and unknowns once with peer lists (#1137), and reads each floor class from the host verdict (`floorEnforcement`), naming the unverified guard where the hub does not see the call first; the Orca zero-prompt native task remains T4 |
|
|
68
72
|
| 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 |
|
|
69
73
|
| 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 |
|
|
@@ -99,6 +103,11 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
99
103
|
| Console symbol-overlap advice (#684, #379) | on after release; read-only task detail, observed names only | other task IDs/shared paths and screened different-symbol verdict; no pair involving PII, no claim on unknown/incomplete evidence |
|
|
100
104
|
| Dashboard task sheet Code group (#684 phase 2c) | on after release; read-only, observed names only, none for a private task | task sheet Code group shows the changed symbols or `unknown (no code facts)`; symbol clicks that reach a non-empty graph once phase 3 lands |
|
|
101
105
|
| Review brief, review findings, Important gate (#481 S3) | advise | Important findings per PR, rounds to approval |
|
|
106
|
+
| Security finding boundary and finding origin (#1403 T1) | source and fixture coverage after merge and plugin upgrade (`test/security-findings.test.ts`); runs only with the lifecycle in `advise` or `enforce` (off refuses and does not advertise the fields); no live review has used them yet | per approval: the findings tally counts `needsValidation` and `preExisting` (shown by `ahub sdlc status` and the merge queue), and the follow-up cards filed (backlog cards whose detail starts `Finding follow-up key:`), which should be one per such finding and none for a repeated approval; refusals that name the four boundary fields show how often a security finding arrived without one |
|
|
107
|
+
| Security pass for sensitive paths (#1403 T2) | source and fixture coverage after merge and plugin upgrade (`test/security-pass.test.ts`); needs a `[security]` table in `.agenthub/sdlc.toml` and the lifecycle in `advise` or `enforce`, which this repository has not set yet (off, or no table, advertises and requires nothing); no live review has recorded a pass | per sensitive PR: the queue row's `securityPass` state at approval (`required` at approval means the reviewer was asked and did not record one), and how often a pass lists `not_covered` units; no pass is counted that names no unit |
|
|
108
|
+
| Security audit with a coverage ledger (#1403 T4) | source and fixture coverage after merge and plugin upgrade (`test/security-audit.test.ts`); needs a `[security]` table in `.agenthub/sdlc.toml` and the lifecycle in `advise` or `enforce`, which this repository has not set yet; no live audit has run (the live `quick` pass is #1403 T8 and needs the person's approval) | per audit: the unit counts by state (`ahub sdlc audit show`, also the `security audit` line of `ahub sdlc release`), how many units end `deferred`, the confirmed important findings that stay `candidate` for lack of a second reviewer, and the verified ones a second reviewer later settled `fixed` or `false_positive` (the `settled` count of `ahub sdlc audit show`) |
|
|
109
|
+
| Advisor surveys and considered findings (#1403 T7) | not invoked here; starts only on explicit person/conductor request, no live survey receipt collected | `ahub sdlc survey start` and `show <task>` record the share of vetted candidates that become deduped backlog plans/investigations, rejected-before suppression, unknown diffs and explicit reconsiderations. The survey pure/Board/Tasks/daemon/CLI fixtures cover synthetic admission, privacy and conditional recovery; fixtures do not establish native or live source-review acceptance |
|
|
110
|
+
| Conductor eligibility and the doctor roles row (#1408 T1) | source and fixture coverage after merge and daemon restart (`test/role-eligibility.test.ts`); this repository names no conductor (the shipped default), so nothing changes here; a project that named a headless or non-interactive conductor loses the role with a notice | `ahub doctor` shows one `roles` row per project, and a warning row means a conductor was ignored, no planner is eligible or reviews fall to the person; `roles.<peer>: conductor ignored` notices in `ahub status` count the projects that needed the fix |
|
|
102
111
|
| Anchored review comments and findings (#1056) | source and synthetic-fixture coverage; active after release and hub upgrade; the owner's live document package-format confirmation remains open | draft/edit peer turns (target 0); one envelope and one history count per explicit Send; anchored/moved/outdated/unavailable counts; console-only refusals and quote/body canaries in logs, capture and public views; immutable shared acon fixtures; explicit refresh, task-bound memory versus current-turn capture scope, pruned reviewer requests, refused terminal resend, anchored-batch sibling remember/propose refusals, invocation answers after mid-turn inbox pulls, actionable provenance refusals, anchored-submission final-answer/history canaries, same-session restart retention, real sessionless WsPeer handoff and ordinary-input release, unidentified earlier-SID holds and reconnect status, safe first-SID confirmation, legacy coverage completion and NULL-receipt pruning, corrupt-provenance status, clean new-session admission, evidence-backed sticky restored pull-only holds, saved-package recovery and final-only resolution regression fixtures |
|
|
103
112
|
| Memory sync health and write policy (#1173, #743) | source adoption of exact-pinned agent-mem 0.23.0 and isolated fixtures; not deployed here; AC4 bounded diagnostics available, AC5 result counts and host attestation; the daemon passes agent-mem's createPlacementAttestation on every sync pass and a refusal is the closed cause `writer` (fixture-tested; an activated store is not exercised here); legacy activation remains person-only; #1173 stays open; activation, live rollout and successful person-home sync unverified | automatic sync outcome/cause/count; SDK successful-placement result projection with withheld/exported counts (fixture seam; active-v3 sync unverified); legacy declined-sync refusal names inactive placement and the person-only activation preview; refused writer attestation names its category, cause class and next step; bounded SDK inspection of physical declined IDs and safe rule categories, with explicit incomplete results; one failure log per unchanged known signature; existing declined long-write and kept-short promotion fences |
|
|
104
113
|
| Spec acceptance (#481 S1) | advise | build entries without acceptance |
|
|
@@ -111,7 +120,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
111
120
|
| 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 |
|
|
112
121
|
| 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 |
|
|
113
122
|
| Per-head CI watcher and `ci_completed` (#785 P1b) | 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; no gh read outside a watcher |
|
|
114
|
-
| Plan conformance (#481 S2) | advise | PRs with files outside the plan |
|
|
123
|
+
| 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 |
|
|
115
124
|
| Test integrity for bug fixes (#481 S4) | advise | bug PRs without a red-first receipt, modified pre-existing tests |
|
|
116
125
|
| 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 |
|
|
117
126
|
| Merge-time PR readback, release metrics and security-scan baseline (#481 S7, AC12) | source and fixture coverage with a fake gh and real train transitions; the readback is on wherever auto merge is `on`, release metrics need shipped trains with recorded history, and the security scan and its bands stay off here until `[security_scan]` and `[bands.security_open_alerts]` are set | `cost` on merge records, `ahub sdlc metrics` review/CI-at-merge rows, the releases row of `ahub sdlc release`, `security_scans` rows and `security_open_alerts` cards |
|
|
@@ -150,7 +159,7 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
150
159
|
|
|
151
160
|
| Feature | State here | Measured by |
|
|
152
161
|
| --- | --- | --- |
|
|
153
|
-
| Quota budgets and pauses | on; this repository's hubs run the 0.99 gate from the machine-local `budget.gate` since 2026-11-07 (#1292), and projects created before #1292 still pin 0.9 in their tracked config until the key is removed | pauses, resets, time paused (#683); for #1292, the count of soft `budget_pause` rows per week before and after the change, and the window share each pause's `reason` names (`5h window at 99%`; a hard refusal names the provider instead). The ledger row has no numeric `used` field, so the share is read from that reason text |
|
|
162
|
+
| Quota budgets and pauses | on; this repository's hubs run the 0.99 gate from the machine-local `budget.gate` since 2026-11-07 (#1292), and projects created before #1292 still pin 0.9 in their tracked config until the key is removed | pauses, resets, time paused (#683); for #1292, the count of soft `budget_pause` rows per week before and after the change, and the window share each pause's `reason` names (`5h window at 99%`; a hard refusal names the provider instead). The ledger row has no numeric `used` field, so the share is read from that reason text; #1440 source/fake-clock fixtures prove a paused Codex account polls every 60 s, resumes only through Budget.evaluate, restores normal cadence and cancels on detach/stop; budget text/JSON exposes only count/time/flag diagnostics, credits never change admission, capped expiry remains unknown, and real account reset/credit-funded turns remain unverified; #1446 adds default review floor 0.8/cap 20 min, strict all-candidate known-reset wait, immutable deadline/restart/fallback and owned Kimi accounting fixtures. Native Kimi quota diagnostic is observed 2.2.0/unverified 2.5.2, reset unknown; live reviewer quota/reset remains unverified; #1467 synthetic admission/config/routing/budget fixtures measure off admitting missing/above-floor readings with zero quota waits, pass admitting unknown while preserving known-floor skips, actual/manual pauses remaining blocked, rule readback, and explicit-policy recovery refusal on unsupported targets. Neither opt-out has been applied to this repository's running configuration or verified with live accounts |
|
|
154
163
|
| Token usage per peer and task | `ahub report` and, from the roll-up in `hub.db`, `ahub usage [--by peer\|task\|issue\|pr\|release\|day\|model]`, `usage limits` and `usage total` (#683 U2); console tab `7` (U3) and dashboard Usage view (U4) shipped | tokens per merged PR |
|
|
155
164
|
| Operational settings mechanism (#489 H1) | available after release; this PR does not change this hub's running configuration; planner FYI interval defaults to the existing 10 minutes | shared descriptor/schema/UI/apply parity, independent legacy-default pins, real planner-notice boundary and settings inherit/undo/reload fixtures; native console/dashboard editing remains unverified |
|
|
156
165
|
| Recovery and upgrade wait settings (#489 H4, task 445) | available after release; this PR does not change this hub's running configuration: the five `recovery.*` settings default to the waits they replace (managed attach 600 s, unmanaged reconnect 90 s, control request 30 s, shutdown 30 s, terminal idle 120 s) and nothing is set in this repository's config | every default equals its old constant (pinned with independent literals), every person-visible wait refuses a value below what shipped, a bad or unreadable file is the default and never an error inside a recovery, the coordinator reads both layers and the file at each wait, and inherit and undo go through the local file; the waits' use inside the real recovery driver (a configured value changing an actual attachment, shutdown or control wait) is covered only as far as the tests in this PR reach, and no real upgrade was run with a configured value |
|
|
@@ -182,6 +191,9 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
182
191
|
| `ahub init` settings flags (#1065 T1) | on wherever a person runs `ahub init`, new or existing project; fixture coverage only (the real CLI against scratch projects and a scratch hub home). The guided prompt (T2) and the specs rows (T3) are not built, and a person using the flags on a real project is not yet recorded | each `--dry-run --json` `settings` row is a change a person asked for (key, file, old and new value), `ahub init` refusals name the allowed values, and `git diff` of `.agenthub/config.json` after an init with flags shows only the named keys |
|
|
183
192
|
| Runnable person commands and the single-source AGENTS block (#1399) | on after release and upgrade: hold notices, `ahub status` and `ahub queue show` print the full `ahub queue resolve` command; this repository's block is the template. A project initialised earlier keeps its old block until `ahub init` runs there; fixture coverage only, no live relay to a person measured | `test/person-command.test.ts`: the hold notice's command passes the CLI argument rule with id, revision, action and reason; every profile renders every template bullet; a stale block is detected and refreshed with surrounding text kept. `ahub doctor` row `hub instructions` on a real project |
|
|
184
193
|
| Init research default and completion guidance (#1328 T6) | available at init; live new-project adoption unverified, fake-HOME fixtures only (`test/init-settings.test.ts`, `test/init-prompt.test.ts`, `test/autonomy-defaults.test.ts`, `test/setup-research.test.ts`); no real setup or settings were changed by this task | new-project effective `research.enabled` equals the trusted explicit setup choice unless an init flag overrides it; init preserves the machine defaults bytes; ordinary setup leaves research unchanged; successful-init output names commit/start and advise/enforce person steps, with no next-steps block on a preview or refusal |
|
|
194
|
+
| Tracked or untracked hub config at init (#1411 T1) | on here: this repository tracks `.agenthub/config.json` (#1412) and `.agenthub/sdlc.toml` (hub task 905, the #1411 follow-up), with `routing.toml` left local; `--track-config` / `--no-track-config` and the prompt question run in scratch git repositories only (`test/init-track-config.test.ts`). A person choosing either on a real new project is not yet recorded | `git ls-files .agenthub` after an init with each choice (the shared files committed, or none); `ahub init --track-config` refusals naming the ignore rule with nothing written; the AGENTS block's roles sentence matching the choice; a key set in both `config.json` and `config.local.json` read as the local value |
|
|
195
|
+
| `ahub roles` and the doctor shared-config row (#1411 T2) | on here after release and upgrade: this repository tracks `.agenthub/config.json`, so the doctor row should read `tracked`; `ahub roles` from a `.worktrees/` checkout reads the main worktree's hub. Fixture coverage only (`test/roles-output.test.ts` with a fake hub and a linked worktree, `test/init-track-config.test.ts` for the doctor row) | `ahub roles --json` from a task worktree equal to the project root's; the `shared config` doctor row on this repository reading `tracked` |
|
|
196
|
+
| Conductor, planner and reviewer at init (hub task 900, #1408 T2) | available at init; this repository's roles are already set in its tracked `.agenthub/config.json`, so it is not run here; fixture coverage only (`test/init-roles.test.ts` against scratch projects, the guided prompt in `test/init-prompt.test.ts`). A person choosing roles on a real new project is not yet recorded | `ahub init --conductor/--planner/--reviewer --dry-run --json` shows only `roles.<peer>` rows for the peers whose roles change; an ineligible choice (a headless conductor, a kind that cannot plan or review) is refused with the reason and the eligible peers and nothing written; `ahub roles` and the doctor `roles` row after the init name the chosen holders |
|
|
185
197
|
| Jcode usage and context readings (#801) | source/fixture coverage and one isolated live probe of 0.99.1 against a fake gateway (docs/verification/2026-10-28-jcode-0.99.1-usage.md); a real account and provider remain unverified; no native quota reader (Jcode gives no window length) | `ahub status` and the dashboard show `jcode_usage_update` occupancy, `ahub usage` and `ahub report` rows for source `jcode_acp`, and `ahub budget` still says `no reading` for Jcode |
|
|
186
198
|
|
|
187
199
|
## Operations
|
|
@@ -200,9 +212,10 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
200
212
|
| Cross-hub read invocations (#446 X6) | off until both persons expose peers and independently pin the exact capability/digest/read class; discovery is manual; two-daemon broker/crypto fixtures are the verification target, live X7 receipts remain unverified | source/target invocation ids, request admission versus capability result and result transport outcomes; needs_review counts and no duplicate native dispatch |
|
|
201
213
|
| Headless amem Records (#1320) | source and disposable fixtures only; off in the running hub until release/upgrade and coordinated shared-home upgrades; production source uses the exact 0.23.1 policy API; no native/provider-backed receipt | Record capture accepted/dropped counts, forwarded answer/digest bytes, injected brief/recall bytes; proven saved-ID/anchor overlap compaction, unchanged unrelated notes, privacy/owner/steering fences and restart fallback in `test/headless-record*.test.ts` |
|
|
202
214
|
| Research record v2 and dataset export (#1277; person, memory and budget hand-off blocks #1278, #1279, task 802) | off here: `research.enabled` is not set in this repository's config; source and fixture coverage after merge (`test/research-record-v2.test.ts`, `test/research-quality.test.ts`, `test/research-dataset*.test.ts`: a real `hub.db` with hand-computed blocks, the privacy canary and the CLI over two registered projects); no live research pilot has run | `ahub research export --dataset <dir>` then `quality.json`: per-field `unknown` share (a share near 1 for a block means its source is not reaching the record), token attribution share, quota gaps |
|
|
215
|
+
| Observed model per turn (#1402 T1 to T5) | source and fixture coverage after merge and release; the running hub reports it after upgrade and restart. Live per-agent ids are unrecorded (no model call was made for it), so each agent's source below is from its native schema or the repo's receipts | the share of approved tasks whose owner model is known at `served` or `session` grade: `ahub research` prints `owner model known (served or session): N of M tasks`, and `by model` stops reading `unknown` for them (a `configured` grade counts as a model but not toward that share). `ahub status` and `ahub model list` show the last observed model with its grade (`observed (served)` / `observed (session)`) in place of `not reported` when no override, instance, launch or native baseline model is known. Sources: Codex thread/start and `model/rerouted`, Claude print `modelUsage`, ACP `currentModelId`, Pi `get_state`, Antigravity hook `modelName`; records written before #1402 stay `unknown` until `ahub research backfill` |
|
|
203
216
|
| Dogfood scorecard (#687) | on after release; read-only weekly receipt | `ahub report --dogfood --since 7d --json`; bounded evidence and explicit unknowns |
|
|
204
217
|
| Claim verdicts and fact_check provenance (#901) | source/fixture coverage; the live research pilot (a person entering verdicts with `ahub task claim`) remains unverified | `ahub report --dogfood` research rows: `claims.reachedPersonVerdict`, per-slot `personVerdict`/`modelLabel`/`agreement`, `factCheck.selection`/`passed`/`failed`/`missingKeysPerRun`; null until a verdict or a keyed check is recorded |
|
|
205
|
-
| Claim evidence links (#931 T1) | source/isolated fixtures after merge; this dev-profile repository publishes no evidence writer and has no live research evidence pilot |
|
|
218
|
+
| Claim evidence links and synthesis readiness (#931 T1-T3) | source/isolated fixtures after merge; this dev-profile repository publishes no evidence writer and has no live research evidence pilot | Unicode scalar offsets, complete/version-bound projections, duplicate-origin groups and private-upgrade readback; explicit offline manifests bind registered artifact hashes and the complete latest-link inventory; ready-then-new-counterevidence, changed claims/projections/artifacts, missing judgments, open/withdrawn historical contradictions, person disposition and privacy-race fixtures; separate citation/provenance/judgment statuses never certify truth; live research acceptance remains unverified |
|
|
206
219
|
| Research campaigns (#930 T1) | source and CPU-only fixtures; no real campaign here; the public study CLI and tools are the T3 row below | draft versus child counts, stable unit/task ids across approved revisions and restart, intake reuse, stale role/source/revision refusals, private views, rollback and research_records recovery floors; no live/model receipt claimed |
|
|
207
220
|
| Study CLI, tools and readback (#930 T3, #601) | Fake peers and a real daemon over its control socket, plus the real `ahub` process against that daemon; no native peer or live model has run a campaign here, so fake versus native evidence stays separate (the `research-live-example` claim in docs/profiles.md is still open) | `test/study-daemon.test.ts` (person's draft, approve and close; no agent reaches an approve or close op; planner drafts and cannot approve; read-only show; a private source shows no source id, question, scope or path; handoff only from the bound owner with every missing field named; the three-source, two-peer example moving from none to incomplete to complete), `test/output-cli.test.ts` (parse before connecting, `--json` byte for byte), `test/study-guidance.test.ts` (guidance names only published tools) |
|
|
208
221
|
| Research dispatch and coverage (#930 T2) | Source/isolated fixtures only; no live research campaign | `test/research-dispatch.test.ts` and projection/recovery fixtures: no expired/revised dispatch, named-budget coverage, handoffs and shared ledger |
|
|
@@ -234,9 +247,9 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
234
247
|
| Budget window kinds and notes (#285 phase 4) | on after the release; `ahub budget`, the console peer detail, the dashboard Usage budgets row and `ahub doctor` (`kimi usage source`) run here | each window shows its kind and source, a peer without a number says why (Pi, local and Kimi included); a manual `ahub budget set` value outranks the Kimi count at the gate; the doctor row reads ok while the wire log counts |
|
|
235
248
|
| Settings reload | on | reloads applied, pending restarts |
|
|
236
249
|
| Config editing from the console and dashboard (#689) | on after release; `ahub settings edit` and console key `c` run here, the dashboard Structure group needs `ahub ui --settings`; executable keys stay console only | `config_edit` events (edits applied by tier and source), refusals shown with the loader reason, restarts left pending |
|
|
237
|
-
| Upgrade and recovery | on, per release | upgrade receipts in `docs/verification
|
|
250
|
+
| Upgrade and recovery (#1426) | on, per release; new launch-refusal diagnostics and target-version preflight have synthetic coverage only until release, no live restoration receipt yet | upgrade receipts in `docs/verification/`; red AC2 exhausts virtual 600000ms on old code, refusal/resume fixtures retain Pi and Codex conversations and typed causes; no real native/account call |
|
|
238
251
|
| Office planning view (#264 phase 5) | source/fixture implementation; available after release when the person selects Flat or Isometric (Off by default); the live two-agent, both-theme AC9 browser look remains unverified | `test/office-model.test.ts` pins Backlog count/order/cap, reserved/pin/waits and release/planner metadata; `test/office-view.test.ts` pins dock and overflow navigation, keyboard access, stable wall-to-To do card nodes, geometry, reduced motion and light/dark token contrast; served-page raw/gzip deltas are measured against the PR merge base |
|
|
239
|
-
| acon console plugin (#935) | off here until a person runs `ahub setup` after the release and `acon ui` on this machine; the plugin registers per agenthub home, not per repository | `acon plugins` shows `ahub verified`; the console's agent-hub panel shows this repository's live board, and an approval answered from the console inbox appears in hub.log as `answered option allow_once by dashboard`. Space (#1012): adopted with the plugin, no separate switch; acon's Space view (Flat, Room, 3D) shows this repository's peers as actors (state and marks matching the dashboard's office), the board columns as queue/work/review/done zones with the same counts, and overlap links plus message arcs (broadcasts to every other desk) as links; clicking an actor or card opens this project's agents or board panel; incremental Space (#1380) keeps a daemon cursor and OfficeScene per project, coalesces concurrent reads and caches the running listing for 10 s, refreshing it in the background on a later poll. A viewer holding the combined cursor receives `changed:false` when the public scene, per-project cursors and membership are unchanged, including wall-clock message-link expiry. `test/acon-space-1380.test.ts` pins unchanged replies, changed-project reads, listing refresh, restart/refusal and privacy; current daemons still return full office bodies even with a cursor, so wire/body savings and the live console warm p95 remain unverified |
|
|
252
|
+
| acon console plugin (#935) | off here until a person runs `ahub setup` after the release and `acon ui` on this machine; the plugin registers per agenthub home, not per repository | `acon plugins` shows `ahub verified`; the console's agent-hub panel shows this repository's live board, and an approval answered from the console inbox appears in hub.log as `answered option allow_once by dashboard`. Space (#1012): adopted with the plugin, no separate switch; acon's Space view (Flat, Room, 3D) shows this repository's peers as actors (state and marks matching the dashboard's office), the board columns as queue/work/review/done zones with the same counts, and overlap links plus message arcs (broadcasts to every other desk) as links; clicking an actor or card opens this project's agents or board panel; incremental Space (#1380) keeps a daemon cursor and OfficeScene per project, coalesces concurrent reads and caches the running listing for 10 s, refreshing it in the background on a later poll. A viewer holding the combined cursor receives `changed:false` when the public scene, per-project cursors and membership are unchanged, including wall-clock message-link expiry. `test/acon-space-1380.test.ts` pins unchanged replies, changed-project reads, listing refresh, restart/refusal and privacy; current daemons still return full office bodies even with a cursor, so wire/body savings and the live console warm p95 remain unverified. A project is a Space group since #1375: the scene declares one group per project, every actor, zone and card carries its group, actor names carry no project prefix, and an actor adds the project's configured roles (at most 4 names of 32 characters) and `since` (the open turn's start, only while the actor is working, because no other state has a change time here); the trim follows acon 0.2.0 (actors 96, groups 200, cards 200, links 128) and the manifest declares `inboxMaxAgeMs` 1000 and `spaceMaxAgeMs` 2000, one poll interval. `test/acon-plugin.test.ts` checks the mapped scene with acon's own `spaceSceneProblems` and pins each cap against acon's own number. The first cold inbox call (#1375 AC6) measured 1.0 to 1.1 s here with 21 registered projects, split into 74 ms of plugin load, 628 to 740 ms for the first project listing and 250 to 319 ms for the project `agents` snapshots; a poll inside the 1 s fresh window costs 0 ms and one with the cache bypassed 258 ms. So the cold cost is the listing, which the inbox does not reuse (Space does), plus one snapshot per project, and the ~2 s observed is the per-project snapshot budget (`inboxProjectBudgetMs`) a slow project is waited out on, a project that misses it adding no rows to that first poll; #1375 left the inbox path unchanged. The live acon `perf-snapshots` measurement (AC7) stays a person-run leg and is unverified |
|
|
240
253
|
| Agent CLI version policy and trust (#691) | on after the release: Codex 0.163.0 verified by the [2026-10-22 receipt](verification/2026-10-22-codex-reviewer-isolation.md) and 0.164.0 by the [2026-10-24 receipt](verification/2026-10-24-codex-0164-reviewer-isolation.md); Kimi 2.3.0 and Qwen 0.26.0 verified by the [model-free receipt](verification/2026-10-22-kimi-qwen-compat.md), Kimi 2.3.1 by the [2026-10-25 model-free receipt](verification/2026-10-25-kimi-231-reviewer-compat.md) and 2.3.2 by the [2026-10-26 one](verification/2026-10-26-kimi-232-reviewer-compat.md), with account/provider live legs unverified; Qwen basic ACP 0.27.0 has a [macOS arm64 account-free receipt](verification/2026-11-09-qwen-0270-acp.md), while historical setter A/B/B has an unknown third-request purpose; the [suggestions-off repeat](verification/2026-11-11-qwen-setter-suggestions-off.md) passes ordinary A/B/A on 0.26.9/0.27.0, with production setter admission still unavailable; agy exact 1.5.3 has an [account-free receipt](verification/2026-11-08-agy-1.5.3.md); effective after release and upgrade, with the 1.4.x line unchanged | model-free isolation receipts, `ahub agents` verdicts, versions trusted per machine, lead time from an `agent-compat` issue to a receipt |
|
|
241
254
|
| Peer child environment isolation (#1077) | source and fixture coverage; no native account or Orca session used | daemon peer children, version probes and process-table helpers contain no `ORCA_*`; person-owned native launches keep their fixture pane's `ORCA_*` context while replacing agent identity; explicit Claude/Codex selectors pass through where the adapter inherits them; preload clears ambient selectors without changing fixture home bytes |
|
|
242
255
|
| Qwen's own TUI over dual output (#286 Part 3) | live dual-output TUI use here is unverified; source/account-free fixtures only. The limits (a hub deny completes its known delivery without an answer but fences later input until a new personal turn or verified generation; a stalled turn is stopped only with Esc in the Qwen terminal) are for the person at that terminal to accept. Verified on Qwen 0.26.1 under an isolated HOME by the [2026-10-25 receipt](verification/2026-10-25-qwen-dual-output-t0.md); the live account leg is the person's. The [2026-11-10 fixture receipt](verification/2026-11-10-qwen-0270-dual-output.md) passes required normal-Bus Q2 and Q3/Q5/Q6/Q7 on matched private 0.26.1/0.27.0 on macOS arm64, qualifying exact dual-output 0.27.0 after release; the [0.27.1 receipt](verification/2026-11-10-qwen-0271-dual-output.md) repeats it on exact 0.27.1 against matched 0.27.0; real-model/Linux/live-here use remain unverified | `test/qwen-dual.test.ts` against a fake dual-output Qwen; fixture Q2 final USER/Stop/ordinary-provider counts 2/2/2, five Q3 cases, Q5/Q6/Q7 and final closure; in real use `ahub status` stalled/detached notices per peer and the `needs_review` count of Qwen deliveries (an Esc or an exited terminal ends a turn that way; a deny completes while its durable input fence remains). Task 859 fake controls measure zero second submits before recovery proof and offline at the 30 s operational deadline; no native deny-completion ACK is qualified |
|
|
@@ -253,7 +266,8 @@ agent-hub is developed with agent-hub. This page lists every feature, whether it
|
|
|
253
266
|
|
|
254
267
|
## Decisions
|
|
255
268
|
|
|
256
|
-
- 2026-10-22: SDLC mode `advise` (`.agenthub/sdlc.toml`, machine-local). Move to `enforce` after one week of advise data, when the person decides that the false-blocker rate is low. Record the decision here.
|
|
269
|
+
- 2026-10-22: SDLC mode `advise` (`.agenthub/sdlc.toml`, machine-local at the time; tracked since 2026-11-13, see below). Move to `enforce` after one week of advise data, when the person decides that the false-blocker rate is low. Record the decision here.
|
|
270
|
+
- 2026-11-13: `.agenthub/sdlc.toml` is tracked like `.agenthub/config.json`, and `routing.toml` stays local. The daemon fixtures that start at this checkout root supply their own lifecycle config, so this repository's mode no longer changes their output (hub task 905, the #1411 follow-up).
|
|
257
271
|
|
|
258
272
|
## Weekly scorecard
|
|
259
273
|
|
package/docs/events.md
CHANGED
|
@@ -40,13 +40,13 @@ marked `private: true`, and PII tasks `pii: true`.
|
|
|
40
40
|
| `visual` | `id`, `kind` (`mermaid`, `comparison`, `table`, `beforeAfter`), payload UTF-8 `bytes`, image `files` count, optional numeric `task`: a bounded public visual was stored (#1058). Never the title, source, comparison/table text, path or image bytes. Ordinary delivery records carry only the visual stub and id. |
|
|
41
41
|
| `native_thread` | `peer` (`codex`), `thread` (its native thread id), `fresh` (`true` when the TUI started the thread, `false` when it resumed one): each thread the Codex adapter adopts, before any turn on it. The upgrade planner reads it: a thread with no rollout that the hub saw start, with no `turn_start` since, is planned as a fresh start (issue #215) |
|
|
42
42
|
| `turn_start` | `peer`, `turn` (`<peer>#<hub run>.<n>`, unique across restarts). A turn follows the adapter: pausing a busy peer does not end it |
|
|
43
|
-
| `turn_end` | `peer`, `turn`, `ms`, `tokens` (when the adapter reported any during the turn), `files` and `snapshotMs` (when snapshots are on: how many files the turn changed, and the time both snapshots took); optional numeric `task`, `attribution` (`delivery`, `single_open`, `unattributed`) frozen at turn start, `pii: true` for an attributed PII task |
|
|
43
|
+
| `turn_end` | `peer`, `turn`, `ms`, `tokens` (when the adapter reported any during the turn), `files` and `snapshotMs` (when snapshots are on: how many files the turn changed, and the time both snapshots took); optional numeric `task`, `attribution` (`delivery`, `single_open`, `unattributed`) frozen at turn start, `pii: true` for an attributed PII task; optional `model` and `modelEvidence`, both or neither (#1402): the model id the adapter observed for the turn, with how it was learned, strongest first: `served` (the provider or the native transcript named it for this turn's responses), `session` (the native session's current model id), `configured` (only the hub's own override or launch flag is known). An alias is recorded as the native surface reported it, never expanded; a label that fails the safe-label check is dropped with its evidence |
|
|
44
44
|
| `tokens` | `peer`, `n` (tokens added since the previous report), optional `source: kimi_wire` and opaque `id` (the native row, used to keep a partial-write retry exactly once), optional numeric `task`, `attribution` (`delivery`, `single_open`, `unattributed`), `pii: true` for an attributed PII task |
|
|
45
45
|
| `usage` | `peer`, `source` (`omniroute`, `claude_transcript`, `claude_result`, `codex_appserver`, `kimi_wire`, `jcode_acp`, `agy_transcript`), opaque `id`, optional `measuredAt` (provider/source time), the `requestedModel`, `servedModel` and `provider` labels, and any provider-reported counters (`inputTokens`, `outputTokens`, `cacheReadTokens`, `cacheWriteTokens`, `reasoningTokens`, `totalTokens`); optional numeric `task`, `attribution` (`delivery`, `single_open`, `unattributed`), `pii: true` for an attributed PII task. Missing counters stay unknown. |
|
|
46
46
|
| `task` | `id`, `event` (the board history event, e.g. `proposed`, `assigned`, `done`, `check failed`, `blocked`, `ready`), `by`, `state`, `owner`, `reviewer`, `class`, `pii`, and `reason` when the board recorded a move reason (`manual`, `budget`, `offline`, `idle`, `rejections`, `declined`, `inference_failed`, `delivery_failed`). The research record (docs/research.md, #1277) reads these for every terminal task, approved or cancelled; no new event type was added |
|
|
47
47
|
| `overlap` | `task`, `owner`, `others` (`task`, `owner`, `paths`, and `symbols` when plans name the same symbol; a name that matches a PII pattern is left out, so either list can be empty), the structured twin of the console notice |
|
|
48
48
|
| `permission_mode` | `peer`, `from`, `to` (`ask`, `ask-when-needed`, `never-ask`): a person set a peer's permission mode (`from` equals `to` when it was already in force) or confirmed a never-ask default (issue #242) |
|
|
49
|
-
| `settings` | `key` (a registry key such as `permission.kimi` or `routing.classes.implement.peers`), `from`, `to` (the value before and after: the one in force for a setting that applies at once, the stored one for a setting read at a start; a closed word, a boolean, a list of peer ids, a route id, or null for none), `source` (`dashboard`, `terminal`, `conductor`), optional `peer` and `reason`, and `undo: true` for an undo: a person changed a setting from the dashboard or `ahub settings` (issue #269). A mode change also writes its `permission_mode` event |
|
|
49
|
+
| `settings` | `key` (a registry key such as `permission.kimi` or `routing.classes.implement.peers`), `from`, `to` (the value before and after: the one in force for a setting that applies at once, the stored one for a setting read at a start; a closed word, a boolean, a number, a list of peer ids, a route id, or null for none), `source` (`dashboard`, `terminal`, `conductor`), optional `peer` and `reason`, and `undo: true` for an undo: a person changed a setting from the dashboard or `ahub settings` (issue #269). A mode change also writes its `permission_mode` event |
|
|
50
50
|
| `permission` | `id`, `peer`, `event` (`requested`, then one of `answered`, `expired`, `cancelled`) and, on the closing event, `latencyMs`, `surface` (`console`, `dashboard`, `terminal`: where a person answered; absent when the hub closed the request) and `option` (the kind of the option chosen: `allow_once`, `allow_always`, `reject_once`, `reject_always`): one approval request relayed to the console and how it ended. `expired` is `approvals.timeout_s` without an answer. `cancelled` with a `surface` is a person's deny in the console or by `ahub permit <id> deny` (a deny on the dashboard is `answered` with a reject option); without one, the hub withdrew the request (its call or turn ended, the peer was stopped, or the hub is stopping). Never the title or the tool. 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. |
|
|
51
51
|
| `question` | `set`, `peer`, `event` (`asked`, `answered`, `pending`, `superseded`, `cancelled`, `expired`, `unavailable`) and, where they apply, `latencyMs`, `person` (only with `surface: acon`: the console's verified identity, one bounded line), `surface` (`terminal`: `ahub answer`; `console`: the `A` key; `dashboard`: reserved, no surface sets it today; `acon`: the plugin's answer with the console's person meta), `reason` (`superseded`, `stopped`, `turn_aborted`, `session_changed`, `expired`, `unattended`), `questions` (a count) and `private`: one question a peer asked the person through `hub_ask` and how it ended (#1053). Never a prompt, an option, an answer or any other text. The attention need a question raises (`question`, in `status.needs` and `attentionItems`) is not an event: it carries the set id, the peer and the time only. 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. A question answered after the hub restarted while it was open (or after the bounded map dropped it) is `unattributed`, never the peer's task of the moment: the opening answer lives in memory only; `pii: true` when that task is PII. Ids and a closed word only. |
|
|
52
52
|
| `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. |
|
|
@@ -59,7 +59,7 @@ marked `private: true`, and PII tasks `pii: true`.
|
|
|
59
59
|
| `quota_reset` | `peer`, `window`, `cause` (`resets_at_moved`: the window's `resetsAt` moved forward by more than 15 minutes, since a provider's `resetsAt` wobbles by seconds inside one window; `used_dropped`: `used` fell by 0.5 or more inside one window id), `resetsAt`, `previousResetsAt`, `used`, `previousUsed`, optional `measuredAt`. Derived from two readings, one entry per peer, window and `resetsAt`, also across a restart. |
|
|
60
60
|
| `conflict` | `peer`, `task` (its task in progress, when it had one), `other` (the other owner's open task), `owner`, `paths` (names that match a PII pattern left out, so it can be empty), `concurrent` (another peer worked during the turn), `turns` (the two turn ids, when two overlapping turns' snapshots both hold the change) |
|
|
61
61
|
|
|
62
|
-
The hub also writes `release_authorization`, `role`, `config_edit`, `invocation`, `attach` and `planning` events, and optional fields not listed above; `HubEvent` in `src/hub/events.ts` is the full schema.
|
|
62
|
+
The hub also writes `release_authorization`, `role`, `config_edit` (for an instructed `ahub sdlc configure`, #1432: `by` names the session that ran it, `source` is `conductor` when that was not the console user, and `instructionClaim: person_direct_instruction`), `sdlc_config_instruction` (`by`, the key `paths`, `instructionClaim`; no value: the intent record written before that edit, which writes nothing if it cannot be retained), `reviewer_accounting` (`peer` as the account, an opaque `attempt` id and `outcome` `started`, `complete` or `unknown`: an owned reviewer run on the Kimi account, whose `kimi_wire` usage counts toward `budget.kimi_tokens_5h`, #1466; never a native session, home or model text), `invocation`, `attach` and `planning` events, and optional fields not listed above; `HubEvent` in `src/hub/events.ts` is the full schema.
|
|
63
63
|
|
|
64
64
|
Token usage by adapter:
|
|
65
65
|
|