norn-cli 4.0.0 → 4.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/README.md CHANGED
@@ -74,6 +74,27 @@ npm install -g norn-cli
74
74
  norn ./tests/smoke.norn -e dev
75
75
  ```
76
76
 
77
+ For a hosted agent workflow, select one sequence and supply its runtime inputs explicitly:
78
+
79
+ ```bash
80
+ norn run ./workflows/ticket.norn \
81
+ --sequence HandleTicket \
82
+ --param jiraTicket=NORN-482 \
83
+ --param-json context=./inputs/ticket-context.json \
84
+ --recording ./artifacts/ticket-run.json \
85
+ --json
86
+ ```
87
+
88
+ `--param name=value` is repeatable and preserves the value as a string.
89
+ `--param-json name=file.json` is also repeatable; it parses the file and assigns its typed JSON
90
+ value directly to the declared sequence parameter. CLI values override authored defaults. Both
91
+ forms require one file plus `--sequence`, reject undeclared or missing required parameters before
92
+ execution, and cannot be combined with `@data`/`@theory` cases. `--recording` writes the normal
93
+ secret-masked agent recording to an exact artifact path instead of the rolling local cache.
94
+
95
+ Ordinary sequence runs handle `SIGINT` and `SIGTERM` as graceful cancellation requests. A repeated
96
+ signal forces exit; cancelled processes use status 130 (`SIGINT`) or 143 (`SIGTERM`).
97
+
77
98
  ## `.nornenv` Templates And Extends
78
99
 
79
100
  Use `[template:name]` sections for reusable environment building blocks, then compose selectable `[env:name]` sections with `extends`. Only templates can be extended. Templates are not selectable from the VS Code environment picker or CLI; only `[env:...]` names can be used with `-e`.