@staix/agent-hub 0.37.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 +55 -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/guidance-probes.md +365 -0
- package/docs/design/task-board.md +151 -5
- package/docs/dogfood.md +22 -7
- package/docs/events.md +3 -3
- package/docs/memory.md +5 -5
- package/docs/operations.md +189 -32
- package/docs/profiles.md +101 -9
- package/docs/quickstart.md +38 -4
- package/docs/research.md +6 -3
- package/docs/roles.md +52 -0
- package/docs/sdlc.md +187 -1
- package/docs/security.md +56 -13
- package/docs/text-projection.md +1 -0
- package/docs/verification/2026-11-11-0.38.0.md +41 -0
- package/docs/verification/2026-11-11-guidance-probe-t3-1226.md +85 -0
- package/docs/verification/2026-11-11-guidance-probe-t4-1226.md +65 -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 +1989 -474
- package/plugins/agent-hub/server.js +2056 -512
- 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 +3 -2
- 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-probe.ts +65 -6
- 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 +141 -17
- package/src/cli/main.ts +216 -56
- package/src/cli/model.ts +1 -1
- package/src/cli/output.ts +64 -5
- 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 +41 -3
- 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/bus.ts +2 -2
- 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 +373 -66
- package/src/hub/deliverable-files.ts +17 -1
- package/src/hub/dogfood-profile.ts +3 -2
- package/src/hub/envelope.ts +6 -1
- package/src/hub/events.ts +23 -2
- package/src/hub/folder-trigger.ts +11 -4
- package/src/hub/guidance-probe-store.ts +345 -14
- package/src/hub/guidance-probes.ts +338 -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/manager.ts +24 -1
- 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 +8 -2
- package/src/hub/operational-view.ts +5 -1
- package/src/hub/peers.ts +2 -0
- package/src/hub/person-command.ts +25 -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/supervision.ts +3 -2
- package/src/hub/synthesis-readiness.ts +279 -0
- package/src/hub/tasks.ts +1131 -72
- package/src/hub/text-projection.ts +11 -1
- package/src/local/probe-types.ts +2 -0
- package/src/local/probe-workspace.ts +191 -2
- package/src/memory/capture.ts +2 -1
- package/src/ui/guidance-panel.ts +34 -2
- package/src/ui/guidance-view.ts +33 -0
- 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 +31 -14
- package/templates/AGENTS.block.md +14 -14
- package/templates/profiles/general.json +1 -1
- package/templates/profiles/research.json +1 -1
- package/templates/profiles/writing.json +1 -1
package/docs/operations.md
CHANGED
|
@@ -85,9 +85,13 @@ minus its four-column indent and remain uncolored.
|
|
|
85
85
|
|
|
86
86
|
`ahub help`, `ahub --help` and `ahub -h` print the commands grouped by section;
|
|
87
87
|
`ahub help <command>` prints only that command's entries, and so does
|
|
88
|
-
`ahub <command> -h` (or `--help`) when the flag is the only argument
|
|
88
|
+
`ahub <command> -h` (or `--help`) when the flag is the only argument, and
|
|
89
|
+
`ahub <command> <sub> -h` when the help lists that subcommand (#1433); anywhere else
|
|
89
90
|
it is an ordinary argument, and `ahub claude` and `ahub codex` pass it on to the
|
|
90
|
-
agent.
|
|
91
|
+
agent. `ahub task propose`, `ahub goal new` and `ahub task handoff` refuse a
|
|
92
|
+
title word that starts with `--` and is not one of their flags, or is `-h`,
|
|
93
|
+
naming the word and the usage before anything is filed; put a lone `--` before
|
|
94
|
+
text that starts with dashes. An unknown command
|
|
91
95
|
prints `unknown command "<name>"; run ahub help` and exits non-zero. Usages start
|
|
92
96
|
at two spaces and descriptions at one fixed column, wrapped at word boundaries to
|
|
93
97
|
the terminal width, read as at least 80 and at most 100 columns.
|
|
@@ -211,7 +215,7 @@ Home/End sequences is that many key presses, so a held key repeats its move. Hom
|
|
|
211
215
|
or `<` jumps to a panel's first row and End or `>` to its last; the Events tab
|
|
212
216
|
follows new events while the last row is selected and stays on a row you moved to.
|
|
213
217
|
`w` opens the dashboard outside the Peers tab; in Peers it edits the selected
|
|
214
|
-
peer's WIP limit. `:ui --all` works on the command line too. In the Peers tab the planner's row reads `(planner)`, and
|
|
218
|
+
peer's WIP limit. `:ui --all` works on the command line too. In the Peers tab the planner's row reads `(planner)` and the conductor's `(conductor)`, both when one peer holds the two (`claude (conductor, planner)`, #1414), and
|
|
215
219
|
`l` then `y` makes the selected peer the planner (`ahub settings set planner <peer>`). In the Events
|
|
216
220
|
tab a row's header line is tokenized and coloured exactly as the same event in
|
|
217
221
|
the stream; only the header is tab-flattened before tokenizing. Body lines retain
|
|
@@ -461,8 +465,9 @@ the time); `dispatching` and `accepted` deliveries stay refused, and `retry` kee
|
|
|
461
465
|
generic sentence (#713). A failed row that a resolution already settled (for
|
|
462
466
|
example the parent of a retry, whose redelivery is a separate row) is refused as
|
|
463
467
|
`already resolved`, never `stale revision`. `ahub queue show` on a failed row says
|
|
464
|
-
that nothing is left to do, or, if the row is unsettled, prints the `ahub queue
|
|
465
|
-
resolve
|
|
468
|
+
that nothing is left to do, or, if the row is unsettled, prints the full `ahub queue
|
|
469
|
+
resolve` command with the project directory, revision, `--action discard` and a
|
|
470
|
+
prefilled reason, and names `completed` as the other choice (#1098, #1399).
|
|
466
471
|
|
|
467
472
|
`ahub queue discard --peer <id> --reason <text> [--state queued|needs_review|failed] [--yes] [--json]` clears one peer's backlog and is for the person or the configured conductor (any other agent identity is
|
|
468
473
|
refused, and a remote `peer@label` queue is the person's only). Without `--yes` it only says how many deliveries it would discard; with `--yes` it discards each delivery of that peer through the
|
|
@@ -652,6 +657,7 @@ and so is every help entry the gate has no class for yet;
|
|
|
652
657
|
| `ahub doctor --stale-anchors [--json]` | Allowed | a bounded read-only report of memory symbol anchors at current HEAD |
|
|
653
658
|
| `ahub queue list [--peer <id>] [--json] [--full] [--color=...]` | Allowed | public queue metadata only; inspect your own public held bodies through `hub_inbox`; `ahub queue show` and operator resolution remain person/conductor operations |
|
|
654
659
|
| `ahub roster [--json] [--color=...]` | Allowed | public roster status; add/remove retain conductor admission |
|
|
660
|
+
| `ahub roles [--json] [--color=...]` | Allowed | each rostered peer's flow roles as the running hub settled them (#1411 T2); no operand |
|
|
655
661
|
| `ahub settings [list] [--json]`, `ahub settings get <key> [--json]` | Allowed | public registry values; secret-locating values, paths, undo records and config-editor details are withheld |
|
|
656
662
|
| `ahub sdlc status\|explain [<task>] [--json] [--color=...]` | Allowed | public lifecycle status; private tasks stay stubs, without private evidence or receipts |
|
|
657
663
|
| `ahub sdlc queue <owner/repo> [--json] [--color=...]`, `ahub sdlc release <owner/repo> [live-issue...] [--json] [--color=...]` | Allowed | public delivery/release readback for the checkout's GitHub origin, explicit SDLC config repos or person-imported public external records; no release authorization or mutation |
|
|
@@ -665,6 +671,7 @@ and so is every help entry the gate has no class for yet;
|
|
|
665
671
|
| `ahub deliverables [--task <id>] [--approved] [--check] [--json]` | Allowed | only the rows `hub_task_show` would show the caller, through the same public screening (#933) |
|
|
666
672
|
| `ahub room list [--json]`, `ahub room status [<name>] [--json]` | Allowed | room metadata only; every other `room` form, the inbox included, stays Console |
|
|
667
673
|
| `ahub study show [<id> \| --after <id>] [--json] [--color=...]` | Allowed | the same read as `hub_study_show`: a private campaign, task or source shows ids, counts and states only; `study draft\|revise\|approve\|approve-protocol\|close` stay Console (#930) |
|
|
674
|
+
| `ahub study evidence <ev-id> [--revision <n>] [--json] [--color=...]` | Allowed | re-reads one evidence link through current research scope and privacy (#931); `study evidence --task` and `study check` stay Console |
|
|
668
675
|
|
|
669
676
|
`backlog list`, `release list` and `sdlc costs|metrics` retain their existing
|
|
670
677
|
planner/person policy. Their CLI forms stay Console for ordinary agents; a
|
|
@@ -712,7 +719,14 @@ project configuration, then open `ahub console` in a split terminal for approval
|
|
|
712
719
|
```
|
|
713
720
|
|
|
714
721
|
Launch that peer with `ahub claude` for channel pushes, or select `codex` in
|
|
715
|
-
`roles` and launch `ahub codex`.
|
|
722
|
+
`roles` and launch `ahub codex`. Only an interactive peer may conduct
|
|
723
|
+
(#1408, [roles](roles.md)): claude, codex, jcode and pi are `conductorEligible`.
|
|
724
|
+
The hub ignores a `conductor` on another kind, or on a peer whose effective
|
|
725
|
+
`peers.<peer>.start_mode` is `headless`, with a notice naming the fix, and gives
|
|
726
|
+
the role to nobody else, so the person conducts from `ahub console`. Setting the
|
|
727
|
+
conductor's start mode to `headless` is refused until the role moves, and
|
|
728
|
+
`ahub doctor`'s `roles` row names the settled holders and warns about an ignored
|
|
729
|
+
conductor. The conductor splits work into owned tasks,
|
|
716
730
|
observes `hub_status`, moves stalled work and obtains review before reporting
|
|
717
731
|
results and open decisions. It does not implement the tasks it handed out.
|
|
718
732
|
`hub_peer_start` starts a peer in the start mode a person set for it (see
|
|
@@ -1050,13 +1064,18 @@ plugin stale when the module changed after setup, so run `ahub setup` again afte
|
|
|
1050
1064
|
- **Space.** The plugin feeds acon's Space view from the dashboard's office model
|
|
1051
1065
|
(`src/ui/office-space.ts`): peers are actors (state from condition, approvals and review, with
|
|
1052
1066
|
approval, queue, paused and mode marks), the office rooms are queue, work, review and done zones,
|
|
1053
|
-
tasks are cards, and overlap, conflict and cohort links and recent message arcs are links.
|
|
1054
|
-
|
|
1055
|
-
|
|
1067
|
+
tasks are cards, and overlap, conflict and cohort links and recent message arcs are links. Each
|
|
1068
|
+
project is one Space group (#1375) that every actor, zone and card names, so actor names stay
|
|
1069
|
+
bare; an actor carries its configured roles and, only while working, `since` (the open turn's
|
|
1070
|
+
start). Ids are project-prefixed, every running project's scene is merged within acon 0.2's caps
|
|
1071
|
+
(96 actors, 200 groups, 200 cards, 128 links, newest links kept; a record whose group is past the
|
|
1072
|
+
group bound loses its group reference), and a project that has not answered within about 3 s is left
|
|
1056
1073
|
out of that poll (its last scene is kept as the baseline for its next answer). The running-project
|
|
1057
1074
|
listing is reused for 10 s and then refreshed in the background, concurrent reads share one
|
|
1058
1075
|
computation, and a viewer that passes back the combined cursor gets `changed: false` while the
|
|
1059
|
-
scene, the per-project cursors and the project set are unchanged (#1380).
|
|
1076
|
+
scene, the per-project cursors and the project set are unchanged (#1380). The manifest
|
|
1077
|
+
declares how stale a reused reply may be: `inboxMaxAgeMs` 1000 and `spaceMaxAgeMs` 2000 (one
|
|
1078
|
+
poll interval). Only labels and states
|
|
1060
1079
|
reach the scene, never message bodies, task details,
|
|
1061
1080
|
approval titles or reasons; a PII task's card shows the `[pii]` stub.
|
|
1062
1081
|
|
|
@@ -1082,7 +1101,11 @@ ahub up
|
|
|
1082
1101
|
```
|
|
1083
1102
|
|
|
1084
1103
|
`ahub init` writes the project configuration and managed instruction blocks.
|
|
1085
|
-
Run it after an upgrade when those blocks need refreshing
|
|
1104
|
+
Run it after an upgrade when those blocks need refreshing: `ahub doctor` has a
|
|
1105
|
+
`hub instructions` row that warns when the block in `AGENTS.md` differs from the
|
|
1106
|
+
one this version writes, and prints the preview (`ahub init --dry-run`) and
|
|
1107
|
+
apply (`ahub init --yes`) commands with the project path. Init replaces only the
|
|
1108
|
+
text between the markers; commit `AGENTS.md` afterwards (#1399). For a new repository
|
|
1086
1109
|
using advise or enforce, follow the [SDLC quickstart sequence](quickstart.md#a-new-project-with-sdlc-advise-or-enforce).
|
|
1087
1110
|
|
|
1088
1111
|
After a successful init, the short next-steps block says to review and commit
|
|
@@ -1092,9 +1115,49 @@ pushes reach the session. In SDLC `advise` or `enforce`, it names the person's
|
|
|
1092
1115
|
spec acceptance (`ahub sdlc accept <task> --issue <n>`), plan-departure consent
|
|
1093
1116
|
when needed (`ahub sdlc accept-departure <task> <head> <reason...>`) and guarded
|
|
1094
1117
|
merge (`ahub sdlc merge <task>`) after the owner calls `hub_task_done` on an open
|
|
1095
|
-
PR, reviewer approval and green exact-head CI.
|
|
1118
|
+
PR, reviewer approval and green exact-head CI. In those modes, when the project has a GSD
|
|
1119
|
+
`.planning/STATE.md` (a `gsd_state_version` in its frontmatter), it also points
|
|
1120
|
+
at [moving from GSD](sdlc.md#moving-from-gsd) (#1431); init only reads that
|
|
1121
|
+
file and never changes `.planning/`. Preview, declined prompt and
|
|
1096
1122
|
refusal paths print no success next steps.
|
|
1097
1123
|
|
|
1124
|
+
Whether the repository commits its shared hub config is a choice made at init
|
|
1125
|
+
(#1411). `--track-config` keeps `.agenthub/config.json`, `routing.toml` and
|
|
1126
|
+
`sdlc.toml` visible to git and lists them to commit; a rule that ignores one of
|
|
1127
|
+
them (in `.gitignore`, `.git/info/exclude` or the person's global ignore file) is
|
|
1128
|
+
named as `git check-ignore -v` reports it, and init writes nothing until that line
|
|
1129
|
+
changes. A `routing.toml` whose `hub_routes` set `adec_endpoint` stays ignored and
|
|
1130
|
+
is reported, because that endpoint is this machine's and `routing.local.toml` can
|
|
1131
|
+
hold only class keys. Machine-local values in `config.json` are listed with the
|
|
1132
|
+
move to `config.local.json` before the first commit. `--no-track-config` ignores
|
|
1133
|
+
the three files, and each checkout holds its own roles. The AGENTS.md block's role
|
|
1134
|
+
sentence follows the choice: tracked, it points at `.agenthub/config.json`
|
|
1135
|
+
`roles`; untracked, it says the checkout's hub holds the roles. A new project is
|
|
1136
|
+
asked at the prompt; with neither flag an existing project keeps its ignore state
|
|
1137
|
+
and its block sentence. Every `.gitignore` line init adds is checked with
|
|
1138
|
+
`git check-ignore` first, so init adds no line for a path a broader rule already
|
|
1139
|
+
ignores.
|
|
1140
|
+
|
|
1141
|
+
`ahub roles [--json]` prints each rostered peer's flow roles as the running hub
|
|
1142
|
+
settled them (defaults, overrides and ceilings applied), the planner with how it
|
|
1143
|
+
was chosen, and who reviews when no reviewer can run: the person when
|
|
1144
|
+
`review.pool` is set, otherwise a planner other than the task's owner (another
|
|
1145
|
+
family first, or only another family under `review.same_family = "never"`), else
|
|
1146
|
+
the person. A task worktree has no `.agenthub` of its own and no hub; this
|
|
1147
|
+
read-only command then reads the main worktree's hub, so an agent in a worktree
|
|
1148
|
+
gets the same answer as the project root (#1411 T2). `ahub doctor`'s
|
|
1149
|
+
`shared config` row compares whether `.agenthub/config.json` is committed with the
|
|
1150
|
+
block's role sentence: `tracked` and `untracked (by choice)` pass; a block that
|
|
1151
|
+
points at an uncommitted or ignored file, a committed file the block calls per
|
|
1152
|
+
checkout, or a committed file an ignore rule matches is a warning that names the
|
|
1153
|
+
rule and the command that fixes it.
|
|
1154
|
+
|
|
1155
|
+
`config.local.json` wins over `config.json` key by key, so each person keeps their
|
|
1156
|
+
own settings in a tracked project; `roles` merges per peer. The exceptions are
|
|
1157
|
+
deliberate: `release` is read only from the committed `config.json`;
|
|
1158
|
+
`action_policy`, `rooms` and `research.runners` only from `config.local.json`; and
|
|
1159
|
+
the machine-local fields below are ignored in a committed `config.json`.
|
|
1160
|
+
|
|
1098
1161
|
`ahub up` waits for authenticated readiness. After 12 seconds, a verified live
|
|
1099
1162
|
child that is still pending produces a `still starting, pid N` message on stderr;
|
|
1100
1163
|
the CLI keeps waiting and confirms the retained runtime when it becomes ready.
|
|
@@ -1104,7 +1167,9 @@ An owned child observed to exit before readiness produces an error; a cancelled
|
|
|
1104
1167
|
operation cannot confirm startup.
|
|
1105
1168
|
|
|
1106
1169
|
Each completed daemon startup writes one `startup timings ms:` line to `hub.log`,
|
|
1107
|
-
with fixed phase names and durations
|
|
1170
|
+
with fixed phase names and durations; the span before `task_runtime` carries
|
|
1171
|
+
the sub-phases `task_checks`, `task_ports`, `task_board` and `task_recovery`
|
|
1172
|
+
(#1445), and its board reads cover open tasks only. The three event-seed consumers share one
|
|
1108
1173
|
lossless streaming pass; abandoned snapshot bodies are not read for startup.
|
|
1109
1174
|
The [startup receipt](verification/2026-11-07-daemon-startup-1232.md) separates
|
|
1110
1175
|
seed I/O from bounded usage-rollup I/O and records the isolated measurements.
|
|
@@ -1125,6 +1190,26 @@ value, or a flag given twice with different values, is refused with the allowed
|
|
|
1125
1190
|
values, and nothing is written. Executables, secrets, models, providers, instances
|
|
1126
1191
|
and permissions have no flags; they stay file edits.
|
|
1127
1192
|
|
|
1193
|
+
Who conducts, plans and reviews is chosen with three independent flags (#1408 T2):
|
|
1194
|
+
`--conductor <peer>|none`, `--planner <a,b,...>` and `--reviewer <a,b,...>|person`. Each
|
|
1195
|
+
is written to the shared `.agenthub/config.json` `roles` as an explicit list for every
|
|
1196
|
+
peer whose roles change, including the peer that loses a role (the per-peer merge would
|
|
1197
|
+
otherwise keep its default); implementer and verifier entries, and every other file, stay
|
|
1198
|
+
as they are. An existing project is changed only by a flag you give, and a flag whose
|
|
1199
|
+
choice already holds writes nothing. A peer that cannot hold the role is refused before
|
|
1200
|
+
any write, with the reason, the fix and the eligible peers: a conductor needs an
|
|
1201
|
+
interactive session (`conductorEligible` and a non-headless start mode, read the same way
|
|
1202
|
+
the loader and `ahub doctor` read them, so `config.local.json` wins over the shared
|
|
1203
|
+
file), a planner needs a planner-eligible kind, a reviewer a kind that can receive
|
|
1204
|
+
`hub_review`. `--conductor none` leaves the person conducting from `ahub console`;
|
|
1205
|
+
`--reviewer person` writes no reviewer peer, and the init summary says reviews go to the
|
|
1206
|
+
person. Moving the conductor writes both peers in one change, so the single-holder rule
|
|
1207
|
+
is not tripped. A `planner` setting, or a `config.local.json` `roles` entry for a peer
|
|
1208
|
+
the choice would change, would outrank the write, so init refuses it and names the key.
|
|
1209
|
+
`--dry-run` shows each changed peer as a `roles.<peer>` row. The guided prompt asks the
|
|
1210
|
+
three after the agents question, offering only eligible peers with installed agents first
|
|
1211
|
+
(Enter keeps the shipped holders).
|
|
1212
|
+
|
|
1128
1213
|
A person at a terminal who runs `ahub init` on a new project with no flag that
|
|
1129
1214
|
sets anything and no `--yes` is asked each setting in turn (#1065 T2): profile,
|
|
1130
1215
|
the agents `ahub up` starts, design specs and their review mode, SDLC mode (with
|
|
@@ -1856,8 +1941,15 @@ ahub study show [rc-0123456789ab] # list campaigns (50 per page, --af
|
|
|
1856
1941
|
ahub study close rc-0123456789ab 2 --reason "answered"
|
|
1857
1942
|
ahub study approve-protocol <64-hex hash> # person only: approve one exact experiment protocol
|
|
1858
1943
|
ahub study experiments --campaign rc-0123456789ab [--after 50] # read the recorded attempts (also --attempt ra-... or --plan <hash> --baseline ra-... --variant ra-...)
|
|
1944
|
+
ahub study evidence ev-... [--revision 2] # re-read one evidence link under current privacy (--task <task>: person-only authoring bindings)
|
|
1945
|
+
ahub study check 12 manifest.json # person only: offline synthesis readiness of one manifest; non-ready exits nonzero
|
|
1859
1946
|
```
|
|
1860
1947
|
|
|
1948
|
+
`ahub study evidence`, `ahub study check` and a manifest-bound `ahub task claim ... --manifest <file>
|
|
1949
|
+
--disposition resolved|qualified` (#931) need a running hub that advertises `research_synthesis`; the CLI
|
|
1950
|
+
refuses before sending to an older hub. What they report, and what `ready` does not mean, is in
|
|
1951
|
+
[profiles](profiles.md).
|
|
1952
|
+
|
|
1861
1953
|
- **Contract.** The JSON names the question, scope, exclusions, registered source ids, 1 to 32 units
|
|
1862
1954
|
(round, question, perspective, required output, sources, dependencies and a purpose: discovery,
|
|
1863
1955
|
independent check, analysis or synthesis), deliverable sections, a stop policy (`maxUnits`,
|
|
@@ -1917,9 +2009,11 @@ ahub study experiments --campaign rc-0123456789ab [--after 50] # read the reco
|
|
|
1917
2009
|
ids, counts, states and provenance and stubs its text as `[pii]`. Study tool arguments and results are kept out
|
|
1918
2010
|
of hub-managed memory capture.
|
|
1919
2011
|
- **Upgrades.** The daemon advertises `research_records`, `research_dispatch`, `research_dropped_offers`,
|
|
1920
|
-
`research_experiments`, `research_comparisons`, `research_runners
|
|
2012
|
+
`research_experiments`, `research_comparisons`, `research_runners`, `research_evidence` and
|
|
2013
|
+
`research_evidence_withdrawal` (#931). While the
|
|
1921
2014
|
matching rows exist (for `research_runners`, stored runner receipts or any `research.runners` block; for
|
|
1922
|
-
`research_evidence`, stored claim evidence links
|
|
2015
|
+
`research_evidence`, stored claim evidence links; for `research_evidence_withdrawal`, withdrawn evidence
|
|
2016
|
+
revisions), a restart, upgrade or recovery onto a release without the
|
|
1923
2017
|
feature is refused.
|
|
1924
2018
|
|
|
1925
2019
|
## Hub memory
|
|
@@ -1937,7 +2031,7 @@ ahub memory forget 1a2b3c4d # a person's; also promote, demote, sup
|
|
|
1937
2031
|
|
|
1938
2032
|
`"memory": { "native": false }` in `.agenthub/config.json` turns it off for a project.
|
|
1939
2033
|
|
|
1940
|
-
The exact-pinned `@staix/agent-mem` 0.
|
|
2034
|
+
The exact-pinned `@staix/agent-mem` 0.26.0 resolves `AMEM_HOME`, then `$AGENTHUB_HOME/memory`, then `~/.agenthub/memory`. An absent `M/profile.json` selects shared v1; an explicit generation selects `M/generations/G` with the package's readonly legacy bridge. All daemon memory consumers and the hub memory/goal CLI use that selected profile. Invalid metadata or a missing selected generation makes native memory unavailable while the bus and board continue; there is no fallback to legacy writes. Inspect the daemon's memory binding/availability before interpreting missing memory as an empty store.
|
|
1941
2035
|
|
|
1942
2036
|
The daemon checks its selector at hub operation entry and before candidate/counter writes. It does not hot-switch handles or provide an atomic fence against selection changes during an in-flight core call. Quiesce consumers and close their handles before migration or selection changes; reopen through the supported session-preserving lifecycle afterward. Candidate/counter storage remains `M/candidates.db`, independent of `G`; since agent-mem 0.7.0 `amem review` also lists and accepts candidates on a selected generation. Every running hub using this home needs an authenticated receipt: a matching ready binding, or a generation-capable unbound receipt (`disabled` when native memory is off, `unavailable` when opening failed) proving it holds no memory handle. An unbound daemon and zero running hubs are quiesced for memory; a stale bound handle, unreadable registry or unknown runtime is not ready. Existing JSON memory/goal results remain unchanged; the additive binding receipt belongs to daemon status, profile-check and the decay object. This source integration does not authorize installing a new runtime, migrating real memory, restarting sessions or claiming real-machine sync/capture receipts. Migration/deactivation and their limits belong to [agent-mem](https://github.com/STAIxBWLB/agent-mem); see [the hub profile contract](memory.md#selected-memory-profile).
|
|
1943
2037
|
|
|
@@ -2046,6 +2140,7 @@ ahub undo <turn> --yes --context # Codex's latest turn: also drop it from Codex
|
|
|
2046
2140
|
`git gc` prunes them after `gc.pruneExpire` (two weeks by default); undoing an
|
|
2047
2141
|
older turn says so.
|
|
2048
2142
|
- Each `turn_end` event carries `files` and `snapshotMs` (`ahub export`).
|
|
2143
|
+
- Each `turn_end` event may carry `model` and `modelEvidence` (#1402): the model id exactly as the peer's native surface reported it (passed through `safeModelLabel`; a label it refuses is dropped whole, an alias is never expanded) and how it was learned, `served` (named for this turn's responses), `session` (the native session's current model) or `configured` (only the hub's own override). A turn with no observation records neither field. `ahub research` reads them into `ownerModels` and groups by model on the owner's turns.
|
|
2049
2144
|
|
|
2050
2145
|
## Edit conflicts
|
|
2051
2146
|
|
|
@@ -2585,7 +2680,10 @@ it does not recover an earlier model. Raw/pull-only native TUI attachments remai
|
|
|
2585
2680
|
unsupported. A retained former override is labelled `native thread default (was override)`;
|
|
2586
2681
|
a rejected start leaves the next start free to sample a corrected selection.
|
|
2587
2682
|
The model and its source appear in `ahub status` and JSON output. An unknown native default remains
|
|
2588
|
-
unknown.
|
|
2683
|
+
unknown. When no override, instance, launch or native baseline model is known, the
|
|
2684
|
+
last model a finished turn reported is shown with source `observed (served)` or
|
|
2685
|
+
`observed (session)` (#1402); a `configured` grade is never shown, and the
|
|
2686
|
+
observation is dropped when the peer goes offline or its adapter is replaced. `pending next turn` means the desired value has not been acknowledged
|
|
2589
2687
|
at an eligible boundary; it does not claim the current turn changed models.
|
|
2590
2688
|
|
|
2591
2689
|
Changing a desired value during a turn leaves that turn unchanged. Steering and
|
|
@@ -3283,6 +3381,13 @@ source has not reported yet says which. `--json` carries `kind`, `source`, `supe
|
|
|
3283
3381
|
without them and the CLI classifies a window by its source. `ahub doctor` adds the row `kimi usage source` (counting, no ceiling, or unreadable).
|
|
3284
3382
|
The console's peer detail (Enter on Peers) and the Usage detail, and the dashboard's Usage budgets row, show the same kind and source per window.
|
|
3285
3383
|
|
|
3384
|
+
While a Codex peer's account is budget-paused (#1440), the hub reads `codex rateLimits` through the attached TUI link every 60 seconds instead of the
|
|
3385
|
+
usual `usagePollMs` cadence (ten minutes), so a reset is seen early; it never redeems a credit or resumes a peer, and the existing reset/resume path
|
|
3386
|
+
still decides. For a paused peer `ahub budget` adds the account diagnostics that read allows: reset credits available with their earliest expiry
|
|
3387
|
+
(or `expiry unknown`), whether ordinary usage is allowed, `credits available` and `unlimited credits` (yes, no or unknown), `stale snapshot` when old,
|
|
3388
|
+
and `turns would use paid credits` when ordinary usage is not allowed but paid credits are. These fields change no admission, pause or resume, are
|
|
3389
|
+
held in memory only, and read unknown after a restart until the next native read; balances and account or credit identifiers are never kept.
|
|
3390
|
+
|
|
3286
3391
|
Kimi Code CLI 2.1.1's observed 5-hour usage-limit refusal creates a hard budget reading (`kimi ACP usage-limit refusal`). `ahub status` shows a budget pause and `ahub budget` shows its source and reset estimate. The refusal gives no reset timestamp, so the hub estimates the reset at five hours after it was observed and resumes on the next budget tick after the existing one-minute grace. With `budget.wait_max_min` below that estimate, the existing budget relay automatically hands open tasks to an attached eligible peer; routing skips Kimi while paused. No checkpoint is requested from an exhausted agent.
|
|
3287
3392
|
`ahub budget resume kimi` overrides the reading so the provider can be tried early. A new provider refusal ends that override and pauses it again; a pending soft checkpoint cannot postpone this hard pause.
|
|
3288
3393
|
During one hub run, an early override followed by the same window's refusal keeps its earlier future reset bound; a provider's explicit reset remains authoritative. A restored pause without a per-window reading cannot identify that earlier window, so its next refusal starts a new estimate.
|
|
@@ -3505,8 +3610,10 @@ Planner badge, and the console marks their rows.
|
|
|
3505
3610
|
Only those peers hold the role. Builtins are `claude`, `codex`, `kimi`, `qwen`
|
|
3506
3611
|
and `jcode`; a declared planner-capable instance is also eligible. A singleton
|
|
3507
3612
|
settings write stores a string for older configuration readers.
|
|
3508
|
-
- `roles`: with no `planner` key, the `roles` planners stand.
|
|
3509
|
-
|
|
3613
|
+
- `roles`: with no `planner` key, the `roles` planners stand. A new project gets
|
|
3614
|
+
`claude` from the shipped `templates/config.json`, which `ahub init` copies;
|
|
3615
|
+
change it with `ahub init --planner <peer>` on a new project or by editing
|
|
3616
|
+
`roles` in `.agenthub/config.json`.
|
|
3510
3617
|
- `automatic`: when no rostered peer holds the role, the hub gives it to the
|
|
3511
3618
|
first rostered peer of that list. It recomputes this at start and after
|
|
3512
3619
|
each roster change, and writes nothing to disk.
|
|
@@ -3866,6 +3973,13 @@ No PR is created by T1. The [T1b producer report](verification/2026-11-07-compat
|
|
|
3866
3973
|
|
|
3867
3974
|
## Upgrade and crash recovery
|
|
3868
3975
|
|
|
3976
|
+
|
|
3977
|
+
Before preparing or stopping a source, preview and uncommitted staging compare each automatically restored version-gated peer's configured executable with the verified target package's compatibility policy and current machine trust (#1426). A refused version names the peer/version and `ahub agents trust <peer> <version>` or installation of a verified version. Unknown observations remain unknown and block that source before commit. Preview may populate the private verified target-package cache; it does not prepare, stop or select a project runtime. The digest check uses the target's existing owned/hoisted dependency layout. Previously committed or commit-sent sources are not retroactively gated by a later executable/trust change. Ordinary Codex restoration does not acquire the separate reviewer sandbox version gate.
|
|
3978
|
+
|
|
3979
|
+
A refused restoration command now produces a private, per-attempt exit observation. The native command keeps its terminal descriptors; the reader accepts only the matching nonce/peer and a bounded complete record. The persisted cause is `version_refused` or `launch_exit`, with exit code and a bounded privacy-screened first hub refusal line (otherwise a neutral instruction to inspect the launch terminal). This observation blocks within the existing readiness slice; it is never evidence of native readiness, ownership or session settlement. Attempt files are disposed, and late writers cannot recreate their removed directory. Native/session fences still decide every retry and settlement.
|
|
3980
|
+
|
|
3981
|
+
Fix the named cause, then run the exact `ahub recovery resume <op>` command in the operation status. While its runner is still working, close the refused launch terminal and check status; resume after the runner blocks or exits. A direct peer start cannot bypass the recovery hold. A fresh resume launches once and retains the recorded conversation; it does not silently choose a new one.
|
|
3982
|
+
|
|
3869
3983
|
### Side by side project versions (#1039)
|
|
3870
3984
|
|
|
3871
3985
|
`ahub --project <path|id> upgrade --to <version>` reviews and changes only that
|
|
@@ -3938,7 +4052,7 @@ or the plugin is older than the daemon it installed (#1179). It prints nothing w
|
|
|
3938
4052
|
| Runtime | Control protocol window | Legacy status field |
|
|
3939
4053
|
| --- | --- | --- |
|
|
3940
4054
|
| 0.12.20 through 0.25.0 | 16 only | `protocol: 16` |
|
|
3941
|
-
| 0.26.0 through 0.
|
|
4055
|
+
| 0.26.0 through 0.39.0 | 16 through 17 | `protocol: 16`, `protocolMin: 16`, `protocolMax: 17` |
|
|
3942
4056
|
|
|
3943
4057
|
New clients choose the highest common protocol. The protocol window remains 16
|
|
3944
4058
|
through 17, so the published protocol-16 client and channel plugin remain usable; unrelated feature
|
|
@@ -3946,7 +4060,13 @@ capabilities still require their own labels. A disjoint window refuses with 4426
|
|
|
3946
4060
|
The compatibility-floor `protocol` field remains readable by old clients.
|
|
3947
4061
|
|
|
3948
4062
|
Release N-1 is counted in minor versions, separately from this protocol window
|
|
3949
|
-
(#1164, family contract entelecheia/ai-workspace#70). For 0.
|
|
4063
|
+
(#1164, family contract entelecheia/ai-workspace#70). For 0.39.x, N-1 is 0.38.0,
|
|
4064
|
+
the latest published patch of 0.38.x (exact `@staix/agent-mem` 0.24.0, control
|
|
4065
|
+
protocol 17 with descriptor floor 16). Every patch on 0.39.x keeps that release
|
|
4066
|
+
baseline. For 0.38.x, N-1 is 0.37.0,
|
|
4067
|
+
the latest published patch of 0.37.x (exact `@staix/agent-mem` 0.24.0, control
|
|
4068
|
+
protocol 17 with descriptor floor 16). Every patch on 0.38.x keeps that release
|
|
4069
|
+
baseline. For 0.37.x, N-1 is 0.36.0,
|
|
3950
4070
|
the latest published patch of 0.36.x (exact `@staix/agent-mem` 0.23.1, control
|
|
3951
4071
|
protocol 17 with descriptor floor 16). Every patch on 0.37.x keeps that release
|
|
3952
4072
|
baseline. For 0.36.x, N-1 is 0.35.0,
|
|
@@ -5510,7 +5630,7 @@ that the file is untracked; a dropped value is reported by the settings result.
|
|
|
5510
5630
|
|
|
5511
5631
|
## SDLC artifact receipts and gates
|
|
5512
5632
|
|
|
5513
|
-
The playbook lifecycle (#257, #481) is off without `.agenthub/sdlc.toml`. When enabled its stages are intent, spec, plan, build, test, review, merge, release and maintain, grouped as Plan, Design, Build, Test, Deploy and Maintain. Advise shows blockers; enforce checks implemented head-bound review and approval gates. Stored implement/verify receipts read as build/test; new enabled receipts use canonical ids. See [the SDLC contract](sdlc.md) for gates, required check names, local receipts, console-only readbacks and the S0-S8 delivery table. A person accepts a spec issue with `ahub sdlc accept <task> --issue <n>` (S1). A PR merged outside the hub is recorded with `ahub sdlc adopt-merge <task> --pr <n>` (person or current conductor), which approves the task and releases dependents only at its recorded head with green required checks ([adoption](sdlc.md#adopting-a-pr-merged-outside-the-hub-1328-t3)). The planner records plan reviews with review and CI scope (`hub_plan_review`, `ahub sdlc plan-review`) and grooms with `ahub backlog groom`; `ahub backlog return <task> <revision> <reason>` returns accepted, untouched work (S9). `ahub sdlc costs [owner/repo]` reports review rounds and CI runs of merged PRs without writing the board (S10). `ahub sdlc metrics [--since <YYYY-MM-DD|ISO time>]` (the planner tool `hub_sdlc_metrics`, planner or person, read-only) reports lead times, first-pass approval and check rates, rework rounds, stale-head re-reviews and open stalls from board history, with `unknown` counted and never 0; optional `[bands.<metric>]` in `sdlc.toml` add control bands that the daemon checks every five minutes in advise or enforce, writing a hub notice (`log`), a read-only `triage` backlog task (`diagnose`) or a `plan` backlog card (`propose`), one per breach episode and never a GitHub issue (S7, see [metrics](sdlc.md#sdlc-metrics-and-control-bands-481-s7)). With the lifecycle on, a task's issue identity is linked when it is proposed or accepted, from the one issue it names (an imported GitHub issue, or a `#N`, `owner/repo#N` or issue URL in its title); a title that names a sibling repository (`agent-mem#13`) links only when `refs.repo` names it, and without `refs.repo` the propose result says to set it. `ahub backlog groom` also backfills up to 32 links per call, within 1 s (#723). S11 release trains ship in 0.12.37 (see [release scheduling](#planner-release-scheduling)). S3 structured review findings (an open Important finding blocks approval in enforce; `max_nits` in `sdlc.toml` caps nits) and S2 literal-path plan conformance with the person-only `ahub sdlc accept-departure <task> <head> <reason...>` are in source; see [findings](sdlc.md#structured-review-findings-481-s3) and [plan conformance](sdlc.md#plan-conformance-481-s2). S4 [test integrity](sdlc.md#test-integrity-481-s4) and S6 [release authorization](#release-approval-and-optional-tag-guard) are in source too. S5 is in source as an [eval gate mechanism](sdlc.md#eval-gate-for-agent-configuration-481-s5) with no suite chosen, and S7 adds merge-time readback, [release metrics](sdlc.md#release-metrics-481-ac12) and an opt-in security baseline; a full live advise/release cycle and the per-release gates-run record remain pending. Owners/reviewers record bounded identities through `hub_sdlc_record`; these grant no additional authority. Off output, receipt and schema shapes stay unchanged.
|
|
5633
|
+
The playbook lifecycle (#257, #481) is off without `.agenthub/sdlc.toml`. When enabled its stages are intent, spec, plan, build, test, review, merge, release and maintain, grouped as Plan, Design, Build, Test, Deploy and Maintain. Advise shows blockers; enforce checks implemented head-bound review and approval gates. Stored implement/verify receipts read as build/test; new enabled receipts use canonical ids. See [the SDLC contract](sdlc.md) for gates, required check names, local receipts, console-only readbacks and the S0-S8 delivery table. A person accepts a spec issue with `ahub sdlc accept <task> --issue <n>` (S1). A PR merged outside the hub is recorded with `ahub sdlc adopt-merge <task> --pr <n>` (person or current conductor), which approves the task and releases dependents only at its recorded head with green required checks ([adoption](sdlc.md#adopting-a-pr-merged-outside-the-hub-1328-t3)). The planner records plan reviews with review and CI scope (`hub_plan_review`, `ahub sdlc plan-review`) and grooms with `ahub backlog groom`; `ahub backlog return <task> <revision> <reason>` returns accepted, untouched work (S9). `ahub sdlc costs [owner/repo]` reports review rounds and CI runs of merged PRs without writing the board (S10). `ahub sdlc metrics [--since <YYYY-MM-DD|ISO time>]` (the planner tool `hub_sdlc_metrics`, planner or person, read-only) reports lead times, first-pass approval and check rates, rework rounds, stale-head re-reviews and open stalls from board history, with `unknown` counted and never 0; optional `[bands.<metric>]` in `sdlc.toml` add control bands that the daemon checks every five minutes in advise or enforce, writing a hub notice (`log`), a read-only `triage` backlog task (`diagnose`) or a `plan` backlog card (`propose`), one per breach episode and never a GitHub issue (S7, see [metrics](sdlc.md#sdlc-metrics-and-control-bands-481-s7)). With the lifecycle on, a task's issue identity is linked when it is proposed or accepted, from the one issue it names (an imported GitHub issue, or a `#N`, `owner/repo#N` or issue URL in its title); a title that names a sibling repository (`agent-mem#13`) links only when `refs.repo` names it, and without `refs.repo` the propose result says to set it. `ahub backlog groom` also backfills up to 32 links per call, within 1 s (#723). S11 release trains ship in 0.12.37 (see [release scheduling](#planner-release-scheduling)). S3 structured review findings (an open Important finding blocks approval in enforce; `max_nits` in `sdlc.toml` caps nits) and S2 literal-path plan conformance with the person-only `ahub sdlc accept-departure <task> <head> <reason...>` are in source; see [findings](sdlc.md#structured-review-findings-481-s3) and [plan conformance](sdlc.md#plan-conformance-481-s2). S4 [test integrity](sdlc.md#test-integrity-481-s4) and S6 [release authorization](#release-approval-and-optional-tag-guard) are in source too. S5 is in source as an [eval gate mechanism](sdlc.md#eval-gate-for-agent-configuration-481-s5) with no suite chosen, and S7 adds merge-time readback, [release metrics](sdlc.md#release-metrics-481-ac12) and an opt-in security baseline; a full live advise/release cycle and the per-release gates-run record remain pending. Owners/reviewers record bounded identities through `hub_sdlc_record`; these grant no additional authority. Off output, receipt and schema shapes stay unchanged. #1403 adds a `[security]` table whose paths need a recorded `security_pass` on the approving review ([security pass](sdlc.md#security-pass-for-sensitive-paths-hub-task-895-1403-a2)), `ahub sdlc audit start|show` with a hub-written coverage ledger ([audit](sdlc.md#security-audit-with-a-coverage-ledger-hub-task-896-1403-a4-a5)), plan intent fields with advisory base drift on accept and done, and `ahub sdlc survey start|show` ([surveys](sdlc.md#advisor-surveys-and-considered-findings-1403-t7)); while survey or considered-finding state exists, a restart, upgrade or recovery onto a target without `advisor_surveys` is refused. The person may instruct the configured conductor in its own session to run `ahub sdlc configure` for `off`/`advise` and required checks ([#1432](sdlc.md#instructed-conductor-configuration-1432)).
|
|
5514
5634
|
## Supervision proposals
|
|
5515
5635
|
|
|
5516
5636
|
`supervision.mode` is off by default and machine-local (`ahub settings set supervision.mode advisory`); a committed
|
|
@@ -5618,7 +5738,7 @@ Known ceiling (#559): jcode 0.98.1's top-level TUI spawns a shared server, witho
|
|
|
5618
5738
|
|
|
5619
5739
|
TUI input may interleave with an ACP turn; there is no single-writer guard. Closing the TUI leaves the owned ACP session running, and native policy remains unmanaged. The isolated 0.98.1 transport receipt is [recorded separately](verification/2026-10-20-jcode-tui-0.98.1.md); it is not personal account or real provider verification.
|
|
5620
5740
|
|
|
5621
|
-
After upgrading to the recipient-retry release, a Jcode project MCP entry written before `AGENTHUB_DELIVERY_ONLY` was added is intentionally stale. Once per project, the person runs `ahub jcode --mode headless` before using conductor/dashboard starts. The launcher rewrites only the owned entry with the delivery-only marker, preserving foreign entries and refusing collisions; recovery relaunches already use this CLI path. Readiness checks never rewrite the file, and an explicit false marker or any other drift remains refused. Until that rewrite, daemon starts keep their actionable stale-entry refusal rather than advertising a retry tool Jcode cannot use.
|
|
5741
|
+
After upgrading to the recipient-retry release, a Jcode project MCP entry written before `AGENTHUB_DELIVERY_ONLY` was added is intentionally stale. Once per project, the person runs `ahub jcode --mode headless` before using conductor/dashboard starts. The launcher rewrites only the owned entry with the delivery-only marker, preserving foreign entries and refusing collisions; recovery relaunches already use this CLI path. Readiness checks never rewrite the file, and an explicit false marker or any other drift remains refused. Until that rewrite, daemon starts keep their actionable stale-entry refusal rather than advertising a retry tool Jcode cannot use. `ahub jcode` and `ahub agy` compare the entry's `AGENTHUB_PROJECT_DIR` (and agy's `AGENTHUB_STATE_DIR`) by real path (#1423), so after a project directory is renamed with its old path left as a symlink, the hub's own entry is recognised and rewritten with the new paths. An entry for another project or peer, or a path that no longer resolves, is refused with the differing field: remove the `agent-hub-jcode` (or agy's `agent-hub`) key and run the command again.
|
|
5622
5742
|
|
|
5623
5743
|
|
|
5624
5744
|
Native policy is unmanaged and has NO hub sandbox; no permission_modes.jcode or runtime mode mapping is invented. Quota and consumption remain unknown. Supported versions run from 0.98.0 up to, not including, 1.0.0 (#529); another version is refused before the owned daemon starts, with the version named and the trust command (#691). Every owned jcode process (version probe, daemon, ACP and TUI) runs with `JCODE_NO_TELEMETRY=1`. Native session/load (verified on 0.94.0, 0.98.1 and 0.99.1) cannot prove identity, so attached Jcode blocks controlled recovery before effects and crash recovery asks for deliberate native reopening. A requested load without an echoed identity refuses; no fresh session is presented as restored. Provider/tool/native teardown receipts remain unverified in the pinned contract report.
|
|
@@ -5881,7 +6001,12 @@ in the same write and sends it a fresh owner offer, so it can accept at once. A
|
|
|
5881
6001
|
reserved peer that cannot take it (offline, paused, excluded, at its WIP limit)
|
|
5882
6002
|
refuses the pull before any change, naming the peer and its reason; it is not
|
|
5883
6003
|
passed over to another peer. `ahub route explain` previews the same reserved-only
|
|
5884
|
-
choice. An unreserved pull keeps reserving a slot as above. A
|
|
6004
|
+
choice. An unreserved pull keeps reserving a slot as above. A refused pull
|
|
6005
|
+
(#1430) names each owner refusal routing recorded (peer and reason, never task
|
|
6006
|
+
text) beside the WIP or hold detail, and ends with the next step: reserve a
|
|
6007
|
+
peer with `hub_backlog_plan` `fields.reserved` and pull again, or, when a
|
|
6008
|
+
person's reservation is retained, ask the person to change it. A conductor's
|
|
6009
|
+
`hub_task_assign` on a backlog card names the same route. A reserved offer that
|
|
5885
6010
|
was never started can return untouched. Omitting planning fields retains its
|
|
5886
6011
|
reservation, so `tasks.auto_pull` can offer it again as soon as the slot is free.
|
|
5887
6012
|
|
|
@@ -6256,7 +6381,7 @@ Default-branch capture runs only at daemon startup when a Claude implementer is
|
|
|
6256
6381
|
|
|
6257
6382
|
Project Git retains the core policy that clears credential.helper and core.askpass; an HTTPS push needing those helpers may fail, rather than importing credentials or relaxing that policy. Task branch/config proof reads are bounded synchronous reads (1.5 seconds per reader); slow or unknown evidence asks. The existing sandbox profile discovery is also synchronous; moving it to an asynchronous inventory proof with a shared deadline remains a follow-up. The nonce is visible in a permission response, so it proves a bounded grant rather than native-dispatch provenance.
|
|
6258
6383
|
|
|
6259
|
-
The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) covers Claude Code 2.1.309, and the [2.1.310 receipt](verification/2026-10-26-claude-implementer-2.1.310.md) repeats it on 2.1.310 (with 2.1.309 as a control), and the [2.1.314 receipt](verification/2026-10-31-claude-implementer-2.1.314.md) repeats it and the host-wrapper procedure on 2.1.314 (with 2.1.310 as a control), and the [2.1.316 receipt](verification/2026-10-31-claude-implementer-2.1.316.md) repeats both on 2.1.316 (with 2.1.314 as a control), and the [2.1.318 receipt](verification/2026-11-05-claude-implementer-2.1.318.md) repeats both on 2.1.318 (with 2.1.316 as a control), and the [2.1.319 receipt](verification/2026-11-06-claude-implementer-2.1.319.md) repeats both on 2.1.319 (with 2.1.318 as a control), and the [2.1.322 receipt](verification/2026-11-10-claude-implementer-2.1.322.md) repeats both on 2.1.322 (with 2.1.319 as a control), each with a deterministic loopback fixture and no real account/model call. It is not sandbox proof or a runtime receipt gate. The real account/model/person interaction remains a separate live leg.
|
|
6384
|
+
The [native permission receipt](verification/2026-10-23-headless-claude-permissions.md) covers Claude Code 2.1.309, and the [2.1.310 receipt](verification/2026-10-26-claude-implementer-2.1.310.md) repeats it on 2.1.310 (with 2.1.309 as a control), and the [2.1.314 receipt](verification/2026-10-31-claude-implementer-2.1.314.md) repeats it and the host-wrapper procedure on 2.1.314 (with 2.1.310 as a control), and the [2.1.316 receipt](verification/2026-10-31-claude-implementer-2.1.316.md) repeats both on 2.1.316 (with 2.1.314 as a control), and the [2.1.318 receipt](verification/2026-11-05-claude-implementer-2.1.318.md) repeats both on 2.1.318 (with 2.1.316 as a control), and the [2.1.319 receipt](verification/2026-11-06-claude-implementer-2.1.319.md) repeats both on 2.1.319 (with 2.1.318 as a control), and the [2.1.322 receipt](verification/2026-11-10-claude-implementer-2.1.322.md) repeats both on 2.1.322 (with 2.1.319 as a control), and the [2.1.323 receipt](verification/2026-11-13-claude-implementer-2.1.323.md) repeats both on 2.1.323 (with 2.1.322 as a control), each with a deterministic loopback fixture and no real account/model call. It is not sandbox proof or a runtime receipt gate. The real account/model/person interaction remains a separate live leg.
|
|
6260
6385
|
|
|
6261
6386
|
A headless Claude reviewer is run by the hub instead (task 223): declare
|
|
6262
6387
|
`"claude-review": { "kind": "claude", "roles": ["reviewer"], "start_mode": "headless" }`
|
|
@@ -6294,7 +6419,7 @@ A reviewer has a review scope (#852): `full` (reads the code, runs the affected
|
|
|
6294
6419
|
|
|
6295
6420
|
Start them with `ahub claude --as claude-review`, `ahub codex --as codex-review` and `ahub kimi --as kimi-review`; stop with `ahub stop <id>`. For the Claude and Codex reviewers the command asks the running hub to start the reviewer and returns: nothing runs in that terminal, it takes no launch arguments, and `--print-command` or `--dry-run` prints a hub-start note instead of a launch (#720). Fresh Claude and Codex variants share the project checkout; the Kimi variant runs in a clean temporary working directory and reviews only the screened brief and host facts. All fresh variants refuse a custom worktree or permission mode. Codex and Kimi require `review_mode: "fresh"`; without it, an existing headless instance with the reviewer role keeps its native app-server/ACP behavior, worktree and permission options and does not join this pool. Claude retains its task 223 automatic headless-reviewer declaration. The agy reviewer slot remains automatically unavailable (`agy is an implementer peer (#485)`). A failed or unsupported fresh start never downgrades to a native continuing session. Ordinary implementer instances retain their own adapters. The default logical pool order is Claude, Codex, Kimi. Only configured kinds with at least one declared reviewer count as slots, including declared ones that are offline, paused, quota-limited or failing, so availability never renumbers them; configured kinds with no declaration are listed after the walk as `no declared reviewer`. `review.rerotate` defaults to false. Pool selection starts at PR number modulo the number of declared kind slots, or task id when there is no PR, then skips the implementer's family and unavailable candidates. Delta review prefers the preceding eligible independent family in a fresh child. A preceding same-family fallback does not outrank a newly available independent family. `ahub route explain` shows the same pure walk.
|
|
6296
6421
|
|
|
6297
|
-
Codex requires a verified `codex-cli` (0.146.0, 0.163.0, 0.164.0 or 0.166.0) or one the person trusts on this machine, and a passing bounded runtime receipt before its model child starts. 0.146.0 and 0.163.0 passed the [2026-10-22 model-free production admission](verification/2026-10-22-codex-reviewer-isolation.md) and 0.164.0 the [2026-10-24 one](verification/2026-10-24-codex-0164-reviewer-isolation.md); 0.166.0 passed the [2026-10-31 model-free procedure](verification/2026-10-31-codex-0166-reviewer-isolation.md). Its [first authorized model review](verification/2026-10-31-codex-0166-reviewer-tool-call.md) missed a marker hidden by the fixture's accepted plan, so that admission was reverted. After a committed model-free envelope regression and a fixture correction, the separately authorized [2026-11-02 single model review](verification/2026-11-02-codex-0166-reviewer-tool-call.md) persisted one approved verdict with the required marker and exact head; 0.166.0 is now verified. 0.167.0 passed the [2026-11-06 model-free procedure](verification/2026-11-06-codex-0167-reviewer-isolation.md) with 0.166.0 as control. The separately authorized [single model-backed attempt](verification/2026-11-06-codex-0167-reviewer-tool-call.md) failed a harness readiness/readback check after startup and marker preconditions; a complete persisted verdict/head/marker result was not recorded, so the model/tool outcome is unknown and 0.167.0 remains unverified. No retry was made. It joins the verified set only after a separately authorized model-backed tool-call run succeeds; until then it is refused unless the person runs `ahub agents trust codex-review 0.167.0`, and every runtime proof still runs. A refusal names the installed and verified versions. Either set `codex_bin` to a verified executable, or run `ahub agents trust codex-review <version>`: trust lifts only the version pin, and every proof below still runs before each child (#691). Each launch approves exactly `hub_review` and `hub_task_show` per tool (`approval_mode = "approve"`), never through a server-wide default: without it Codex 0.164.0 listed the tools but refused the call, so reviews ended with no verdict (#783). A model-free receipt proves the inventory, not that a verdict reaches the hub; a [model-backed 0.164.0 run](verification/2026-10-25-codex-0164-reviewer-tool-call.md) recorded one verdict through that path. The producer checks native binary/config stability, configured MCP inventory with only the two hub tools, effective Apps/plugins/hooks disablement, an explicit empty legacy `notify` command and a named filesystem profile. Apps needs separate feature readback because configured inventory omits runtime connectors. Web search is requested disabled; its effective turn mode is not read back and managed requirements can select Cached (see the verification ceiling). Each launch proves public-read, exact/glob/symlink private-denial, standard host credential denial and write-denial in temporary fixtures. Standard credential and configured tool-home/XDG subtrees are denied independently of project `local.deny`. Its sandboxed shell is filesystem read-only with private paths denied and network configured disabled; it is not Claude's Read/Grep/Glob-only tool whitelist. No credential home is copied.
|
|
6422
|
+
Codex requires a verified `codex-cli` (0.146.0, 0.163.0, 0.164.0 or 0.166.0) or one the person trusts on this machine, and a passing bounded runtime receipt before its model child starts. 0.146.0 and 0.163.0 passed the [2026-10-22 model-free production admission](verification/2026-10-22-codex-reviewer-isolation.md) and 0.164.0 the [2026-10-24 one](verification/2026-10-24-codex-0164-reviewer-isolation.md); 0.166.0 passed the [2026-10-31 model-free procedure](verification/2026-10-31-codex-0166-reviewer-isolation.md). Its [first authorized model review](verification/2026-10-31-codex-0166-reviewer-tool-call.md) missed a marker hidden by the fixture's accepted plan, so that admission was reverted. After a committed model-free envelope regression and a fixture correction, the separately authorized [2026-11-02 single model review](verification/2026-11-02-codex-0166-reviewer-tool-call.md) persisted one approved verdict with the required marker and exact head; 0.166.0 is now verified. 0.167.0 passed the [2026-11-06 model-free procedure](verification/2026-11-06-codex-0167-reviewer-isolation.md) with 0.166.0 as control. The separately authorized [single model-backed attempt](verification/2026-11-06-codex-0167-reviewer-tool-call.md) failed a harness readiness/readback check after startup and marker preconditions; a complete persisted verdict/head/marker result was not recorded, so the model/tool outcome is unknown and 0.167.0 remains unverified. No retry was made. It joins the verified set only after a separately authorized model-backed tool-call run succeeds; until then it is refused unless the person runs `ahub agents trust codex-review 0.167.0`, and every runtime proof still runs. 0.167.2 passed the [2026-11-13 model-free procedure](verification/2026-11-13-codex-01672-reviewer-isolation.md) with 0.166.0 and 0.167.0 as controls and stays out of the verified set on the same terms (`ahub agents trust codex-review 0.167.2`). A refusal names the installed and verified versions. Either set `codex_bin` to a verified executable, or run `ahub agents trust codex-review <version>`: trust lifts only the version pin, and every proof below still runs before each child (#691). Each launch approves exactly `hub_review` and `hub_task_show` per tool (`approval_mode = "approve"`), never through a server-wide default: without it Codex 0.164.0 listed the tools but refused the call, so reviews ended with no verdict (#783). A model-free receipt proves the inventory, not that a verdict reaches the hub; a [model-backed 0.164.0 run](verification/2026-10-25-codex-0164-reviewer-tool-call.md) recorded one verdict through that path. The producer checks native binary/config stability, configured MCP inventory with only the two hub tools, effective Apps/plugins/hooks disablement, an explicit empty legacy `notify` command and a named filesystem profile. Apps needs separate feature readback because configured inventory omits runtime connectors. Web search is requested disabled; its effective turn mode is not read back and managed requirements can select Cached (see the verification ceiling). Each launch proves public-read, exact/glob/symlink private-denial, standard host credential denial and write-denial in temporary fixtures. Standard credential and configured tool-home/XDG subtrees are denied independently of project `local.deny`. Its sandboxed shell is filesystem read-only with private paths denied and network configured disabled; it is not Claude's Read/Grep/Glob-only tool whitelist. No credential home is copied.
|
|
6298
6423
|
|
|
6299
6424
|
Kimi requires a compat-admitted Kimi Code on the hub's PATH (receipt-verified 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.1 and 2.5.1), signed in through its managed OAuth provider, and a passing runtime preparation before each child; an unverified/untrusted version or a failed preparation is unavailable with its reason. The [2.3.0](verification/2026-10-22-kimi-qwen-compat.md), [2.3.1](verification/2026-10-25-kimi-231-reviewer-compat.md), [2.3.2](verification/2026-10-26-kimi-232-reviewer-compat.md), [2.4.1](verification/2026-10-31-kimi-241-reviewer-compat.md) and [2.5.1](verification/2026-11-06-kimi-251-reviewer-compat.md) receipts are model-free and do not verify real login/provider readiness. Each review runs a new `kimi -p` child without Seatbelt, in a private `KIMI_CODE_HOME` with managed-provider-only config, a clean temporary working directory and an empty skills directory. Its agent may call only `hub_review` and `hub_task_show`, through a task-bound loopback MCP session that never carries the hub's control token, and has no native read, file or shell tool: it reviews the screened brief and host facts only. Its `credentials/`, `oauth/` and `device_id` link to the person's native Kimi files, so it shares the native login, refresh lock and the Kimi account's budget; no token is copied. A stop revokes its verdict authority first, then waits briefly while an OAuth refresh holds the lock; a forced stop mid-refresh may require a native re-login. The Kimi backend records no measured token counts here, so its usage stays unknown; the 2.3.0 receipt makes no usage claim. This is a native tool-authority boundary, not filesystem or network isolation.
|
|
6300
6425
|
|
|
@@ -6394,7 +6519,7 @@ Native launcher connections retry transport timeouts/unclean closes with bounded
|
|
|
6394
6519
|
|
|
6395
6520
|
## amem runtime (agent-mem#13 P4)
|
|
6396
6521
|
|
|
6397
|
-
The hub exact-pins @staix/agent-mem <!-- facts:agent-mem-pin -->0.
|
|
6522
|
+
The hub exact-pins @staix/agent-mem <!-- facts:agent-mem-pin -->0.26.0<!-- /facts:agent-mem-pin --> for recall, curated evidence and local deterministic capture. No runtime call reaches a claude-mem worker; `memory.worker_url` is ignored. The person's `ahub memory import claude-mem` remains explicit and off by default. Existing profile, alias, PII and private-turn fences still apply. `ask --remember` and context checkpoints propose machine-local candidates, never automatic curated evidence. See [memory integration](memory.md#in-process-recall-and-capture-agent-mem13-p4) for changed behavior and bounded-view ceilings.
|
|
6398
6523
|
|
|
6399
6524
|
## Person-run backlog legs (#1176)
|
|
6400
6525
|
|
|
@@ -6455,13 +6580,14 @@ The selected project's configured conductor may run the commands below through i
|
|
|
6455
6580
|
| research backfill / bench run / source add / goal link | Existing bounded CLI or daemon paths, with fixed audit labels |
|
|
6456
6581
|
| start Jcode | Launcher-only peer the conductor is configured to start |
|
|
6457
6582
|
| task unassign <id> [--role owner\|reviewer] [--revision N] | The actual conductor is recorded; no replacement is routed and no native work is stopped |
|
|
6458
|
-
| guidance probe register/start/show/cancel | Bounded private probe declaration
|
|
6583
|
+
| guidance probe register/start/show/receipts/cancel | Bounded private probe declaration, fake-only lifecycle and the read-only sealed-receipt export through Tasks (#1226); `--live-test` is refused and production has no probe runner |
|
|
6459
6584
|
| restart --yes | Only with a source-issued continuation proof for this project's own operation |
|
|
6460
6585
|
| upgrade --yes --to <exact-version> | Only with proof for this project's supported exact-version upgrade; newer coordinator handoff is person-only |
|
|
6461
6586
|
| recovery resume\|abort [<op-id>] | Only the initiating conductor's own restart/authorized-upgrade operation; the person keeps the normal recovery path |
|
|
6462
6587
|
| doctor --orphans --kill | Selected project's positively identified hub-owned process only; no cross-project registrations or unsigned process files. Prints the stopped pids for a person; `--json` prints the hub's reply |
|
|
6463
6588
|
| logs / export | Bounded daemon projections, with unsupported/private records withheld; logs -f ends when authority ends |
|
|
6464
6589
|
| settings set | Only the thirteen existing live registry keys listed below |
|
|
6590
|
+
| sdlc configure [--mode off\|advise] [--required-checks <names>] | Only on the person's direct instruction in the conductor's own session (#1432); stages `off`/`advise` and the required check names for the next hub start, never `enforce` or while running or file mode is `enforce` ([contract](sdlc.md#instructed-conductor-configuration-1432)) |
|
|
6465
6591
|
|
|
6466
6592
|
The exact settings keys are `task_sweep.enabled`, `task_sweep.auto_reassign`, `task_sweep.no_writes_turns`, `task_sweep.interval_s`, `task_sweep.unaccepted_min`, `task_sweep.idle_min`, `task_sweep.review_min`, `task_sweep.ready_min`, `task_sweep.ladder_min`, `snapshots.enabled`, `research.enabled`, `approvals.notify` and `tasks.escalate_after`. New keys receive no authority by prefix. Generic roster setting writes still use the dedicated roster lifecycle. Conductor setting records name the initiating peer, and conductor writes preserve the person's pending undo record. An intervening write can still invalidate that undo through the existing file-digest guard; preserving the record does not bypass that guard. Permission modes, roles, `models start|stop`, arbitrary configuration reload and undo remain person commands. `task cancel` remains a separate own-task `hub_task_cancel` permission, not a conductor operation.
|
|
6467
6593
|
|
|
@@ -7028,13 +7154,13 @@ Corrupt or unreadable provenance stays unknown and held. The status next step di
|
|
|
7028
7154
|
|
|
7029
7155
|
## Memory sync diagnosis (#1173)
|
|
7030
7156
|
|
|
7031
|
-
A ready memory profile does not prove a successful sync. Read the separate automatic-sync result and timestamp in `ahub status` or Memory. It resets to not run after daemon restart; it is not a machine-global record of manual CLI attempts. Missing remote configuration is the neutral `not-configured` state; an interrupted/stopped attempt is neutral `stopped`. Both keep their safe next step and produce no failure log under `quietSyncError`.
|
|
7157
|
+
A ready memory profile does not prove a successful sync. Read the separate automatic-sync result and timestamp in `ahub status` or Memory. It resets to not run after daemon restart; it is not a machine-global record of manual CLI attempts. Missing remote configuration (shared v1, generation and sharded homes alike) is the neutral `not-configured` state; an interrupted/stopped attempt is neutral `stopped`. Both keep their safe next step and produce no failure log under `quietSyncError`.
|
|
7032
7158
|
|
|
7033
|
-
For policy-declined rows, a person runs `ahub memory declined --json` to inspect IDs and safe rule categories, never note text. The pinned agent-mem 0.
|
|
7159
|
+
For policy-declined rows, a person runs `ahub memory declined --json` to inspect IDs and safe rule categories, never note text. The pinned agent-mem 0.26.0 public `inspectSyncPolicy` API bounds physical outbound inspection for shared-v1 and generation profiles. A complete result supplies the declined IDs and rules; `complete:false` means the scan is unavailable, stale or over its diagnostic bound, not zero declined rows. The command stays read-only and rechecks its profile binding. No migration or policy edit is performed automatically.
|
|
7034
7160
|
|
|
7035
7161
|
The hub projects verified withheld/exported counts when a trusted SDK sync returns a successful placement result. That projection is covered by an injected-result fixture, not an activated-store sync. Agent-mem requires a fresh `placementAttestation` even for an already active v3 store; since 0.35.0 the daemon builds one with the package's own `createPlacementAttestation` on every sync pass and supplies no writer facts of its own, so no attestation is fabricated. A refused attestation is the closed cause `writer` in status, the dashboard and the log: its category, its cause class (`missing`, `changed`, `unavailable`) and the next step (repair the amem install and its host pin, then a person runs `amem migrate --sync-placement --dry-run`). Activation remains a person-run action. A nonzero withheld count in a successful result is not a transport failure and does not mean those rows were deleted, rewritten or published. Inspect the IDs and rules before deliberately changing any source or approved policy; a forget operation does not remove its original text from physical history.
|
|
7036
7162
|
|
|
7037
|
-
A legacy store without active per-row placement still blocks a sync containing declined rows. Status names inactive placement and the person-only `amem migrate --sync-placement --dry-run` preview, which requires every local writer installation through repeatable `--writer-root` flags. It keeps `ahub memory declined` as the safe inspection step. The native CLI supports activation from 0.22.0; the pinned core is 0.
|
|
7163
|
+
A legacy store without active per-row placement still blocks a sync containing declined rows. Status names inactive placement and the person-only `amem migrate --sync-placement --dry-run` preview, which requires every local writer installation through repeatable `--writer-root` flags. It keeps `ahub memory declined` as the safe inspection step. The native CLI supports activation from 0.22.0; the pinned core is 0.26.0. See the [activation preview and prerequisites](memory.md#automatic-sync-health-1173) before any separately authorized apply. Preview writes nothing, and activation does not migrate layouts, change policy or automatically raise a format floor. The hub does not invoke it or fabricate its proof.
|
|
7038
7164
|
|
|
7039
7165
|
The bounded diagnostic addresses #1173 AC4; AC5 has result projection and the host attestation. Whether an activated store syncs on a person's machine is not established by the isolated fixtures.
|
|
7040
7166
|
|
|
@@ -7185,10 +7311,41 @@ real-home policy change is performed by posting a visual.
|
|
|
7185
7311
|
|
|
7186
7312
|
Headless Record handling follows amem's effective machine and repository policy. Set `records: false` in the amem configuration to disable instruction, capture and Record preference; repository policy can only narrow machine policy. There is no hub-only override. Private or unverified contexts fail closed for capture without preventing ordinary answer routing.
|
|
7187
7313
|
|
|
7188
|
-
Upgrade every amem consumer sharing a memory home together, including native CLI hooks and embedded hub/plugin copies. A 0.22.1 hook drain silently discards Record format-3 spool entries without a counted loss, and its config parser refuses the `records` key even when false, so set `records: false` only after every consumer is upgraded. The hub exact-pins 0.
|
|
7314
|
+
Upgrade every amem consumer sharing a memory home together, including native CLI hooks and embedded hub/plugin copies. A 0.22.1 hook drain silently discards Record format-3 spool entries without a counted loss, and its config parser refuses the `records` key even when false, so set `records: false` only after every consumer is upgraded. The hub exact-pins 0.26.0 and uses its public `recordsEnabled` accessor for the active home and execution repository; it does not upgrade the other consumers automatically. No real home is migrated by the feature's fixtures.
|
|
7189
7315
|
|
|
7190
7316
|
Count-only `records capture`, `records forwarded`, `records brief` and `records recall` diagnostics report accepted/dropped rows or before/after UTF-8 bytes. Record text, anchors, native session IDs and credentials are absent from these diagnostics. An absent registry proof or an unavailable Record source preserves old note content; a privacy or policy change during a read withholds the stale block.
|
|
7191
7317
|
|
|
7192
7318
|
## Claude Code companion (moved, #1338)
|
|
7193
7319
|
|
|
7194
7320
|
The Claude Code companion moved to [STAIxBWLB/ahub-claude](https://github.com/STAIxBWLB/ahub-claude) (#1387). Its code, tests and receipts live there; nothing of it remains in this repository. It is separate from the channel plugin `plugins/agent-hub` that ahub ships. It stays `fixture_only` with manual session-only placement, and its native receipts are person-run and not run.
|
|
7321
|
+
|
|
7322
|
+
## Reviewer quota admission and review caps (#1446)
|
|
7323
|
+
|
|
7324
|
+
`review.gate` accepts a finite number in `0..1` or `"off"` and defaults to `0.8`; a declared reviewer with known account usage at or above that floor is skipped. `review.unknown_quota` defaults to `skip`, so unknown, missing or stale quota evidence is skipped. Setting `review.unknown_quota = "pass"` admits unknown readings while keeping the numeric floor for known readings. An admitted unknown candidate never supplies quota-wait evidence. Setting `review.gate = "off"` disables the floor, unknown-reading check and every quota wait. Actual Budget pauses and manual pauses still block under either opt-out, as do the existing role, health, failed-reviewer and same-family constraints. Neither setting turns unknown usage into a known reading or clears a cleanup hold.
|
|
7325
|
+
|
|
7326
|
+
Both keys use the existing registered settings path and the same tier and `raises` risk as `review.gate`: use a person terminal or an `ahub ui --settings` session. An ordinary dashboard session or conductor does not gain write authority. These examples change the machine-local override through that guarded path:
|
|
7327
|
+
|
|
7328
|
+
```bash
|
|
7329
|
+
ahub settings set review.gate off
|
|
7330
|
+
ahub settings set review.gate 0.8
|
|
7331
|
+
ahub settings set review.unknown_quota pass
|
|
7332
|
+
ahub settings set review.unknown_quota skip
|
|
7333
|
+
ahub settings set review.unknown_quota inherit
|
|
7334
|
+
ahub settings set review.gate inherit
|
|
7335
|
+
```
|
|
7336
|
+
|
|
7337
|
+
`inherit` removes only the machine-local override; a project value or default still applies. `ahub route explain`, the routing line and `ahub budget` name the active quota admission rule. The unknown-quota skip reason names both opt-outs. These commands change admission policy only: there is no new account source, transport or resume path.
|
|
7338
|
+
|
|
7339
|
+
`review.max_minutes` defaults to `20` and caps each actual native review child once, regardless of activity. A cap uses owned process cleanup and records `reviewerFailure.reason = "review time cap"`; the task remains reviewable through the existing fallback.
|
|
7340
|
+
|
|
7341
|
+
With the numeric gate enabled, a quota wait requires every declared candidate to be actually quota-paused or skipped at the known floor, with a known reset for each, and no other blocker. The routing history names each candidate, paused/floor state and reset. The earliest reset only wakes a recheck, including Budget's existing reset plus 60-second expiry grace. `task_sweep.review_min` supplies the sole hard deadline; its initial deadline is bound to task incarnation/head/repository and survives restart without extension. Unknown evidence under the default skip policy, another blocker or expiry uses existing planner/person fallback. With unknown pass, an otherwise eligible unknown candidate is admitted instead of waiting; with gate off, no quota wait is retained. Head, privacy, close and shutdown changes cancel the old timer. Quota refusals never permanently exclude that reviewer for the head.
|
|
7342
|
+
|
|
7343
|
+
Hard reviewer refusals pause the canonical account and its siblings through Budget when observed, independently of eventual task reroute. A stop or cleanup failure cannot discard the observation. Account handoff waits until the owned group/watch settles; Kimi stderr remains admissible only after that settlement. Existing attached Codex account siblings supply the #1440 reads; reviewer-only children have no additional account transport. Without an attached source there is no claim of early reset observation. Only the existing Budget resume policy can release a hard pause; credit flags never do so.
|
|
7344
|
+
|
|
7345
|
+
Claude native `rate_limit_event` rejected frames and `assistant.error = "rate_limit"` are admitted at their outer envelope. Codex 0.166.0 exec supplies only a native error message, so matching is restricted to pinned refusal prefixes inside outer `error`/`turn.failed`; it never parses reset prose. These shapes follow the [official Claude parser](https://github.com/anthropics/claude-agent-sdk-python/blob/d48fa33d9c587d3b9f76307add4b0f9382afbba4/src/claude_agent_sdk/_internal/message_parser.py), [Codex exec schema](https://github.com/openai/codex/blob/rust-v0.166.0/codex-rs/exec/src/exec_events.rs) and [Codex refusal formatter](https://github.com/openai/codex/blob/rust-v0.166.0/codex-rs/protocol/src/error.rs).
|
|
7346
|
+
|
|
7347
|
+
Kimi has no verified typed quota error frame. The narrow exception requires a hub-owned nonzero child exit and a complete bounded own-stderr line starting `error: failed to run prompt: provider.` and containing `usage limit`. It is observed on 2.2.0, unverified on 2.5.2, and always has UNKNOWN reset, so never admits a wait. See the [authorized diagnostic receipt](verification/2026-10-19-kimi-agy-reviewer-isolation.md). Stdout/model/tool text and wire-log errors are never quota evidence.
|
|
7348
|
+
|
|
7349
|
+
Kimi reviewer usage is read from its isolated native session index/wire usage through the existing counter before profile removal, attributed once to the review task. A journal ACK precedes spawn; terminal accounting follows confirmed group settlement and usage read. An unmatched start, damaged replay or incomplete count makes soft headroom UNKNOWN across restart. No host start/cap timestamp clears it. Incomplete logs or missing terminal ACK retain the profile through the existing cleanup hold. Events carry only opaque attempt ids, enums, counts and times. These synthetic paths do not certify a live account reset or a newer native Kimi diagnostic.
|
|
7350
|
+
|
|
7351
|
+
Controlled recovery advertises `reviewer_quota`. A target needs it only when reviewer accounting/wait history is retained or the project explicitly configures `review.gate`, `review.unknown_quota` or `review.max_minutes` (including `unknown_quota = "skip"` and `gate = "off"`); legacy empty state remains compatible with older targets. Snapshot integrity binds ordered safe accounting fields, complete/pending/unknown counts and replay completeness, with no native session/home/text. Missing or changed journal state refuses target restoration. Ending a quota wait at its original deadline is separate from native review readiness: failed enforce-mode CI cannot extend the quota wait, and no premature native review is sent.
|