@invariant.guru/cli 0.8.0 → 0.8.2
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 +18 -1
- package/dist/main.js +831 -794
- package/dist/ui/assets/Editor-Cmu6OATc.js +38 -0
- package/dist/ui/assets/LoopGraph-DHwsLYLI.js +7 -0
- package/dist/ui/assets/LoopGraph-DLioOiRN.css +1 -0
- package/dist/ui/assets/{MarkdownBody-CcVHXls4.js → MarkdownBody-D1FGeowJ.js} +4 -4
- package/dist/ui/assets/Preview-GmEy6X9-.js +1 -0
- package/dist/ui/assets/index-BPjCUrMm.js +262 -0
- package/dist/ui/assets/index-BX0KjLJ0.css +1 -0
- package/dist/ui/index.html +28 -3
- package/package.json +4 -1
- package/dist/ui/assets/Editor-3agHSmvf.js +0 -38
- package/dist/ui/assets/Preview-U3gSQ1_T.js +0 -1
- package/dist/ui/assets/index-BMAvvVXL.js +0 -253
- package/dist/ui/assets/index-DWu1unkU.css +0 -1
package/README.md
CHANGED
|
@@ -28,6 +28,22 @@ invariant session status <id> planning # …and the agent reports back
|
|
|
28
28
|
Those are ordinary shell commands. Any harness that can run one participates,
|
|
29
29
|
and nothing here is coupled to any of them.
|
|
30
30
|
|
|
31
|
+
## Loops: the graph above sessions
|
|
32
|
+
|
|
33
|
+
Connect building, checks, independent review and acceptance with a portable loop:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
invariant loop new --template feature --goal "Ship the export" --var 'check=yarn test'
|
|
37
|
+
invariant loop start <loop-id>
|
|
38
|
+
invariant loop next <loop-id>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Open **Loops** in the local UI to see the graph, recorded evidence and the next
|
|
42
|
+
handoff. Each agent step gives you a session line to paste; human gates remain
|
|
43
|
+
explicit. Files live in `.invariant/loops/`. Invariant never stages or commits.
|
|
44
|
+
A loop works with one human and one agent on one laptop; a future server adds
|
|
45
|
+
collaborators to these same files. See the [loop specification](docs/spec-loop.md).
|
|
46
|
+
|
|
31
47
|
## Where your work lives
|
|
32
48
|
|
|
33
49
|
On your machine, in your repository:
|
|
@@ -731,8 +747,9 @@ invariant session # list
|
|
|
731
747
|
invariant session next [<id>] # what to do now, and the command for it
|
|
732
748
|
invariant session show <id> [--body]
|
|
733
749
|
invariant session path <id> # the absolute path, alone
|
|
734
|
-
invariant session status <id> <status> [--summary "…"] [--title "…"]
|
|
750
|
+
invariant session status <id> <status> [--summary "…"] [--title "…"] [--harness codex]
|
|
735
751
|
invariant session title <id> "A better title"
|
|
752
|
+
invariant session harness <id> claude|codex|cursor # or --clear; status also detects the environment
|
|
736
753
|
invariant session step list <id>
|
|
737
754
|
invariant session step complete <id> 2 # …or part of the step's text, or --all
|
|
738
755
|
invariant session write <id> --section Plan --file plan.md
|