@indigoai-us/hq-cli 5.272.0 → 5.273.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 +29 -0
- package/dist/command-catalog.generated.d.ts +11 -422
- package/dist/command-catalog.generated.js +14 -547
- 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-shared.d.ts +3 -2
- package/dist/commands/lanes.d.ts +2 -4
- package/dist/commands/lanes.js +3 -23
- 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/registry.js +2 -0
- 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/package.json +1 -1
- 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
|
@@ -8918,551 +8918,6 @@ export const COMMAND_CATALOG = [
|
|
|
8918
8918
|
"arguments": [],
|
|
8919
8919
|
"options": [],
|
|
8920
8920
|
"subcommands": [
|
|
8921
|
-
{
|
|
8922
|
-
"name": "blocker",
|
|
8923
|
-
"description": "Record and manage project blockers",
|
|
8924
|
-
"aliases": [],
|
|
8925
|
-
"hidden": false,
|
|
8926
|
-
"usage": "[options] [command]",
|
|
8927
|
-
"arguments": [],
|
|
8928
|
-
"options": [],
|
|
8929
|
-
"subcommands": [
|
|
8930
|
-
{
|
|
8931
|
-
"name": "open",
|
|
8932
|
-
"description": "Open a blocker",
|
|
8933
|
-
"aliases": [],
|
|
8934
|
-
"hidden": false,
|
|
8935
|
-
"usage": "[options]",
|
|
8936
|
-
"arguments": [],
|
|
8937
|
-
"options": [
|
|
8938
|
-
{
|
|
8939
|
-
"flags": "--project <slug>",
|
|
8940
|
-
"description": "HQ team project slug"
|
|
8941
|
-
},
|
|
8942
|
-
{
|
|
8943
|
-
"flags": "--company <slug>",
|
|
8944
|
-
"description": "Select the company by slug"
|
|
8945
|
-
},
|
|
8946
|
-
{
|
|
8947
|
-
"flags": "--story <id>",
|
|
8948
|
-
"description": "Blocked story id"
|
|
8949
|
-
},
|
|
8950
|
-
{
|
|
8951
|
-
"flags": "--what <text>",
|
|
8952
|
-
"description": "What is blocked"
|
|
8953
|
-
},
|
|
8954
|
-
{
|
|
8955
|
-
"flags": "--waiting-on <text>",
|
|
8956
|
-
"description": "Who or what is needed"
|
|
8957
|
-
},
|
|
8958
|
-
{
|
|
8959
|
-
"flags": "--next-step <text>",
|
|
8960
|
-
"description": "Next action"
|
|
8961
|
-
},
|
|
8962
|
-
{
|
|
8963
|
-
"flags": "--json",
|
|
8964
|
-
"description": "JSON on stdout (always)"
|
|
8965
|
-
}
|
|
8966
|
-
],
|
|
8967
|
-
"subcommands": []
|
|
8968
|
-
},
|
|
8969
|
-
{
|
|
8970
|
-
"name": "update",
|
|
8971
|
-
"description": "Update a blocker",
|
|
8972
|
-
"aliases": [],
|
|
8973
|
-
"hidden": false,
|
|
8974
|
-
"usage": "[options] <blocker-id>",
|
|
8975
|
-
"arguments": [
|
|
8976
|
-
{
|
|
8977
|
-
"name": "blocker-id",
|
|
8978
|
-
"required": true,
|
|
8979
|
-
"variadic": false
|
|
8980
|
-
}
|
|
8981
|
-
],
|
|
8982
|
-
"options": [
|
|
8983
|
-
{
|
|
8984
|
-
"flags": "--project <slug>",
|
|
8985
|
-
"description": "HQ team project slug"
|
|
8986
|
-
},
|
|
8987
|
-
{
|
|
8988
|
-
"flags": "--company <slug>",
|
|
8989
|
-
"description": "Select the company by slug"
|
|
8990
|
-
},
|
|
8991
|
-
{
|
|
8992
|
-
"flags": "--waiting-on <text>",
|
|
8993
|
-
"description": "Who or what is needed"
|
|
8994
|
-
},
|
|
8995
|
-
{
|
|
8996
|
-
"flags": "--next-step <text>",
|
|
8997
|
-
"description": "Next action"
|
|
8998
|
-
},
|
|
8999
|
-
{
|
|
9000
|
-
"flags": "--json",
|
|
9001
|
-
"description": "JSON on stdout (always)"
|
|
9002
|
-
}
|
|
9003
|
-
],
|
|
9004
|
-
"subcommands": []
|
|
9005
|
-
},
|
|
9006
|
-
{
|
|
9007
|
-
"name": "resolve",
|
|
9008
|
-
"description": "Resolve a blocker",
|
|
9009
|
-
"aliases": [],
|
|
9010
|
-
"hidden": false,
|
|
9011
|
-
"usage": "[options] <blocker-id>",
|
|
9012
|
-
"arguments": [
|
|
9013
|
-
{
|
|
9014
|
-
"name": "blocker-id",
|
|
9015
|
-
"required": true,
|
|
9016
|
-
"variadic": false
|
|
9017
|
-
}
|
|
9018
|
-
],
|
|
9019
|
-
"options": [
|
|
9020
|
-
{
|
|
9021
|
-
"flags": "--project <slug>",
|
|
9022
|
-
"description": "HQ team project slug"
|
|
9023
|
-
},
|
|
9024
|
-
{
|
|
9025
|
-
"flags": "--company <slug>",
|
|
9026
|
-
"description": "Select the company by slug"
|
|
9027
|
-
},
|
|
9028
|
-
{
|
|
9029
|
-
"flags": "--resolution <text>",
|
|
9030
|
-
"description": "Resolution details"
|
|
9031
|
-
},
|
|
9032
|
-
{
|
|
9033
|
-
"flags": "--json",
|
|
9034
|
-
"description": "JSON on stdout (always)"
|
|
9035
|
-
}
|
|
9036
|
-
],
|
|
9037
|
-
"subcommands": []
|
|
9038
|
-
},
|
|
9039
|
-
{
|
|
9040
|
-
"name": "list",
|
|
9041
|
-
"description": "List blockers",
|
|
9042
|
-
"aliases": [],
|
|
9043
|
-
"hidden": false,
|
|
9044
|
-
"usage": "[options]",
|
|
9045
|
-
"arguments": [],
|
|
9046
|
-
"options": [
|
|
9047
|
-
{
|
|
9048
|
-
"flags": "--project <slug>",
|
|
9049
|
-
"description": "HQ team project slug"
|
|
9050
|
-
},
|
|
9051
|
-
{
|
|
9052
|
-
"flags": "--company <slug>",
|
|
9053
|
-
"description": "Select the company by slug"
|
|
9054
|
-
},
|
|
9055
|
-
{
|
|
9056
|
-
"flags": "--all",
|
|
9057
|
-
"description": "Include resolved blockers"
|
|
9058
|
-
},
|
|
9059
|
-
{
|
|
9060
|
-
"flags": "--json",
|
|
9061
|
-
"description": "JSON on stdout (always)"
|
|
9062
|
-
}
|
|
9063
|
-
],
|
|
9064
|
-
"subcommands": []
|
|
9065
|
-
}
|
|
9066
|
-
]
|
|
9067
|
-
},
|
|
9068
|
-
{
|
|
9069
|
-
"name": "kpi",
|
|
9070
|
-
"description": "Define KPIs and record values",
|
|
9071
|
-
"aliases": [],
|
|
9072
|
-
"hidden": false,
|
|
9073
|
-
"usage": "[options] [command]",
|
|
9074
|
-
"arguments": [],
|
|
9075
|
-
"options": [],
|
|
9076
|
-
"subcommands": [
|
|
9077
|
-
{
|
|
9078
|
-
"name": "define",
|
|
9079
|
-
"description": "Define a proposed KPI",
|
|
9080
|
-
"aliases": [],
|
|
9081
|
-
"hidden": false,
|
|
9082
|
-
"usage": "[options]",
|
|
9083
|
-
"arguments": [],
|
|
9084
|
-
"options": [
|
|
9085
|
-
{
|
|
9086
|
-
"flags": "--project <slug>",
|
|
9087
|
-
"description": "HQ team project slug"
|
|
9088
|
-
},
|
|
9089
|
-
{
|
|
9090
|
-
"flags": "--company <slug>",
|
|
9091
|
-
"description": "Select the company by slug"
|
|
9092
|
-
},
|
|
9093
|
-
{
|
|
9094
|
-
"flags": "--name <text>",
|
|
9095
|
-
"description": "KPI name"
|
|
9096
|
-
},
|
|
9097
|
-
{
|
|
9098
|
-
"flags": "--definition <text>",
|
|
9099
|
-
"description": "Definition or query"
|
|
9100
|
-
},
|
|
9101
|
-
{
|
|
9102
|
-
"flags": "--unit <unit>",
|
|
9103
|
-
"description": "Measurement unit"
|
|
9104
|
-
},
|
|
9105
|
-
{
|
|
9106
|
-
"flags": "--target <number>",
|
|
9107
|
-
"description": "Target value"
|
|
9108
|
-
},
|
|
9109
|
-
{
|
|
9110
|
-
"flags": "--direction <direction>",
|
|
9111
|
-
"description": "up | down"
|
|
9112
|
-
},
|
|
9113
|
-
{
|
|
9114
|
-
"flags": "--json",
|
|
9115
|
-
"description": "JSON on stdout (always)"
|
|
9116
|
-
}
|
|
9117
|
-
],
|
|
9118
|
-
"subcommands": []
|
|
9119
|
-
},
|
|
9120
|
-
{
|
|
9121
|
-
"name": "record",
|
|
9122
|
-
"description": "Record a KPI value",
|
|
9123
|
-
"aliases": [],
|
|
9124
|
-
"hidden": false,
|
|
9125
|
-
"usage": "[options] <kpi-id>",
|
|
9126
|
-
"arguments": [
|
|
9127
|
-
{
|
|
9128
|
-
"name": "kpi-id",
|
|
9129
|
-
"required": true,
|
|
9130
|
-
"variadic": false
|
|
9131
|
-
}
|
|
9132
|
-
],
|
|
9133
|
-
"options": [
|
|
9134
|
-
{
|
|
9135
|
-
"flags": "--project <slug>",
|
|
9136
|
-
"description": "HQ team project slug"
|
|
9137
|
-
},
|
|
9138
|
-
{
|
|
9139
|
-
"flags": "--company <slug>",
|
|
9140
|
-
"description": "Select the company by slug"
|
|
9141
|
-
},
|
|
9142
|
-
{
|
|
9143
|
-
"flags": "--value <number>",
|
|
9144
|
-
"description": "Observed value"
|
|
9145
|
-
},
|
|
9146
|
-
{
|
|
9147
|
-
"flags": "--source <text>",
|
|
9148
|
-
"description": "Value source"
|
|
9149
|
-
},
|
|
9150
|
-
{
|
|
9151
|
-
"flags": "--at <iso>",
|
|
9152
|
-
"description": "Observation time"
|
|
9153
|
-
},
|
|
9154
|
-
{
|
|
9155
|
-
"flags": "--json",
|
|
9156
|
-
"description": "JSON on stdout (always)"
|
|
9157
|
-
}
|
|
9158
|
-
],
|
|
9159
|
-
"subcommands": []
|
|
9160
|
-
},
|
|
9161
|
-
{
|
|
9162
|
-
"name": "approve",
|
|
9163
|
-
"description": "Approve a KPI proposal",
|
|
9164
|
-
"aliases": [],
|
|
9165
|
-
"hidden": false,
|
|
9166
|
-
"usage": "[options] <kpi-id>",
|
|
9167
|
-
"arguments": [
|
|
9168
|
-
{
|
|
9169
|
-
"name": "kpi-id",
|
|
9170
|
-
"required": true,
|
|
9171
|
-
"variadic": false
|
|
9172
|
-
}
|
|
9173
|
-
],
|
|
9174
|
-
"options": [
|
|
9175
|
-
{
|
|
9176
|
-
"flags": "--project <slug>",
|
|
9177
|
-
"description": "HQ team project slug"
|
|
9178
|
-
},
|
|
9179
|
-
{
|
|
9180
|
-
"flags": "--company <slug>",
|
|
9181
|
-
"description": "Select the company by slug"
|
|
9182
|
-
},
|
|
9183
|
-
{
|
|
9184
|
-
"flags": "--question <id>",
|
|
9185
|
-
"description": "Answered owner question authorizing this approval"
|
|
9186
|
-
},
|
|
9187
|
-
{
|
|
9188
|
-
"flags": "--json",
|
|
9189
|
-
"description": "JSON on stdout (always)"
|
|
9190
|
-
}
|
|
9191
|
-
],
|
|
9192
|
-
"subcommands": []
|
|
9193
|
-
},
|
|
9194
|
-
{
|
|
9195
|
-
"name": "list",
|
|
9196
|
-
"description": "List KPIs",
|
|
9197
|
-
"aliases": [],
|
|
9198
|
-
"hidden": false,
|
|
9199
|
-
"usage": "[options]",
|
|
9200
|
-
"arguments": [],
|
|
9201
|
-
"options": [
|
|
9202
|
-
{
|
|
9203
|
-
"flags": "--project <slug>",
|
|
9204
|
-
"description": "HQ team project slug"
|
|
9205
|
-
},
|
|
9206
|
-
{
|
|
9207
|
-
"flags": "--company <slug>",
|
|
9208
|
-
"description": "Select the company by slug"
|
|
9209
|
-
},
|
|
9210
|
-
{
|
|
9211
|
-
"flags": "--json",
|
|
9212
|
-
"description": "JSON on stdout (always)"
|
|
9213
|
-
}
|
|
9214
|
-
],
|
|
9215
|
-
"subcommands": []
|
|
9216
|
-
}
|
|
9217
|
-
]
|
|
9218
|
-
},
|
|
9219
|
-
{
|
|
9220
|
-
"name": "okr",
|
|
9221
|
-
"description": "Set and approve OKRs",
|
|
9222
|
-
"aliases": [],
|
|
9223
|
-
"hidden": false,
|
|
9224
|
-
"usage": "[options] [command]",
|
|
9225
|
-
"arguments": [],
|
|
9226
|
-
"options": [],
|
|
9227
|
-
"subcommands": [
|
|
9228
|
-
{
|
|
9229
|
-
"name": "set",
|
|
9230
|
-
"description": "Create a proposed OKR",
|
|
9231
|
-
"aliases": [],
|
|
9232
|
-
"hidden": false,
|
|
9233
|
-
"usage": "[options]",
|
|
9234
|
-
"arguments": [],
|
|
9235
|
-
"options": [
|
|
9236
|
-
{
|
|
9237
|
-
"flags": "--project <slug>",
|
|
9238
|
-
"description": "HQ team project slug"
|
|
9239
|
-
},
|
|
9240
|
-
{
|
|
9241
|
-
"flags": "--company <slug>",
|
|
9242
|
-
"description": "Select the company by slug"
|
|
9243
|
-
},
|
|
9244
|
-
{
|
|
9245
|
-
"flags": "--objective <text>",
|
|
9246
|
-
"description": "Objective"
|
|
9247
|
-
},
|
|
9248
|
-
{
|
|
9249
|
-
"flags": "--period <period>",
|
|
9250
|
-
"description": "Planning period"
|
|
9251
|
-
},
|
|
9252
|
-
{
|
|
9253
|
-
"flags": "--key-result <text=kpi-id:target>",
|
|
9254
|
-
"description": "Key result"
|
|
9255
|
-
},
|
|
9256
|
-
{
|
|
9257
|
-
"flags": "--json",
|
|
9258
|
-
"description": "JSON on stdout (always)"
|
|
9259
|
-
}
|
|
9260
|
-
],
|
|
9261
|
-
"subcommands": []
|
|
9262
|
-
},
|
|
9263
|
-
{
|
|
9264
|
-
"name": "approve",
|
|
9265
|
-
"description": "Approve an OKR proposal",
|
|
9266
|
-
"aliases": [],
|
|
9267
|
-
"hidden": false,
|
|
9268
|
-
"usage": "[options] <okr-id>",
|
|
9269
|
-
"arguments": [
|
|
9270
|
-
{
|
|
9271
|
-
"name": "okr-id",
|
|
9272
|
-
"required": true,
|
|
9273
|
-
"variadic": false
|
|
9274
|
-
}
|
|
9275
|
-
],
|
|
9276
|
-
"options": [
|
|
9277
|
-
{
|
|
9278
|
-
"flags": "--project <slug>",
|
|
9279
|
-
"description": "HQ team project slug"
|
|
9280
|
-
},
|
|
9281
|
-
{
|
|
9282
|
-
"flags": "--company <slug>",
|
|
9283
|
-
"description": "Select the company by slug"
|
|
9284
|
-
},
|
|
9285
|
-
{
|
|
9286
|
-
"flags": "--question <id>",
|
|
9287
|
-
"description": "Answered owner question authorizing this approval"
|
|
9288
|
-
},
|
|
9289
|
-
{
|
|
9290
|
-
"flags": "--json",
|
|
9291
|
-
"description": "JSON on stdout (always)"
|
|
9292
|
-
}
|
|
9293
|
-
],
|
|
9294
|
-
"subcommands": []
|
|
9295
|
-
},
|
|
9296
|
-
{
|
|
9297
|
-
"name": "list",
|
|
9298
|
-
"description": "List OKRs",
|
|
9299
|
-
"aliases": [],
|
|
9300
|
-
"hidden": false,
|
|
9301
|
-
"usage": "[options]",
|
|
9302
|
-
"arguments": [],
|
|
9303
|
-
"options": [
|
|
9304
|
-
{
|
|
9305
|
-
"flags": "--project <slug>",
|
|
9306
|
-
"description": "HQ team project slug"
|
|
9307
|
-
},
|
|
9308
|
-
{
|
|
9309
|
-
"flags": "--company <slug>",
|
|
9310
|
-
"description": "Select the company by slug"
|
|
9311
|
-
},
|
|
9312
|
-
{
|
|
9313
|
-
"flags": "--json",
|
|
9314
|
-
"description": "JSON on stdout (always)"
|
|
9315
|
-
}
|
|
9316
|
-
],
|
|
9317
|
-
"subcommands": []
|
|
9318
|
-
}
|
|
9319
|
-
]
|
|
9320
|
-
},
|
|
9321
|
-
{
|
|
9322
|
-
"name": "directive",
|
|
9323
|
-
"description": "Record directives and acknowledgements",
|
|
9324
|
-
"aliases": [],
|
|
9325
|
-
"hidden": false,
|
|
9326
|
-
"usage": "[options] [command]",
|
|
9327
|
-
"arguments": [],
|
|
9328
|
-
"options": [],
|
|
9329
|
-
"subcommands": [
|
|
9330
|
-
{
|
|
9331
|
-
"name": "record",
|
|
9332
|
-
"description": "Record a directive",
|
|
9333
|
-
"aliases": [],
|
|
9334
|
-
"hidden": false,
|
|
9335
|
-
"usage": "[options]",
|
|
9336
|
-
"arguments": [],
|
|
9337
|
-
"options": [
|
|
9338
|
-
{
|
|
9339
|
-
"flags": "--project <slug>",
|
|
9340
|
-
"description": "HQ team project slug"
|
|
9341
|
-
},
|
|
9342
|
-
{
|
|
9343
|
-
"flags": "--company <slug>",
|
|
9344
|
-
"description": "Select the company by slug"
|
|
9345
|
-
},
|
|
9346
|
-
{
|
|
9347
|
-
"flags": "--text <text>",
|
|
9348
|
-
"description": "Verbatim directive"
|
|
9349
|
-
},
|
|
9350
|
-
{
|
|
9351
|
-
"flags": "--date <yyyy-mm-dd>",
|
|
9352
|
-
"description": "Directive date"
|
|
9353
|
-
},
|
|
9354
|
-
{
|
|
9355
|
-
"flags": "--source-url <url>",
|
|
9356
|
-
"description": "Source URL"
|
|
9357
|
-
},
|
|
9358
|
-
{
|
|
9359
|
-
"flags": "--team <slug>",
|
|
9360
|
-
"description": "Affected team (repeatable)"
|
|
9361
|
-
},
|
|
9362
|
-
{
|
|
9363
|
-
"flags": "--policy-path <path>",
|
|
9364
|
-
"description": "Related policy path"
|
|
9365
|
-
},
|
|
9366
|
-
{
|
|
9367
|
-
"flags": "--json",
|
|
9368
|
-
"description": "JSON on stdout (always)"
|
|
9369
|
-
}
|
|
9370
|
-
],
|
|
9371
|
-
"subcommands": []
|
|
9372
|
-
},
|
|
9373
|
-
{
|
|
9374
|
-
"name": "ack",
|
|
9375
|
-
"description": "Acknowledge a directive",
|
|
9376
|
-
"aliases": [],
|
|
9377
|
-
"hidden": false,
|
|
9378
|
-
"usage": "[options] <directive-id>",
|
|
9379
|
-
"arguments": [
|
|
9380
|
-
{
|
|
9381
|
-
"name": "directive-id",
|
|
9382
|
-
"required": true,
|
|
9383
|
-
"variadic": false
|
|
9384
|
-
}
|
|
9385
|
-
],
|
|
9386
|
-
"options": [
|
|
9387
|
-
{
|
|
9388
|
-
"flags": "--project <slug>",
|
|
9389
|
-
"description": "HQ team project slug"
|
|
9390
|
-
},
|
|
9391
|
-
{
|
|
9392
|
-
"flags": "--company <slug>",
|
|
9393
|
-
"description": "Select the company by slug"
|
|
9394
|
-
},
|
|
9395
|
-
{
|
|
9396
|
-
"flags": "--team <slug>",
|
|
9397
|
-
"description": "Acknowledging team"
|
|
9398
|
-
},
|
|
9399
|
-
{
|
|
9400
|
-
"flags": "--lane <lane-id>",
|
|
9401
|
-
"description": "Acknowledging lane id"
|
|
9402
|
-
},
|
|
9403
|
-
{
|
|
9404
|
-
"flags": "--json",
|
|
9405
|
-
"description": "JSON on stdout (always)"
|
|
9406
|
-
}
|
|
9407
|
-
],
|
|
9408
|
-
"subcommands": []
|
|
9409
|
-
},
|
|
9410
|
-
{
|
|
9411
|
-
"name": "list",
|
|
9412
|
-
"description": "List directives",
|
|
9413
|
-
"aliases": [],
|
|
9414
|
-
"hidden": false,
|
|
9415
|
-
"usage": "[options]",
|
|
9416
|
-
"arguments": [],
|
|
9417
|
-
"options": [
|
|
9418
|
-
{
|
|
9419
|
-
"flags": "--project <slug>",
|
|
9420
|
-
"description": "HQ team project slug"
|
|
9421
|
-
},
|
|
9422
|
-
{
|
|
9423
|
-
"flags": "--company <slug>",
|
|
9424
|
-
"description": "Select the company by slug"
|
|
9425
|
-
},
|
|
9426
|
-
{
|
|
9427
|
-
"flags": "--json",
|
|
9428
|
-
"description": "JSON on stdout (always)"
|
|
9429
|
-
}
|
|
9430
|
-
],
|
|
9431
|
-
"subcommands": []
|
|
9432
|
-
}
|
|
9433
|
-
]
|
|
9434
|
-
},
|
|
9435
|
-
{
|
|
9436
|
-
"name": "import",
|
|
9437
|
-
"description": "Backfill team tracker records from project ledgers and manager status files",
|
|
9438
|
-
"aliases": [],
|
|
9439
|
-
"hidden": false,
|
|
9440
|
-
"usage": "[options]",
|
|
9441
|
-
"arguments": [],
|
|
9442
|
-
"options": [
|
|
9443
|
-
{
|
|
9444
|
-
"flags": "--company <slug>",
|
|
9445
|
-
"description": "Company slug"
|
|
9446
|
-
},
|
|
9447
|
-
{
|
|
9448
|
-
"flags": "--team <slug>",
|
|
9449
|
-
"description": "Import one team from the juniors registry"
|
|
9450
|
-
},
|
|
9451
|
-
{
|
|
9452
|
-
"flags": "--dry-run",
|
|
9453
|
-
"description": "Plan tracker records without writing"
|
|
9454
|
-
},
|
|
9455
|
-
{
|
|
9456
|
-
"flags": "--apply",
|
|
9457
|
-
"description": "Write tracker records to the selected company's projects"
|
|
9458
|
-
},
|
|
9459
|
-
{
|
|
9460
|
-
"flags": "--json",
|
|
9461
|
-
"description": "Emit JSON on stdout (default)"
|
|
9462
|
-
}
|
|
9463
|
-
],
|
|
9464
|
-
"subcommands": []
|
|
9465
|
-
},
|
|
9466
8921
|
{
|
|
9467
8922
|
"name": "checks",
|
|
9468
8923
|
"description": "Evaluate tracker and lane health checks",
|
|
@@ -9492,7 +8947,7 @@ export const COMMAND_CATALOG = [
|
|
|
9492
8947
|
},
|
|
9493
8948
|
{
|
|
9494
8949
|
"name": "orphans",
|
|
9495
|
-
"description": "Report lanes whose
|
|
8950
|
+
"description": "Report lanes whose senior has ended or gone idle",
|
|
9496
8951
|
"aliases": [],
|
|
9497
8952
|
"hidden": false,
|
|
9498
8953
|
"usage": "[options]",
|
|
@@ -9506,6 +8961,14 @@ export const COMMAND_CATALOG = [
|
|
|
9506
8961
|
"flags": "--min-age <minutes>",
|
|
9507
8962
|
"description": "Minimum orphan lane age in minutes (default: 30)"
|
|
9508
8963
|
},
|
|
8964
|
+
{
|
|
8965
|
+
"flags": "--user-idle-hours <hours>",
|
|
8966
|
+
"description": "Idle hours for user-senior lanes (default: 72)"
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
"flags": "--unscoped",
|
|
8970
|
+
"description": "Report candidates whose company cannot be resolved"
|
|
8971
|
+
},
|
|
9509
8972
|
{
|
|
9510
8973
|
"flags": "--stop",
|
|
9511
8974
|
"description": "Stop the reported lanes through their normal owner path"
|
|
@@ -9516,7 +8979,11 @@ export const COMMAND_CATALOG = [
|
|
|
9516
8979
|
},
|
|
9517
8980
|
{
|
|
9518
8981
|
"flags": "--json",
|
|
9519
|
-
"description": "
|
|
8982
|
+
"description": "Print machine-readable JSON"
|
|
8983
|
+
},
|
|
8984
|
+
{
|
|
8985
|
+
"flags": "--human",
|
|
8986
|
+
"description": "Print a human-readable table"
|
|
9520
8987
|
}
|
|
9521
8988
|
],
|
|
9522
8989
|
"subcommands": []
|
|
@@ -4,7 +4,6 @@ import type { LaneCompanyRef, QuestionRecord } from "../lib/lanes/types.js";
|
|
|
4
4
|
export interface LaneChecksDeps {
|
|
5
5
|
hqRoot: () => string;
|
|
6
6
|
resolveCompany: (company?: string) => Promise<LaneCompanyRef>;
|
|
7
|
-
trackerEnabled: (company: LaneCompanyRef) => boolean | Promise<boolean>;
|
|
8
7
|
now: () => Date;
|
|
9
8
|
stopLane?: (laneId: string, reason: string) => Promise<void>;
|
|
10
9
|
sessionState?: (root: string, sessionId: string, now: Date) => string | null;
|