@indigoai-us/hq-cli 5.345.252 → 5.345.254
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 +73 -0
- package/contracts/host-canary-release.json +11 -5
- package/dist/command-catalog.generated.d.ts +209 -0
- package/dist/command-catalog.generated.js +257 -0
- package/dist/command-registration-plan.d.ts +6 -0
- package/dist/command-registration-plan.js +1 -0
- package/dist/commands/ci-intake.d.ts +32 -0
- package/dist/commands/ci-intake.js +294 -0
- package/dist/commands/ci-metrics.d.ts +8 -0
- package/dist/commands/ci-metrics.js +55 -0
- package/dist/commands/ci-priorities.d.ts +56 -0
- package/dist/commands/ci-priorities.js +144 -0
- package/dist/commands/ci.d.ts +13 -0
- package/dist/commands/ci.js +11 -0
- package/dist/commands/cloud.d.ts +11 -0
- package/dist/commands/cloud.js +76 -0
- package/dist/commands/files.d.ts +62 -0
- package/dist/commands/files.js +249 -8
- package/dist/lib/bot/fleet-cron.d.ts +15 -0
- package/dist/lib/bot/fleet-cron.js +119 -20
- package/dist/lib/daemon/run.js +4 -3
- package/dist/lib/daemon/verified-jq.d.ts +6 -0
- package/dist/lib/daemon/verified-jq.js +17 -5
- package/dist/lib/delivery/migrations.d.ts +32 -1
- package/dist/lib/delivery/migrations.js +69 -8
- package/dist/lib/hook-engine/adapter-core-pin.d.ts +2 -1
- package/dist/lib/hook-engine/adapter-core-pin.js +2 -1
- package/dist/lib/hook-engine/coverage.d.ts +15 -0
- package/dist/lib/hook-engine/coverage.js +62 -1
- package/dist/lib/hook-engine/fleet-registration.d.ts +4 -0
- package/dist/lib/hook-engine/fleet-registration.js +25 -3
- package/dist/lib/smart-ci/cost.d.ts +72 -0
- package/dist/lib/smart-ci/cost.js +120 -0
- package/dist/lib/smart-ci/github.d.ts +112 -0
- package/dist/lib/smart-ci/github.js +267 -0
- package/dist/lib/smart-ci/intake.d.ts +288 -0
- package/dist/lib/smart-ci/intake.js +1078 -0
- package/dist/lib/smart-ci/ledger.d.ts +218 -0
- package/dist/lib/smart-ci/ledger.js +527 -0
- package/dist/lib/smart-ci/metrics.d.ts +137 -0
- package/dist/lib/smart-ci/metrics.js +249 -0
- package/dist/lib/smart-ci/priorities.d.ts +331 -0
- package/dist/lib/smart-ci/priorities.js +964 -0
- package/dist/lib/smart-ci/priority-refresh.d.ts +192 -0
- package/dist/lib/smart-ci/priority-refresh.js +366 -0
- package/dist/lib/smart-ci/priority-snapshots.d.ts +88 -0
- package/dist/lib/smart-ci/priority-snapshots.js +233 -0
- package/dist/lib/smart-ci/records.d.ts +265 -0
- package/dist/lib/smart-ci/records.js +281 -0
- package/dist/lib/smart-ci/reducer.d.ts +67 -0
- package/dist/lib/smart-ci/reducer.js +261 -0
- package/dist/lib/smart-ci/sources.d.ts +294 -0
- package/dist/lib/smart-ci/sources.js +659 -0
- package/dist/lib/smart-ci/text.d.ts +24 -0
- package/dist/lib/smart-ci/text.js +83 -0
- package/dist/lib/smart-ci/work-in-flight.d.ts +68 -0
- package/dist/lib/smart-ci/work-in-flight.js +154 -0
- package/dist/lib/sync/cli-manifest-reconcile.d.ts +20 -0
- package/dist/lib/sync/cli-manifest-reconcile.js +170 -0
- package/dist/lib/sync-core/engine-holds.d.ts +14 -0
- package/dist/lib/sync-core/engine-holds.js +78 -11
- package/dist/lib/sync-core/hand-back.d.ts +1 -0
- package/dist/lib/sync-core/hand-back.js +7 -2
- package/dist/lib/sync-core/reconcile.js +10 -2
- package/dist/utils/host-registration.d.ts +1 -0
- package/dist/utils/host-registration.js +1 -1
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,79 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.345.254] — 2026-11-25
|
|
6
|
+
- Internal: the hosted-agent and local-bot hook registration plan (`hq core hook-registration-plan`) no longer marks an event native when `hq-hook` would hand every call for it back to the shell adapter, for example a PostToolUse call on a root with company PostToolUse hooks that master-hook gives 120 s each. Such an event stays on the plain adapter command, so it no longer pays for the engine's check before the adapter runs. `hq-hook` gains `hand-back --json run <registration>`, which reports that hand-back without running any hook, and advertises it as `hand_back_query` in `capabilities --json`. An engine without it is planned as before.
|
|
7
|
+
- Port `auto-checkpoint-trigger` `PostToolUse` natively for Codex and Grok so edit and bash tool calls evaluate checkpoint triggers instead of returning an unported-host refusal.
|
|
8
|
+
- Add `test/helpers/**` and `test/setup/**` (Vitest `setupFiles` and `globalSetup`) to `DISJOINT_GLOBAL_PATHS` in `scripts/ci/batch-train.py`.
|
|
9
|
+
- Register PR-only required checks (`PR_ONLY_CHECKS`) for `hq-pro` and `hq-desktop-app-src` in `scripts/ci/batch-train.py` so multi-repo batch trains pass without failing closed on checks that run only on `pull_request` events.
|
|
10
|
+
- CI: the Windows baseline check also accepts a failure that main's newest complete baseline at or before the tested commit already had, so a baseline that lands after a batch train was built no longer turns failures main has since fixed into "new" ones.
|
|
11
|
+
- Scoped the 90-minute timeout in `.github/workflows/hq-hook.yml` to self-hosted Beaker legs only (`${{ matrix.beaker && 90 || 60 }}`), keeping hosted legs at 60 minutes.
|
|
12
|
+
- CI: sync `crates/hq-hook/ci/test-tiers.json` with the four-part `us012_root_git_codex_grok` and `p4_master_hook_parity` package-install test splits from #3860 and cache repeated source reads in `test/ci/hq-hook-pr-test-list.test.ts` so the slow-test verifier stays well under the 5 s timeout.
|
|
13
|
+
- CI: the Windows hook tests on a batch train now run in 6 parallel shards on the team's Windows runners instead of one after another on one runner, aiming for under 10 minutes instead of about 45. Each test binary also has a 10 minute limit, so a hung test fails fast and the log names it.
|
|
14
|
+
- `hq sync pull` and `hq sync pull --all` now restore each successfully pulled
|
|
15
|
+
company in `companies/manifest.yaml`, matching the menubar sync runner. Joining
|
|
16
|
+
a cloud company no longer leaves the session unable to bind.
|
|
17
|
+
- Allowed first-operand run-id substitutions for `gh run watch`, `view`, `rerun`, `cancel`, and `delete` in the native credential guard while keeping inner reads and other subcommands refused.
|
|
18
|
+
- Increase the daemon jq probe timeout to 10s and cache only passing probes by path and file stat stamp so transient load spikes do not wedge subsequent checks.
|
|
19
|
+
- Aligned Windows `image_context_guard` integration tests with the current Windows store-off refusal contract (`WINDOWS_STORE_OFF`) until native Windows image-context-guard parity lands.
|
|
20
|
+
- Declare the scalar `test` reference for `journal-due-other-hosts` and remove its stale ledger baseline exception after `#3868`.
|
|
21
|
+
- Native PreToolUse missing-library detection now scopes `||` fallbacks to the `source`/`.` command segment before `;`, `&&`, or `#` so a later command or comment on the same line does not treat a required library load as optional.
|
|
22
|
+
- Match Git-for-Windows MSYS2 GNU grep option usage output in native `detect-secrets` diagnostics on Windows.
|
|
23
|
+
- Changed: the host canary record shipped with the CLI is refreshed for this release build.
|
|
24
|
+
- Port `hq-autocommit` PostToolUse daemon request notes for Codex and Grok tool edits (`apply_patch`, `search_replace`, `create_file`).
|
|
25
|
+
- Internal: split the `us012_root_git_codex_grok` and `p4_master_hook_parity` package-install parity tests into four parallel parts each to reduce the single-test wall-time floor in `hq-hook` CI.
|
|
26
|
+
- Fixed: `hq-hook` reads Windows path spellings in shell commands (drive letters, backslashes, `$env:USERPROFILE`, `~`) the same way it reads them for file tools, so the protected-file check gives one answer for a file however its path is written. On Windows a command passes that check only when each path in it is one literal path; a command with a percent sign, a network or device path, a drive or folder root, a working folder with a line break in its name, a folder change, a loop, a wildcard or a variable in a path is refused with a note to run the read as one plain command with a literal path, or from a script file.
|
|
27
|
+
- Port `journal-due` `PostToolUse` natively for Codex so `apply_patch` and `Bash` tool calls evaluate journal milestones instead of returning an unported-host refusal.
|
|
28
|
+
- Add `hq ci priorities`: it ranks a company's work from standups, Work Mesh, open sessions and the ontology, matches open pull requests to it, and lists work in flight with no pull request yet. The map is stored in the Smart CI ledger that `hq ci intake` writes; `hq ci intake --priorities <company>` keeps it refreshed while the intake runs.
|
|
29
|
+
- `hq ci intake` now waits up to 5 seconds for a brief holder of the Smart CI ledger (such as a standalone `hq ci priorities` write) to let go, instead of exiting when it starts at the same moment.
|
|
30
|
+
- Pin scope-guard regression coverage and the replay ledger entry for escaped remote-only `ssh` commands and their local-expansion and cross-company siblings.
|
|
31
|
+
- Pass POSIX `cwd` paths matching `env.home` and `env.pwd` in `credential_native` tests on Windows.
|
|
32
|
+
- Align remaining Windows test assertions in `credential_native` with Windows 8.3 short-name handling and native merge-stage resolution.
|
|
33
|
+
- Strip Windows verbatim path prefixes when resolving relative plans-dir hook roots and align remaining `plans_dir` test expectations with Windows path normalization.
|
|
34
|
+
- Use a multi-letter `/work/.claude/plans/a` fixture path in `plans_dir` tests so Windows MSYS drive rewriting does not rewrite `/x/` to `X:/`.
|
|
35
|
+
- Accept the `core/scripts/hook-lib.sh` that `hq-core` `v16.0.52` ships in the native Rust hook engine for `block-company-git-metadata`, `block-core-writes` and `block-plans-dir-during-deep-plan`, so those hooks answer natively on a `v16.0.52` root, and list `v16.0.52` in the engine's supported releases. On Windows `block-core-writes` still runs as the shell hook.
|
|
36
|
+
|
|
37
|
+
## [5.345.253] — 2026-11-24
|
|
38
|
+
- Resolve `agents-v2` adapter parent and grandparent directories via `Path::parent()` before canonicalizing so Windows verbatim (`\\?\`) paths locate the HQ root instead of failing on `..` normalization.
|
|
39
|
+
- Claim `master-hook:PreToolUse` natively on hosted agents-v2 bots, modelled on master-hook.sh 774bca73 (hq-core v16.0.50) as the hq-agents-v2 adapter e5cec6c1 runs it, with differential tests against both. A `pre_tool_call` goes back to the adapter when the registered fallback is the earlier released adapter a8e9a7e, the root has `.claude/hooks/mandatory-scope-authorizer.sh`, the registry lists any PreToolUse row or is one this reader rejects, a PreToolUse folder hook outside `companies/` exists, or the host is not Unix. A fallback naming any other unknown adapter revision is refused natively when none of these hands the call back. The merge gates (hold records, daemon sections, owner approval, review) no longer answer on agents-v2, matching the released adapter, which never refused a merge there. On Claude Code and Codex, the native hqd policy check with `HOME` unset or empty now looks for the socket at `/.hq/daemon/hqd.sock`, as master-hook does.
|
|
40
|
+
- Internal: the merged write guard shadow in `hq-hook` is now claimed on hosted agents (`agents-v2`). It records what the released agents-v2 adapter records: the adapter's own payload and tool name (approval requests included), its HQ root as the project folder, every tool the registry row's matcher takes, and calls a later guard refuses. It runs only when the adapter's settings and registry would run the row. An unreadable wrapper is refused, as the adapter refuses it. A wrapper of an unknown revision, or any call on Windows, goes back to the adapter. A call the native row cannot rebuild is refused only while a session's shadow marker is on. A call is refused once the runtime's own pre_tool_call hook timeout from its config has passed. `hq reindex` keeps agents-v2 PreToolUse on the adapter while the registry lists the row and its files are off their pins.
|
|
41
|
+
- Internal: `hq-hook` now accepts the hq-agents-v2 #347 hook adapter (sha256 `31877890`, shipped in the v2.71 p33a944a artifact) on hosted agents. SessionEnd, SubagentStop, PostToolUse, UserPromptSubmit and SessionStart stay native under it, as they do under the #332 adapter, when the call's native time budget ends before #347 stops starting hooks (its 21 s budget, 56 s on SessionEnd and SubagentStop, less its 2 s kill grace and 1 s). The event goes back to the adapter when `HQ_AGENTS_V2_HOOK_BUDGET_SECONDS` lowers that budget, `SECONDS` or `HQ_PERL_BIN` is set, `core/scripts/lib/advisory-cap.sh` or `perl-child-locale.sh` is present but not a released copy, `advisory-cap.sh` is present without `perl-child-locale.sh`, the budget value is too large for the adapter's integer test, or a PostToolUse or SessionStart call has company folder hooks. PreToolUse and Stop under #347 always go back to the adapter: #347 runs PreToolUse safety guards first, skips other guards and advisory hooks that run past its budget, blocks on a missing safety guard, and drops a Stop hook's block when the hook runs out of time. Before this change a #347 adapter sent every gated event back to the adapter, and a native PreToolUse registration refused every tool call under it.
|
|
42
|
+
- Stripped the Windows `\\?\` verbatim prefix from temporary fixture directories in the credential-guard test harness (`credential_native`, `credential_history`, `credential_reflog`, and `support/credential_history`) and normalized Windows `jq` CRLF stdout in the `credential_history` legacy comparison.
|
|
43
|
+
- CI: the Windows (Beaker) baseline reader no longer marks the hook crate's lib unit tests as aborted when a child test's result line is glued onto the end of a parent test line, so a main baseline where every binary reported reads as complete.
|
|
44
|
+
- Bound pipe reads and writes in the Glob parity test harness so a stalled subprocess fails with a timeout diagnostic.
|
|
45
|
+
- Pin `jq-1.7.1` and `yq v4.54.3` via SHA-256-verified downloads in the Windows `hq-hook` workflow and add fast tool/version preflight and bounded child execution to `block_hq_glob` parity tests.
|
|
46
|
+
- Internal: contributors get `pnpm changelog:new` and `pnpm changelog:check`, and the pre-push hook now runs the release-note fragment check locally. When a branch adds no `changelog.d` fragment, the hook writes a draft from the branch's first commit subject and stops the push, so the required "changelog entry" check no longer fails after a full CI cycle. The hook refreshes `origin/main` first and does not block stacked branches or failures it cannot confirm against a current base. `HQ_NO_CHANGELOG=1` skips the local check only.
|
|
47
|
+
- Internal: split `build` into `build-node20` and native-`needs:` `build-node22` (`build (node 22) / ci`) with report-only coverage merge moved to an advisory `coverage-summary` job, and wired hardened `scripts/ci/changelog-only-reuse.mjs` into `ci.yml`'s `route` job so `changelog.d/`-only synchronize pushes over a full green run skip redundant shards.
|
|
48
|
+
- Internal: added fail-closed `scripts/ci/changelog-only-reuse.mjs` helper (unwired) and unit tests to verify when a pull request `synchronize` push changes only `changelog.d/*.md` release-note fragments on top of a prior full green `ci.yml` run.
|
|
49
|
+
- Fail closed on `build (node 22) / ci` and `e2e (node 22)` for same-repo draft PRs skipped by `HQ_DRAFT_PR_CI=off` (zero-checkout step on `hq-mac-light`) so stale `skipped` statuses cannot satisfy branch protection on `ready_for_review` before upstream shards complete.
|
|
50
|
+
- Internal: CI's four e2e shards now split the e2e files by measured time and start each shard's heaviest file first, using the same weighted sequencer as the unit shards. Under vitest's default split the slowest e2e shard took about 192 s against about 32 s for the quickest; the estimate after the change is about 160 s for the slowest.
|
|
51
|
+
- CI: hook-crate pull requests now run only the tests their change reaches, in 1 to 4 shards planned by `scripts/ci/hq-hook-test-plan.mjs`. Slow bash-parity cases run on a pull request only when it changes their own module or test file. Batch train pushes and the daily main run still run every test in 6 balanced shards. Node affected-test selection is now on by default for pull requests (`HQ_CLI_PR_AFFECTED_TESTS=off` turns it off). Known Windows failures on main are tracked with an owner in `crates/hq-hook/ci/windows-known-failures.json`.
|
|
52
|
+
- Internal: added the `HQ_DRAFT_PR_CI=off` draft guard and `ready_for_review` trigger to `stop-native-pr.yml`, and switched `e2e (node 22)` in `ci.yml` from `wait-for-jobs.mjs` polling to native `needs: [route, e2e-build, e2e-shard]` with `always() && !cancelled()`.
|
|
53
|
+
- CI: the hook PR test tiers now treat the new 16.0.51 gate target's four slow delivery-regex parity tests like its siblings': they run on batch trains and the daily main run, and on a pull request only when the diff touches the gate or command-guard code.
|
|
54
|
+
- The daily hot-channel sync on a local bot no longer messages you every morning when it could not reach the network. It retries for a few minutes first (a laptop that just woke often has no connection yet), stays quiet on a single failed morning, and tells you once when the same failure repeats. Any failure is sent at most once until a run works or the reason changes.
|
|
55
|
+
- PreToolUse native members report executed registry and folder hooks to `pre_tool_use_master::ran` so timeout-sentry rows and `HQ_HOOK_TRACE` lines match `master-hook.sh`.
|
|
56
|
+
- `hq files delete` now handles the per-company delete limit in HQ Pro. When the server stops a delete, it shows how many objects the delete would remove, how many were already deleted in the window, and the limit. In a terminal you can type a confirmation to go ahead; without a terminal, or with only `--yes`, it stops. When the server needs another owner or admin to approve, it says so and exits with an error. `--dry-run` warns when a real delete would hit the limit. When the server runs the limit in watch-only mode, `--dry-run` says a real delete would go through and shows the limit, instead of saying it would be stopped. When another owner or admin must approve, the message says no HQ command can approve it yet. If the delete alone is over the approval limit, it says to split it into chunks no bigger than the limit and wait for the window to pass between chunks; otherwise it says to wait for the window to pass. `--dry-run` gives the same advice. `--confirmation` together with `--dry-run` is now an error.
|
|
57
|
+
- Fix Windows test-harness tool discovery (`which` and `/bin/bash`) in `hq-hook` parity suites (`merged_write_guard`, `command_rules`, `numbered_policy_sibling`)
|
|
58
|
+
- Drop the obsolete US-048 side-effect ledger row for PreToolUse per-hook journal rows; native PreToolUse now journals the same rows and trace lines as `master-hook.sh`.
|
|
59
|
+
- Internal: `hq-hook` now accepts the `core/scripts/lib/hook-adapter-core.sh` that HQ Core v16.0.51 ships on hosted agents (`agents-v2`) and local fleet bots (`fleet-local`). It differs from the revision the native ports already reproduce only in comment lines, so on a v16.0.51 install fleet-local PreToolUse and agents-v2 and fleet-local PostToolUse are answered natively instead of being refused or handed back to the shell adapter. `hq reindex` lets fleet-local PostToolUse switch on that file as well.
|
|
60
|
+
- Bound the `jq` index-error probe in `gate::post` with a 500 ms hard deadline and process-tree cleanup so a missing or hanging `jq` cannot stall `PostToolUse`.
|
|
61
|
+
- Create the disposable `<base>/reindex-codex` directory in `scripts/host-canary.mjs` before invoking `reindex` with `CODEX_HOME` pointing to it.
|
|
62
|
+
- Changed: the host canary record shipped with the CLI is refreshed for this release build.
|
|
63
|
+
- Move the `hq-hook` release-tag Windows x64 job to self-hosted Beaker runners (`[self-hosted, Windows, X64, hq-windows]`) using the pinned Beaker Rust toolchain step and add a `platforms=windows-beaker` manual dispatch option.
|
|
64
|
+
- Pin the GNU Bash version used alongside system Bash for macOS image-context parity tests.
|
|
65
|
+
- Internal: the repository merge-hold check in `hq-hook` now decides like `hq runners hold check` and is claimed on hosted agents (`agents-v2`) as well as Claude Code, Codex and Grok Build. Holds are matched by repository whatever company owns them, and a hold company's `lanes.repo-merge-hold` setting that the daemon does not report as on is read from the flag registry at the call, as the CLI reads it. A merge is refused when a hold record or that setting cannot be read or trusted, including a record with a field `hq runners hold` never writes and a registry read that runs out of time. The short window in which a held merge was allowed after the setting was switched on is gone. Hold records are read under the registered HQ root as well as the hook's own. On agents-v2, where the shell adapter never applied the hold, merges are now checked with the hold and review records exactly as `hq runners hold check` checks them. The daemon-state, conduct-link, owner-approval and daemon review-row refusals no longer apply on agents-v2, as the released agents-v2 adapter never applied them, and `hq-hook` tests now cover every merge refusal agents-v2 keeps or stops applying, on tool calls and exec approvals.
|
|
66
|
+
- Added native support and pin for the updated `inject-policy-on-trigger.sh` revision with MCP PostToolUse trigger text and short-reply handling while keeping earlier pins accepted.
|
|
67
|
+
- agents-v2 hook handling returns to the released behavior. The native agents-v2 PreToolUse, merge-hold and write-guard claims will return in a later release.
|
|
68
|
+
- Added: `hq ci intake` records what CI does for a repository (workflow runs and jobs, check runs, pull requests, pushes, and runner pool counts) into the HQ Native run ledger, and `hq ci metrics --repo <owner/repo> --since <date>` prints queue wait and run time (median and p90), replaced-head runs, cold-start and idle runner minutes, PR open to merge, merge to production where the repository deploys on merge, and cost per merge with each input marked measured or estimated. The intake only reads GitHub, as this machine's signed-in `gh` login: it sends GET requests, uses conditional requests so unchanged data costs no rate limit, checks every request against an hourly budget that is kept across restarts (default 1,500 charged requests), stops while the login has 500 or fewer requests left, and writes one audit line per request. A restarted intake continues from its saved position and records nothing twice; a stretch it could not read is written to the ledger as a gap. Closed records older than two hours move to dated archive files beside the ledger, which `hq ci metrics` reads as well. `--replay-fixture` records from a saved file and `--record-fixture` saves a past window as one. Nothing in `hq ci` changes GitHub, a workflow or a runner. The ledger store file moves to schema version 8, which adds an empty Smart CI section to existing stores when they are next opened.
|
|
69
|
+
- `hq sync-core` hand-back now knows every hold direction hq-syncd writes (`delete_local`, `delete_remote`, `overwrite_local`, `overwrite_remote`, `merge`, `undecided`, `not_approvable`). A vault whose engine hold names a change that keeps this device's copy (`overwrite_remote`, `merge`, `undecided`, `not_approvable`), a direction this hq does not know, or a group with no usable direction is no longer handed to the current sync, which would replace those local copies with the vault's: the old-sync switch stays off and the engine keeps its ownership record until the engine runs the vault again and the hold is decided. Each reconcile reports the waiting vault in `rollout.json`.
|
|
70
|
+
- Fixed: on Codex, the PostToolUse redaction check now runs before refusing a call, so plain reads such as `tail` are no longer blocked.
|
|
71
|
+
- Changed: on Codex, policy reminders for a tool call now also arrive before the call runs.
|
|
72
|
+
- Keep `crates/hq-hook/tests/fixtures` `.cjs` and `.mjs` files LF on Windows checkouts so pinned fixture SHA-256 checks match on Windows.
|
|
73
|
+
- Normalize Windows paths, inherited `PATH`, and refusal footer expectations in `command_rules` integration tests.
|
|
74
|
+
- Pass POSIX `cwd` paths to the legacy Bash reference runner on Windows in `credential_native` tests and match the Windows unregistered-root refusal text in `credential_entry`.
|
|
75
|
+
- Accept `hq-core` v16.0.48–v16.0.50 `.claude/hooks/migrate-policy-triggers-if-changed.sh` (`1a01eb3c`) in native `SessionStart` `migrate-policy-triggers` by porting the native `last-success` stamp check, and add a registration-time pin hold in `coverage.ts`.
|
|
76
|
+
- Pin the `hq-core` `v16.0.51` `policy-enforcement-gate.sh` and `hook-gate.sh` in the native Rust hook engine and the registration coverage holds, with `v16.0.51` shell-oracle parity tests, so the native policy enforcement gate answers on a `v16.0.51` root and the `v16.0.51` `hq_augment_path` PATH is reproduced. On a `v16.0.51` root the native gate still treats `broadcast` inside an identifier (`broadcast_inbox_message`, `broadcast2`) as a request for `work-broadcast`, which `v16.0.51`'s shell gate no longer does, so a later gated call can be refused where the shell allowed it. The Grok Stop observer also accepts the `v16.0.51` `session-id.sh`. SessionStart, the first-prompt company bind and the native session bind still hand `v16.0.51` roots back to the shell, because `v16.0.51`'s `master-hook.sh` records environment session aliases that the native path does not write.
|
|
77
|
+
|
|
5
78
|
## [5.345.252] — 2026-11-24
|
|
6
79
|
- Added: the agent MCP tool `hq_dm_send` takes an optional `continueExchange` boolean for agent recipients (`agt_…`). When hq-pro-core 1.182.0 or later pauses an agent-to-agent DM at the loop check, the tool shows the server's warning. The sending agent may then resend the same message once with `continueExchange: true`, and only if the exchange is about unfinished work. The resend reuses the held message's idempotency key, and the tool says "continued the exchange" when the server confirms. If the continued message is held again, the tool tells the agent to stop and not reply. Each DM to an agent now carries its own idempotency key. The flag is refused for a person, an email or a channel recipient, and for a non-boolean value, before anything is sent.
|
|
7
80
|
- The `hq_inbox_read` refused-ack paging test writes its 320 records to the state file in one locked call, instead of rewriting the file 320 times.
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "hq.host-canary-release.v1",
|
|
3
|
-
"cliVersion": "5.345.
|
|
3
|
+
"cliVersion": "5.345.254",
|
|
4
4
|
"hosts": {
|
|
5
5
|
"claude": [
|
|
6
6
|
{
|
|
7
7
|
"passed": true,
|
|
8
|
-
"at": "2026-11-
|
|
9
|
-
"engineVersion": "0.3.1+hq.5.345.
|
|
8
|
+
"at": "2026-11-24T23:43:10.797Z",
|
|
9
|
+
"engineVersion": "0.3.1+hq.5.345.254.src.ed2fe9909e9d8d34991b58f01c74c6f98837d8357e54286d167bc2a1605731b8",
|
|
10
10
|
"gateSha256": "a2879dfe692233f5953bac86672947bbd82f3c5247292f3efcb80f16c3d2c6b1"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"passed": true,
|
|
14
|
-
"at": "2026-11-
|
|
15
|
-
"engineVersion": "0.3.1+hq.5.345.
|
|
14
|
+
"at": "2026-11-24T23:44:13.598Z",
|
|
15
|
+
"engineVersion": "0.3.1+hq.5.345.254.src.ed2fe9909e9d8d34991b58f01c74c6f98837d8357e54286d167bc2a1605731b8",
|
|
16
16
|
"gateSha256": "ca58a94859eae0a345c11c8d9c59303eb76350dc1cf223391037d21979c28718"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"passed": true,
|
|
20
|
+
"at": "2026-11-24T23:44:47.851Z",
|
|
21
|
+
"engineVersion": "0.3.1+hq.5.345.254.src.ed2fe9909e9d8d34991b58f01c74c6f98837d8357e54286d167bc2a1605731b8",
|
|
22
|
+
"gateSha256": "ecdbab7c2e0a1d94eb9c98f15e760390f215bc7115a217ded24b4275322722d2"
|
|
17
23
|
}
|
|
18
24
|
]
|
|
19
25
|
}
|
|
@@ -3236,6 +3236,10 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
3236
3236
|
readonly flags: "-y, --yes";
|
|
3237
3237
|
readonly description: "Skip the confirmation prompt (for scripts); not above 1000 objects";
|
|
3238
3238
|
readonly hidden: false;
|
|
3239
|
+
}, {
|
|
3240
|
+
readonly flags: "--confirmation <token>";
|
|
3241
|
+
readonly description: "Send an hqdc_ delete confirmation token with a real company-vault delete; asks you to type the confirmation in a terminal first (not with --dry-run or --personal)";
|
|
3242
|
+
readonly hidden: false;
|
|
3239
3243
|
}];
|
|
3240
3244
|
readonly subcommands: readonly [];
|
|
3241
3245
|
}, {
|
|
@@ -14344,6 +14348,211 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
14344
14348
|
readonly subcommands: readonly [];
|
|
14345
14349
|
}];
|
|
14346
14350
|
}];
|
|
14351
|
+
}, {
|
|
14352
|
+
readonly name: "ci";
|
|
14353
|
+
readonly description: "Smart CI: record and measure what CI does (watch-only)";
|
|
14354
|
+
readonly aliases: readonly [];
|
|
14355
|
+
readonly hidden: false;
|
|
14356
|
+
readonly helpOption: true;
|
|
14357
|
+
readonly helpCommand: true;
|
|
14358
|
+
readonly usage: "[options] [command]";
|
|
14359
|
+
readonly helpText: readonly [];
|
|
14360
|
+
readonly arguments: readonly [];
|
|
14361
|
+
readonly options: readonly [];
|
|
14362
|
+
readonly subcommands: readonly [{
|
|
14363
|
+
readonly name: "intake";
|
|
14364
|
+
readonly description: "Record CI jobs, checks, pull requests, pushes and runner pool state into the run ledger (read-only towards GitHub)";
|
|
14365
|
+
readonly aliases: readonly [];
|
|
14366
|
+
readonly hidden: false;
|
|
14367
|
+
readonly helpOption: true;
|
|
14368
|
+
readonly helpCommand: false;
|
|
14369
|
+
readonly usage: "[options]";
|
|
14370
|
+
readonly helpText: readonly [];
|
|
14371
|
+
readonly arguments: readonly [];
|
|
14372
|
+
readonly options: readonly [{
|
|
14373
|
+
readonly flags: "--repo <owner/name>";
|
|
14374
|
+
readonly description: "repository to record; repeat for more (default: indigoai-us/hq-cli and indigoai-us/hq-pro)";
|
|
14375
|
+
readonly hidden: false;
|
|
14376
|
+
}, {
|
|
14377
|
+
readonly flags: "--runner-org <org>";
|
|
14378
|
+
readonly description: "org whose runner pools are sampled (default: indigoai-us)";
|
|
14379
|
+
readonly hidden: false;
|
|
14380
|
+
}, {
|
|
14381
|
+
readonly flags: "--no-runners";
|
|
14382
|
+
readonly description: "do not sample runner pools";
|
|
14383
|
+
readonly hidden: false;
|
|
14384
|
+
}, {
|
|
14385
|
+
readonly flags: "--no-check-runs";
|
|
14386
|
+
readonly description: "do not read check runs";
|
|
14387
|
+
readonly hidden: false;
|
|
14388
|
+
}, {
|
|
14389
|
+
readonly flags: "--store-dir <path>";
|
|
14390
|
+
readonly description: "ledger directory (default: HQ_SMART_CI_STORE_DIR, else ~/.hq/delivery/ledger)";
|
|
14391
|
+
readonly hidden: false;
|
|
14392
|
+
}, {
|
|
14393
|
+
readonly flags: "--priorities <company>";
|
|
14394
|
+
readonly description: "also refresh and store this company's priority map (hq ci priorities) while the intake owns the ledger";
|
|
14395
|
+
readonly hidden: false;
|
|
14396
|
+
}, {
|
|
14397
|
+
readonly flags: "--once";
|
|
14398
|
+
readonly description: "run one cycle and stop";
|
|
14399
|
+
readonly hidden: false;
|
|
14400
|
+
}, {
|
|
14401
|
+
readonly flags: "--duration-minutes <n>";
|
|
14402
|
+
readonly description: "stop after this many minutes (default: run until stopped)";
|
|
14403
|
+
readonly hidden: false;
|
|
14404
|
+
}, {
|
|
14405
|
+
readonly flags: "--interval-seconds <n>";
|
|
14406
|
+
readonly description: "seconds between cycles (default: 60)";
|
|
14407
|
+
readonly hidden: false;
|
|
14408
|
+
}, {
|
|
14409
|
+
readonly flags: "--lookback-minutes <n>";
|
|
14410
|
+
readonly description: "on a first start, also record runs created this many minutes back (default: 0)";
|
|
14411
|
+
readonly hidden: false;
|
|
14412
|
+
}, {
|
|
14413
|
+
readonly flags: "--hourly-budget <n>";
|
|
14414
|
+
readonly description: "charged GitHub requests an hour the intake allows itself, counted across restarts (default: 1500)";
|
|
14415
|
+
readonly hidden: false;
|
|
14416
|
+
}, {
|
|
14417
|
+
readonly flags: "--rate-floor <n>";
|
|
14418
|
+
readonly description: "make no request while the gh login has this many or fewer requests left this hour (default: 500)";
|
|
14419
|
+
readonly hidden: false;
|
|
14420
|
+
}, {
|
|
14421
|
+
readonly flags: "--active-window-minutes <n>";
|
|
14422
|
+
readonly description: "closed records older than this move to dated archive files; 0 keeps one file (default: 120)";
|
|
14423
|
+
readonly hidden: false;
|
|
14424
|
+
}, {
|
|
14425
|
+
readonly flags: "--audit-log <path>";
|
|
14426
|
+
readonly description: "where to write one line per GitHub request (default: smart-ci-github-audit.jsonl in the ledger directory)";
|
|
14427
|
+
readonly hidden: false;
|
|
14428
|
+
}, {
|
|
14429
|
+
readonly flags: "--replay-fixture <path>";
|
|
14430
|
+
readonly description: "record a fixture file instead of polling GitHub";
|
|
14431
|
+
readonly hidden: false;
|
|
14432
|
+
}, {
|
|
14433
|
+
readonly flags: "--batch-size <n>";
|
|
14434
|
+
readonly description: "observations per commit when replaying (default: 200)";
|
|
14435
|
+
readonly hidden: false;
|
|
14436
|
+
}, {
|
|
14437
|
+
readonly flags: "--record-fixture <path>";
|
|
14438
|
+
readonly description: "read a past window from GitHub and write it as a fixture; needs one --repo, --from and --to";
|
|
14439
|
+
readonly hidden: false;
|
|
14440
|
+
}, {
|
|
14441
|
+
readonly flags: "--from <iso>";
|
|
14442
|
+
readonly description: "start of the window to record (inclusive)";
|
|
14443
|
+
readonly hidden: false;
|
|
14444
|
+
}, {
|
|
14445
|
+
readonly flags: "--to <iso>";
|
|
14446
|
+
readonly description: "end of the window to record (exclusive)";
|
|
14447
|
+
readonly hidden: false;
|
|
14448
|
+
}, {
|
|
14449
|
+
readonly flags: "--json";
|
|
14450
|
+
readonly description: "print the final summary as JSON";
|
|
14451
|
+
readonly hidden: false;
|
|
14452
|
+
}];
|
|
14453
|
+
readonly subcommands: readonly [];
|
|
14454
|
+
}, {
|
|
14455
|
+
readonly name: "metrics";
|
|
14456
|
+
readonly description: "Print CI waits, waste and cost per merge for a repo from the run ledger";
|
|
14457
|
+
readonly aliases: readonly [];
|
|
14458
|
+
readonly hidden: false;
|
|
14459
|
+
readonly helpOption: true;
|
|
14460
|
+
readonly helpCommand: false;
|
|
14461
|
+
readonly usage: "[options]";
|
|
14462
|
+
readonly helpText: readonly [];
|
|
14463
|
+
readonly arguments: readonly [];
|
|
14464
|
+
readonly options: readonly [{
|
|
14465
|
+
readonly flags: "--repo <owner/name>";
|
|
14466
|
+
readonly description: "repository to report on";
|
|
14467
|
+
readonly hidden: false;
|
|
14468
|
+
}, {
|
|
14469
|
+
readonly flags: "--since <date>";
|
|
14470
|
+
readonly description: "start of the window, a date (2026-11-21) or an ISO time, UTC";
|
|
14471
|
+
readonly hidden: false;
|
|
14472
|
+
}, {
|
|
14473
|
+
readonly flags: "--until <date>";
|
|
14474
|
+
readonly description: "end of the window, exclusive (default: now)";
|
|
14475
|
+
readonly hidden: false;
|
|
14476
|
+
}, {
|
|
14477
|
+
readonly flags: "--store-dir <path>";
|
|
14478
|
+
readonly description: "ledger directory (default: HQ_SMART_CI_STORE_DIR, else ~/.hq/delivery/ledger)";
|
|
14479
|
+
readonly hidden: false;
|
|
14480
|
+
}, {
|
|
14481
|
+
readonly flags: "--deploy-workflow <name>";
|
|
14482
|
+
readonly description: "workflow that deploys to production on merge (default: known per repo)";
|
|
14483
|
+
readonly hidden: false;
|
|
14484
|
+
}, {
|
|
14485
|
+
readonly flags: "--github-billed-usd <amount>";
|
|
14486
|
+
readonly description: "billed GitHub amount for this repo and window, to use in place of the estimate";
|
|
14487
|
+
readonly hidden: false;
|
|
14488
|
+
}, {
|
|
14489
|
+
readonly flags: "--aws-fleet-usd <amount>";
|
|
14490
|
+
readonly description: "AWS runner fleet amount for this window, to use in place of the estimate";
|
|
14491
|
+
readonly hidden: false;
|
|
14492
|
+
}, {
|
|
14493
|
+
readonly flags: "--json";
|
|
14494
|
+
readonly description: "print the numbers as JSON";
|
|
14495
|
+
readonly hidden: false;
|
|
14496
|
+
}];
|
|
14497
|
+
readonly subcommands: readonly [];
|
|
14498
|
+
}, {
|
|
14499
|
+
readonly name: "priorities";
|
|
14500
|
+
readonly description: "Print the company's priority map: what matters most, which open pull requests it covers, and work in flight with no pull request yet";
|
|
14501
|
+
readonly aliases: readonly [];
|
|
14502
|
+
readonly hidden: false;
|
|
14503
|
+
readonly helpOption: true;
|
|
14504
|
+
readonly helpCommand: false;
|
|
14505
|
+
readonly usage: "[options]";
|
|
14506
|
+
readonly helpText: readonly [];
|
|
14507
|
+
readonly arguments: readonly [];
|
|
14508
|
+
readonly options: readonly [{
|
|
14509
|
+
readonly flags: "--company <slug>";
|
|
14510
|
+
readonly description: "company whose work to read (required; there is no default)";
|
|
14511
|
+
readonly hidden: false;
|
|
14512
|
+
}, {
|
|
14513
|
+
readonly flags: "--repo <owner/name>";
|
|
14514
|
+
readonly description: "repo whose open pull requests are matched; repeat for more (default: the repos of the stored map)";
|
|
14515
|
+
readonly hidden: false;
|
|
14516
|
+
readonly defaultValue: readonly [];
|
|
14517
|
+
}, {
|
|
14518
|
+
readonly flags: "--refresh";
|
|
14519
|
+
readonly description: "refresh the map from its sources before printing";
|
|
14520
|
+
readonly hidden: false;
|
|
14521
|
+
}, {
|
|
14522
|
+
readonly flags: "--no-refresh";
|
|
14523
|
+
readonly description: "print the stored map without reading any source";
|
|
14524
|
+
readonly hidden: false;
|
|
14525
|
+
}, {
|
|
14526
|
+
readonly flags: "--days <n>";
|
|
14527
|
+
readonly description: "days of standups and activity to read (default 7)";
|
|
14528
|
+
readonly hidden: false;
|
|
14529
|
+
}, {
|
|
14530
|
+
readonly flags: "--from <iso>";
|
|
14531
|
+
readonly description: "start of an explicit window (with --to)";
|
|
14532
|
+
readonly hidden: false;
|
|
14533
|
+
}, {
|
|
14534
|
+
readonly flags: "--to <iso>";
|
|
14535
|
+
readonly description: "end of an explicit window (with --from)";
|
|
14536
|
+
readonly hidden: false;
|
|
14537
|
+
}, {
|
|
14538
|
+
readonly flags: "--top <n>";
|
|
14539
|
+
readonly description: "how many priorities count as top (default 5)";
|
|
14540
|
+
readonly hidden: false;
|
|
14541
|
+
}, {
|
|
14542
|
+
readonly flags: "--hq-root <path>";
|
|
14543
|
+
readonly description: "HQ installation to read";
|
|
14544
|
+
readonly hidden: false;
|
|
14545
|
+
}, {
|
|
14546
|
+
readonly flags: "--store-dir <path>";
|
|
14547
|
+
readonly description: "ledger directory (default: HQ_SMART_CI_STORE_DIR, else ~/.hq/delivery/ledger)";
|
|
14548
|
+
readonly hidden: false;
|
|
14549
|
+
}, {
|
|
14550
|
+
readonly flags: "--json";
|
|
14551
|
+
readonly description: "print the map as JSON";
|
|
14552
|
+
readonly hidden: false;
|
|
14553
|
+
}];
|
|
14554
|
+
readonly subcommands: readonly [];
|
|
14555
|
+
}];
|
|
14347
14556
|
}, {
|
|
14348
14557
|
readonly name: "env";
|
|
14349
14558
|
readonly description: "Environment profiles: the places that can do work (hq-environment-profile.v1)";
|
|
@@ -3901,6 +3901,11 @@ export const COMMAND_CATALOG = [
|
|
|
3901
3901
|
"flags": "-y, --yes",
|
|
3902
3902
|
"description": "Skip the confirmation prompt (for scripts); not above 1000 objects",
|
|
3903
3903
|
"hidden": false
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"flags": "--confirmation <token>",
|
|
3907
|
+
"description": "Send an hqdc_ delete confirmation token with a real company-vault delete; asks you to type the confirmation in a terminal first (not with --dry-run or --personal)",
|
|
3908
|
+
"hidden": false
|
|
3904
3909
|
}
|
|
3905
3910
|
],
|
|
3906
3911
|
"subcommands": []
|
|
@@ -17469,6 +17474,258 @@ export const COMMAND_CATALOG = [
|
|
|
17469
17474
|
}
|
|
17470
17475
|
]
|
|
17471
17476
|
},
|
|
17477
|
+
{
|
|
17478
|
+
"name": "ci",
|
|
17479
|
+
"description": "Smart CI: record and measure what CI does (watch-only)",
|
|
17480
|
+
"aliases": [],
|
|
17481
|
+
"hidden": false,
|
|
17482
|
+
"helpOption": true,
|
|
17483
|
+
"helpCommand": true,
|
|
17484
|
+
"usage": "[options] [command]",
|
|
17485
|
+
"helpText": [],
|
|
17486
|
+
"arguments": [],
|
|
17487
|
+
"options": [],
|
|
17488
|
+
"subcommands": [
|
|
17489
|
+
{
|
|
17490
|
+
"name": "intake",
|
|
17491
|
+
"description": "Record CI jobs, checks, pull requests, pushes and runner pool state into the run ledger (read-only towards GitHub)",
|
|
17492
|
+
"aliases": [],
|
|
17493
|
+
"hidden": false,
|
|
17494
|
+
"helpOption": true,
|
|
17495
|
+
"helpCommand": false,
|
|
17496
|
+
"usage": "[options]",
|
|
17497
|
+
"helpText": [],
|
|
17498
|
+
"arguments": [],
|
|
17499
|
+
"options": [
|
|
17500
|
+
{
|
|
17501
|
+
"flags": "--repo <owner/name>",
|
|
17502
|
+
"description": "repository to record; repeat for more (default: indigoai-us/hq-cli and indigoai-us/hq-pro)",
|
|
17503
|
+
"hidden": false
|
|
17504
|
+
},
|
|
17505
|
+
{
|
|
17506
|
+
"flags": "--runner-org <org>",
|
|
17507
|
+
"description": "org whose runner pools are sampled (default: indigoai-us)",
|
|
17508
|
+
"hidden": false
|
|
17509
|
+
},
|
|
17510
|
+
{
|
|
17511
|
+
"flags": "--no-runners",
|
|
17512
|
+
"description": "do not sample runner pools",
|
|
17513
|
+
"hidden": false
|
|
17514
|
+
},
|
|
17515
|
+
{
|
|
17516
|
+
"flags": "--no-check-runs",
|
|
17517
|
+
"description": "do not read check runs",
|
|
17518
|
+
"hidden": false
|
|
17519
|
+
},
|
|
17520
|
+
{
|
|
17521
|
+
"flags": "--store-dir <path>",
|
|
17522
|
+
"description": "ledger directory (default: HQ_SMART_CI_STORE_DIR, else ~/.hq/delivery/ledger)",
|
|
17523
|
+
"hidden": false
|
|
17524
|
+
},
|
|
17525
|
+
{
|
|
17526
|
+
"flags": "--priorities <company>",
|
|
17527
|
+
"description": "also refresh and store this company's priority map (hq ci priorities) while the intake owns the ledger",
|
|
17528
|
+
"hidden": false
|
|
17529
|
+
},
|
|
17530
|
+
{
|
|
17531
|
+
"flags": "--once",
|
|
17532
|
+
"description": "run one cycle and stop",
|
|
17533
|
+
"hidden": false
|
|
17534
|
+
},
|
|
17535
|
+
{
|
|
17536
|
+
"flags": "--duration-minutes <n>",
|
|
17537
|
+
"description": "stop after this many minutes (default: run until stopped)",
|
|
17538
|
+
"hidden": false
|
|
17539
|
+
},
|
|
17540
|
+
{
|
|
17541
|
+
"flags": "--interval-seconds <n>",
|
|
17542
|
+
"description": "seconds between cycles (default: 60)",
|
|
17543
|
+
"hidden": false
|
|
17544
|
+
},
|
|
17545
|
+
{
|
|
17546
|
+
"flags": "--lookback-minutes <n>",
|
|
17547
|
+
"description": "on a first start, also record runs created this many minutes back (default: 0)",
|
|
17548
|
+
"hidden": false
|
|
17549
|
+
},
|
|
17550
|
+
{
|
|
17551
|
+
"flags": "--hourly-budget <n>",
|
|
17552
|
+
"description": "charged GitHub requests an hour the intake allows itself, counted across restarts (default: 1500)",
|
|
17553
|
+
"hidden": false
|
|
17554
|
+
},
|
|
17555
|
+
{
|
|
17556
|
+
"flags": "--rate-floor <n>",
|
|
17557
|
+
"description": "make no request while the gh login has this many or fewer requests left this hour (default: 500)",
|
|
17558
|
+
"hidden": false
|
|
17559
|
+
},
|
|
17560
|
+
{
|
|
17561
|
+
"flags": "--active-window-minutes <n>",
|
|
17562
|
+
"description": "closed records older than this move to dated archive files; 0 keeps one file (default: 120)",
|
|
17563
|
+
"hidden": false
|
|
17564
|
+
},
|
|
17565
|
+
{
|
|
17566
|
+
"flags": "--audit-log <path>",
|
|
17567
|
+
"description": "where to write one line per GitHub request (default: smart-ci-github-audit.jsonl in the ledger directory)",
|
|
17568
|
+
"hidden": false
|
|
17569
|
+
},
|
|
17570
|
+
{
|
|
17571
|
+
"flags": "--replay-fixture <path>",
|
|
17572
|
+
"description": "record a fixture file instead of polling GitHub",
|
|
17573
|
+
"hidden": false
|
|
17574
|
+
},
|
|
17575
|
+
{
|
|
17576
|
+
"flags": "--batch-size <n>",
|
|
17577
|
+
"description": "observations per commit when replaying (default: 200)",
|
|
17578
|
+
"hidden": false
|
|
17579
|
+
},
|
|
17580
|
+
{
|
|
17581
|
+
"flags": "--record-fixture <path>",
|
|
17582
|
+
"description": "read a past window from GitHub and write it as a fixture; needs one --repo, --from and --to",
|
|
17583
|
+
"hidden": false
|
|
17584
|
+
},
|
|
17585
|
+
{
|
|
17586
|
+
"flags": "--from <iso>",
|
|
17587
|
+
"description": "start of the window to record (inclusive)",
|
|
17588
|
+
"hidden": false
|
|
17589
|
+
},
|
|
17590
|
+
{
|
|
17591
|
+
"flags": "--to <iso>",
|
|
17592
|
+
"description": "end of the window to record (exclusive)",
|
|
17593
|
+
"hidden": false
|
|
17594
|
+
},
|
|
17595
|
+
{
|
|
17596
|
+
"flags": "--json",
|
|
17597
|
+
"description": "print the final summary as JSON",
|
|
17598
|
+
"hidden": false
|
|
17599
|
+
}
|
|
17600
|
+
],
|
|
17601
|
+
"subcommands": []
|
|
17602
|
+
},
|
|
17603
|
+
{
|
|
17604
|
+
"name": "metrics",
|
|
17605
|
+
"description": "Print CI waits, waste and cost per merge for a repo from the run ledger",
|
|
17606
|
+
"aliases": [],
|
|
17607
|
+
"hidden": false,
|
|
17608
|
+
"helpOption": true,
|
|
17609
|
+
"helpCommand": false,
|
|
17610
|
+
"usage": "[options]",
|
|
17611
|
+
"helpText": [],
|
|
17612
|
+
"arguments": [],
|
|
17613
|
+
"options": [
|
|
17614
|
+
{
|
|
17615
|
+
"flags": "--repo <owner/name>",
|
|
17616
|
+
"description": "repository to report on",
|
|
17617
|
+
"hidden": false
|
|
17618
|
+
},
|
|
17619
|
+
{
|
|
17620
|
+
"flags": "--since <date>",
|
|
17621
|
+
"description": "start of the window, a date (2026-11-21) or an ISO time, UTC",
|
|
17622
|
+
"hidden": false
|
|
17623
|
+
},
|
|
17624
|
+
{
|
|
17625
|
+
"flags": "--until <date>",
|
|
17626
|
+
"description": "end of the window, exclusive (default: now)",
|
|
17627
|
+
"hidden": false
|
|
17628
|
+
},
|
|
17629
|
+
{
|
|
17630
|
+
"flags": "--store-dir <path>",
|
|
17631
|
+
"description": "ledger directory (default: HQ_SMART_CI_STORE_DIR, else ~/.hq/delivery/ledger)",
|
|
17632
|
+
"hidden": false
|
|
17633
|
+
},
|
|
17634
|
+
{
|
|
17635
|
+
"flags": "--deploy-workflow <name>",
|
|
17636
|
+
"description": "workflow that deploys to production on merge (default: known per repo)",
|
|
17637
|
+
"hidden": false
|
|
17638
|
+
},
|
|
17639
|
+
{
|
|
17640
|
+
"flags": "--github-billed-usd <amount>",
|
|
17641
|
+
"description": "billed GitHub amount for this repo and window, to use in place of the estimate",
|
|
17642
|
+
"hidden": false
|
|
17643
|
+
},
|
|
17644
|
+
{
|
|
17645
|
+
"flags": "--aws-fleet-usd <amount>",
|
|
17646
|
+
"description": "AWS runner fleet amount for this window, to use in place of the estimate",
|
|
17647
|
+
"hidden": false
|
|
17648
|
+
},
|
|
17649
|
+
{
|
|
17650
|
+
"flags": "--json",
|
|
17651
|
+
"description": "print the numbers as JSON",
|
|
17652
|
+
"hidden": false
|
|
17653
|
+
}
|
|
17654
|
+
],
|
|
17655
|
+
"subcommands": []
|
|
17656
|
+
},
|
|
17657
|
+
{
|
|
17658
|
+
"name": "priorities",
|
|
17659
|
+
"description": "Print the company's priority map: what matters most, which open pull requests it covers, and work in flight with no pull request yet",
|
|
17660
|
+
"aliases": [],
|
|
17661
|
+
"hidden": false,
|
|
17662
|
+
"helpOption": true,
|
|
17663
|
+
"helpCommand": false,
|
|
17664
|
+
"usage": "[options]",
|
|
17665
|
+
"helpText": [],
|
|
17666
|
+
"arguments": [],
|
|
17667
|
+
"options": [
|
|
17668
|
+
{
|
|
17669
|
+
"flags": "--company <slug>",
|
|
17670
|
+
"description": "company whose work to read (required; there is no default)",
|
|
17671
|
+
"hidden": false
|
|
17672
|
+
},
|
|
17673
|
+
{
|
|
17674
|
+
"flags": "--repo <owner/name>",
|
|
17675
|
+
"description": "repo whose open pull requests are matched; repeat for more (default: the repos of the stored map)",
|
|
17676
|
+
"hidden": false,
|
|
17677
|
+
"defaultValue": []
|
|
17678
|
+
},
|
|
17679
|
+
{
|
|
17680
|
+
"flags": "--refresh",
|
|
17681
|
+
"description": "refresh the map from its sources before printing",
|
|
17682
|
+
"hidden": false
|
|
17683
|
+
},
|
|
17684
|
+
{
|
|
17685
|
+
"flags": "--no-refresh",
|
|
17686
|
+
"description": "print the stored map without reading any source",
|
|
17687
|
+
"hidden": false
|
|
17688
|
+
},
|
|
17689
|
+
{
|
|
17690
|
+
"flags": "--days <n>",
|
|
17691
|
+
"description": "days of standups and activity to read (default 7)",
|
|
17692
|
+
"hidden": false
|
|
17693
|
+
},
|
|
17694
|
+
{
|
|
17695
|
+
"flags": "--from <iso>",
|
|
17696
|
+
"description": "start of an explicit window (with --to)",
|
|
17697
|
+
"hidden": false
|
|
17698
|
+
},
|
|
17699
|
+
{
|
|
17700
|
+
"flags": "--to <iso>",
|
|
17701
|
+
"description": "end of an explicit window (with --from)",
|
|
17702
|
+
"hidden": false
|
|
17703
|
+
},
|
|
17704
|
+
{
|
|
17705
|
+
"flags": "--top <n>",
|
|
17706
|
+
"description": "how many priorities count as top (default 5)",
|
|
17707
|
+
"hidden": false
|
|
17708
|
+
},
|
|
17709
|
+
{
|
|
17710
|
+
"flags": "--hq-root <path>",
|
|
17711
|
+
"description": "HQ installation to read",
|
|
17712
|
+
"hidden": false
|
|
17713
|
+
},
|
|
17714
|
+
{
|
|
17715
|
+
"flags": "--store-dir <path>",
|
|
17716
|
+
"description": "ledger directory (default: HQ_SMART_CI_STORE_DIR, else ~/.hq/delivery/ledger)",
|
|
17717
|
+
"hidden": false
|
|
17718
|
+
},
|
|
17719
|
+
{
|
|
17720
|
+
"flags": "--json",
|
|
17721
|
+
"description": "print the map as JSON",
|
|
17722
|
+
"hidden": false
|
|
17723
|
+
}
|
|
17724
|
+
],
|
|
17725
|
+
"subcommands": []
|
|
17726
|
+
}
|
|
17727
|
+
]
|
|
17728
|
+
},
|
|
17472
17729
|
{
|
|
17473
17730
|
"name": "env",
|
|
17474
17731
|
"description": "Environment profiles: the places that can do work (hq-environment-profile.v1)",
|
|
@@ -490,6 +490,12 @@ export declare const REGISTRATION_PLAN: readonly [{
|
|
|
490
490
|
readonly parent: "program";
|
|
491
491
|
readonly module: "./commands/capacity.js";
|
|
492
492
|
readonly exportName: "registerCapacityCommand";
|
|
493
|
+
}, {
|
|
494
|
+
readonly type: "registrar";
|
|
495
|
+
readonly root: "ci";
|
|
496
|
+
readonly parent: "program";
|
|
497
|
+
readonly module: "./commands/ci.js";
|
|
498
|
+
readonly exportName: "registerCiCommand";
|
|
493
499
|
}, {
|
|
494
500
|
readonly type: "registrar";
|
|
495
501
|
readonly root: "env";
|