@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/memory.md
CHANGED
|
@@ -195,7 +195,7 @@ Changes from the worker integration are deliberate:
|
|
|
195
195
|
- Task briefs and ask use curated amem entries with authentic `mem:` identifiers. Raw capture is not evidence. The existing native graph-neighbourhood/fails-first path is retained.
|
|
196
196
|
- Recent recall supplements long-term notes with short-term curated notes. It does not recreate claude-mem's model-produced observation summaries. Those historical rows require the explicit person-run import.
|
|
197
197
|
- Local capture deterministically appends SessionStart, tool events, Stop excerpts and SessionEnd. Host session/turn/step/invocation identity distinguishes actual executions even when a provider reuses its tool-call id; a replay of the same observation dedupes. There is no model summarizer, worker, watcher or network call. Published CaptureStore owns bounded excerpts, cap/retention, contention spool and replay. The bound handle is reused; effective R6 config is checked before each append and a change reopens it before writing. Refusal and daemon shutdown close it.
|
|
198
|
-
- The host excludes private turns, PII tasks, private paths, memory/tool bookkeeping and secrets before capture. It screens complete input/output before truncation. Whole-row privacy screening also precedes read selection and rendering.
|
|
198
|
+
- The host excludes private turns, PII tasks, private paths, memory/tool bookkeeping and secrets before capture. Source and evidence reads (`hub_source_read`, `hub_evidence_read`), evidence records, guidance and lineage calls, and SDLC audit and survey reports (`hub_audit_report`, `hub_survey_report`) are never captured. It screens complete input/output before truncation. Whole-row privacy screening also precedes read selection and rendering.
|
|
199
199
|
- Native task notes are written once. Auxiliary checkpoint and model-answer writes are candidates, not another curated copy; their submitted metadata is retained in the candidate text and their note kind is preserved. The complete candidate must fit the package's 4000-character limit, or the save is unavailable. Model answers are excluded from every curated read projection even if an old import contains one.
|
|
200
200
|
- Supplemental reads use bounded exact-project pages with explicit coverage; see "P4 supplemental read and capture bounds" below. Published SearchIndex supplies ranking after screening, with a term-wise labelled fallback when FTS5 is absent.
|
|
201
201
|
|
|
@@ -209,7 +209,7 @@ Write screening examines both the JSON representation and literal structured key
|
|
|
209
209
|
|
|
210
210
|
## Agent-authored records (#1320)
|
|
211
211
|
|
|
212
|
-
Managed headless Codex, Kimi, Qwen, Jcode, Pi and local turns receive the package-owned Record instruction once per owned turn. Claude sessions keep their own amem hook path; isolated reviewers and person-owned TUI prompts receive no new instruction. The public `recordsEnabled` accessor from exact-pinned amem 0.
|
|
212
|
+
Managed headless Codex, Kimi, Qwen, Jcode, Pi and local turns receive the package-owned Record instruction once per owned turn. Claude sessions keep their own amem hook path; isolated reviewers and person-owned TUI prompts receive no new instruction. The public `recordsEnabled` accessor from exact-pinned amem 0.26.0 applies the effective machine/repository `records: false` setting to instruction, capture and Record preference. An unavailable policy disables this optional path.
|
|
213
213
|
|
|
214
214
|
The hub imports the instruction and parser from agent-mem. Valid final-answer records become `Record` capture rows with project and peer attribution, not curated notes or approved evidence. Complete text and anchors clear current secret, PII, private-path and deny policy before storage. Private, PII, review-scoped, remote, unbound and incomplete turns are excluded. Owner, turn, session, profile and policy must remain current; unsafe steering excludes the rest of that turn. No model or network call is added.
|
|
215
215
|
|
|
@@ -277,7 +277,7 @@ PII questions and private task contexts do not query the corpus or shared observ
|
|
|
277
277
|
|
|
278
278
|
## Automatic sync health (#1173)
|
|
279
279
|
|
|
280
|
-
Profile readiness and sync health are separate. `ahub status` and the dashboard Memory row show the current daemon's last automatic sync attempt: not run, not-configured, stopped, ok, or failed with a closed cause, declined count when known, and a next step. Upstream error text, remote URLs, row IDs and private patterns do not enter this status. This state is process-local; a restart starts at not run until its first attempt. 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`. A successful attempt resets the failure episode.
|
|
280
|
+
Profile readiness and sync health are separate. `ahub status` and the dashboard Memory row show the current daemon's last automatic sync attempt: not run, not-configured, stopped, ok, or failed with a closed cause, declined count when known, and a next step. Upstream error text, remote URLs, row IDs and private patterns do not enter this status. This state is process-local; a restart starts at not run until its first attempt. Missing remote configuration is the neutral `not-configured` state; agent-mem 0.26.0 reads the configured transport before outbound screening, so an unconfigured home reports it without inspecting rows. The host recognizes shared-v1, generation and sharded missing-remote messages as neutral. An interrupted/stopped attempt is neutral `stopped`. Both keep their safe next step and produce no failure log under `quietSyncError`. A successful attempt resets the failure episode.
|
|
281
281
|
|
|
282
282
|
Sync uses the configured agent-mem standalone policy, narrowed by the hub's current deny paths, PII patterns and project-private paths. Direct long-term writes clear that same policy before append. The core promotion callback rechecks each authored note payload: a declined note stays short while allowed notes can promote. Source logs are not rewritten. A policy is captured per attempt; the existing profile/selector and hub policy-version fences still apply, without claiming an atomic cross-process policy transaction.
|
|
283
283
|
|
|
@@ -285,11 +285,11 @@ An unchanged failure emits one safe log line per episode. A complete bounded pol
|
|
|
285
285
|
|
|
286
286
|
`ahub memory declined [--json]` is a person-only, read-only inspection. It reports physical outbound row IDs and safe policy categories, never title, body, path nodes or literal private patterns. Reads defer promotions and recheck the profile binding. Forgotten originals still matter: `forget` changes materialized visibility but leaves the source row in append-only history. Do not use it as a promise to clear a sync refusal.
|
|
287
287
|
|
|
288
|
-
The exact-pinned agent-mem 0.
|
|
288
|
+
The exact-pinned agent-mem 0.26.0 supplies bounded `inspectSyncPolicy` inspection for shared-v1 and generation profiles. A complete result lists the declined IDs and safe rule categories for the inspected physical outbound history, including originals hidden by a later forget. An incomplete `input-bound` result may now carry an optional `bound` receipt (`kind`, `limit`, `observed`, `nextStep`); `complete` and `reason` keep their shapes. An unavailable, stale or bounded-out inspection remains explicitly incomplete; it never proves that no declined rows exist. The hub uses the public SDK rather than private helpers, snapshots of full history or its own portable log reader.
|
|
289
289
|
|
|
290
290
|
The package also owns per-row local placement. The hub adopts only the projection of a successful trusted SDK placement result: `ok` with its verified withheld/exported counts. Since agent-mem 0.23.0 the daemon passes `placementAttestation` on every `syncMemory` pass, built by the package's own `createPlacementAttestation` for the memory home (`hostPlacementAttestation`, `src/hub/memory-sync-attestation.ts`). A legacy or shared-v1 store ignores it. The hub supplies no writer facts of its own, never fabricates the proof and builds a new one per pass, so no measurement outlives it. A refusal (`PlacementWriterContextError`) is its own closed cause `writer` in status, the dashboard and the log: the category (`running CLI`, `host package`, `setup receipt`, `declared writer`, `active locator`, `home floor`, `writer renewal`, or `unknown` for an unrecognized SDK category), the cause class (`missing`, `changed`, `unavailable`) and the next step (repair the amem install and its host pin, then a person runs `amem migrate --sync-placement --dry-run`). The package's message, paths and versions never enter status or logs. It logs once per episode like every other cause. Count projection does not delete or rewrite notes, change policy or promote a declined row; transport failures remain failures.
|
|
291
291
|
|
|
292
|
-
Legacy stores without active per-row placement still refuse a sync containing declined rows. The native amem CLI has person-only activation from 0.22.0 ([activation documentation](https://github.com/STAIxBWLB/agent-mem/blob/v0.24.0/README.md#initial-sync-placement-activation)). A person using a CLI upgraded with the hub's pin (0.
|
|
292
|
+
Legacy stores without active per-row placement still refuse a sync containing declined rows. The native amem CLI has person-only activation from 0.22.0 ([activation documentation](https://github.com/STAIxBWLB/agent-mem/blob/v0.24.0/README.md#initial-sync-placement-activation)). A person using a CLI upgraded with the hub's pin (0.26.0; a 0.22.1 install sharing the home drops Record entries, see [Agent-authored records](#agent-authored-records-1320)) can preview it with every local writer installation declared, including the CLI and hub library installs:
|
|
293
293
|
|
|
294
294
|
```sh
|
|
295
295
|
amem migrate --sync-placement --dry-run --writer-root '<cli-install-root>' --writer-root '<host-amem-install-root>' --json
|
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
|
|
@@ -653,6 +657,7 @@ and so is every help entry the gate has no class for yet;
|
|
|
653
657
|
| `ahub doctor --stale-anchors [--json]` | Allowed | a bounded read-only report of memory symbol anchors at current HEAD |
|
|
654
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 |
|
|
655
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 |
|
|
656
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 |
|
|
657
662
|
| `ahub sdlc status\|explain [<task>] [--json] [--color=...]` | Allowed | public lifecycle status; private tasks stay stubs, without private evidence or receipts |
|
|
658
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 |
|
|
@@ -666,6 +671,7 @@ and so is every help entry the gate has no class for yet;
|
|
|
666
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) |
|
|
667
672
|
| `ahub room list [--json]`, `ahub room status [<name>] [--json]` | Allowed | room metadata only; every other `room` form, the inbox included, stays Console |
|
|
668
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 |
|
|
669
675
|
|
|
670
676
|
`backlog list`, `release list` and `sdlc costs|metrics` retain their existing
|
|
671
677
|
planner/person policy. Their CLI forms stay Console for ordinary agents; a
|
|
@@ -713,7 +719,14 @@ project configuration, then open `ahub console` in a split terminal for approval
|
|
|
713
719
|
```
|
|
714
720
|
|
|
715
721
|
Launch that peer with `ahub claude` for channel pushes, or select `codex` in
|
|
716
|
-
`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,
|
|
717
730
|
observes `hub_status`, moves stalled work and obtains review before reporting
|
|
718
731
|
results and open decisions. It does not implement the tasks it handed out.
|
|
719
732
|
`hub_peer_start` starts a peer in the start mode a person set for it (see
|
|
@@ -1051,13 +1064,18 @@ plugin stale when the module changed after setup, so run `ahub setup` again afte
|
|
|
1051
1064
|
- **Space.** The plugin feeds acon's Space view from the dashboard's office model
|
|
1052
1065
|
(`src/ui/office-space.ts`): peers are actors (state from condition, approvals and review, with
|
|
1053
1066
|
approval, queue, paused and mode marks), the office rooms are queue, work, review and done zones,
|
|
1054
|
-
tasks are cards, and overlap, conflict and cohort links and recent message arcs are links.
|
|
1055
|
-
|
|
1056
|
-
|
|
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
|
|
1057
1073
|
out of that poll (its last scene is kept as the baseline for its next answer). The running-project
|
|
1058
1074
|
listing is reused for 10 s and then refreshed in the background, concurrent reads share one
|
|
1059
1075
|
computation, and a viewer that passes back the combined cursor gets `changed: false` while the
|
|
1060
|
-
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
|
|
1061
1079
|
reach the scene, never message bodies, task details,
|
|
1062
1080
|
approval titles or reasons; a PII task's card shows the `[pii]` stub.
|
|
1063
1081
|
|
|
@@ -1097,9 +1115,49 @@ pushes reach the session. In SDLC `advise` or `enforce`, it names the person's
|
|
|
1097
1115
|
spec acceptance (`ahub sdlc accept <task> --issue <n>`), plan-departure consent
|
|
1098
1116
|
when needed (`ahub sdlc accept-departure <task> <head> <reason...>`) and guarded
|
|
1099
1117
|
merge (`ahub sdlc merge <task>`) after the owner calls `hub_task_done` on an open
|
|
1100
|
-
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
|
|
1101
1122
|
refusal paths print no success next steps.
|
|
1102
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
|
+
|
|
1103
1161
|
`ahub up` waits for authenticated readiness. After 12 seconds, a verified live
|
|
1104
1162
|
child that is still pending produces a `still starting, pid N` message on stderr;
|
|
1105
1163
|
the CLI keeps waiting and confirms the retained runtime when it becomes ready.
|
|
@@ -1109,7 +1167,9 @@ An owned child observed to exit before readiness produces an error; a cancelled
|
|
|
1109
1167
|
operation cannot confirm startup.
|
|
1110
1168
|
|
|
1111
1169
|
Each completed daemon startup writes one `startup timings ms:` line to `hub.log`,
|
|
1112
|
-
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
|
|
1113
1173
|
lossless streaming pass; abandoned snapshot bodies are not read for startup.
|
|
1114
1174
|
The [startup receipt](verification/2026-11-07-daemon-startup-1232.md) separates
|
|
1115
1175
|
seed I/O from bounded usage-rollup I/O and records the isolated measurements.
|
|
@@ -1130,6 +1190,26 @@ value, or a flag given twice with different values, is refused with the allowed
|
|
|
1130
1190
|
values, and nothing is written. Executables, secrets, models, providers, instances
|
|
1131
1191
|
and permissions have no flags; they stay file edits.
|
|
1132
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
|
+
|
|
1133
1213
|
A person at a terminal who runs `ahub init` on a new project with no flag that
|
|
1134
1214
|
sets anything and no `--yes` is asked each setting in turn (#1065 T2): profile,
|
|
1135
1215
|
the agents `ahub up` starts, design specs and their review mode, SDLC mode (with
|
|
@@ -1861,8 +1941,15 @@ ahub study show [rc-0123456789ab] # list campaigns (50 per page, --af
|
|
|
1861
1941
|
ahub study close rc-0123456789ab 2 --reason "answered"
|
|
1862
1942
|
ahub study approve-protocol <64-hex hash> # person only: approve one exact experiment protocol
|
|
1863
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
|
|
1864
1946
|
```
|
|
1865
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
|
+
|
|
1866
1953
|
- **Contract.** The JSON names the question, scope, exclusions, registered source ids, 1 to 32 units
|
|
1867
1954
|
(round, question, perspective, required output, sources, dependencies and a purpose: discovery,
|
|
1868
1955
|
independent check, analysis or synthesis), deliverable sections, a stop policy (`maxUnits`,
|
|
@@ -1922,9 +2009,11 @@ ahub study experiments --campaign rc-0123456789ab [--after 50] # read the reco
|
|
|
1922
2009
|
ids, counts, states and provenance and stubs its text as `[pii]`. Study tool arguments and results are kept out
|
|
1923
2010
|
of hub-managed memory capture.
|
|
1924
2011
|
- **Upgrades.** The daemon advertises `research_records`, `research_dispatch`, `research_dropped_offers`,
|
|
1925
|
-
`research_experiments`, `research_comparisons`, `research_runners
|
|
2012
|
+
`research_experiments`, `research_comparisons`, `research_runners`, `research_evidence` and
|
|
2013
|
+
`research_evidence_withdrawal` (#931). While the
|
|
1926
2014
|
matching rows exist (for `research_runners`, stored runner receipts or any `research.runners` block; for
|
|
1927
|
-
`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
|
|
1928
2017
|
feature is refused.
|
|
1929
2018
|
|
|
1930
2019
|
## Hub memory
|
|
@@ -1942,7 +2031,7 @@ ahub memory forget 1a2b3c4d # a person's; also promote, demote, sup
|
|
|
1942
2031
|
|
|
1943
2032
|
`"memory": { "native": false }` in `.agenthub/config.json` turns it off for a project.
|
|
1944
2033
|
|
|
1945
|
-
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.
|
|
1946
2035
|
|
|
1947
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).
|
|
1948
2037
|
|
|
@@ -2051,6 +2140,7 @@ ahub undo <turn> --yes --context # Codex's latest turn: also drop it from Codex
|
|
|
2051
2140
|
`git gc` prunes them after `gc.pruneExpire` (two weeks by default); undoing an
|
|
2052
2141
|
older turn says so.
|
|
2053
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.
|
|
2054
2144
|
|
|
2055
2145
|
## Edit conflicts
|
|
2056
2146
|
|
|
@@ -2590,7 +2680,10 @@ it does not recover an earlier model. Raw/pull-only native TUI attachments remai
|
|
|
2590
2680
|
unsupported. A retained former override is labelled `native thread default (was override)`;
|
|
2591
2681
|
a rejected start leaves the next start free to sample a corrected selection.
|
|
2592
2682
|
The model and its source appear in `ahub status` and JSON output. An unknown native default remains
|
|
2593
|
-
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
|
|
2594
2687
|
at an eligible boundary; it does not claim the current turn changed models.
|
|
2595
2688
|
|
|
2596
2689
|
Changing a desired value during a turn leaves that turn unchanged. Steering and
|
|
@@ -3288,6 +3381,13 @@ source has not reported yet says which. `--json` carries `kind`, `source`, `supe
|
|
|
3288
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).
|
|
3289
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.
|
|
3290
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
|
+
|
|
3291
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.
|
|
3292
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.
|
|
3293
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.
|
|
@@ -3510,8 +3610,10 @@ Planner badge, and the console marks their rows.
|
|
|
3510
3610
|
Only those peers hold the role. Builtins are `claude`, `codex`, `kimi`, `qwen`
|
|
3511
3611
|
and `jcode`; a declared planner-capable instance is also eligible. A singleton
|
|
3512
3612
|
settings write stores a string for older configuration readers.
|
|
3513
|
-
- `roles`: with no `planner` key, the `roles` planners stand.
|
|
3514
|
-
|
|
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`.
|
|
3515
3617
|
- `automatic`: when no rostered peer holds the role, the hub gives it to the
|
|
3516
3618
|
first rostered peer of that list. It recomputes this at start and after
|
|
3517
3619
|
each roster change, and writes nothing to disk.
|
|
@@ -3871,6 +3973,13 @@ No PR is created by T1. The [T1b producer report](verification/2026-11-07-compat
|
|
|
3871
3973
|
|
|
3872
3974
|
## Upgrade and crash recovery
|
|
3873
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
|
+
|
|
3874
3983
|
### Side by side project versions (#1039)
|
|
3875
3984
|
|
|
3876
3985
|
`ahub --project <path|id> upgrade --to <version>` reviews and changes only that
|
|
@@ -3943,7 +4052,7 @@ or the plugin is older than the daemon it installed (#1179). It prints nothing w
|
|
|
3943
4052
|
| Runtime | Control protocol window | Legacy status field |
|
|
3944
4053
|
| --- | --- | --- |
|
|
3945
4054
|
| 0.12.20 through 0.25.0 | 16 only | `protocol: 16` |
|
|
3946
|
-
| 0.26.0 through 0.
|
|
4055
|
+
| 0.26.0 through 0.39.0 | 16 through 17 | `protocol: 16`, `protocolMin: 16`, `protocolMax: 17` |
|
|
3947
4056
|
|
|
3948
4057
|
New clients choose the highest common protocol. The protocol window remains 16
|
|
3949
4058
|
through 17, so the published protocol-16 client and channel plugin remain usable; unrelated feature
|
|
@@ -3951,7 +4060,10 @@ capabilities still require their own labels. A disjoint window refuses with 4426
|
|
|
3951
4060
|
The compatibility-floor `protocol` field remains readable by old clients.
|
|
3952
4061
|
|
|
3953
4062
|
Release N-1 is counted in minor versions, separately from this protocol window
|
|
3954
|
-
(#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,
|
|
3955
4067
|
the latest published patch of 0.37.x (exact `@staix/agent-mem` 0.24.0, control
|
|
3956
4068
|
protocol 17 with descriptor floor 16). Every patch on 0.38.x keeps that release
|
|
3957
4069
|
baseline. For 0.37.x, N-1 is 0.36.0,
|
|
@@ -5518,7 +5630,7 @@ that the file is untracked; a dropped value is reported by the settings result.
|
|
|
5518
5630
|
|
|
5519
5631
|
## SDLC artifact receipts and gates
|
|
5520
5632
|
|
|
5521
|
-
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)).
|
|
5522
5634
|
## Supervision proposals
|
|
5523
5635
|
|
|
5524
5636
|
`supervision.mode` is off by default and machine-local (`ahub settings set supervision.mode advisory`); a committed
|
|
@@ -5626,7 +5738,7 @@ Known ceiling (#559): jcode 0.98.1's top-level TUI spawns a shared server, witho
|
|
|
5626
5738
|
|
|
5627
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.
|
|
5628
5740
|
|
|
5629
|
-
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.
|
|
5630
5742
|
|
|
5631
5743
|
|
|
5632
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.
|
|
@@ -5889,7 +6001,12 @@ in the same write and sends it a fresh owner offer, so it can accept at once. A
|
|
|
5889
6001
|
reserved peer that cannot take it (offline, paused, excluded, at its WIP limit)
|
|
5890
6002
|
refuses the pull before any change, naming the peer and its reason; it is not
|
|
5891
6003
|
passed over to another peer. `ahub route explain` previews the same reserved-only
|
|
5892
|
-
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
|
|
5893
6010
|
was never started can return untouched. Omitting planning fields retains its
|
|
5894
6011
|
reservation, so `tasks.auto_pull` can offer it again as soon as the slot is free.
|
|
5895
6012
|
|
|
@@ -6264,7 +6381,7 @@ Default-branch capture runs only at daemon startup when a Claude implementer is
|
|
|
6264
6381
|
|
|
6265
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.
|
|
6266
6383
|
|
|
6267
|
-
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.
|
|
6268
6385
|
|
|
6269
6386
|
A headless Claude reviewer is run by the hub instead (task 223): declare
|
|
6270
6387
|
`"claude-review": { "kind": "claude", "roles": ["reviewer"], "start_mode": "headless" }`
|
|
@@ -6302,7 +6419,7 @@ A reviewer has a review scope (#852): `full` (reads the code, runs the affected
|
|
|
6302
6419
|
|
|
6303
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.
|
|
6304
6421
|
|
|
6305
|
-
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.
|
|
6306
6423
|
|
|
6307
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.
|
|
6308
6425
|
|
|
@@ -6402,7 +6519,7 @@ Native launcher connections retry transport timeouts/unclean closes with bounded
|
|
|
6402
6519
|
|
|
6403
6520
|
## amem runtime (agent-mem#13 P4)
|
|
6404
6521
|
|
|
6405
|
-
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.
|
|
6406
6523
|
|
|
6407
6524
|
## Person-run backlog legs (#1176)
|
|
6408
6525
|
|
|
@@ -6470,6 +6587,7 @@ The selected project's configured conductor may run the commands below through i
|
|
|
6470
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 |
|
|
6471
6588
|
| logs / export | Bounded daemon projections, with unsupported/private records withheld; logs -f ends when authority ends |
|
|
6472
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)) |
|
|
6473
6591
|
|
|
6474
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.
|
|
6475
6593
|
|
|
@@ -7036,13 +7154,13 @@ Corrupt or unreadable provenance stays unknown and held. The status next step di
|
|
|
7036
7154
|
|
|
7037
7155
|
## Memory sync diagnosis (#1173)
|
|
7038
7156
|
|
|
7039
|
-
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`.
|
|
7040
7158
|
|
|
7041
|
-
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.
|
|
7042
7160
|
|
|
7043
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.
|
|
7044
7162
|
|
|
7045
|
-
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.
|
|
7046
7164
|
|
|
7047
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.
|
|
7048
7166
|
|
|
@@ -7193,10 +7311,41 @@ real-home policy change is performed by posting a visual.
|
|
|
7193
7311
|
|
|
7194
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.
|
|
7195
7313
|
|
|
7196
|
-
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.
|
|
7197
7315
|
|
|
7198
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.
|
|
7199
7317
|
|
|
7200
7318
|
## Claude Code companion (moved, #1338)
|
|
7201
7319
|
|
|
7202
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.
|