@indigoai-us/hq-cli 5.273.0-alpha.0 → 5.274.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +65 -2
- package/README.md +32 -1
- package/dist/command-catalog.generated.d.ts +83 -536
- package/dist/command-catalog.generated.js +129 -714
- package/dist/command-registration-plan.d.ts +12 -0
- package/dist/command-registration-plan.js +2 -0
- package/dist/commands/cloud.js +40 -0
- package/dist/commands/core-checkpoint.js +3 -1
- package/dist/commands/core-command-catalog.d.ts +32 -0
- package/dist/commands/core-command-catalog.js +58 -0
- package/dist/commands/core-ontology.js +9 -4
- package/dist/commands/core.d.ts +4 -0
- package/dist/commands/core.js +79 -75
- package/dist/commands/daemon.d.ts +0 -3
- package/dist/commands/daemon.js +1 -173
- package/dist/commands/deploy-comments.d.ts +3 -0
- package/dist/commands/deploy-comments.js +159 -0
- package/dist/commands/lanes-checks.d.ts +0 -1
- package/dist/commands/lanes-checks.js +217 -54
- package/dist/commands/lanes-hold.js +40 -2
- package/dist/commands/lanes-message.js +98 -14
- package/dist/commands/lanes-move.d.ts +12 -0
- package/dist/commands/lanes-move.js +342 -0
- package/dist/commands/lanes-resume.js +3 -1
- package/dist/commands/lanes-shared.d.ts +39 -3
- package/dist/commands/lanes-shared.js +59 -0
- package/dist/commands/lanes.d.ts +3 -5
- package/dist/commands/lanes.js +206 -478
- package/dist/commands/report.js +2 -14
- package/dist/commands/sync-mode.d.ts +0 -11
- package/dist/commands/sync-mode.js +0 -30
- package/dist/fast-core.js +1 -1
- package/dist/{commands/scaffold-fast.d.ts → fast-scaffold.d.ts} +1 -1
- package/dist/{commands/scaffold-fast.js → fast-scaffold.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/lib/checkpoint-ontology/apply.d.ts +8 -0
- package/dist/lib/checkpoint-ontology/apply.js +33 -0
- package/dist/lib/checkpoint-ontology/plan.d.ts +15 -0
- package/dist/lib/checkpoint-ontology/plan.js +15 -0
- package/dist/lib/daemon/catalog.d.ts +2 -18
- package/dist/lib/daemon/catalog.js +2 -18
- package/dist/lib/daemon/config.d.ts +0 -6
- package/dist/lib/daemon/config.js +2 -15
- package/dist/lib/daemon/requests.d.ts +0 -4
- package/dist/lib/daemon/requests.js +0 -2
- package/dist/lib/daemon/run.js +19 -78
- package/dist/lib/daemon/supervisor.d.ts +0 -8
- package/dist/lib/daemon/supervisor.js +1 -101
- package/dist/lib/deploy-api.d.ts +6 -0
- package/dist/lib/deploy-api.js +21 -0
- package/dist/lib/doctor/checks/scaffold-cli-floor.d.ts +7 -0
- package/dist/lib/doctor/checks/scaffold-cli-floor.js +73 -0
- package/dist/lib/doctor/fix/apply.d.ts +17 -2
- package/dist/lib/doctor/fix/apply.js +111 -57
- package/dist/lib/doctor/fix/json-output.d.ts +9 -1
- package/dist/lib/doctor/fix/json-output.js +11 -0
- package/dist/lib/doctor/registry.js +2 -0
- package/dist/lib/first-sync-next-step.d.ts +37 -0
- package/dist/lib/first-sync-next-step.js +189 -0
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/lanes/hire-grant-dispatch.d.ts +6 -1
- package/dist/lib/lanes/hire-grant-dispatch.js +78 -3
- package/dist/lib/lanes/keep-alive.d.ts +3 -2
- package/dist/lib/lanes/keep-alive.js +2 -2
- package/dist/lib/lanes/merge-command.d.ts +1 -0
- package/dist/lib/lanes/merge-command.js +299 -33
- package/dist/lib/lanes/orphans.d.ts +7 -0
- package/dist/lib/lanes/orphans.js +39 -4
- package/dist/lib/lanes/tracker-store.d.ts +2 -18
- package/dist/lib/lanes/tracker-store.js +1 -172
- package/dist/lib/scaffold-cli-floor.d.ts +9 -0
- package/dist/lib/scaffold-cli-floor.js +50 -0
- package/dist/main.js +4 -1
- package/dist/utils/cli-telemetry.d.ts +7 -1
- package/dist/utils/cli-telemetry.js +84 -8
- package/dist/utils/contribution-table.d.ts +1 -1
- package/dist/utils/scaffold-fast-import-guard.d.ts +3 -0
- package/dist/utils/scaffold-fast-import-guard.js +28 -0
- package/dist/utils/scaffold-packlist-guard.d.ts +7 -0
- package/dist/utils/scaffold-packlist-guard.js +23 -0
- package/dist/utils/scaffold-sibling-references.d.ts +21 -0
- package/dist/utils/scaffold-sibling-references.js +156 -0
- package/package.json +2 -2
- package/dist/commands/lanes-import.d.ts +0 -14
- package/dist/commands/lanes-import.js +0 -1210
- package/dist/commands/lanes-tracker.d.ts +0 -18
- package/dist/commands/lanes-tracker.js +0 -452
- package/dist/lib/daemon/sync-runner.d.ts +0 -58
- package/dist/lib/daemon/sync-runner.js +0 -277
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,70 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
## [5.
|
|
5
|
+
## [5.274.0] — 2026-09-28
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `hq lanes grant` and other senior-authorized actions treat a missing `senior`
|
|
10
|
+
key in valid session metadata as `user`; explicit non-user values still refuse
|
|
11
|
+
authorization with a reason.
|
|
12
|
+
- Native Outpost message and resume routes now carry the owner's hire hierarchy,
|
|
13
|
+
authorize local-host resume contexts on their owner, and continue lane lookup
|
|
14
|
+
when another registered Outpost is unavailable.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Guide interactive CLI users to their first work-bearing sync and confirm it
|
|
19
|
+
once, behind the `cli.first-sync-next-step` HQ flag.
|
|
20
|
+
- Add `hq core commands --json` for the registered command catalog and guard the fast path, sibling references, and packaged assets.
|
|
21
|
+
- Add a corpus recorder and differential runner for scaffold migration scripts.
|
|
22
|
+
- Add `hq deploy comments list` and `read` for comments on apps in the caller's org.
|
|
23
|
+
- Checkpoint ontology: behind `checkpoint.ontology.named-evidence` (off by
|
|
24
|
+
default), a knowledge link to the company's own company entity, or a
|
|
25
|
+
concept linked to its same-name project, needs evidence that names it as a
|
|
26
|
+
word. A name that only appears inside a path, domain, handle or tag, such as
|
|
27
|
+
`indigoai-us/hq` or `scope: company:indigo`, is rejected as
|
|
28
|
+
`unnamed_in_evidence` (CO-57).
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Add byte-for-byte checks for files fetched by `hq files get` and for
|
|
33
|
+
`company.yaml` after cloud demotion, using hq-core-staging's company seed.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- Internal: moved the move, move-target and placement subcommands out of
|
|
38
|
+
`src/commands/lanes.ts`; no behaviour change.
|
|
39
|
+
|
|
40
|
+
## [5.273.0] — 2026-09-28
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- `hq doctor --fix` rechecks after each repair and applies newly found fixes
|
|
45
|
+
for up to three passes. It reports each repair's pass and lists every backup
|
|
46
|
+
restore command.
|
|
47
|
+
- `hq doctor --fix --json` includes each repair's pass and backup, and its
|
|
48
|
+
restore command now undoes changes from every repair pass.
|
|
49
|
+
- Wrapped merge commands now pass through both hold and review checks. If a
|
|
50
|
+
merge command cannot be parsed, it is allowed with an unresolved repository
|
|
51
|
+
when no enabled hold or review check applies.
|
|
52
|
+
- A superseded worker still accepts messages from its recorded senior or a
|
|
53
|
+
successor lead in the same company and project. Company identity is resolved
|
|
54
|
+
from the lane or its project when the lane record has no company.
|
|
55
|
+
- `hq lanes orphans` resolves null-company lanes through their senior chain and
|
|
56
|
+
can list unresolved lanes with `--unscoped`. Idle user-senior lanes without
|
|
57
|
+
open stories are reported after `--user-idle-hours` (default 72).
|
|
6
58
|
|
|
7
59
|
### Added
|
|
8
60
|
|
|
9
|
-
- `hq
|
|
61
|
+
- `hq doctor` checks whether the installed CLI meets the scaffold's declared
|
|
62
|
+
`requiresHqCli` version floor.
|
|
63
|
+
|
|
64
|
+
### Removed
|
|
65
|
+
|
|
66
|
+
- Removed the dead `lanes.tracker` record and import commands. Existing project
|
|
67
|
+
tracker files stay in place; `hq lanes checks` and `hq lanes report` retain
|
|
68
|
+
read-only access to the records they use.
|
|
10
69
|
|
|
11
70
|
## [5.272.0] — 2026-09-28
|
|
12
71
|
|
|
@@ -56,6 +115,10 @@
|
|
|
56
115
|
- Company-scoped lane flags resolve ownership from a complete lane company,
|
|
57
116
|
then a complete mesh company, then the lane's unique project company.
|
|
58
117
|
|
|
118
|
+
- Merge hold and review checks unwrap commands through common shell wrappers.
|
|
119
|
+
Unparseable merge commands are blocked only when an enabled hold or review
|
|
120
|
+
enforcement applies.
|
|
121
|
+
|
|
59
122
|
### Added
|
|
60
123
|
|
|
61
124
|
- Add `hq lanes review` records and optional reviewed-head checks to
|
package/README.md
CHANGED
|
@@ -7,6 +7,25 @@ npm install -g @indigoai-us/hq-cli
|
|
|
7
7
|
hq --help
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
+
## Deploy comments
|
|
11
|
+
|
|
12
|
+
List comments left on an app in your current hq-deploy organization. Use the
|
|
13
|
+
app's id or exact name; the CLI resolves it from the apps visible in that org.
|
|
14
|
+
The list shows id, status, creation time, author display name, anchor mode and
|
|
15
|
+
the first body line. `--status` accepts `open`, `resolved` or `all` (default).
|
|
16
|
+
Use `--json` to print the API's comment objects with the `commentsEnabled`
|
|
17
|
+
value.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
hq deploy comments list <app> [--status open|resolved|all] [--json]
|
|
21
|
+
hq deploy comments read <app> <commentId>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
`read` prints the complete comment, including body, anchor, deploy id, status
|
|
25
|
+
and timestamps. Reading works when comments are disabled on the app. The
|
|
26
|
+
control-plane API requires the app owner or an org admin; comments are scoped
|
|
27
|
+
to the caller's organization. Resolve/reopen commands are not included.
|
|
28
|
+
|
|
10
29
|
## Telemetry
|
|
11
30
|
|
|
12
31
|
When you are signed in, `hq` may POST one `cli_session_started` event to
|
|
@@ -19,10 +38,14 @@ When you are signed in, `hq` may POST one `cli_session_started` event to
|
|
|
19
38
|
- `consentBasis`: `disclosed` after the first-run notice, otherwise `no-consent`
|
|
20
39
|
- `schemaVersion`: `1`
|
|
21
40
|
- `properties.version`: the CLI version
|
|
41
|
+
- for the optional first-sync guidance, `properties.step` (`first_sync_next_step`),
|
|
42
|
+
`properties.outcome` (`shown` or `followed`), and `properties.flagKey`
|
|
43
|
+
(`cli.first-sync-next-step`)
|
|
22
44
|
|
|
23
45
|
The request is authenticated with your cached session token so the control
|
|
24
46
|
plane can accept the event. The body does not include command names, arguments,
|
|
25
|
-
timings, file contents, or secrets.
|
|
47
|
+
timings, file contents, or secrets. The guidance fields are sent only when that
|
|
48
|
+
optional feature is enabled and a person sees or follows its next step.
|
|
26
49
|
|
|
27
50
|
The first signed-in interactive run (stdout is a TTY, and the command is not
|
|
28
51
|
`--json`) prints this line once on stderr and records that it was shown under
|
|
@@ -32,6 +55,14 @@ The first signed-in interactive run (stdout is a TTY, and the command is not
|
|
|
32
55
|
HQ sends a usage event when you run a signed-in command (CLI version and a timestamp, never command names, file contents, or secrets) to improve the CLI. Set HQ_TELEMETRY=0 to turn this off.
|
|
33
56
|
```
|
|
34
57
|
|
|
58
|
+
When the optional first-sync guidance is enabled, the first interactive run that
|
|
59
|
+
is about to send its fields prints this line once instead, and records it under
|
|
60
|
+
`~/.hq/cli-telemetry-disclosed-first-sync-v1`:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
HQ sends a usage event when you run a signed-in command (CLI version and a timestamp; when enabled, first-sync guidance shown or followed and the flag key cli.first-sync-next-step; never command names, file contents, or secrets) to improve the CLI. Set HQ_TELEMETRY=0 to turn this off.
|
|
64
|
+
```
|
|
65
|
+
|
|
35
66
|
Turn telemetry off:
|
|
36
67
|
|
|
37
68
|
```bash
|