@nodii/dev 0.6.24 → 0.6.25
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/README.md +10 -1
- package/dist/cli.js +3 -1
- package/dist/core.js +1 -1
- package/dist/devops-openapi.json +1 -1
- package/dist/lanes.js +57 -5
- package/dist/safety.js +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -309,7 +309,8 @@ nodii-dev lane step KEY --side backend|frontend --start|--done|--block STEP [--r
|
|
|
309
309
|
# --block --reason records the new reason (Dev issue 125 moves it onto the step)
|
|
310
310
|
nodii-dev lane evidence KEY --pr|--commit|--figma|--deploy|--dev-check REF
|
|
311
311
|
nodii-dev lane heartbeat KEY [--note TEXT]
|
|
312
|
-
nodii-dev lane review KEY
|
|
312
|
+
nodii-dev lane review KEY --file REVIEW.json
|
|
313
|
+
nodii-dev lane reviews KEY
|
|
313
314
|
nodii-dev lane land KEY
|
|
314
315
|
nodii-dev lane verify KEY --dev-check REF
|
|
315
316
|
nodii-dev lane list [--kind KIND] [--status STATUS] [--machine UUID]
|
|
@@ -712,6 +713,14 @@ The command reaches Dev through the edge, so it needs the edge's route for
|
|
|
712
713
|
`/devops/api/v1/lanes/:id/non-issue`; until that is on an environment, the
|
|
713
714
|
command gets the edge's 404 there.
|
|
714
715
|
|
|
716
|
+
`lane review` reads one JSON object with the review's exact `origin/main`
|
|
717
|
+
commit in `base`, exact reviewed commit in `head`,
|
|
718
|
+
`iterationCount`, `exitReason`, `appliedPatches`, `unresolvedProposals`,
|
|
719
|
+
`reviewerErrors`, and `findings`. Each finding has `perspective` (`code` or
|
|
720
|
+
`rules`), `severity`, `summary`, `detail`, `disposition`, optional `path` and
|
|
721
|
+
`line`, and a required `clauseId` for rules findings. `lane reviews` reads the
|
|
722
|
+
append-only history, including whether each cited clause was a missed trigger.
|
|
723
|
+
|
|
715
724
|
Heartbeat notes are optional and limited by Dev to 500 characters.
|
|
716
725
|
Prioritize and deprioritize require a 1–500 character reason, which the CLI
|
|
717
726
|
sends to Dev. `lane review` records the review gate.
|
package/dist/cli.js
CHANGED
|
@@ -139,7 +139,9 @@ Usage: nodii-dev <command> [options] [--json]
|
|
|
139
139
|
lane step <key> --side SIDE --start|--done|--block <step> [--reason TEXT]
|
|
140
140
|
# --block --reason on a blocked step records its new reason
|
|
141
141
|
lane evidence <key> --pr|--commit|--figma|--deploy|--dev-check REF
|
|
142
|
-
lane heartbeat|
|
|
142
|
+
lane heartbeat|land|verify|prioritize|deprioritize|stop <key>
|
|
143
|
+
lane review <key> --file REVIEW.json # base/head, outcome and clause-cited findings
|
|
144
|
+
lane reviews <key> # stored review history for the lane
|
|
143
145
|
lane non-issue <key> --reason TEXT --evidence TEXT --reroute KEY[,KEY]|none
|
|
144
146
|
--branch carried:KEY|dropped[:REASON] [--commits SHA[,SHA]]
|
|
145
147
|
# DEC-0011: terminal non_issue; issue -> wont_do; slot frees
|
package/dist/core.js
CHANGED
|
@@ -4,7 +4,7 @@ import { chmod, mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
|
4
4
|
import { homedir, platform } from "node:os";
|
|
5
5
|
import { dirname, join } from "node:path";
|
|
6
6
|
|
|
7
|
-
export const VERSION = "0.6.
|
|
7
|
+
export const VERSION = "0.6.25";
|
|
8
8
|
export const configPath = () =>
|
|
9
9
|
process.env.NODII_DEV_CONFIG_PATH ??
|
|
10
10
|
join(homedir(), ".config/nodii-dev/config.json");
|