@invariant.guru/cli 0.6.1 → 0.6.3
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 +11 -8
- package/dist/main.js +522 -517
- package/dist/ui/assets/{Editor-BacggN6k.js → Editor-9R0zvDq2.js} +1 -1
- package/dist/ui/assets/MarkdownBody-BoggLAap.js +17 -0
- package/dist/ui/assets/Preview-mcmjC-XD.js +1 -0
- package/dist/ui/assets/index-DLmycINn.css +1 -0
- package/dist/ui/assets/index-YfX6dQmh.js +246 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/Preview-BNQ0QaKY.js +0 -18
- package/dist/ui/assets/index-AAKJY32z.js +0 -245
- package/dist/ui/assets/index-CpSfiNpv.css +0 -1
package/README.md
CHANGED
|
@@ -164,11 +164,15 @@ invariant plan:complete <session-id> --summary "Booking command + tests"
|
|
|
164
164
|
### 6. `invariant review` — have the diff read by someone who did not write it
|
|
165
165
|
|
|
166
166
|
Composes a *review session*: a second session whose job is to review the branch
|
|
167
|
-
and write the result into `doc/review/<branch>.
|
|
167
|
+
and write the result into `doc/review/<branch>.xml`.
|
|
168
|
+
|
|
169
|
+
A review is a verdict **on** something, so it always names the session whose
|
|
170
|
+
work is under review — `--session` is required. Without it the command refuses
|
|
171
|
+
and lists the sessions it could have reviewed.
|
|
168
172
|
|
|
169
173
|
```bash
|
|
170
174
|
invariant review --session <session-id> # review the work that session produced
|
|
171
|
-
invariant review --base origin/develop
|
|
175
|
+
invariant review --session <id> --base origin/develop # diff against something else
|
|
172
176
|
```
|
|
173
177
|
|
|
174
178
|
Paste its execute line into a **new** agent conversation. That is the point: a
|
|
@@ -210,7 +214,7 @@ invariant add nest-clean-architecture # activate the whole module
|
|
|
210
214
|
invariant sync
|
|
211
215
|
invariant plan "add the cargo booking command"
|
|
212
216
|
invariant ui # follow it through to done
|
|
213
|
-
invariant review
|
|
217
|
+
invariant review --session <session-id> # then have that session's diff reviewed
|
|
214
218
|
```
|
|
215
219
|
|
|
216
220
|
---
|
|
@@ -449,9 +453,8 @@ waits for you to rule on every comment, and then implements the ones you
|
|
|
449
453
|
accepted — one file, one conversation.
|
|
450
454
|
|
|
451
455
|
```bash
|
|
452
|
-
invariant review
|
|
453
|
-
invariant review --session <
|
|
454
|
-
invariant review --base origin/develop # diff against another ref
|
|
456
|
+
invariant review --session <session-id> # the session whose work is reviewed (required)
|
|
457
|
+
invariant review --session <id> --base origin/develop # diff against another ref
|
|
455
458
|
invariant review list # every review document
|
|
456
459
|
invariant review show <branch> --open # what still needs a decision
|
|
457
460
|
invariant review plan-changes <branch> # accepted comments → the session's Plan
|
|
@@ -466,10 +469,10 @@ invariant review plan-changes <branch> # accepted comments → the sessi
|
|
|
466
469
|
|
|
467
470
|
| Option | Description |
|
|
468
471
|
|--------|-------------|
|
|
469
|
-
| `-s, --session <session>` | The plan session whose work is under review |
|
|
472
|
+
| `-s, --session <session>` | The plan session whose work is under review (**required**) |
|
|
470
473
|
| `-b, --base <ref>` | Ref to diff against (default: `origin/main`, then `origin/master`, `main`, `master`) |
|
|
471
474
|
|
|
472
|
-
Reviews land in `doc/review/<branch>.
|
|
475
|
+
Reviews land in `doc/review/<branch>.xml`, one file per branch, appended to on
|
|
473
476
|
each pass. **`plan-changes` refuses while any comment is still undecided** —
|
|
474
477
|
partial triage silently drops the comments nobody looked at, so it is not
|
|
475
478
|
allowed. Nothing here touches the index or a remote: the git commands this tool
|