@sunstack/cli 0.5.0 → 0.7.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
@@ -1,5 +1,65 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.0
4
+
5
+ Release date: 2026-11-05.
6
+
7
+ ### Added
8
+
9
+ - Declare `filters` to group checked files by folder and ask one native Choice
10
+ question about a configured text field per folder per run. Context files use
11
+ the checked source and limits; changes to them select affected members,
12
+ including evidence that needs selection.
13
+ - Rule entries accept `only_when` to run only for named filter answers. Excluded
14
+ rules report a judged `not_applicable` reason before any decision step runs.
15
+ Unsure, incomplete and folderless checks are listed as skips; unsure runs exit
16
+ 5, while failed filter requests and folderless checks exit 3.
17
+ - Evidence kinds accept either a named `rule` or an `inline_rule` YAML string.
18
+ Inline matchers use the kind name as their rule ID, retain native matching and
19
+ field behavior, and locate refusals at the owning configuration key.
20
+ - JSON reports expose `filter_answers`, `filter_skips` and result reasons.
21
+ Answers retain their probabilities, requested and resolved model names and
22
+ input-cut provenance. Default output lists answers and skips; SARIF continues
23
+ to represent findings rather than skips.
24
+
25
+ ### Breaking
26
+
27
+ - The report schema requires the filter answer and skip collections. Older
28
+ reports do not validate against the 0.7.0 schema.
29
+ - Native evidence kind definitions now carry `KindMatcher`; project loading
30
+ takes inline rules and their configuration source. Native rule admission,
31
+ assembly and shared-dispatch execution receive their filter context.
32
+
33
+ ## 0.6.0
34
+
35
+ Release date: 2026-10-31.
36
+
37
+ ### Added
38
+
39
+ - Findings carry related places, beginning with the rule's standard, and a
40
+ mechanical or judged basis. JSON, SARIF, default and GitHub output retain the
41
+ files and lines of the evidence the run read.
42
+ - Finding routes can declare a `locate` Choice question. A selection meeting its
43
+ probability threshold resolves the line inside its field and piece; `span`
44
+ stays intact. `max_locate_lines` defaults to 80, and locators fit within the
45
+ existing request budgets while preserving every authored question.
46
+ - Every result retains its walked `path` and the model `answers` it read,
47
+ including passes, gate exclusions and incomplete walks. Completed results
48
+ carry `basis`; cut model fields appear in row `cut` and state `cut-fields`.
49
+ - Target fields accept rule-only `exclude` ranges. Enclosing and same-file
50
+ fields accept `text: "full"`, and path targets can collect `as_kind` fields.
51
+ Shortened target openings carry `opening_cut`.
52
+ - Evidence projects admit JSON rules and utils alongside Markdown. JSON uses
53
+ the existing field sources except `yaml`; field references stay within their
54
+ language, while `as_kind` can select either grammar. A malformed JSON file is
55
+ incomplete without preventing valid files from being checked.
56
+
57
+ ### Breaking
58
+
59
+ - The report schema requires `related`, `anchor` and `basis` on findings and
60
+ `path` on result rows. Readers that ignore new fields retain the meaning of
61
+ existing fields; older reports do not validate against the 0.6.0 schema.
62
+
3
63
  ## 0.5.0
4
64
 
5
65
  Release date: 2026-10-31.
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "@sunstack/cli",
22
- "version": "0.5.0"
22
+ "version": "0.7.0"
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.5.0"
51
+ "version": "0.7.0"
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.5.0"
3
+ "https://github.com/ShravanSunder/sunstack-tools/releases/download/v0.7.0"
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.5.0",
91
+ "version": "0.7.0",
92
92
  "volta": {
93
93
  "node": "18.14.1",
94
94
  "npm": "9.5.0"