@staix/agent-hub 0.48.2 → 0.48.4

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 CHANGED
@@ -4,6 +4,14 @@ Issue and pull request numbers in the entries for 0.7.7 and earlier refer to the
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.48.4
8
+
9
+ - A memory status read no longer re-resolves the whole memory profile through agent-mem (#1747). On a sharded home that resolution re-validates every shard placement; in a daemon profile it was about 6% of the main thread. Status now runs the full check only when the binding's fence stamp has moved since the last passing check. The entry fence for memory work still checks in full on every call.
10
+
11
+ ## 0.48.3
12
+
13
+ - The five-minute roadmap sweep no longer blocks the daemon for about 2.5 s after its issue reads (#1741). The notice pass checked each finding's task against freshly built milestone views, one build (about 140 ms on a 1156-task board) per finding. It now rebuilds them only when the board changed.
14
+
7
15
  ## 0.48.2
8
16
 
9
17
  - The daemon no longer stalls on a roadmap check, on task lists or on status (#1741, #1738). A roadmap check runs one working-tree spec check per call instead of two per GitHub issue it reads (about a second of synchronous git each). A task without a risk receipt no longer reads the whole board for each row of a task list. Status reuses the main checkout's branch answer while git's HEAD and origin/HEAD files are unchanged, instead of two git processes per request.
package/README.md CHANGED
@@ -5,7 +5,7 @@ Code, Codex, Kimi Code, Pi and a hub-owned local worker (plus Qwen Code, Jcode a
5
5
  Antigravity if you want them) share a message bus, a task board and a memory, each
6
6
  connected through its own native interface.
7
7
 
8
- Status: 0.48.2, control protocol 17 (accepts 16). Bun + TypeScript, one loopback daemon per
8
+ Status: 0.48.4, control protocol 17 (accepts 16). Bun + TypeScript, one loopback daemon per
9
9
  project. Site: [agent-hub.staix.net](https://agent-hub.staix.net).
10
10
 
11
11
  Inspect bounded task and attempt metadata with `ahub lineage show`; admit external
@@ -49,7 +49,7 @@ Scope: the task flow, assignment, the state machine and the hub's MCP tools. Rea
49
49
  - A guard in `tasks.ts` or `conductor.ts` passes `preEffect` (throws `PreEffectToolRefusal`, `src/hub/tool-refusal.ts`) only before the operation's first board or hold write; a throw after a write, a readback failure or a wrapped error stays a plain `Error` (#254). The Pi side of the rule is in `adapters.md`.
50
50
  - Supervision reasons use structured enums, never history notes, check output or approval titles. Round signatures survive restart; later summaries count only newly joined tasks.
51
51
  - Supervision on a timer or per task change (#1738): `checkRound` skips the board read while its key (conductor, scope, `board.statusRevision()`, stored round) matches the last check that sent nothing, and it never keeps a key after a refused send. Per-task notices read through the `task(id)` port. Never add a `board.list()` to a supervision path that runs every second or on every task write.
52
- - Roadmap check and task views (#1741): `roadmapCheck` takes one spec check per call and passes it to every `milestoneList` it runs; never let `current()` or a per-issue step start another, since an uncached working-tree check is about a second of synchronous git. `current()` rebuilds the views only when its board key (`statusRevision`, milestones, links, releases, the caller's planner role) moved; add any new input of `roadmapSnapshot` to that key; building them scans every board task's text. `riskViewFor` returns before `riskCards` when the task has no risk receipt for the head; a task list calls it once per row.
52
+ - Roadmap check and task views (#1741): `roadmapCheck` takes one spec check per call and passes it to every `milestoneList` it runs; never let `current()` or a per-issue step start another, since an uncached working-tree check is about a second of synchronous git. `current()` rebuilds the views only when its board key (`statusRevision`, milestones, links, releases, the caller's planner role) moved; add any new input of `roadmapSnapshot` to that key (`roadmapBoardKey`), and reuse views under an unchanged key rather than calling `milestoneList` per item, as `roadmapNotify`'s per-finding recheck does; building them scans every board task's text. `riskViewFor` returns before `riskCards` when the task has no risk receipt for the head; a task list calls it once per row.
53
53
  - Supervision rules and proposals (#1362, #1368, #1374: `src/hub/supervision-rules.ts`, `src/hub/supervision-proposals.ts`): the reading stage has no effect path, `supervision-proposals.ts` reaches the board and bus only through ports, and a proposal runs its existing action only on an explicit `accept` by a present role with that action's own authority (`escalate`: conductor or person), never automatically and never retried; `Tasks.supervisionNotice` refuses a private task. Read `docs/design/supervision.md` before changing these paths.
54
54
  - Guidance variants (#1363, #1367, #1376: `src/hub/guidance-variants.ts`, `Tasks.guidanceVariant*`): lifecycle writes go only through `Tasks.guidanceVariantCreate` and `guidanceVariantWithdraw`; the `guidance_experiments` and `guidance_variants` tables are private local state, never copied into `Task`, refs, history, public views, bus notices or memory, and the guidance tools stay out of capture (`GUIDANCE_TOOL_NAMES`). Read `docs/design/guidance-experiments.md` before changing these paths.
55
55
 
@@ -18,7 +18,7 @@ Or use the matching GitHub release:
18
18
 
19
19
  <!-- facts:install-tag -->
20
20
  ```bash
21
- bun add -g github:STAIxBWLB/agent-hub#v0.48.2
21
+ bun add -g github:STAIxBWLB/agent-hub#v0.48.4
22
22
  ahub setup
23
23
  ```
24
24
  <!-- /facts:install-tag -->
@@ -54,6 +54,18 @@ A project whose hub is stopped is upgraded without starting it: `ahub upgrade
54
54
  --all-stopped --to <version>` does that for every stopped project at once
55
55
  (`--dry-run` lists each one first).
56
56
 
57
+ ## Upgrading to 0.48.4
58
+
59
+ Nothing to do beyond the upgrade. A memory status read no longer re-resolves the whole memory profile through agent-mem unless a profile metadata file changed (#1747). Memory work itself still runs the full check on every call. 0.48.4 raises no store, sync or agent-mem floor.
60
+
61
+ `ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.48.4` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
62
+
63
+ ## Upgrading to 0.48.3
64
+
65
+ Nothing to do beyond the upgrade. The five-minute roadmap sweep no longer blocks the daemon for about 2.5 s after its issue reads (#1741), because its notice pass reuses the milestone views across findings while the board is unchanged. 0.48.3 raises no store, sync or agent-mem floor.
66
+
67
+ `ahub upgrade` does not update the global CLI or the shared Claude plugin: run `bun add -g @staix/agent-hub@0.48.3` and then `ahub setup` yourself, and `ahub doctor` warns while either is older than a running daemon.
68
+
57
69
  ## Upgrading to 0.48.2
58
70
 
59
71
  Nothing to do beyond the upgrade. The daemon stops stalling on roadmap checks, task lists and status (#1741). A roadmap check now runs one spec check and builds its milestone views once, unless the board changes during the check; before, it repeated both around every GitHub issue it read. A task list no longer reads the whole board for every row. Status no longer starts two git processes per request. The daemon's RSS also stays lower, because those repeats caused most of its transient allocation. 0.48.2 raises no store, sync or agent-mem floor.
@@ -0,0 +1,36 @@
1
+ # 0.48.3 release verification
2
+
3
+ This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.48.3 and no live TUI launch.
4
+
5
+ ## Candidate
6
+
7
+ Version 0.48.3, prepared from main 1c9566af (1 commit since v0.48.2, 0 of them `feat`; bump rule: patch). The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.
8
+
9
+ ## Reviews
10
+
11
+ Pull requests named by the commits since v0.48.2: #1745.
12
+
13
+ - #1745 (#1741) was implemented and reviewed in the conductor's session without the hub, on the person's instruction. It is the remaining stall found by a 25-minute live run of 0.48.2.
14
+ - Its review was an OCR delegate review on head 30b11a6e, with no high or medium findings, recorded as a PR comment.
15
+ - It merged by squash at that same head (1c9566af), with `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards` green on the ready run 45968920241. No review thread was open, and no connector review arrived. No merge was bound to an approval at an earlier head.
16
+
17
+ ## Native acceptance receipts
18
+
19
+ Receipts added under `docs/verification/` since v0.48.2: none.
20
+
21
+ This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.48.3`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.
22
+
23
+ ## Document review
24
+
25
+ The only source commit since v0.48.2 is 1c9566af (#1745). Together with the release commit's version and bundle changes, it marked these 10 documents stale: README.md, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/agent-notes/security-review.md, docs/agent-notes/tasks.md, docs/agent-notes/tests.md, docs/memory.md, docs/operations.md, docs/quickstart.md and docs/security.md.
26
+
27
+ Each was reviewed against that diff. The commit changes one internal read path: `roadmapBoardKey` became a shared method, and the notice pass reuses its recheck views under an unchanged key. None of the documents states a per-finding view build. docs/agent-notes/tasks.md gained the reuse rule in that same commit, and docs/quickstart.md gained the 0.48.3 upgrade note. All 10 are restamped on the release branch.
28
+
29
+ ## Checks
30
+
31
+ `node scripts/check-docs.mjs --require-fresh`, `bun x tsc --noEmit` and `bun scripts/build.mjs --check` ran on the release branch, with results in the release PR. The release PR's exact-head CI is the package and full-suite gate. #1745's own head passed `scripts/check.sh --changed` on dgx02.
32
+
33
+ ## Known gaps, not blocking
34
+
35
+ - The 0.48.2 live run (25 min) is the baseline: no stall of 5 s or more, a flat 216 MB physical footprint, and a pair of stalls every five minutes (about 1.4 s, then 2.4-3.5 s). Offline, this release takes the second one from 2461 ms to 202 ms. A live recheck on 0.48.3 is pending; #1741 and #1738 stay open until it is clean.
36
+ - The first stall of each sweep (about 1.5 s: one working-tree spec check and three view builds) is not changed here.
@@ -0,0 +1,37 @@
1
+ # 0.48.4 release verification
2
+
3
+ This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.48.4 and no live TUI launch.
4
+
5
+ ## Candidate
6
+
7
+ Version 0.48.4, prepared from main 8f270633 (1 commit since v0.48.3, 0 of them `feat`; bump rule: patch). The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.
8
+
9
+ ## Reviews
10
+
11
+ Pull requests named by the commits since v0.48.3: #1748.
12
+
13
+ - #1748 (#1747) was implemented and reviewed in the conductor's session without the hub, on the person's instruction.
14
+ - Its review was an OCR delegate review on head be5eb656, with no high or medium findings, recorded as a PR comment.
15
+ - It merged by squash at that same head (8f270633), with `check (ubuntu-latest)`, `check (macos-latest)` and `seeded guards` green on the ready run 45986504017. No review thread was open, and no connector review arrived. No merge was bound to an approval at an earlier head.
16
+
17
+ ## Native acceptance receipts
18
+
19
+ Receipts added under `docs/verification/` since v0.48.3: none.
20
+
21
+ This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.48.4`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.
22
+
23
+ ## Document review
24
+
25
+ The only source commit since v0.48.3 is 8f270633 (#1748). Together with the release commit's version and bundle changes, it marked these 9 documents stale: README.md, docs/adding-an-ai-tool.md, docs/addons/claude-mem.md, docs/agent-notes/daemon.md, docs/agent-notes/tests.md, docs/memory.md, docs/operations.md, docs/quickstart.md and docs/security.md.
26
+
27
+ Each was reviewed against that diff. The commit changes when `MemoryProfileBinding.status()` runs its full check: only when `fenceStamp()` moved since the last passing check. `run()` and the profile contract are unchanged. None of the documents states that a status read runs the full fence. docs/quickstart.md gained the 0.48.4 upgrade note. All 9 are restamped on the release branch.
28
+
29
+ ## Checks
30
+
31
+ `node scripts/check-docs.mjs --require-fresh`, `bun x tsc --noEmit` and `bun scripts/build.mjs --check` ran on the release branch, with results in the release PR. The release PR's exact-head CI is the package and full-suite gate. #1748's head passed `scripts/check.sh --changed` on dgx02.
32
+
33
+ ## Known gaps, not blocking
34
+
35
+ - No live profile was taken on 0.48.4. The expected effect comes from the 0.48.1 profile, where `status` → `assertCurrent` was about 6.4% of the main thread.
36
+ - The per-call cost inside agent-mem stays open as STAIxBWLB/agent-mem#654.
37
+ - Known ceiling, marked `ponytail:` in the code: an append to an existing placement journal moves no stamped object. Status shows it only after the next `run()` latches the binding. Memory work itself is never let through.
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "documents": {
4
4
  "README.md": {
5
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
5
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
6
6
  "paths": [
7
7
  "package.json",
8
8
  "src/",
@@ -11,14 +11,14 @@
11
11
  ]
12
12
  },
13
13
  "docs/security.md": {
14
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
14
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
15
15
  "paths": [
16
16
  "src/",
17
17
  "templates/"
18
18
  ]
19
19
  },
20
20
  "docs/operations.md": {
21
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
21
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
22
22
  "paths": [
23
23
  "package.json",
24
24
  "src/",
@@ -35,7 +35,7 @@
35
35
  ]
36
36
  },
37
37
  "docs/quickstart.md": {
38
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
38
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
39
39
  "paths": [
40
40
  "package.json",
41
41
  "src/",
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  },
45
45
  "docs/adding-an-ai-tool.md": {
46
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
46
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
47
47
  "paths": [
48
48
  "src/adapters/registry-types.ts",
49
49
  "src/adapters/registry.ts",
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  },
64
64
  "docs/addons/claude-mem.md": {
65
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
65
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
66
66
  "paths": [
67
67
  "src/hub/tooling.ts",
68
68
  "src/adapters/definitions/native-policy-aux.ts",
@@ -189,7 +189,7 @@
189
189
  ]
190
190
  },
191
191
  "docs/memory.md": {
192
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
192
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
193
193
  "paths": [
194
194
  "package.json",
195
195
  "src/memory/",
@@ -375,7 +375,7 @@
375
375
  ]
376
376
  },
377
377
  "docs/agent-notes/daemon.md": {
378
- "verifiedAgainst": "4ef41748e0ae28e1f2854eac0c4d317e199971c0",
378
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
379
379
  "paths": [
380
380
  "src/hub/daemon.ts",
381
381
  "src/hub/control-client.ts",
@@ -488,7 +488,7 @@
488
488
  ]
489
489
  },
490
490
  "docs/agent-notes/tasks.md": {
491
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
491
+ "verifiedAgainst": "b56c4a6ac74a1b8a38cc058a81eb6794c79d6e9f",
492
492
  "paths": [
493
493
  "src/hub/tasks.ts",
494
494
  "src/hub/board.ts",
@@ -539,7 +539,7 @@
539
539
  ]
540
540
  },
541
541
  "docs/agent-notes/tests.md": {
542
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
542
+ "verifiedAgainst": "1d9774ac0d509011d51f5453be0f86b039e9f782",
543
543
  "paths": [
544
544
  "test/",
545
545
  "scripts/check.sh",
@@ -596,7 +596,7 @@
596
596
  ]
597
597
  },
598
598
  "docs/agent-notes/security-review.md": {
599
- "verifiedAgainst": "ada52f8d4dd718b96d45089ce176f86139a6dd43",
599
+ "verifiedAgainst": "b56c4a6ac74a1b8a38cc058a81eb6794c79d6e9f",
600
600
  "paths": [
601
601
  "src/hub/envelope.ts",
602
602
  "src/hub/conductor.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staix/agent-hub",
3
- "version": "0.48.2",
3
+ "version": "0.48.4",
4
4
  "description": "Native multi-agent hub: Claude Code, Codex, Kimi Code, Pi and local inference as peers in one project",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-hub",
3
- "version": "0.48.2",
3
+ "version": "0.48.4",
4
4
  "description": "Channel between Claude Code and the agent-hub daemon: peer messages from Codex, Kimi and the local worker arrive as channel events; hub_send replies.",
5
5
  "author": {
6
6
  "name": "Young Joon Lee",
@@ -14817,7 +14817,7 @@ var package_default;
14817
14817
  var init_package = __esm(() => {
14818
14818
  package_default = {
14819
14819
  name: "@staix/agent-hub",
14820
- version: "0.48.2",
14820
+ version: "0.48.4",
14821
14821
  description: "Native multi-agent hub: Claude Code, Codex, Kimi Code, Pi and local inference as peers in one project",
14822
14822
  license: "MIT",
14823
14823
  type: "module",
@@ -14799,7 +14799,7 @@ var package_default;
14799
14799
  var init_package = __esm(() => {
14800
14800
  package_default = {
14801
14801
  name: "@staix/agent-hub",
14802
- version: "0.48.2",
14802
+ version: "0.48.4",
14803
14803
  description: "Native multi-agent hub: Claude Code, Codex, Kimi Code, Pi and local inference as peers in one project",
14804
14804
  license: "MIT",
14805
14805
  type: "module",
@@ -320,8 +320,19 @@ export class MemoryProfileBinding {
320
320
  }
321
321
  }
322
322
 
323
+ /** #1747: the fence stamp of the last status read whose full check passed. */
324
+ private verifiedStamp: string | undefined;
325
+
323
326
  status(store?: MemoryStore, opts: { skippedRows?: boolean } = {}): MemoryProfileReceipt {
324
- try { this.assertCurrent(); } catch { /* Report the latched state without exposing metadata errors. */ }
327
+ // #1747: status is read on every status answer, and the full fence re-resolves the profile through agent-mem (every shard placement through
328
+ // canonicalJSON). Run it only when the cheap stamp moved since the last passing check. The stamp is taken first, so a change during the check
329
+ // is seen by the next read; run() stays a full check on every call.
330
+ // ponytail: a change the stamp does not cover (an append to an existing placement journal, see fenceObjects) shows in status only after the
331
+ // next run() latches the binding; stamp that journal too if status alone must report it.
332
+ const stamp = this.fenceStamp();
333
+ if (stamp === "unavailable" || stamp !== this.verifiedStamp) {
334
+ try { this.assertCurrent(); this.verifiedStamp = stamp; } catch { /* Report the latched state without exposing metadata errors. */ }
335
+ }
325
336
  let skippedRows = 0;
326
337
  if (opts.skippedRows !== false && !this.unavailable && store) {
327
338
  try { skippedRows = store.bridgeStatus()?.skippedRows ?? 0; } catch { this.invalidate(); }
package/src/hub/tasks.ts CHANGED
@@ -3869,7 +3869,7 @@ export class Tasks {
3869
3869
  // synchronous git per spec path (about a second on this repository), so it ran up to 200 times per call. A thrown check is kept as unavailable.
3870
3870
  let pinned: { report: SpecsCheckReport | SpecsCoverReport | undefined } | undefined;
3871
3871
  const specs = () => { if (!pinned) { pinned = { report: undefined }; pinned.report = this.roadmapSpecsFor(by); } return pinned.report; };
3872
- const boardKey = () => JSON.stringify([this.d.board.statusRevision(), this.d.board.milestones(), this.d.board.milestoneLinks(), this.d.board.releases(), this.isConfiguredPlanner(by)]);
3872
+ const boardKey = () => this.roadmapBoardKey(by);
3873
3873
  let checkedKey = boardKey(); // taken before the views, so a write between the two is compared, not skipped
3874
3874
  const views = this.milestoneList(by, specs), config = this.d.roadmapConfig?.() ?? { github_mirror: false, github_write: "off" as const }, privacy = JSON.stringify([this.d.routing(), this.d.piiPaths, this.d.deny]);
3875
3875
  const snapshot = (rows: typeof views) => JSON.stringify([rows, rows.flatMap(view => view.tasks.map(member => this.d.board.get(member.id)))]);
@@ -3944,6 +3944,11 @@ export class Tasks {
3944
3944
  current(); return checkRoadmap({ milestones, now: this.d.now?.() ?? Date.now(), closeLagMs: 24 * 60 * 60_000, mirrorEnabled: config.github_mirror, exportMatches }, include);
3945
3945
  }
3946
3946
 
3947
+ /** #1741: what the milestone views are built from, apart from config, privacy and the spec report: equal keys build equal views. */
3948
+ private roadmapBoardKey(by: PeerId): string {
3949
+ return JSON.stringify([this.d.board.statusRevision(), this.d.board.milestones(), this.d.board.milestoneLinks(), this.d.board.releases(), this.isConfiguredPlanner(by)]);
3950
+ }
3951
+
3947
3952
  /** Serialize at the host caller. Persist only admitted ids-only notices, so unavailable feeds can retry. */
3948
3953
  async roadmapNotify(taskIds: readonly number[], send: (task: number, milestone: number | null, rule: number, marker: string) => boolean): Promise<number> {
3949
3954
  if (!taskIds.length) return 0;
@@ -3956,6 +3961,9 @@ export class Tasks {
3956
3961
  return !this.d.board.hasRoadmapNotice(marker) && taskIds.some(id => eligible.includes(id) && (!referenced.length || referenced.includes(id)));
3957
3962
  };
3958
3963
  const checked = await this.roadmapCheck(HUB, select);
3964
+ // #1741: each finding rechecks membership against the current views; rebuild them only when the board key moved (a build is ~140 ms on a 1156-task board, once per finding before).
3965
+ let latestViews: ReturnType<Tasks["milestoneList"]> | undefined, latestKey: string | undefined;
3966
+ const currentViews = () => { const key = this.roadmapBoardKey(HUB); if (key !== latestKey || !latestViews) { latestKey = key; latestViews = this.milestoneList(HUB); } return latestViews; };
3959
3967
  let sent = 0;
3960
3968
  for (const finding of checked.findings) {
3961
3969
  const referenced = finding.items.filter(item => /^task:[1-9][0-9]*$/.test(item)).map(item => Number(item.slice(5)));
@@ -3965,7 +3973,7 @@ export class Tasks {
3965
3973
  const marker = createHash("sha256").update(JSON.stringify([finding.rule, finding.milestone, finding.items, finding.cause])).digest("hex");
3966
3974
  if (this.d.board.hasRoadmapNotice(marker)) continue;
3967
3975
  const latest = this.d.board.get(task);
3968
- if (!latest || this.isPii(latest) || !this.milestoneList(HUB).some(view => (finding.milestone === null || view.id === finding.milestone) && view.tasks.some(row => row.id === task))) continue;
3976
+ if (!latest || this.isPii(latest) || !currentViews().some(view => (finding.milestone === null || view.id === finding.milestone) && view.tasks.some(row => row.id === task))) continue;
3969
3977
  if (send(task, finding.milestone, finding.rule, marker) && this.d.board.recordRoadmapNotice(marker)) sent++;
3970
3978
  }
3971
3979
  return sent;