ai-engineering-loop 2.1.0 → 2.2.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 +11 -0
- package/core/local-workflow-studio.md +12 -7
- package/lib/node-evidence.js +877 -0
- package/lib/run-checkout.js +8 -13
- package/package.json +1 -1
- package/studio/app.js +734 -132
- package/studio/index.html +13 -4
- package/studio/styles.css +75 -20
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@ All notable changes to this project are documented here. Versions follow [Semant
|
|
|
6
6
|
|
|
7
7
|
_No changes yet._
|
|
8
8
|
|
|
9
|
+
## 2.2.0 - 2026-10-18
|
|
10
|
+
|
|
11
|
+
### Studio: richer node detail, Live tab, times, and trackpad gestures (#91)
|
|
12
|
+
|
|
13
|
+
- **Added:** built-in nodes show Evidence from the run directory (goal contract, diff stats and files touched, verification output and test counts, review findings, judge verdict, approver, delivery destination and receipt). The read stays inside the run directory and checks sha256 against `state.json`. A mismatch shows “artifact changed”. A node that already has `nodes[id].artifact` keeps that descriptor. Gate durations come from `GATE_PASSED`, or from `NODE_COMPLETED` in the lifecycle log when the workflow log has none.
|
|
14
|
+
- **Added:** the node panel tabs are Overview, Output, Evidence, and Timeline. Status, duration, finish time, loop, and attempts are labeled chips. Output is a one-paragraph summary. The timeline lists that node's events, grouped by iteration, with human labels.
|
|
15
|
+
- **Added:** times read as “just now”, “14s ago”, “5 min ago”, “3 h ago”, “yesterday · Oct 17, 15:41”, or “2 days ago · Oct 16, 15:41”, and as an absolute date after 7 days. Each time is a `<time datetime>` whose tooltip has the exact local timestamp. Durations use `2m 20s` and `1h 04m`.
|
|
16
|
+
- **Added:** the Live tab shows a stage rail, a question banner with Answer in Studio, the current step, compliance and budget chips, latest events, and a timeline grouped by step. Updates still arrive on `GET /api/events`. Tokens read `unknown` when the host reports no usage. A delivered run with no receipt says “no receipt: run predates receipts”.
|
|
17
|
+
- **Changed:** two-finger scroll pans the canvas on both axes. Pinch and Ctrl+wheel zoom around the cursor. A left-button drag on empty canvas pans, including macOS three-finger drag. Shift+drag selects with a marquee. `overscroll-behavior: none` on the page and canvas, plus a non-passive wheel listener, keeps a horizontal swipe from triggering browser back/forward. Scrolling inside the side panel still scrolls the panel.
|
|
18
|
+
- **Changed:** workflow structure stays read-only. Rewiring existing nodes is unchanged.
|
|
19
|
+
|
|
9
20
|
## 2.1.0 - 2026-10-18
|
|
10
21
|
|
|
11
22
|
### Studio: n8n-style Wiring canvas (#88)
|
|
@@ -28,13 +28,14 @@ The first SSE frame is `hello` with `mode` (`watch` or `poll`), `root`, `current
|
|
|
28
28
|
|
|
29
29
|
## Live run view
|
|
30
30
|
|
|
31
|
-
The default route is the live run view
|
|
31
|
+
The default route is the live run view. It follows the open run over `GET /api/events`.
|
|
32
32
|
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
33
|
+
- A progress rail for goal, maker, verify, review, judge, and deliver. Each stage shows its status and duration, and the running stage is highlighted.
|
|
34
|
+
- A question banner when the run is waiting on a person, with Answer in Studio.
|
|
35
|
+
- A current-step card with the node, iteration, running time, latest activity, evidence chips recorded so far, Open node details, and Start with AI Agent.
|
|
36
|
+
- Compliance and budget chips for mode, tier, iteration, guard warns and blocks, drift, receipt, and tokens. Tokens read `unknown` when the host reports no usage. A delivered run with no receipt reads “no receipt: run predates receipts”.
|
|
37
|
+
- Latest events with clock times, and a timeline grouped by step.
|
|
38
|
+
- The header shows when the run started and the heartbeat age. Every time is a `<time datetime>` with the exact local timestamp in a tooltip.
|
|
38
39
|
|
|
39
40
|
The Goal Contract stays a side sheet of this view (draft, review, freeze, unfreeze). Start with AI Agent still copies a run-bound handoff into the clipboard.
|
|
40
41
|
|
|
@@ -58,7 +59,9 @@ Each existing node is one tile: a type icon, the node name, and exactly one stat
|
|
|
58
59
|
|
|
59
60
|
### Side panel
|
|
60
61
|
|
|
61
|
-
Click a tile to open the side panel. The tabs are
|
|
62
|
+
Click a tile to open the side panel. The tabs are Overview, Output, Evidence, and Timeline. The Overview tab shows the node's upstream input, status, and timing as labeled chips: status, duration, finished, loop iteration, attempts, and the reason when the node failed or blocked. Output is a one-paragraph summary plus the run files. Evidence for a built-in gate is read from the run directory: the goal contract, diff stats and files touched, verification output and test counts, review findings, the judge verdict, the approver, and the delivery receipt. `nodes[id].artifact` stays authoritative when a custom node has one. Each read is confined to that run directory and checked against the sha256 in `state.json`. A mismatch shows “artifact changed”. Path traversal and symlinks are rejected, size is bounded, and recognized secrets are redacted. The Timeline tab lists only this node's events, grouped by iteration or attempt, with human labels and no numbering.
|
|
63
|
+
|
|
64
|
+
Times read as “5 min ago”, “2 days ago · Oct 16, 15:41”, or an absolute date after 7 days. The exact timestamp is in the tooltip and in `<time datetime>`. Durations read as `2m 20s` and `1h 04m`. A gate duration comes from `GATE_PASSED` or from `NODE_COMPLETED` in the lifecycle log.
|
|
62
65
|
|
|
63
66
|
### Tooltip
|
|
64
67
|
|
|
@@ -72,6 +75,8 @@ The minimap draws one rectangle per node. Zoom controls are zoom in (+), zoom ou
|
|
|
72
75
|
|
|
73
76
|
The `?` sheet lists the shortcuts: `F` fit, `L` auto-layout, `+` and `-` zoom, `0` reset zoom, arrow keys between nodes, Enter to open the side panel, Esc to close it, and undo/redo for wiring edits. `:focus-visible` outlines the canvas controls.
|
|
74
77
|
|
|
78
|
+
On a trackpad, two-finger scroll pans the canvas on both axes, and pinch zooms around the cursor. Ctrl+wheel zooms the same way. Dragging empty canvas with the left button pans, which is also how macOS three-finger drag pans. A click on empty canvas clears the selection. Shift+drag draws a marquee selection. Middle-button drag and Space+drag still pan. The page and the canvas set `overscroll-behavior: none`, and the canvas wheel listener is non-passive, so a horizontal swipe does not navigate browser history. Scrolling inside the side panel scrolls the panel.
|
|
79
|
+
|
|
75
80
|
### Save bar
|
|
76
81
|
|
|
77
82
|
The dirty-only save bar stays hidden while the wiring is clean. The first edge change shows the change count, Valid or Invalid, Discard, and Save. Save opens the confirm dialog before `POST /api/install`. A backbone-breaking edge shows the compiler's named error and disables Save. Every edit is checked with `POST /api/validate`.
|