@indigoai-us/hq-cli 5.345.223 → 5.345.226

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 (130) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/assets/bot-workers/setup/context/quick-reference.md +2 -2
  3. package/assets/mesh-daemon/README.md +11 -12
  4. package/dist/command-catalog.generated.d.ts +156 -4
  5. package/dist/command-catalog.generated.js +191 -4
  6. package/dist/commands/cloud-provision.d.ts +4 -1
  7. package/dist/commands/cloud-provision.js +7 -3
  8. package/dist/commands/cloud-retire.js +1 -1
  9. package/dist/commands/core-delegate-w1b.js +3 -1
  10. package/dist/commands/core-delegate.d.ts +5 -0
  11. package/dist/commands/core-dm-bind-native.d.ts +5 -1
  12. package/dist/commands/core-dm-bind-native.js +4 -0
  13. package/dist/commands/core-job-notify-native.d.ts +5 -1
  14. package/dist/commands/core-job-notify-native.js +8 -2
  15. package/dist/commands/core-jobs-native.d.ts +27 -1
  16. package/dist/commands/core-jobs-native.js +49 -28
  17. package/dist/commands/core-pipeline-conductor-native.js +7 -7
  18. package/dist/commands/core-pipeline-driver-native.js +5 -5
  19. package/dist/commands/core-refresh-vault-access-native.d.ts +5 -0
  20. package/dist/commands/core-refresh-vault-access-native.js +3 -1
  21. package/dist/commands/core-work-mesh-bind-trusted-native.js +1 -1
  22. package/dist/commands/daemon.d.ts +2 -0
  23. package/dist/commands/daemon.js +68 -2
  24. package/dist/commands/deploy-domains.js +38 -2
  25. package/dist/commands/lanes-accounts.d.ts +14 -0
  26. package/dist/commands/lanes-accounts.js +119 -0
  27. package/dist/commands/lanes-hold.d.ts +2 -27
  28. package/dist/commands/lanes-hold.js +3 -75
  29. package/dist/commands/lanes-loop.js +1 -1
  30. package/dist/commands/lanes-move.js +10 -0
  31. package/dist/commands/lanes-session-start.js +2 -2
  32. package/dist/commands/lanes-shared.js +9 -0
  33. package/dist/commands/lanes.js +137 -12
  34. package/dist/commands/mesh.d.ts +12 -0
  35. package/dist/commands/mesh.js +13 -4
  36. package/dist/commands/monitor.js +1 -1
  37. package/dist/commands/packs.js +1 -1
  38. package/dist/commands/sync-held.d.ts +22 -0
  39. package/dist/commands/sync-held.js +167 -18
  40. package/dist/commands/whoami.d.ts +10 -17
  41. package/dist/commands/whoami.js +7 -79
  42. package/dist/data/command-states.json +13 -0
  43. package/dist/hq-cloud-sync-runner/bin/sync-runner.js +4845 -2524
  44. package/dist/hq-cloud-sync-runner/package.json +1 -1
  45. package/dist/index.js +1 -1
  46. package/dist/lib/capacity/accounts.d.ts +4 -0
  47. package/dist/lib/capacity/accounts.js +4 -0
  48. package/dist/lib/capacity/route.js +14 -0
  49. package/dist/lib/capacity/sign-in.d.ts +18 -0
  50. package/dist/lib/capacity/sign-in.js +34 -1
  51. package/dist/lib/daemon/catalog.d.ts +9 -5
  52. package/dist/lib/daemon/catalog.js +14 -8
  53. package/dist/lib/daemon/config.d.ts +5 -0
  54. package/dist/lib/daemon/config.js +6 -0
  55. package/dist/lib/daemon/hook-requests.d.ts +76 -0
  56. package/dist/lib/daemon/hook-requests.js +481 -0
  57. package/dist/lib/daemon/lanes-monitor-state.d.ts +55 -0
  58. package/dist/lib/daemon/lanes-monitor-state.js +129 -0
  59. package/dist/lib/daemon/lanes-reconcile-loader.d.ts +7 -0
  60. package/dist/lib/daemon/lanes-reconcile-loader.js +13 -0
  61. package/dist/lib/daemon/lanes-reconcile-status.d.ts +35 -0
  62. package/dist/lib/daemon/lanes-reconcile-status.js +86 -0
  63. package/dist/lib/daemon/merge-sections.d.ts +165 -0
  64. package/dist/lib/daemon/merge-sections.js +556 -0
  65. package/dist/lib/daemon/ops/policy.d.ts +2 -2
  66. package/dist/lib/daemon/ops/policy.js +44 -5
  67. package/dist/lib/daemon/protocol.d.ts +1 -1
  68. package/dist/lib/daemon/protocol.js +0 -6
  69. package/dist/lib/daemon/run.js +110 -5
  70. package/dist/lib/daemon/selfcheck.js +2 -2
  71. package/dist/lib/daemon/server.d.ts +2 -4
  72. package/dist/lib/daemon/server.js +11 -49
  73. package/dist/lib/daemon/state-file.d.ts +74 -4
  74. package/dist/lib/daemon/state-file.js +159 -19
  75. package/dist/lib/daemon/supervisor.d.ts +3 -1
  76. package/dist/lib/daemon/updater.d.ts +2 -6
  77. package/dist/lib/daemon/updater.js +4 -11
  78. package/dist/lib/daemon/whoami-cache.d.ts +96 -0
  79. package/dist/lib/daemon/whoami-cache.js +244 -0
  80. package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
  81. package/dist/lib/flag-registry-worker-source.generated.js +1 -1
  82. package/dist/lib/hook-engine/coverage.d.ts +2 -0
  83. package/dist/lib/hook-engine/coverage.js +71 -0
  84. package/dist/lib/hook-engine/native-precompact-compatibility.json +449 -0
  85. package/dist/lib/hook-engine/reconcile.js +14 -8
  86. package/dist/lib/install/hook-target.d.ts +13 -3
  87. package/dist/lib/install/hook-target.js +14 -11
  88. package/dist/lib/lanes/account-company.d.ts +7 -1
  89. package/dist/lib/lanes/account-company.js +22 -4
  90. package/dist/lib/lanes/account-ownership.d.ts +65 -0
  91. package/dist/lib/lanes/account-ownership.js +134 -0
  92. package/dist/lib/lanes/accounts.js +9 -2
  93. package/dist/lib/lanes/claude-balance.js +9 -3
  94. package/dist/lib/lanes/config.js +17 -0
  95. package/dist/lib/lanes/envelope-repair-dispatch.js +1 -1
  96. package/dist/lib/lanes/host-capacity.d.ts +19 -0
  97. package/dist/lib/lanes/host-capacity.js +37 -0
  98. package/dist/lib/lanes/monitor.d.ts +2 -0
  99. package/dist/lib/lanes/monitor.js +2 -1
  100. package/dist/lib/lanes/reconcile.js +44 -3
  101. package/dist/lib/lanes/registry-flag.d.ts +6 -0
  102. package/dist/lib/lanes/registry-flag.js +3 -2
  103. package/dist/lib/lanes/repo-merge-hold.d.ts +39 -0
  104. package/dist/lib/lanes/repo-merge-hold.js +90 -0
  105. package/dist/lib/lanes/spawn.d.ts +0 -10
  106. package/dist/lib/lanes/spawn.js +51 -1
  107. package/dist/lib/lanes/types.d.ts +12 -0
  108. package/dist/lib/lanes/watcher-main.js +3 -3
  109. package/dist/lib/mesh/live/daemon/doctor.js +1 -1
  110. package/dist/lib/mesh/live/daemon/install.js +2 -2
  111. package/dist/lib/windows/install-followup.js +1 -1
  112. package/dist/utils/client-health-contract.d.ts +1 -0
  113. package/dist/utils/client-health-contract.js +5 -0
  114. package/dist/utils/client-health.d.ts +2 -0
  115. package/dist/utils/client-health.js +40 -0
  116. package/dist/utils/cognito-session.d.ts +2 -14
  117. package/dist/utils/cognito-session.js +2 -40
  118. package/dist/utils/daemon-cli-version.d.ts +13 -0
  119. package/dist/utils/daemon-cli-version.js +47 -0
  120. package/dist/utils/duplicate-command-usage.js +1 -1
  121. package/dist/utils/machine-token-cache.d.ts +21 -0
  122. package/dist/utils/machine-token-cache.js +49 -0
  123. package/dist/utils/resident-package-preload.js +4 -0
  124. package/dist/utils/whoami-identity.d.ts +54 -0
  125. package/dist/utils/whoami-identity.js +108 -0
  126. package/package.json +8 -8
  127. package/dist/lib/daemon/ops/memory.d.ts +0 -18
  128. package/dist/lib/daemon/ops/memory.js +0 -65
  129. package/dist/lib/daemon/ops/mesh.d.ts +0 -38
  130. package/dist/lib/daemon/ops/mesh.js +0 -70
package/CHANGELOG.md CHANGED
@@ -2,6 +2,104 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.345.226] — 2026-11-17
6
+ - `hq sync release-held` restores an identity file sync cannot read and keeps those uploads held until you review them. When no saved history names an account, or the history names more than one person, it tells you to run `hq sync release-held --confirm-unproven` on this computer. That restores the file and keeps every upload held until you confirm which files are yours. A hold that lists no files stays in place. Run `hq sync` once, then run `hq sync release-held` and confirm the files it names. When the history names one other account, it tells you to sign in as that account and run `hq sync release-held`. `hq sync held` names `hq sync release-held` while the file cannot be read. Saying yes to `--confirm-unproven`, including with `--yes`, does not release uploads that already list files. Run `hq sync release-held` again without that flag and confirm the files it names. Declining the prompt releases nothing.
7
+ - `hq daemon status` (text and `--json`) has a `lanes-reconcile` line again when the daemon reconciles lanes in process. It shows the last run time and result; a failed run reads `last run failed: <error>` (one line, secrets removed, at most 300 bytes, also `lastError` in `--json`), and a failed run on a signed-out machine reads `waiting not signed in (run `hq login`)` like the other services. Before, a reconcile failing every 15 seconds was visible only in `daemon.log`.
8
+ - `hq deploy domains add`, `refresh`, `base add` and `base status` no longer ask you to create DNS records for a domain your company bought through HQ. When hq-deploy answers `dnsManaged: true`, they print `HQ manages DNS for <domain>. No records to add.` instead of the record list, the apex ALIAS advice and the "When the records are in place" step. `list` marks those domains, and `--json` output now includes `dnsManaged` (false when an older server leaves it out).
9
+ - Refuse relative file paths after sourced code may change the working directory, and preserve directory effects of same-shell eval.
10
+ - Refuse zsh splitting and globbing flags on positional parameters when the native scope guard cannot determine their paths.
11
+ - `hq-hook run --host` now blocks a tool call when the process checking it is killed (SIGKILL, the out-of-memory killer, an abort), is still running when its time is up, exits with a code or with output that is not an answer, or cannot be started. On macOS and Linux the tool-call check runs in a child of hq-hook itself; its answer is passed through unchanged when it gives one. hq-hook tells that it is that child from what the system says about its parent process, not from its environment. A machine that cannot start one more process (a process limit, heavy load) now has its tool calls blocked with that reason, where the check used to run anyway. Cost: one extra start of hq-hook per checked tool call. Other events and Windows are unchanged.
12
+ - Bundles hq-cloud 6.18.110 (32 hq-cloud changes). Sync: the background sync runner (daemon, --direction both) pulls but skips the upload for one pass when the last sync is more than 7 days old (hq sync now still pushes first); unattended runs keep shared files another member created instead of deleting them; a burst of scattered deletes is refused; a blank company manifest never replaces a populated one; append-only logs are merged entry by entry on a two-sided conflict; knowledge folders named build, dist, out, tmp or vendor now sync. Sign-in: a network failure during a token refresh no longer marks the session invalid, and machine sign-in backs off across processes after a NotAuthorized. Outposts: the --company flag works on exec, exec-submit, exec-stage, exec-result and terminal. Rescue and reindex fixes.
13
+ - `policy.check` answers `hq_root_unreadable` when the hq daemon cannot open the HQ folder (EPERM, as macOS returns for a launchd daemon reading under Documents, Desktop or iCloud Drive), instead of a raw `internal` error. The hook shim uses that code to run the scope check in the hook process, so company work in a correctly bound session is no longer blocked.
14
+ - lanes: every lane account can record `owning_company` (a company slug, `personal` or `unknown`) and `holder` (`owner` or another named person) in `personal/lanes/config.json`. Set them with `hq lanes accounts set-owner <provider> <account-id> --owning-company <slug|personal|unknown> --holder <owner|name>`; only these two labels are written. Reserved words are matched case-insensitively and stored in lowercase (`Owner` and `OWNER` become `owner`, `Personal` becomes `personal`). A holder may not contain C0 or C1 control characters, bidi embedding, override, isolate or mark characters, or zero-width characters. `hq lanes accounts list --json` prints both on every account, with their source, `held_by_owner` (true for `owner`, false for another person, null when no holder is recorded or it is `unknown`) and `ownership_missing`, plus an `ownership_warnings` list; enabled accounts missing either value are named in one warning line on stderr with the set-owner command. `set-owner` warns when the change leaves a provider with no login lanes can use, and when the holder matches this machine's user name (a sign the owner typed his own name instead of `owner`). `hq runners capacity --json` adds `owning_company` and `holder` to each account. A login held by another person is left out of `accounts` and listed under `other_holder_logins` with engine and holder only. Lanes never use such a login: first assignment, every balanced pick (including Outpost pickup), `--account auto` (it moves on to the next account), the Claude balance, background recovery, loop recovery in reconcile, pinned `--account`, `move-target` and account moves all skip or refuse it (`account_held_by_other`), and a lane already on it moves off or is refused at its next spawn, resume or recovery. An envelope repair turn on such a login is refused, Outpost pickup of a lane pinned to one fails with `account_disabled` (details name `account_held_by_other`) while a lane whose account was balanced or auto-picked is re-picked onto a usable login in the lane's company and admission accounts (recorded in `account_history`; with none in scope the pickup fails with `account_disabled`). A pickup that picks an account for a lane with none recorded uses the same company and admission scope, `hq lanes set --model` and `hq lanes resume|message --model` never check the model in such a login (keeping a lane on it with `--account` is refused), a lane that can only wait records `admit_failed` naming `account_held_by_other`, and `--model` checks never probe or read the model catalog in such a login's home. `owning_company` is not a lane filter (the owner's logins serve any of the owner's businesses); the existing `company` tag is unchanged. `hq capacity accounts --json` adds `owningCompany` and `holder` to each row and a `byOwningCompany` grouping. All fields are additions; snapshots from older CLIs parse as before.
15
+ - Behaviour change without the new fields: an Outpost lane picked up with no recorded account now picks only a login inside the lane's company (and its admission list when set), the same rule a local first assignment uses. Setups that tag some logins by company and run Codex or Grok Outpost lanes will see such pickups fail with `account_disabled` (`no_account_in_lane_scope`) where they used to bind an untagged or other-company login. Setups with no company tags are unchanged.
16
+ - Known limits, not changed here:
17
+ - An older CLI strips `owning_company` and `holder` the next time it rewrites `personal/lanes/config.json`, and an older Outpost still lists other people's logins by account id in its capacity output and may still pick them. Upgrade every Outpost (and every other host that shares the file) before anyone runs `set-owner`.
18
+ - `hq capacity accounts` and `hq bot --account` still show or use a login held by another person, and `hq capacity available` still lists it as a row, though never as its recommended pick.
19
+ - `set-owner` takes no lock against a concurrent config write, and it saves a `~` home path as an absolute path when it rewrites the file.
20
+ - Error messages for a held-by-other login include the account id and the holder's name.
21
+ - Codex PostToolUse in hq-hook now models the adapter's `auto-capture-registry` Bash supplement. No released hook gate lets it run, so it does nothing, as under the adapter. A gate that would let it run is refused natively.
22
+ - hq-hook: port the PreToolUse start_session row of spawn-company-handoff natively (updatedInput carried through the evaluator chain to Claude Code) and claim it in the capabilities COVERS for PreToolUse. Its UserPromptSubmit row runs hq-session.sh and stays on the shell path, unclaimed.
23
+ - The native SessionStart hook now gives the lanes senior-monitor reminder (`45-lanes-senior-monitor.sh`) through the shared `lanes_reminder` shim, with the shell's 2-second `hq runners monitor-check` limit.
24
+ - The native SessionEnd hook now stops the MCP helper processes its own session started and sweeps stale per-process temp files, matching `cleanup-mcp-processes.sh` (it runs `ps` with a time limit and starts no shell, jq or awk).
25
+ - hq-hook: on hq-core v16.0.48-beta.104 through beta.124, the company git metadata and plans-folder guards answer natively again instead of handing every call back to bash (their hook library 9133295e is now pinned).
26
+ - hq-hook: on hq-core v16.0.48-beta.109 through beta.124, policy injection answers natively through the bridge instead of handing every call back to bash (injector da7c95c2, hook-gate a443b481 and gate a2879dfe are now pinned).
27
+ - Add guard-only coverage for nested function argument ownership, preserving cross-company refusals and allowed own-company calls.
28
+ - The native hook engine's command rules now answer only where the old hook would have run (HQ_DISABLED_HOOKS and the registry prefilter), name that hook in the refusal, and give env-file-no-trailing-newline's own message on Claude Code, with a parity test against the hq-core-staging master-hook. No hook is added to the coverage list.
29
+ - The HQ daemon now takes request notes that the native hook engine leaves under `~/.hq/daemon/hook-requests/` and does the work they ask for; the first kind is `reindex` (`hq reindex --from-hook`). A note waits while no daemon is running, is tried up to three times, and is deleted without running once it is a day old.
30
+ - The native hook engine gains the writer for those notes and a `reindex` PostToolUse check that leaves one instead of starting `hq`. The check is not registered yet: `reindex.sh` still runs.
31
+ - The native hook engine now gives the "JOURNAL ENTRY DUE" reminder on Claude Code PostToolUse (every ten edits of a session, a `git commit`, a test or lint run with edits behind it), as `journal-due.sh` did, without starting a program. It takes the session journal's counter lock in process, waits at most five seconds for it, and claims the hook in its PostToolUse cover list.
32
+ - The native hook engine has a port of the intent hint (`intent-hint.sh`, the `<intent-hints>` block on UserPromptSubmit) with a parity test against the shell hook. It is not registered and `intent-hint` is not claimed, so the shell hook still runs everywhere: its `/startwork` company prefetch starts a program and waits on an owner decision.
33
+ - The native hook engine has a port of the first-prompt routing reminder (`natural-language-router.sh`, the `<natural-language-routing>` block on UserPromptSubmit) with a parity test against the shell hook. It is not registered and `natural-language-router` is not claimed, so the shell hook still runs everywhere: its first-prompt company bind reads a helper script and starts a program, and is ported in later changes.
34
+ - `hq-hook` gains a native version of the session auto-bind and session scope capability shell libraries (`session_start_mesh`), checked file for file against the shell libraries. No hook uses it yet: the SessionStart work-mesh hook still runs as a shell hook.
35
+ - The native hook engine gains an in-process version of the `/startwork <company>` prefetch gate, the `<startwork-context>` block and the last-thread line (first of five parts). Nothing calls it yet; the `intent-hint` hook still runs on the shell path.
36
+
37
+ ## [5.345.225] — 2026-11-17
38
+ - The native agent-browser presence check stays silent while the daemon owns the machine checks, so a missing agent-browser is shown once by the machine-check notice instead of at every session start (and twice at the first).
39
+ - `hq install --global` and `hq reindex` register master-hook for the Claude Code user-scope hooks on a root the hq daemon serves, instead of the hqd shim, so tool calls in projects outside HQ get every PreToolUse hook master-hook runs. An existing shim registration is moved back on the next reindex.
40
+ - `hq cloud retire company --yes` and provision cleanup send the company slug as `confirmName` on `DELETE /entity/{uid}`, matching hq-pro's typed confirmation. `--yes` was skipping only the local prompt, so retire and the suffixed-slug cleanup both failed with `COMPANY_DELETE_CONFIRMATION_REQUIRED`.
41
+ - `hq install --global` and `hq reindex` register the Codex hook adapter on a root the hq daemon serves, instead of the hqd shim, so Codex tool calls get every PreToolUse hook master-hook runs. An existing shim registration is moved back to the adapter on the next reindex.
42
+ - Answer Codex PostToolUse natively for the policy gate, the screenshot counter and conduct-link delivery, as the hq-core v16.0.47 Codex adapter ran them; inputs the port does not model are refused instead of handed to bash.
43
+ - Keep heredoc data out of shell command rules while preserving checks on surrounding commands and unquoted expansions.
44
+ - The daemon no longer starts processes it does not need: the 15-second lane reconcile runs inside the daemon instead of starting `hq runners reconcile`, the hqd socket ops nothing called (`session.get`, `policy.index`, `memory.get`, `memory.put`, `mesh.presence`, `shutdown`) are removed and answer `unknown_op`, and CLI commands that ran `hq whoami` for the signed-in identity read the daemon's cached answer first, running `hq whoami` only when no daemon has one.
45
+ - The daemon's state file (`hq-state.json`) now carries two more sections for the native merge check: `merge_holds` (every repository merge hold with its company's `lanes.repo-merge-hold` flag) and `merge_approvals` (per session, the conduct decision queue, the session's company and whether `lanes.review-before-merge` applies, with the lane review records). Both are rebuilt every 15 seconds and expire after 60; a hold file `hq lanes hold` would refuse, an unreadable flag or an unreadable link folder leaves a section out, so the check refuses merges rather than allowing them.
46
+ - The native merge-state reader accepts a session the daemon writes with no conduct link when its queue is absent or unreadable, so a senior lane on no link gets its review gate instead of a "merge authority is unavailable" refusal.
47
+ - `hq daemon service` children, including the resident Work Mesh service, no longer run the slow install follow-up on their first start after an upgrade.
48
+ - Report the hq daemon's running CLI version in client health, so support can see machines whose daemon still runs a version from before the sync engine pin.
49
+ - The native hook engine can now carry text that only the person sees, separate from the context it adds for the model. On an allowed UserPromptSubmit it goes out as `systemMessage` on Claude Code and Codex; Grok Build and the Fleet runtime have no such channel, so the text is dropped there with a line on stderr and never becomes model context. No hook uses it yet.
50
+ - host-canary: the canary no longer copies, reads, hashes or stats any sign-in file on any platform. On Windows each host is pointed at its existing sign-in through its own variable (CLAUDE_CONFIG_DIR, CODEX_HOME or CODEX_API_KEY, GROK_AUTH_PATH or XAI_API_KEY) instead of a copy in the disposable home. It refuses a Codex folder that holds a hooks.json and any sign-in folder that overlaps the disposable base. On macOS, when a sign-in is a link or a chain of links, every folder on the chain is now write-denied by the sandbox.
51
+ - host-canary: on Windows, links in the snapshot whose target is a directory (for example `.codex/claude`) are re-created as directory links after `tar -xf`. bsdtar 3.8.9 on windows-latest extracted them as file links, realpath through them failed with EPERM, and the snapshot check refused every host.
52
+ - `hq-hook run --host` no longer fails open when a hook overflows its stack. The evaluation worker has a 64 MiB stack, and a stack overflow on a PreToolUse event is answered with a block (the same "fails closed" refusal a panic gets) where the process used to die and the host ran the tool call. On macOS and Linux this also covers other memory faults (SIGSEGV, SIGBUS); on Windows it covers the stack overflow. Not covered: a kill by the system (out of memory, SIGKILL).
53
+ - `hq core jobs reconcile` now reads PATH by the host's own rules when it writes a scheduled-job unit. On Windows it used the POSIX rules (`:` separator, leading `/`), so the unit's PATH line was empty and `hq` was never found. Linux and macOS output is unchanged.
54
+ - hq-hook claims the `.claude/settings.json` Stop entry `hq-monitor-session-hook.sh wait` by its exact command, because the Codex, Grok and fleet adapters skip it (`asyncRewake: true`). The native Stop on those hosts refuses that command when it is registered without the mark.
55
+ - On HQ Fleet hosts (fleet-local and agents-v2), `hq-hook run` sends an event to the host's shell adapter when the HQ root's registry lists a claimed hook that adapter skips, through its fixed list, `HQ_AGENTS_V2_HOOK_SKIP`, `HQ_FLEET_LOCAL_HOOK_SKIP` or the fleet-local helper-session rules, so a skipped hook never runs natively.
56
+ - hq-hook: the conduct-link UserPromptSubmit hook joins a session to its conduct link in-process instead of running `hq runners link join`, so no program starts on that hot path. It reads `lanes.session-links` from the local override, then the daemon state file, and joins unless the flag is explicitly off, as the CLI does (US-048 M4a).
57
+ - The hook engine can read `monitor.enabled` from the daemon state file for the person or company scope, so the native monitor drain needs no `hq` process to learn whether monitors are on. A missing, stale or other-scope value reads as unknown.
58
+ - The native hook engine now delivers queued `hq monitor` events itself on PreToolUse and UserPromptSubmit (the `hq-monitor-session-hook` drain rows), with no `hq` process: it reads `monitor.enabled` from the daemon state file and drains the session drop box in process, in the same file format as `hq monitor drain`. A missing or stale flag leaves the events queued.
59
+ - `scripts/machine-checks-side-by-side.mjs` resets the checks' show-once and cooldown stamp folders between the hook run and the doctor run. Both runs now start from the same stamps, so a check that writes a stamp no longer reads `different`.
60
+ - `scripts/machine-checks-e2e.mjs` installs the engine at the release-stable path and registers it as Claude Code's native SessionStart before it runs the daemon batch. The batch now runs only when a native SessionStart is registered.
61
+ - The native policy-enforcement gate recognises the next hq-core gate script (hq-core-staging #2018, SHA-256 `1bc4df8e`), which fixes a missed `delivery-forbid-regex` and a falsely missing `delivery-require-regex` on large or multi-line message bodies. Without this, a root that receives that gate has it left to bash by the bridge, and on the new core every tool call is refused until the engine knows the script.
62
+ - Register the native policy frontmatter validator on PreToolUse so policy Write, Edit, and MultiEdit calls retain trigger and lifecycle validation. Preserve the existing process-free validator and refuse unsupported policy patch shapes.
63
+ - Native PreToolUse refusals now end with the same "Blocked by hook <id>." line the shell dispatcher prints, naming the old hook (or the rule) that refused.
64
+ - The native hook engine now gives the senior-session lane Monitor reminder at UserPromptSubmit (`core/hooks/UserPromptSubmit/45-lanes-senior-monitor.sh`) without starting any program: the hq daemon writes each senior session's Monitor coverage into a new `lanes_monitor` section of its state file every 30 seconds, and the hook reads it. A missing or stale answer gives no reminder (the Stop gate still enforces coverage). The shared port calls `hq runners monitor-check` at SessionStart.
65
+ - The native hook engine now runs `auto-session-project` at UserPromptSubmit without starting any program: for a Work Mesh bound session it makes the company project folder, writes `prd.json` from the project cache or the session board, leaves the session-title marker, and returns the `<auto-session-project>` context, with parity tests against the released shell hook.
66
+ - The native hook engine now records the deep-plan session marker and adds the deep-plan routing context at UserPromptSubmit (`route-deep-plan-to-skill`), with parity tests against the released shell hook.
67
+ - Keep PreCompact on the legacy dispatcher when its installed files, registry, or session-reader generation cannot be reproduced by the native engine, using one shared compatibility policy for reindex and native checks.
68
+ - Register the three PreToolUse readiness evaluators (`merge-gates-ready`, `live-command-flags-ready`, `git-identity-authority-ready`) in the native hook core. Each refuses natively when it cannot read its merge-state, company flag or repository-identity input, and the command rules now follow those authorities instead of refusing every merge, secret reveal and Git mutation.
69
+ - Run the PreToolUse, released gate compatibility, and SessionStart setup regression suites in hook pull-request and release CI.
70
+ - Resolve standalone literal shell assignments before logical joins while retaining refusals for conditional or unresolved values.
71
+ - Keep variables declared read-only without a value uncertain when checking later shell assignments.
72
+ - Replay harness: neutralise recorder redaction markers before both cores run, copy the recorded root's workspace/ and personal/ folder layout, run Codex events' old side through the Codex adapter, report each side's reason class, and add a --sessions mode that replays a session's events in order. The recorder no longer redacts a `date -u +FORMAT` argument as a `-u user:pass` credential.
73
+ - hq-cli's own callers now run `hq runners ...` instead of the deprecated `hq lanes ...` alias: the native Stop, PostToolUse, prompt and SessionStart hooks, the native merge-hold guard, the pipeline conductor and driver, and the internal runner, watcher, monitor and session-start spawns. The `hq lanes` alias still works.
74
+ - The native repo merge-hold guard now blocks the merge when the `hq` it runs has no `hq runners hold check` command (exit 1 with `error: unknown command 'runners'`, `'hold'` or `'check'`), and says to update hq to the version core requires. Other check failures still allow the command with a notice, as before.
75
+ - The native SessionStart lanes hook now needs hq 5.345.210 or later (the first release with `hq runners`). An older hq on PATH takes the existing "too old" path and prints nothing.
76
+ - Allow metadata listings of the local HQ state folder while preserving protection of its owner-managed root list and refusing unresolved paths.
77
+ - The native company scope guard now reads a shell function's `$1`, `$2`, ... as the literal words its call sites pass, so `R() { cmd "$1"; }; R 25` is checked with `25` instead of being refused as an unknown value. A parameter stays unknown and refused when any call passes a computed, globbed or brace-expanded word, when the body uses `shift`, `set`, `eval` or `source`, when the function is exported, when the command may change directory after the definition (`cd`, `pushd`, `popd`, `chdir`, `source`, `.` or `eval`, or a `cd` in any function body), or when the function's name appears anywhere other than its definition and its literal call sites.
78
+ - Add `hq daemon pause sync-core` and `hq daemon resume sync-core`. A paused engine stays stopped, the heartbeat watchdog does not restart it, and the pause survives daemon restarts. `hq daemon status` shows when it was paused and by whom.
79
+ - Scheduled jobs now start with `hq core job run` instead of `core/scripts/hq-job-run.sh`. `hq core jobs reconcile` writes a systemd unit that runs the absolute `hq` found on the service PATH, or `/usr/bin/env hq` when none is found. Units written by older versions keep working until the next reconcile rewrites them, because `hq-job-run.sh` is still shipped.
80
+ - Base all 10 Claude Code and 8 Codex hook event fixtures on recorded payload shapes, with variants for subagents, MCP, compact startup, nullable transcripts and Codex's namespaced spawn tool, which now reads as Agent.
81
+ - Validate fixture fields, types, enumerated values, and main key order against the recording in Python and Rust contract checks.
82
+ - hq-hook: the native UserPromptSubmit now answers `30-ensure-hq-cli.sh` without installing anything, as Corey decided ("Never install from a hook"). It starts no process. It shows the daemon's ensure-hq-cli finding once, through the same shown-once ledger as the SessionStart machine-check notice, and leaves the restore to the daemon's schedule, or to `hq doctor` where there is no daemon. The hook is now claimed for UserPromptSubmit.
83
+ - hq-hook: the native UserPromptSubmit now also answers `31-ensure-hq-desktop.sh` without updating anything: it starts no process or update worker, shows the daemon's ensure-hq-desktop finding once, and honours the script's kill switches, `HQ_UPDATER_DISABLED` included. The update is left to the daemon's schedule. The hook is now claimed for UserPromptSubmit.
84
+ - hq-hook: the native SessionStart now answers the `desktop-memory-leak-check` and `check-stale-model-pin` machine checks. On Claude Code it skips them when the daemon owns them, as master-hook's machine-check helper does, so the daemon's finding is shown once through the machine-check notice; otherwise, and always on Codex and Grok Build, it runs an in-process port of each script. Both ids are now claimed for SessionStart.
85
+ - `hq daemon` now runs Work Mesh Live as its own `mesh` service and adds `hq daemon doctor` (spool, held, dead-letter and MQTT health). The `hq mesh daemon` verbs, the mesh thread verbs (`hq mesh start`, `progress`, `blocked`, `done`, `note`) and `hq bot set-model` are marked retiring in favour of `hq daemon ...`, `hq mesh session ...` and `hq bot set --model`. They still run exactly as before.
86
+ - Mark `hq auth status` and `hq packages update` retiring in the command states table and the function manifest (use `hq whoami --check` or `hq whoami --json`, and `hq packs update --registry`). They still run exactly as before. The `hq whoami --check` and `hq packs update --registry` help text no longer names the older commands.
87
+ - The native hook engine now answers block-on-active-run on PreToolUse (Bash, Edit, Write) and claims it in its coverage list: it reads the run registry, walks its own process ancestry and checks run liveness without starting a program, with parity tests against the hq-core-staging master-hook, block-on-active-run.sh and repo-run-registry.sh.
88
+ - The native hook engine now answers block-company-repo-creation on PreToolUse (Bash) and claims it in its coverage list, reading commands with the native shell lexer, with parity tests against the hq-core-staging master-hook and block-company-repo-creation.sh.
89
+ - The native hook engine now answers block-core-writes-bash on PreToolUse (Bash) and claims it in its coverage list, reading commands with the native shell lexer and hook-lib's always-writable path masking and sudo option rewrite, with parity tests against the hq-core-staging master-hook and block-core-writes-bash.sh.
90
+ - hq-hook's port of the legacy block-core-writes-bash guard (the one merged-write-guard-shadow records) reads commands with the shared shell lexer. A command that names a protected path and that the pinned hook library's reader would decide differently, or that the lexer does not model (a NUL byte, a locale-dependent space next to a heredoc), is refused natively instead of recorded.
91
+ - The native hook engine now answers the numbered-policy-sibling folder hook on PreToolUse (Edit, Write, MultiEdit) and claims it in its coverage list, with byte-for-byte parity tests against the hq-core-staging beta.109 script.
92
+ - The native hook engine now answers block-policy-writes-bash on PreToolUse (Bash) and claims it in its coverage list, reading commands with the native shell lexer, with parity tests against the hq-core-staging master-hook and block-policy-writes-bash.sh.
93
+ - The native hook engine now answers protect-core on PreToolUse (Edit, Write) and claims it in its coverage list, with parity tests against the hq-core-staging master-hook and protect-core.sh; where the script fails open on a missing yq or jq, the native check decides as with both installed.
94
+ - hq-hook has a native port of the hq-core-staging shell lexer `hq_shell_simple_commands` (default, raw and nl modes, with the flat reading for heredocs and open substitutions), checked byte for byte against the staging function. It starts no program and refuses NUL bytes, non-UTF-8 text and locale-dependent spaces.
95
+ - The native enforce-vault-write-access port now follows the current hq-core-staging guard (4c03a27c5): perl, ruby, gsed and gawk in-place edits, $'...' words and sed or awk scripts cut at ; | or & are checked as bash checks them. It is not claimed in the native coverage list, and an install whose arithmetic library differs from the pinned one hands Bash calls back to bash.
96
+ - The native policy injector now does the shell injector's SessionEnd work, removing the ending session's policy session index files and sweeping stale ones, and claims `inject-policy-on-trigger` for SessionEnd.
97
+ - The native policy injector now answers as the current release's shell injector on SessionStart and PostToolUse (timeout-journal metadata rewrite, awk diagnostics, text-tool evaluation on PostToolUse, gate-off rows) and claims `inject-policy-on-trigger` for both events.
98
+ - The native hook engine now appends the session journal's auto-capture line on Claude Code PostToolUse for Agent, AskUserQuestion, WebFetch and WebSearch calls, as `journal-autocapture.sh` did, without starting a program, and claims that hook in its PostToolUse cover list.
99
+ - The native hook engine now redacts credential values in Read and Bash tool output on Claude Code PostToolUse, as `redact-credential-output.sh` did, and claims that hook in its PostToolUse cover list.
100
+ - A redaction that fails or runs out of time blocks the call, and a block from another PostToolUse check keeps the redacted output.
101
+ - Let the Windows host canary resolve npm's native-executable shim, used by Claude Code 2.1.325, directly without a shell. Keep arbitrary batch commands refused.
102
+
5
103
  ## [5.345.223] — 2026-11-17
6
104
  - Refresh person-scoped flags for agent callers even when the CLI runs in company context, so recorder overrides take effect and can be removed.
7
105
  - hq-hook: the daemon state file reader now refuses what the CLI's own reader refuses. A file whose stated maximum age is under one second is no longer read as fresh for a whole second. A time at second 60 is not a time. A file is not trusted when a folder above the daemon folder can be written by group or others, or belongs to another user. In `HQ_FLAG_DAEMON_STATE_FILE`, U+FEFF around `false` now turns the state file off, and U+0085 around `true` no longer turns it on.
@@ -121,11 +121,11 @@ garden-scout, garden-auditor, garden-curator
121
121
 
122
122
  ## CLI: `hq mesh` (Work Mesh Live)
123
123
 
124
- Presence and per-turn activity are automatic via hooks + `hq mesh daemon`. Manual verbs only: `task-status`, `blocked`, `note`. See `core/knowledge/public/hq-core/work-mesh-live.md` and `core/skills/work-mesh/`.
124
+ Presence and per-turn activity are automatic via hooks + `hq daemon` (its `mesh` service drains the spool). Manual verbs only: `task-status`, `blocked`, `note`. See `core/knowledge/public/hq-core/work-mesh-live.md` and `core/skills/work-mesh/`.
125
125
 
126
126
  | Command | Use |
127
127
  |---------|-----|
128
- | `hq mesh daemon install\|status\|doctor` | Resident presence + spool flush (replaces pack listen) |
128
+ | `hq daemon install\|status\|doctor` | Resident presence + spool flush (the daemon's `mesh` service) |
129
129
  | `hq mesh context reconcile` (`--observation-file`/`--observation-json`) | Resolve company/project (no `--session`) |
130
130
  | `hq mesh context organize\|correct\|untracked` (`--session` / sessionId arg) | Bind, correct, or mark untracked |
131
131
  | `hq mesh context default get\|set\|clear` | Device default company |
@@ -1,7 +1,12 @@
1
- # HQ mesh daemon service templates
1
+ # HQ mesh daemon service templates (older standalone units)
2
2
 
3
- Rendered at install time by `hq mesh daemon install` with the resolved `hq`
4
- and `node` binaries written into the unit.
3
+ `hq daemon` runs Work Mesh Live as its `mesh` service, so a machine needs no
4
+ unit of its own for it: install the daemon with `hq daemon install` and check
5
+ it with `hq daemon status` and `hq daemon doctor`.
6
+
7
+ These templates are the older standalone Work Mesh units, still rendered by
8
+ the retiring per-service installer for one release. `hq daemon install` takes
9
+ an existing one over.
5
10
 
6
11
  | Platform | Unit | Label / name |
7
12
  |----------|------|----------------|
@@ -9,15 +14,9 @@ and `node` binaries written into the unit.
9
14
  | Linux (user) | systemd user unit | `hq-mesh-daemon.service` |
10
15
  | Linux (agent box) | systemd system unit | `hq-mesh-daemon.service` as `ec2-user` |
11
16
 
12
- ## Agent-box fallback
13
-
14
- When no user session bus exists (typical EC2 agent boxes):
17
+ ## Agent boxes
15
18
 
16
- ```bash
17
- hq mesh daemon install --system-user ec2-user
18
- sudo cp ~/.hq/work-mesh/daemon/hq-mesh-daemon.service /etc/systemd/system/
19
- sudo systemctl daemon-reload
20
- sudo systemctl enable --now hq-mesh-daemon.service
21
- ```
19
+ Boxes run `hq daemon` as a system unit (see `hq daemon install --help`); its
20
+ `mesh` service replaces the standalone `hq-mesh-daemon.service` system unit.
22
21
 
23
22
  Logs: `~/.hq/work-mesh/daemon/log` (rotated at 5MB by the daemon process).
@@ -541,7 +541,7 @@ export declare const COMMAND_CATALOG: readonly [{
541
541
  readonly hidden: false;
542
542
  }, {
543
543
  readonly flags: "--registry";
544
- readonly description: "Update installed registry packages instead (same as `hq packages update [slug]`; [name] is the package slug)";
544
+ readonly description: "Update installed registry packages instead of content packs ([name] is the package slug)";
545
545
  readonly hidden: false;
546
546
  }];
547
547
  readonly subcommands: readonly [];
@@ -676,7 +676,7 @@ export declare const COMMAND_CATALOG: readonly [{
676
676
  readonly hidden: false;
677
677
  }, {
678
678
  readonly flags: "--registry";
679
- readonly description: "Update installed registry packages instead (same as `hq packages update [slug]`; [name] is the package slug)";
679
+ readonly description: "Update installed registry packages instead of content packs ([name] is the package slug)";
680
680
  readonly hidden: false;
681
681
  }];
682
682
  readonly subcommands: readonly [];
@@ -1246,6 +1246,10 @@ export declare const COMMAND_CATALOG: readonly [{
1246
1246
  readonly flags: "--yes";
1247
1247
  readonly description: "Do not ask for confirmation";
1248
1248
  readonly hidden: false;
1249
+ }, {
1250
+ readonly flags: "--confirm-unproven";
1251
+ readonly description: "Restore an unreadable identity file and keep every upload held until you confirm which files are yours";
1252
+ readonly hidden: false;
1249
1253
  }, {
1250
1254
  readonly flags: "--json";
1251
1255
  readonly description: "Print the result as JSON";
@@ -1474,7 +1478,7 @@ export declare const COMMAND_CATALOG: readonly [{
1474
1478
  readonly hidden: false;
1475
1479
  }, {
1476
1480
  readonly flags: "--check";
1477
- readonly description: "Exit 1 when there is no usable session, like `hq auth status`";
1481
+ readonly description: "Exit 1 when there is no usable session, so a script can test the exit status";
1478
1482
  readonly hidden: false;
1479
1483
  }];
1480
1484
  readonly subcommands: readonly [];
@@ -8997,6 +9001,14 @@ export declare const COMMAND_CATALOG: readonly [{
8997
9001
  readonly flags: "--id <outpostId>";
8998
9002
  readonly description: "Outpost id (defaults to your primary box)";
8999
9003
  readonly hidden: false;
9004
+ }, {
9005
+ readonly flags: "--company <slug>";
9006
+ readonly description: "Run on this company's Outpost (company owners and admins)";
9007
+ readonly hidden: false;
9008
+ }, {
9009
+ readonly flags: "--outpost <name|id>";
9010
+ readonly description: "Which company Outpost, when the company has more than one";
9011
+ readonly hidden: false;
9000
9012
  }, {
9001
9013
  readonly flags: "--root";
9002
9014
  readonly description: "Run the command as root (default: ec2-user)";
@@ -9041,6 +9053,14 @@ export declare const COMMAND_CATALOG: readonly [{
9041
9053
  readonly flags: "--id <outpostId>";
9042
9054
  readonly description: "Outpost id (defaults to your primary box)";
9043
9055
  readonly hidden: false;
9056
+ }, {
9057
+ readonly flags: "--company <slug>";
9058
+ readonly description: "Run on this company's Outpost (company owners and admins)";
9059
+ readonly hidden: false;
9060
+ }, {
9061
+ readonly flags: "--outpost <name|id>";
9062
+ readonly description: "Which company Outpost, when the company has more than one";
9063
+ readonly hidden: false;
9044
9064
  }, {
9045
9065
  readonly flags: "--json";
9046
9066
  readonly description: "Emit raw JSON";
@@ -9066,6 +9086,14 @@ export declare const COMMAND_CATALOG: readonly [{
9066
9086
  readonly flags: "--id <outpostId>";
9067
9087
  readonly description: "Outpost id (defaults to your primary box)";
9068
9088
  readonly hidden: false;
9089
+ }, {
9090
+ readonly flags: "--company <slug>";
9091
+ readonly description: "Run on this company's Outpost (company owners and admins)";
9092
+ readonly hidden: false;
9093
+ }, {
9094
+ readonly flags: "--outpost <name|id>";
9095
+ readonly description: "Which company Outpost, when the company has more than one";
9096
+ readonly hidden: false;
9069
9097
  }, {
9070
9098
  readonly flags: "--root";
9071
9099
  readonly description: "Run the command as root (default: ec2-user)";
@@ -9098,6 +9126,14 @@ export declare const COMMAND_CATALOG: readonly [{
9098
9126
  readonly flags: "--id <outpostId>";
9099
9127
  readonly description: "Outpost id (defaults to your primary box)";
9100
9128
  readonly hidden: false;
9129
+ }, {
9130
+ readonly flags: "--company <slug>";
9131
+ readonly description: "Run on this company's Outpost (company owners and admins)";
9132
+ readonly hidden: false;
9133
+ }, {
9134
+ readonly flags: "--outpost <name|id>";
9135
+ readonly description: "Which company Outpost, when the company has more than one";
9136
+ readonly hidden: false;
9101
9137
  }, {
9102
9138
  readonly flags: "--wait";
9103
9139
  readonly description: "Poll until the command reaches a terminal state";
@@ -9157,6 +9193,14 @@ export declare const COMMAND_CATALOG: readonly [{
9157
9193
  readonly flags: "--id <outpostId>";
9158
9194
  readonly description: "Outpost id (defaults to your primary box)";
9159
9195
  readonly hidden: false;
9196
+ }, {
9197
+ readonly flags: "--company <slug>";
9198
+ readonly description: "Run on this company's Outpost (company owners and admins)";
9199
+ readonly hidden: false;
9200
+ }, {
9201
+ readonly flags: "--outpost <name|id>";
9202
+ readonly description: "Which company Outpost, when the company has more than one";
9203
+ readonly hidden: false;
9160
9204
  }, {
9161
9205
  readonly flags: "--forward <port>";
9162
9206
  readonly description: "Forward this port on the box to your machine instead of opening a shell";
@@ -18347,6 +18391,40 @@ export declare const COMMAND_CATALOG: readonly [{
18347
18391
  readonly hidden: false;
18348
18392
  }];
18349
18393
  readonly subcommands: readonly [];
18394
+ }, {
18395
+ readonly name: "set-owner";
18396
+ readonly description: "Record which business owns a login and who holds it (labels only; no credential moves)";
18397
+ readonly aliases: readonly [];
18398
+ readonly hidden: false;
18399
+ readonly helpOption: true;
18400
+ readonly helpCommand: false;
18401
+ readonly usage: "[options] <provider> <account-id>";
18402
+ readonly helpText: readonly [];
18403
+ readonly arguments: readonly [{
18404
+ readonly name: "provider";
18405
+ readonly required: true;
18406
+ readonly variadic: false;
18407
+ readonly description: "claude | codex | grok";
18408
+ }, {
18409
+ readonly name: "account-id";
18410
+ readonly required: true;
18411
+ readonly variadic: false;
18412
+ readonly description: "Existing account id";
18413
+ }];
18414
+ readonly options: readonly [{
18415
+ readonly flags: "--owning-company <slug>";
18416
+ readonly description: "Company slug, personal, or unknown";
18417
+ readonly hidden: false;
18418
+ }, {
18419
+ readonly flags: "--holder <name>";
18420
+ readonly description: "owner, or the name of the person who holds the login";
18421
+ readonly hidden: false;
18422
+ }, {
18423
+ readonly flags: "--json";
18424
+ readonly description: "JSON on stdout (always)";
18425
+ readonly hidden: false;
18426
+ }];
18427
+ readonly subcommands: readonly [];
18350
18428
  }, {
18351
18429
  readonly name: "login";
18352
18430
  readonly description: "Create a home, run the vendor login, and register the account";
@@ -18996,7 +19074,7 @@ export declare const COMMAND_CATALOG: readonly [{
18996
19074
  readonly subcommands: readonly [];
18997
19075
  }, {
18998
19076
  readonly name: "call";
18999
- readonly description: "Send one request to hqd (policy.check, journal.append, memory.get, memory.put, mesh.presence, mcp.call, …) and print the result as JSON";
19077
+ readonly description: "Send one request to hqd (policy.check, journal.append, mcp.call, …) and print the result as JSON";
19000
19078
  readonly aliases: readonly [];
19001
19079
  readonly hidden: false;
19002
19080
  readonly helpOption: true;
@@ -19036,6 +19114,22 @@ export declare const COMMAND_CATALOG: readonly [{
19036
19114
  readonly hidden: false;
19037
19115
  }];
19038
19116
  readonly subcommands: readonly [];
19117
+ }, {
19118
+ readonly name: "doctor";
19119
+ readonly description: "Report Work Mesh health: running, MQTT, spool, held, dead-letter, outbox and flush (replaces the separate mesh daemon doctor)";
19120
+ readonly aliases: readonly [];
19121
+ readonly hidden: false;
19122
+ readonly helpOption: true;
19123
+ readonly helpCommand: false;
19124
+ readonly usage: "[options]";
19125
+ readonly helpText: readonly [];
19126
+ readonly arguments: readonly [];
19127
+ readonly options: readonly [{
19128
+ readonly flags: "--json";
19129
+ readonly description: "Print machine-readable JSON";
19130
+ readonly hidden: false;
19131
+ }];
19132
+ readonly subcommands: readonly [];
19039
19133
  }, {
19040
19134
  readonly name: "sync";
19041
19135
  readonly description: "Inspect and control the daemon's company sync runner";
@@ -19387,6 +19481,48 @@ export declare const COMMAND_CATALOG: readonly [{
19387
19481
  }];
19388
19482
  readonly options: readonly [];
19389
19483
  readonly subcommands: readonly [];
19484
+ }, {
19485
+ readonly name: "pause";
19486
+ readonly description: "Stop sync-core and keep it stopped (watchdog and daemon restarts included) until resumed";
19487
+ readonly aliases: readonly [];
19488
+ readonly hidden: false;
19489
+ readonly helpOption: true;
19490
+ readonly helpCommand: false;
19491
+ readonly usage: "[options] <service>";
19492
+ readonly helpText: readonly [];
19493
+ readonly arguments: readonly [{
19494
+ readonly name: "service";
19495
+ readonly required: true;
19496
+ readonly variadic: false;
19497
+ readonly description: "";
19498
+ }];
19499
+ readonly options: readonly [{
19500
+ readonly flags: "--json";
19501
+ readonly description: "Print machine-readable JSON";
19502
+ readonly hidden: false;
19503
+ }];
19504
+ readonly subcommands: readonly [];
19505
+ }, {
19506
+ readonly name: "resume";
19507
+ readonly description: "Start a paused sync-core again";
19508
+ readonly aliases: readonly [];
19509
+ readonly hidden: false;
19510
+ readonly helpOption: true;
19511
+ readonly helpCommand: false;
19512
+ readonly usage: "[options] <service>";
19513
+ readonly helpText: readonly [];
19514
+ readonly arguments: readonly [{
19515
+ readonly name: "service";
19516
+ readonly required: true;
19517
+ readonly variadic: false;
19518
+ readonly description: "";
19519
+ }];
19520
+ readonly options: readonly [{
19521
+ readonly flags: "--json";
19522
+ readonly description: "Print machine-readable JSON";
19523
+ readonly hidden: false;
19524
+ }];
19525
+ readonly subcommands: readonly [];
19390
19526
  }, {
19391
19527
  readonly name: "pin-hq-cloud";
19392
19528
  readonly description: "Pin hq-cloud to an exact version, or clear the pin";
@@ -19498,6 +19634,22 @@ export declare const COMMAND_CATALOG: readonly [{
19498
19634
  readonly arguments: readonly [];
19499
19635
  readonly options: readonly [];
19500
19636
  readonly subcommands: readonly [{
19637
+ readonly name: "mesh";
19638
+ readonly description: "Work Mesh Live: spool drain, MQTT presence and the live Board cache (the daemon's mesh service)";
19639
+ readonly aliases: readonly [];
19640
+ readonly hidden: false;
19641
+ readonly helpOption: true;
19642
+ readonly helpCommand: false;
19643
+ readonly usage: "[options]";
19644
+ readonly helpText: readonly [];
19645
+ readonly arguments: readonly [];
19646
+ readonly options: readonly [{
19647
+ readonly flags: "--hq-root <path>";
19648
+ readonly description: "HQ folder the service works against";
19649
+ readonly hidden: false;
19650
+ }];
19651
+ readonly subcommands: readonly [];
19652
+ }, {
19501
19653
  readonly name: "self-update";
19502
19654
  readonly description: "Update the hq CLI, Claude, Codex and Grok, then restart the daemon onto a new CLI";
19503
19655
  readonly aliases: readonly [];