@indigoai-us/hq-cli 5.268.0 → 5.269.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 CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.269.0] — 2026-09-28
6
+
7
+ ### Fixed
8
+
9
+ - Keep-alive no longer treats cancelled, killed, or failed project workers as
10
+ replacement leads, and recognizes descendants whose session senior belongs
11
+ to the lead.
12
+ - Company-scoped lane flags resolve ownership from a complete lane company,
13
+ then a complete mesh company, then the lane's unique project company.
14
+
15
+ ### Added
16
+
17
+ - Add `hq lanes review` records and optional reviewed-head checks to
18
+ `hq lanes hold check` for senior lanes.
19
+
5
20
  ## [5.268.0] — 2026-09-28
6
21
 
7
22
  ### Fixed
@@ -7471,6 +7471,79 @@ export declare const COMMAND_CATALOG: readonly [{
7471
7471
  }];
7472
7472
  readonly subcommands: readonly [];
7473
7473
  }];
7474
+ }, {
7475
+ readonly name: "review";
7476
+ readonly description: "Record manager review of pull-request heads";
7477
+ readonly aliases: readonly [];
7478
+ readonly hidden: false;
7479
+ readonly usage: "[options] [command]";
7480
+ readonly arguments: readonly [];
7481
+ readonly options: readonly [];
7482
+ readonly subcommands: readonly [{
7483
+ readonly name: "record";
7484
+ readonly description: "Record a review against an exact pull-request head";
7485
+ readonly aliases: readonly [];
7486
+ readonly hidden: false;
7487
+ readonly usage: "[options] <repo> <pr-number>";
7488
+ readonly arguments: readonly [{
7489
+ readonly name: "repo";
7490
+ readonly required: true;
7491
+ readonly variadic: false;
7492
+ }, {
7493
+ readonly name: "pr-number";
7494
+ readonly required: true;
7495
+ readonly variadic: false;
7496
+ }];
7497
+ readonly options: readonly [{
7498
+ readonly flags: "--head <sha>";
7499
+ readonly description: "40-character commit SHA that was reviewed";
7500
+ }, {
7501
+ readonly flags: "--worker <lane-id>";
7502
+ readonly description: "Worker lane whose output was reviewed";
7503
+ }, {
7504
+ readonly flags: "--note <text>";
7505
+ readonly description: "Short note about the review";
7506
+ }, {
7507
+ readonly flags: "--json";
7508
+ readonly description: "Print JSON";
7509
+ }];
7510
+ readonly subcommands: readonly [];
7511
+ }, {
7512
+ readonly name: "show";
7513
+ readonly description: "Show the review record for one pull request";
7514
+ readonly aliases: readonly [];
7515
+ readonly hidden: false;
7516
+ readonly usage: "[options] <repo> <pr-number>";
7517
+ readonly arguments: readonly [{
7518
+ readonly name: "repo";
7519
+ readonly required: true;
7520
+ readonly variadic: false;
7521
+ }, {
7522
+ readonly name: "pr-number";
7523
+ readonly required: true;
7524
+ readonly variadic: false;
7525
+ }];
7526
+ readonly options: readonly [{
7527
+ readonly flags: "--json";
7528
+ readonly description: "Print JSON";
7529
+ }];
7530
+ readonly subcommands: readonly [];
7531
+ }, {
7532
+ readonly name: "list";
7533
+ readonly description: "List recorded pull-request reviews";
7534
+ readonly aliases: readonly [];
7535
+ readonly hidden: false;
7536
+ readonly usage: "[options]";
7537
+ readonly arguments: readonly [];
7538
+ readonly options: readonly [{
7539
+ readonly flags: "--repo <owner/repo>";
7540
+ readonly description: "Limit results to one repository";
7541
+ }, {
7542
+ readonly flags: "--json";
7543
+ readonly description: "Print JSON";
7544
+ }];
7545
+ readonly subcommands: readonly [];
7546
+ }];
7474
7547
  }, {
7475
7548
  readonly name: "outpost-pruner";
7476
7549
  readonly description: "Inspect, install, and run safe outpost worktree pruning";
@@ -9658,6 +9658,100 @@ export const COMMAND_CATALOG = [
9658
9658
  }
9659
9659
  ]
9660
9660
  },
9661
+ {
9662
+ "name": "review",
9663
+ "description": "Record manager review of pull-request heads",
9664
+ "aliases": [],
9665
+ "hidden": false,
9666
+ "usage": "[options] [command]",
9667
+ "arguments": [],
9668
+ "options": [],
9669
+ "subcommands": [
9670
+ {
9671
+ "name": "record",
9672
+ "description": "Record a review against an exact pull-request head",
9673
+ "aliases": [],
9674
+ "hidden": false,
9675
+ "usage": "[options] <repo> <pr-number>",
9676
+ "arguments": [
9677
+ {
9678
+ "name": "repo",
9679
+ "required": true,
9680
+ "variadic": false
9681
+ },
9682
+ {
9683
+ "name": "pr-number",
9684
+ "required": true,
9685
+ "variadic": false
9686
+ }
9687
+ ],
9688
+ "options": [
9689
+ {
9690
+ "flags": "--head <sha>",
9691
+ "description": "40-character commit SHA that was reviewed"
9692
+ },
9693
+ {
9694
+ "flags": "--worker <lane-id>",
9695
+ "description": "Worker lane whose output was reviewed"
9696
+ },
9697
+ {
9698
+ "flags": "--note <text>",
9699
+ "description": "Short note about the review"
9700
+ },
9701
+ {
9702
+ "flags": "--json",
9703
+ "description": "Print JSON"
9704
+ }
9705
+ ],
9706
+ "subcommands": []
9707
+ },
9708
+ {
9709
+ "name": "show",
9710
+ "description": "Show the review record for one pull request",
9711
+ "aliases": [],
9712
+ "hidden": false,
9713
+ "usage": "[options] <repo> <pr-number>",
9714
+ "arguments": [
9715
+ {
9716
+ "name": "repo",
9717
+ "required": true,
9718
+ "variadic": false
9719
+ },
9720
+ {
9721
+ "name": "pr-number",
9722
+ "required": true,
9723
+ "variadic": false
9724
+ }
9725
+ ],
9726
+ "options": [
9727
+ {
9728
+ "flags": "--json",
9729
+ "description": "Print JSON"
9730
+ }
9731
+ ],
9732
+ "subcommands": []
9733
+ },
9734
+ {
9735
+ "name": "list",
9736
+ "description": "List recorded pull-request reviews",
9737
+ "aliases": [],
9738
+ "hidden": false,
9739
+ "usage": "[options]",
9740
+ "arguments": [],
9741
+ "options": [
9742
+ {
9743
+ "flags": "--repo <owner/repo>",
9744
+ "description": "Limit results to one repository"
9745
+ },
9746
+ {
9747
+ "flags": "--json",
9748
+ "description": "Print JSON"
9749
+ }
9750
+ ],
9751
+ "subcommands": []
9752
+ }
9753
+ ]
9754
+ },
9661
9755
  {
9662
9756
  "name": "outpost-pruner",
9663
9757
  "description": "Inspect, install, and run safe outpost worktree pruning",
@@ -1,6 +1,7 @@
1
1
  import type { Command } from "commander";
2
2
  import type { LaneCompanyRef } from "../lib/lanes/types.js";
3
3
  export declare const LANES_REPO_MERGE_HOLD_FLAG = "lanes.repo-merge-hold";
4
+ export declare const LANES_REVIEW_BEFORE_MERGE_FLAG = "lanes.review-before-merge";
4
5
  export declare const REPO_MERGE_HOLDS_REL: string;
5
6
  declare const HOLD_SCHEMA_VERSION = "hq-lanes-repo-merge-hold.v1";
6
7
  interface HoldHistoryEntry {
@@ -31,6 +32,7 @@ export interface LaneRepoMergeHoldDeps {
31
32
  now: () => Date;
32
33
  env: NodeJS.ProcessEnv;
33
34
  mergeHoldEnabled?: (company: LaneCompanyRef) => boolean | Promise<boolean>;
35
+ mergeReviewEnabled?: (company: LaneCompanyRef) => boolean | Promise<boolean>;
34
36
  }
35
37
  type WrapHandler = <Args extends unknown[]>(action: (...args: Args) => Promise<void>) => (...args: Args) => Promise<void>;
36
38
  export declare function repoMergeHoldPath(hqRoot: string, repo: string): string;