@stackbone/cli 0.5.3 → 0.6.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.
@@ -0,0 +1,25 @@
1
+ -- 0089_eval_run_status_reason.sql — a settled eval run says WHY it settled
2
+ -- (PLA-1879).
3
+ --
4
+ -- `stackbone eval` reported a run as `failed`, and the row then read `cancelled`
5
+ -- with no `eval_run.cancel` in the audit log and nothing in the box's output.
6
+ -- Nobody could tell which path had closed it, because the row only ever kept the
7
+ -- status: the route's cancel, the engine's brake between cases, a plan that came
8
+ -- apart and a target the box could not ask all wrote the same bare word.
9
+ --
10
+ -- One nullable column, written by whoever settles the row and never overwritten
11
+ -- once set: the first reason is the one that explains the status, and a later
12
+ -- seal that only fills in the totals must not replace it.
13
+ --
14
+ -- NULLABLE with no default and no CHECK. A run that finished normally has no
15
+ -- reason to give, and a run sealed before this column existed has no honest one
16
+ -- to invent; both read NULL. The text is a diagnostic for whoever opens the row,
17
+ -- not a value anything branches on, so a CHECK would only be a second list of
18
+ -- sentences to keep in step with the engine.
19
+ --
20
+ -- A separate file rather than an edit to 0038: the migrator hashes each body and
21
+ -- verifies it on every boot, so rewriting a landed migration bricks a box that
22
+ -- already ran it. Comments count towards that hash too.
23
+
24
+ ALTER TABLE stackbone_platform.eval_runs
25
+ ADD COLUMN IF NOT EXISTS status_reason text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackbone/cli",
3
- "version": "0.5.3",
3
+ "version": "0.6.0",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "bin": {
Binary file
Binary file