@indigoai-us/hq-cli 5.345.247 → 5.345.248

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.
Files changed (239) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/assets/lanes-hooks/hq-lanes-drain.sh +1 -1
  3. package/contracts/host-canary-release.json +14 -0
  4. package/dist/command-catalog.generated.d.ts +1113 -0
  5. package/dist/command-catalog.generated.js +1370 -0
  6. package/dist/command-registration-plan.d.ts +6 -0
  7. package/dist/command-registration-plan.js +1 -0
  8. package/dist/commands/lanes-hold.js +7 -7
  9. package/dist/commands/lanes-resume.js +2 -2
  10. package/dist/commands/lanes-review.js +1 -1
  11. package/dist/commands/lanes-session-start.d.ts +1 -1
  12. package/dist/commands/lanes-session-start.js +3 -3
  13. package/dist/commands/lanes-shared.d.ts +1 -1
  14. package/dist/commands/lanes.d.ts +2 -2
  15. package/dist/commands/lanes.js +50 -50
  16. package/dist/commands/mesh.d.ts +25 -0
  17. package/dist/commands/mesh.js +48 -8
  18. package/dist/commands/ontology-graph.d.ts +62 -0
  19. package/dist/commands/ontology-graph.js +439 -0
  20. package/dist/index.js +1 -1
  21. package/dist/lanes-monitor-check-argv.d.ts +1 -1
  22. package/dist/lanes-monitor-check-argv.js +1 -1
  23. package/dist/lanes-monitor-check-fast.d.ts +1 -1
  24. package/dist/lanes-monitor-check-fast.js +1 -1
  25. package/dist/lanes-session-start-argv.d.ts +1 -1
  26. package/dist/lanes-session-start-argv.js +1 -1
  27. package/dist/lib/capacity/sign-in.d.ts +1 -1
  28. package/dist/lib/capacity/sign-in.js +1 -1
  29. package/dist/lib/daemon/hook-requests-conduct-link.js +2 -2
  30. package/dist/lib/daemon/lanes-monitor-state.d.ts +2 -2
  31. package/dist/lib/daemon/lanes-monitor-state.js +2 -2
  32. package/dist/lib/daemon/merge-sections.d.ts +3 -3
  33. package/dist/lib/daemon/merge-sections.js +7 -7
  34. package/dist/lib/daemon/remote-control-pools.js +1 -1
  35. package/dist/lib/daemon/run.js +1 -1
  36. package/dist/lib/daemon/state-file.d.ts +1 -1
  37. package/dist/lib/daemon/state-file.js +1 -1
  38. package/dist/lib/flag-snapshot-file.d.ts +2 -0
  39. package/dist/lib/flag-snapshot-file.js +118 -48
  40. package/dist/lib/hook-engine/canary-gate.d.ts +57 -3
  41. package/dist/lib/hook-engine/canary-gate.js +138 -6
  42. package/dist/lib/hot-channels/graph-context.d.ts +105 -0
  43. package/dist/lib/hot-channels/graph-context.js +377 -0
  44. package/dist/lib/hot-channels/signals-pass.js +27 -1
  45. package/dist/lib/lanes/claude-credential.d.ts +1 -1
  46. package/dist/lib/lanes/claude-credential.js +1 -1
  47. package/dist/lib/lanes/delivery-core.d.ts +1 -1
  48. package/dist/lib/lanes/delivery-core.js +1 -1
  49. package/dist/lib/lanes/delivery.d.ts +10 -10
  50. package/dist/lib/lanes/delivery.js +8 -8
  51. package/dist/lib/lanes/dropbox.d.ts +1 -1
  52. package/dist/lib/lanes/dropbox.js +1 -1
  53. package/dist/lib/lanes/hooks-install.js +2 -2
  54. package/dist/lib/lanes/index.d.ts +1 -1
  55. package/dist/lib/lanes/index.js +1 -1
  56. package/dist/lib/lanes/monitor.js +1 -1
  57. package/dist/lib/lanes/quota-notice.js +1 -1
  58. package/dist/lib/lanes/quota.d.ts +1 -1
  59. package/dist/lib/lanes/quota.js +1 -1
  60. package/dist/lib/lanes/repo-merge-hold.d.ts +2 -2
  61. package/dist/lib/lanes/repo-merge-hold.js +2 -2
  62. package/dist/lib/lanes/spawn.d.ts +4 -4
  63. package/dist/lib/lanes/spawn.js +5 -5
  64. package/dist/lib/mesh/live/company-flag-refresh.d.ts +61 -0
  65. package/dist/lib/mesh/live/company-flag-refresh.js +159 -0
  66. package/dist/lib/mesh/live/company-reporting-gaps.d.ts +61 -0
  67. package/dist/lib/mesh/live/company-reporting-gaps.js +238 -0
  68. package/dist/lib/mesh/live/daemon/duplicate-unit.d.ts +156 -0
  69. package/dist/lib/mesh/live/daemon/duplicate-unit.js +616 -0
  70. package/dist/lib/mesh/live/daemon/run.d.ts +13 -0
  71. package/dist/lib/mesh/live/daemon/run.js +35 -2
  72. package/dist/lib/mesh/live/direct-drain.js +1 -1
  73. package/dist/lib/mesh/live/emit.d.ts +3 -0
  74. package/dist/lib/mesh/live/emit.js +32 -9
  75. package/dist/lib/mesh/live/flush.d.ts +3 -0
  76. package/dist/lib/mesh/live/flush.js +115 -32
  77. package/dist/lib/mesh/live/liveness-carry.d.ts +1 -1
  78. package/dist/lib/mesh/live/liveness-carry.js +1 -1
  79. package/dist/lib/mesh/live/reporting-privacy.d.ts +119 -3
  80. package/dist/lib/mesh/live/reporting-privacy.js +235 -11
  81. package/dist/lib/mesh/live/spool.d.ts +17 -2
  82. package/dist/lib/mesh/live/spool.js +22 -6
  83. package/dist/lib/ontology-graph/legacy/coverage.d.ts +67 -0
  84. package/dist/lib/ontology-graph/legacy/coverage.js +192 -0
  85. package/dist/lib/ontology-graph/legacy/index.d.ts +199 -0
  86. package/dist/lib/ontology-graph/legacy/index.js +1150 -0
  87. package/dist/lib/ontology-graph/legacy/parse.d.ts +49 -0
  88. package/dist/lib/ontology-graph/legacy/parse.js +126 -0
  89. package/dist/lib/ontology-graph/legacy/report.d.ts +14 -0
  90. package/dist/lib/ontology-graph/legacy/report.js +254 -0
  91. package/dist/lib/ontology-graph/legacy/verb-map.d.ts +35 -0
  92. package/dist/lib/ontology-graph/legacy/verb-map.js +84 -0
  93. package/dist/lib/ontology-graph/lint/checks.d.ts +140 -0
  94. package/dist/lib/ontology-graph/lint/checks.js +717 -0
  95. package/dist/lib/ontology-graph/lint/coverage.d.ts +106 -0
  96. package/dist/lib/ontology-graph/lint/coverage.js +241 -0
  97. package/dist/lib/ontology-graph/lint/daily-job.d.ts +259 -0
  98. package/dist/lib/ontology-graph/lint/daily-job.js +595 -0
  99. package/dist/lib/ontology-graph/lint/index.d.ts +65 -0
  100. package/dist/lib/ontology-graph/lint/index.js +176 -0
  101. package/dist/lib/ontology-graph/model/files.d.ts +20 -0
  102. package/dist/lib/ontology-graph/model/files.js +89 -0
  103. package/dist/lib/ontology-graph/model/index.d.ts +65 -0
  104. package/dist/lib/ontology-graph/model/index.js +100 -0
  105. package/dist/lib/ontology-graph/model/pass-tasks.d.ts +156 -0
  106. package/dist/lib/ontology-graph/model/pass-tasks.js +345 -0
  107. package/dist/lib/ontology-graph/model/pass.d.ts +109 -0
  108. package/dist/lib/ontology-graph/model/pass.js +958 -0
  109. package/dist/lib/ontology-graph/model/runner.d.ts +50 -0
  110. package/dist/lib/ontology-graph/model/runner.js +160 -0
  111. package/dist/lib/ontology-graph/model/step.d.ts +195 -0
  112. package/dist/lib/ontology-graph/model/step.js +523 -0
  113. package/dist/lib/ontology-graph/model/tasks.d.ts +183 -0
  114. package/dist/lib/ontology-graph/model/tasks.js +349 -0
  115. package/dist/lib/ontology-graph/not-implemented.d.ts +5 -0
  116. package/dist/lib/ontology-graph/not-implemented.js +8 -0
  117. package/dist/lib/ontology-graph/org/compare.d.ts +28 -0
  118. package/dist/lib/ontology-graph/org/compare.js +239 -0
  119. package/dist/lib/ontology-graph/org/derive.d.ts +65 -0
  120. package/dist/lib/ontology-graph/org/derive.js +352 -0
  121. package/dist/lib/ontology-graph/org/index.d.ts +73 -0
  122. package/dist/lib/ontology-graph/org/index.js +513 -0
  123. package/dist/lib/ontology-graph/org/load.d.ts +31 -0
  124. package/dist/lib/ontology-graph/org/load.js +476 -0
  125. package/dist/lib/ontology-graph/org/role.d.ts +38 -0
  126. package/dist/lib/ontology-graph/org/role.js +268 -0
  127. package/dist/lib/ontology-graph/org/structure.d.ts +63 -0
  128. package/dist/lib/ontology-graph/org/structure.js +437 -0
  129. package/dist/lib/ontology-graph/org/text.d.ts +95 -0
  130. package/dist/lib/ontology-graph/org/text.js +315 -0
  131. package/dist/lib/ontology-graph/org/types.d.ts +452 -0
  132. package/dist/lib/ontology-graph/org/types.js +80 -0
  133. package/dist/lib/ontology-graph/pages/index.d.ts +64 -0
  134. package/dist/lib/ontology-graph/pages/index.js +193 -0
  135. package/dist/lib/ontology-graph/pages/render.d.ts +142 -0
  136. package/dist/lib/ontology-graph/pages/render.js +682 -0
  137. package/dist/lib/ontology-graph/proposals/apply.d.ts +109 -0
  138. package/dist/lib/ontology-graph/proposals/apply.js +468 -0
  139. package/dist/lib/ontology-graph/proposals/group.d.ts +63 -0
  140. package/dist/lib/ontology-graph/proposals/group.js +232 -0
  141. package/dist/lib/ontology-graph/proposals/index.d.ts +173 -0
  142. package/dist/lib/ontology-graph/proposals/index.js +474 -0
  143. package/dist/lib/ontology-graph/proposals/model.d.ts +162 -0
  144. package/dist/lib/ontology-graph/proposals/model.js +196 -0
  145. package/dist/lib/ontology-graph/proposals/org-chart.d.ts +82 -0
  146. package/dist/lib/ontology-graph/proposals/org-chart.js +340 -0
  147. package/dist/lib/ontology-graph/read/brief.d.ts +26 -0
  148. package/dist/lib/ontology-graph/read/brief.js +251 -0
  149. package/dist/lib/ontology-graph/read/graph-index.d.ts +76 -0
  150. package/dist/lib/ontology-graph/read/graph-index.js +198 -0
  151. package/dist/lib/ontology-graph/read/index.d.ts +59 -0
  152. package/dist/lib/ontology-graph/read/index.js +792 -0
  153. package/dist/lib/ontology-graph/read/member.d.ts +7 -0
  154. package/dist/lib/ontology-graph/read/member.js +34 -0
  155. package/dist/lib/ontology-graph/read/names.d.ts +44 -0
  156. package/dist/lib/ontology-graph/read/names.js +292 -0
  157. package/dist/lib/ontology-graph/read/reader-setting.d.ts +19 -0
  158. package/dist/lib/ontology-graph/read/reader-setting.js +62 -0
  159. package/dist/lib/ontology-graph/read/test-graph.d.ts +37 -0
  160. package/dist/lib/ontology-graph/read/test-graph.js +150 -0
  161. package/dist/lib/ontology-graph/replay/buffered-store.d.ts +33 -0
  162. package/dist/lib/ontology-graph/replay/buffered-store.js +50 -0
  163. package/dist/lib/ontology-graph/replay/config.d.ts +41 -0
  164. package/dist/lib/ontology-graph/replay/config.js +105 -0
  165. package/dist/lib/ontology-graph/replay/engine.d.ts +100 -0
  166. package/dist/lib/ontology-graph/replay/engine.js +1174 -0
  167. package/dist/lib/ontology-graph/replay/extractors.d.ts +59 -0
  168. package/dist/lib/ontology-graph/replay/extractors.js +1555 -0
  169. package/dist/lib/ontology-graph/replay/index.d.ts +90 -0
  170. package/dist/lib/ontology-graph/replay/index.js +220 -0
  171. package/dist/lib/ontology-graph/replay/listing-manifest.d.ts +66 -0
  172. package/dist/lib/ontology-graph/replay/listing-manifest.js +242 -0
  173. package/dist/lib/ontology-graph/replay/member.d.ts +19 -0
  174. package/dist/lib/ontology-graph/replay/member.js +65 -0
  175. package/dist/lib/ontology-graph/replay/mentions.d.ts +58 -0
  176. package/dist/lib/ontology-graph/replay/mentions.js +239 -0
  177. package/dist/lib/ontology-graph/replay/readers.d.ts +98 -0
  178. package/dist/lib/ontology-graph/replay/readers.js +1251 -0
  179. package/dist/lib/ontology-graph/replay/rules.d.ts +127 -0
  180. package/dist/lib/ontology-graph/replay/rules.js +374 -0
  181. package/dist/lib/ontology-graph/replay/scope.d.ts +35 -0
  182. package/dist/lib/ontology-graph/replay/scope.js +115 -0
  183. package/dist/lib/ontology-graph/replay/transcripts.d.ts +39 -0
  184. package/dist/lib/ontology-graph/replay/transcripts.js +224 -0
  185. package/dist/lib/ontology-graph/replay/util.d.ts +55 -0
  186. package/dist/lib/ontology-graph/replay/util.js +256 -0
  187. package/dist/lib/ontology-graph/resolve/entity-index.d.ts +159 -0
  188. package/dist/lib/ontology-graph/resolve/entity-index.js +652 -0
  189. package/dist/lib/ontology-graph/resolve/index.d.ts +113 -0
  190. package/dist/lib/ontology-graph/resolve/index.js +214 -0
  191. package/dist/lib/ontology-graph/resolve/machine.d.ts +34 -0
  192. package/dist/lib/ontology-graph/resolve/machine.js +95 -0
  193. package/dist/lib/ontology-graph/resolve/normalize.d.ts +35 -0
  194. package/dist/lib/ontology-graph/resolve/normalize.js +124 -0
  195. package/dist/lib/ontology-graph/resolve/org-chart.d.ts +107 -0
  196. package/dist/lib/ontology-graph/resolve/org-chart.js +578 -0
  197. package/dist/lib/ontology-graph/resolve/org-layer.d.ts +78 -0
  198. package/dist/lib/ontology-graph/resolve/org-layer.js +159 -0
  199. package/dist/lib/ontology-graph/resolve/org-seed.d.ts +141 -0
  200. package/dist/lib/ontology-graph/resolve/org-seed.js +631 -0
  201. package/dist/lib/ontology-graph/resolve/org-sources.d.ts +165 -0
  202. package/dist/lib/ontology-graph/resolve/org-sources.js +634 -0
  203. package/dist/lib/ontology-graph/resolve/roster.d.ts +76 -0
  204. package/dist/lib/ontology-graph/resolve/roster.js +226 -0
  205. package/dist/lib/ontology-graph/resolve/seed.d.ts +267 -0
  206. package/dist/lib/ontology-graph/resolve/seed.js +1198 -0
  207. package/dist/lib/ontology-graph/resolve/upsert.d.ts +58 -0
  208. package/dist/lib/ontology-graph/resolve/upsert.js +139 -0
  209. package/dist/lib/ontology-graph/resolve/writer.d.ts +128 -0
  210. package/dist/lib/ontology-graph/resolve/writer.js +351 -0
  211. package/dist/lib/ontology-graph/schema/authority.d.ts +73 -0
  212. package/dist/lib/ontology-graph/schema/authority.js +157 -0
  213. package/dist/lib/ontology-graph/schema/default-schema.d.ts +10 -0
  214. package/dist/lib/ontology-graph/schema/default-schema.js +242 -0
  215. package/dist/lib/ontology-graph/schema/grammar.d.ts +57 -0
  216. package/dist/lib/ontology-graph/schema/grammar.js +409 -0
  217. package/dist/lib/ontology-graph/schema/index.d.ts +12 -0
  218. package/dist/lib/ontology-graph/schema/index.js +10 -0
  219. package/dist/lib/ontology-graph/schema/validate.d.ts +13 -0
  220. package/dist/lib/ontology-graph/schema/validate.js +132 -0
  221. package/dist/lib/ontology-graph/store/files.d.ts +34 -0
  222. package/dist/lib/ontology-graph/store/files.js +207 -0
  223. package/dist/lib/ontology-graph/store/fs.d.ts +30 -0
  224. package/dist/lib/ontology-graph/store/fs.js +101 -0
  225. package/dist/lib/ontology-graph/store/graph-store.d.ts +14 -0
  226. package/dist/lib/ontology-graph/store/graph-store.js +520 -0
  227. package/dist/lib/ontology-graph/store/index.d.ts +18 -0
  228. package/dist/lib/ontology-graph/store/index.js +15 -0
  229. package/dist/lib/ontology-graph/store/ingest.d.ts +37 -0
  230. package/dist/lib/ontology-graph/store/ingest.js +323 -0
  231. package/dist/lib/ontology-graph/store/paths.d.ts +114 -0
  232. package/dist/lib/ontology-graph/store/paths.js +232 -0
  233. package/dist/lib/ontology-graph/types.d.ts +1183 -0
  234. package/dist/lib/ontology-graph/types.js +131 -0
  235. package/dist/lib/secret-scan/gitleaks-rules.generated.js +1 -1
  236. package/dist/utils/frontmatter.d.ts +14 -0
  237. package/dist/utils/frontmatter.js +18 -0
  238. package/dist/utils/interactive-caller.js +1 -1
  239. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -2,6 +2,60 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.345.248] — 2026-11-23
6
+ - Internal: The `e2e (node 22)` gate no longer fails after two minutes while `e2e cli build artifact` is still queued. GitHub lists the e2e shards only once that build has finished, so the gate's waiter now keeps waiting for them while the build is queued or running, fails at once if the build fails, and starts its two-minute grace for missing shards when the build finishes.
7
+ - Internal: `hq-hook PR tests` now also runs when a draft pull request is marked ready for review. Its jobs skip on drafts, so a pull request opened as a draft and marked ready without a later push never ran the hook tests, the Grok comparison or the Windows Clippy cross-check.
8
+ - New `hq ontology` commands build and read a local ontology graph for one company:
9
+ sourced facts and typed relationships, rebuilt from the files on this machine
10
+ (`rebuild`, `update`, `lookup`, `neighbors`, `search`, `traverse`, `brief`, `lint`,
11
+ `proposals`, `org-chart`, `daily`, `job`). The graph stays in
12
+ `companies/<slug>/.hq/ontology-graph/` and is never uploaded. Each graph folder
13
+ belongs to one company.
14
+ - New `hq ontology org observed|compare|person <name>` commands show the org as
15
+ observed from behavior in the ontology graph: what each person does by time
16
+ window, who appears to direct whom, who works with whom, working groups and the
17
+ de facto owner of each active project and customer. `compare` prints the stated
18
+ title, manager and listed owner beside the observed ones and reports where they
19
+ differ without changing either. Every line is marked as inferred and the output
20
+ lists the known limits of the derivation. The commands only print;
21
+ `observed --write` also stores the rows, marked as inferred and apart from
22
+ facts, in the company's own graph folder. Nothing is uploaded.
23
+ - Internal: On Windows when the hook bash is not Git for Windows' bash, the native hook engine leaves the nine ports that deny natively there (block-company-git-metadata, block-core-writes, block-env-dump, block-numbered-policy-sibling, block-plans-dir-during-deep-plan, block-repo-edits-use-worktree, detect-secrets, env-file-no-trailing-newline, validate-policy-frontmatter) to the bash hooks; the core.next dispatcher uses the same Windows-aware script revisions as the bridge; and a `hook-engine-port-<id>-v2` flag key now counts for its port (the stronger of the two modes wins; older engines ignore it).
24
+ - Changed: on Apple-silicon Macs, this release ships a passing Claude Code host canary for its own hq-hook build, so with core.next on, `hq reindex` can move Claude Code to the new hook engine on HQ roots whose hq-core gate matches (hq-core 16.0.50). Codex, Grok Build, Intel Macs and Linux stay on the old hooks in this release.
25
+ - Native hooks now accept ordinary Git diffs with supported global options, revision ranges and exclusion pathspecs, including after Python environment activation or Rust formatting. Large ASCII pathspec listings finish faster. Machines on hq-core 16.0.51-beta.44 now get the native credential guard instead of the bash fallback, with that release's template .env names (such as config.example.env) allowed.
26
+ - On Linux machines that run Work Mesh from the system unit
27
+ `/etc/systemd/system/hq-mesh-daemon.service`, `hq mesh daemon run` now removes
28
+ a leftover per-user `hq-mesh-daemon.service` that kept restarting next to it.
29
+ Only the system unit's daemon removes it, after holding the user unit's own
30
+ daemon lock (`$HOME/.hq/work-mesh/daemon` or `$HQ_WORK_MESH_ROOT/daemon`, as
31
+ the user unit's environment sets them) for 30 seconds with the system unit
32
+ still running. When that environment cannot be worked out, nothing is
33
+ removed. It first
34
+ copies the unit to `hq-mesh-daemon.service.removed.bak` in that daemon folder
35
+ and flushes it to disk (to restore it, copy it back to
36
+ `~/.config/systemd/user/hq-mesh-daemon.service`), and records the result in
37
+ `duplicate-unit.json` there. If a file cannot be deleted, the result is
38
+ recorded as `partial-removal` and the removal is retried. A daemon started
39
+ by the user unit never deletes anything: it exits only while the system
40
+ unit's main process holds this home's lock, and otherwise starts as before.
41
+ Nothing happens unless systemd reports that the system unit runs as the
42
+ same user, or when the system unit has failed.
43
+ - Internal: the release workflow checks a shipped host canary file against the tag's version (`scripts/release-canary.mjs --check --version`), because the tagged commit's package.json still holds the previous release at that step. Without the flag the check reads package.json as before.
44
+ - Changed: with core.next on, `hq reindex` can now move Claude Code, Codex and Grok Build to the new hook engine on a normal machine. Each release ships the host canary runs we made for its exact hq-hook builds, per host, and the gate accepts one when the engine build and your HQ root's hq-core gate match. A canary you ran yourself on the same build still decides first. Windows stays on the old hooks. A release that ships a canary file cannot be published unless that file is current and passing.
45
+ - Changed: `hq scan secrets` now skips a detected value only when it is exactly `true`, `false` or `null`. Before, it also skipped any value that contained `false`, started with `true` or ended with `null`, so a scan can now report findings it did not report before.
46
+ - Fixed: user-visible messages and help now name `hq runners`; `hq lanes` still works as an alias.
47
+ - Work Mesh: a person setting that cannot be read (a timeout or a missing sign-in) no longer counts as HQ Anywhere off, so it no longer records when HQ Anywhere was first seen off. With HQ Anywhere off, a company session's events from before that time are parked once instead of staying in the queue, so `hq daemon doctor` no longer reports the queue as stuck. Events held while company reporting was not required for a company are not sent when it becomes required.
48
+ - Work Mesh: the mesh daemon now keeps the flag snapshot of every company with recent company sessions on the computer fresh, refreshing one that is missing or more than 6 hours old every 15 minutes, so company reporting settings reach sessions started from the desktop app or after a day without a company command.
49
+ - Flag snapshots: the CLI and the native hook engine now read a snapshot the same way. A value that is not true or false no longer hides the other flags in the snapshot, the newer of the main and fallback copies is used on every platform, and both accept only one RFC 3339 time format for when the snapshot was fetched.
50
+ - Work Mesh: with HQ Anywhere off, parked events are dropped after 30 days only while the setting is confirmed off. Events parked while the person setting could not be read are not aged then, and once HQ Anywhere is confirmed off their 30 days start from that point.
51
+ - Work Mesh: a fleet agent's session is exempt from the company enforcement period's cutoff by its own record, not by the environment of the process that sends its events, so a fleet process no longer sends a member's events from the hold and the member's daemon no longer holds a fleet session's events. A daemon that reads the person setting as unread and later as off now restarts the 30 days of the events parked meanwhile without waiting for a restart.
52
+ - Work Mesh: a company "reporting required" snapshot more than a day old still counts as off, but no longer ends the company's enforcement period when it last said on. With HQ Anywhere off, only events from when the snapshot went stale until it is read fresh and on again are held. Events from while it was still fresh are sent as before, so a laptop that was offline for more than a day no longer loses the first day's company events. One flush or emit now reads each session's fleet record once.
53
+ - Work Mesh: the stale stretch is also kept when an hq command refreshes the company snapshot before the mesh daemon has seen it stale (for example, the daemon was not running), so events from that stretch are held too.
54
+ - `hq ontology daily` no longer waits forever on a lock left by a run that is gone:
55
+ a lock older than six hours is taken, and `--force` takes one older than an hour.
56
+ - `hq ontology rebuild` keeps sessions that ran in a worktree folder since removed,
57
+ when git still records that folder as a worktree of one of the company's own repos.
58
+
5
59
  ## [5.345.247] — 2026-11-23
6
60
  - Added (`hq install --global`, `hq doctor`): Google Antigravity is a supported host. When Antigravity is detected (or with `--runtime antigravity`), HQ writes an always-on global rule at `~/.gemini/config/rules/hq.md` that points at the HQ charter and registers the `hq` MCP server in `~/.gemini/config/mcp_config.json`, keeping other servers. An invalid file, or an existing `hq` entry with a different definition, is left unchanged with a warning and the rest of the install continues. Only the core `hq` server is written; pack and integration MCP servers are not registered in Antigravity. `hq doctor` detects the Antigravity app and reports the rule and MCP wiring. Antigravity hooks are not wired yet.
7
61
  - Internal: The `hq-hook PR tests` jobs no longer run on GitHub-hosted runners for same-repo pull requests or the daily run. The test shards and the Grok comparison always take the Mac pool and wait in its queue when the Macs are busy; they no longer wait for the route job, which now only reports the pool's queue and load. The Windows Clippy cross-check runs on the Mac pool too. Fork pull requests, `HQ_MAC_RUNNERS=off` and the `ci-hosted-runners` label keep ubuntu-latest. The Mac load limit is now measured against the Docker VM's CPU count (12 and 14) instead of the container's cap (6), and the queue threshold matches the pool's five runners.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # hq-lanes-drain.sh — PreToolUse drain for a running `hq lanes` worker (spec §6.5).
2
+ # hq-lanes-drain.sh — PreToolUse drain for a running `hq runners` worker (spec §6.5).
3
3
  #
4
4
  # Registered once under $GROK_HOME/hooks/. Resolves the lane from HQ_LANE_ID.
5
5
  # The no-op path is the most important behaviour: this hook runs on every grok
@@ -0,0 +1,14 @@
1
+ {
2
+ "schema": "hq.host-canary-release.v1",
3
+ "cliVersion": "5.345.248",
4
+ "hosts": {
5
+ "claude": [
6
+ {
7
+ "passed": true,
8
+ "at": "2026-11-23T03:43:08.843Z",
9
+ "engineVersion": "0.3.1+hq.5.345.248.src.d4a8d681bba7bc9474778bdabd9adcb19435ce292749e0a7151a7fec61b6386b",
10
+ "gateSha256": "a2879dfe692233f5953bac86672947bbd82f3c5247292f3efcb80f16c3d2c6b1"
11
+ }
12
+ ]
13
+ }
14
+ }