@sunstack/cli 0.8.0 → 0.8.2

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
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.2
4
+
5
+ Release date: 2026-11-07.
6
+
7
+ - Rule cases match exact first and last piece lines, including filter-skip locations.
8
+ Nested sections keep distinct identities; partial or spanning ranges are unmatched.
9
+ - Case labels accept `owner-ruling` for an explicit owner gold-label decision,
10
+ separately from `owner-fix` for a real text fix and `blind-agents`.
11
+ - Finding routes can share one locator name when its field, task and probability
12
+ bar are identical. The request offers it once; conflicting definitions and
13
+ question-name collisions remain refused.
14
+
15
+ ## 0.8.1
16
+
17
+ Release date: 2026-11-06.
18
+
19
+ - Filters accept list-shaped text fields, including `same_file` openings, alongside
20
+ scalar text. Requests preserve bounded lists and cut metadata; input hashes and
21
+ saved reports retain the raw declared values.
22
+
3
23
  ## 0.8.0
4
24
 
5
25
  Release date: 2026-11-06.
package/README.md CHANGED
@@ -62,7 +62,9 @@ Filters declare `per`, `reads: {file, kind, fields: [names]}`, `labels`,
62
62
  as rules and end in `{ "label": "declared-name" }` or `"unsure"`. Question
63
63
  option names are not filter endings. All of a folder's questions go in one
64
64
  request; a gate uses the resulting label. The old `question`, `reads.field` and
65
- filter-level `min_probability` shape is refused.
65
+ filter-level `min_probability` shape is refused. Declared reads accept scalar
66
+ text and lists of text, including `same_file` matches; lists keep their shape
67
+ in request state, raw input hashes and saved evidence.
66
68
 
67
69
  Each question names the fields or reference paths it reads with `check`,
68
70
  `against` or `context` in its instructions. Fixed `reference` material reaches
@@ -120,7 +122,9 @@ be re-walked. Unknown ids return an error with the valid range.
120
122
 
121
123
  A case file contains `cases` and `bars`, plus an optional local `repository`
122
124
  path (relative to the case file). Each case has a unique `id`, `revision`, `set`
123
- and `label_from` (`owner-fix` or `blind-agents`). Rule cases add `kind: "rule"`,
125
+ and `label_from` (`owner-fix`, `owner-ruling` or `blind-agents`).
126
+ `owner-fix` names a real text fix; `owner-ruling` names an explicit owner label
127
+ decision, whose ruling is kept beside the cases. Rule cases add `kind: "rule"`,
124
128
  `rule`, `file`, `lines: [first, last]`, `text_sha256`, and `expected: "warn" |
125
129
  "pass"`. Filter cases add `kind: "filter"`, `filter`, `folder`, `reads_sha256`
126
130
  and `expected_label`. Line hashes retain line endings. Filter hashes cover
@@ -135,8 +139,9 @@ today's config and rule inputs, and invoke ordinary lint on selected case paths.
135
139
  A selected file or folder that is or traverses a historical symlink is listed as
136
140
  `not_judged` with reason `selected path is a symlink`, no result link and no crossed
137
141
  bars. It never selects the link's target. Context loads retain their usual behavior.
138
- Rule cases match exactly one piece that overlaps their lines after checking the
139
- case's own archived line hash.
142
+ Rule cases match the exact first and last lines of one piece after checking the
143
+ case's own archived line hash. Partial or spanning ranges do not match; nested
144
+ sections remain distinct. The same exact-range rule applies to filter skips.
140
145
  Every selected case is counted or listed, with per-rule and per-filter counts,
141
146
  result links and crossed bars. A changed or unrecorded bar is unassessed. The
142
147
  command writes no adoption state and changes no ordinary lint inputs.
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "@sunstack/cli",
22
- "version": "0.8.0"
22
+ "version": "0.8.2"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.8.0"
51
+ "version": "0.8.2"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/ShravanSunder/sunstack-tools/releases/download/v0.8.0"
3
+ "https://github.com/ShravanSunder/sunstack-tools/releases/download/v0.8.2"
4
4
  ],
5
5
  "bin": {
6
6
  "sunstack": "run-sunstack.js"
@@ -88,7 +88,7 @@
88
88
  "zipExt": ".tar.gz"
89
89
  }
90
90
  },
91
- "version": "0.8.0",
91
+ "version": "0.8.2",
92
92
  "volta": {
93
93
  "node": "18.14.1",
94
94
  "npm": "9.5.0"