@hyperscale0/cli 1.0.441 → 1.0.442

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.
Files changed (3) hide show
  1. package/README.md +20 -0
  2. package/hyperscale.js +151 -146
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -113,6 +113,26 @@ A scenario is the same story as a file. It stops at the first step that fails:
113
113
 
114
114
  `hyperscale scenario init` writes one that fits your Product.
115
115
 
116
+ A bank's QA keeps a folder of scenarios beside the Core and runs it with
117
+ `hyperscale scenario run assure/ --rehearsal --json`. Each file runs on a
118
+ fresh rehearsal copy of the Product, every step gets a verdict, and the run
119
+ exits 1 when any step failed. Suites run in sandbox only; live is refused with
120
+ `assure_live_refused`. Three more fields serve them:
121
+
122
+ | Field | Does |
123
+ | ---------- | ----------------------------------------------------------------------------------------------------- |
124
+ | `staff` | Names sandbox team members by staff role; each one's token comes from `HYPERSCALE_STAFF_<NAME>` |
125
+ | `refused` | `"status 403 \"missing_required_permission\""` on a step passes only on that refusal |
126
+ | `approval` | A run that waits for approval keeps it by name; `{ "approve": "<name>", "by": "<staff>" }` decides it |
127
+
128
+ An approver also needs `HYPERSCALE_STAFF_<NAME>_PASSWORD`. The report is kept
129
+ on the Product; a report Arc does not keep exits 1 with
130
+ `assure_report_not_stored`. `hyperscale core evidence <core-id> --out
131
+ evidence/` exports it with the Core's documents, certificate, checks, plan
132
+ and audit events, and needs `audit:read`. `hyperscale core certificate <core-id> --verify` checks the signed
133
+ certificate against your installation's `/release.json`
134
+ ([docs/public/assure.md](../../docs/public/assure.md)).
135
+
116
136
  ## Watch and debug
117
137
 
118
138
  | Command | Shows |