@loomwright/cli 1.0.2 → 1.1.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 CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes per release. `loomwright update` applies them to an installed workspace (see [docs/cli.md](docs/cli.md#update)).
4
4
 
5
+ ## 1.1.0
6
+
7
+ ### Minor Changes
8
+
9
+ - 4d9d481: Every run now writes an append-only event stream to `.factory/events/<id>.jsonl`, a JSONL file
10
+ with a versioned envelope and one event type per milestone (run, phase, task, gate, review,
11
+ usage). The schemas live in the new `@loomwright/protocol` package and the stream is redacted
12
+ the same way state files are.
13
+
14
+ Two commands read it: `loomwright events <id> [--follow] [--from <n>] [--json]` prints the
15
+ stored stream unchanged, and `loomwright status <id> --watch` now reprints its view when an
16
+ event arrives instead of only every two seconds, while `--interval` stays the heartbeat and the
17
+ fallback poll period. The decision is documented in ADR-0046 and `docs/events.md`.
18
+
5
19
  ## 1.0.2
6
20
 
7
21
  ### Patch Changes
package/README.md CHANGED
@@ -124,7 +124,8 @@ While it runs, or after it stops:
124
124
  | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
125
125
  | See what is happening: phase, task DAG, worktrees, gate results, token usage | `loomwright status [<id>] [--json]` |
126
126
  | See AI usage across every change and quick task in the workspace | `loomwright usage [--json]` |
127
- | Watch it from a second terminal (refreshes every 2 s until Ctrl-C) | `loomwright status <id> --watch` |
127
+ | Watch it from a second terminal (refreshes on progress events until Ctrl-C) | `loomwright status <id> --watch` |
128
+ | See the stored run event stream (JSONL, redacted) | `loomwright events <id> [--follow] [--from <n>]` |
128
129
  | It paused because a task failed three times: fix it in the task's worktree (path in the report), then | `loomwright retry <id> --task <n>` |
129
130
  | It paused, was aborted, or the process died: continue from the last consistent state | `loomwright resume <id>` |
130
131
  | A review finding concerns the spec itself: let the architect apply it | `loomwright reword <id> [--finding <n,...>] [--dry-run]` |