@sunstack/cli 0.8.1 → 0.8.3

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,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.3
4
+
5
+ Release date: 2026-11-07.
6
+
7
+ - Case snapshots replace the evidence-rule directories declared by today's
8
+ ast-grep project with today's contents, removing obsolete historical rules.
9
+ Other rulebook inputs retain their individual overlay; historical context
10
+ outside those directories stays intact.
11
+ - Case-run overlays refuse rule directories that cover the repository root or
12
+ checked source, and retain the snapshot's symlink boundary.
13
+
14
+ ## 0.8.2
15
+
16
+ Release date: 2026-11-07.
17
+
18
+ - Rule cases match exact first and last piece lines, including filter-skip locations.
19
+ Nested sections keep distinct identities; partial or spanning ranges are unmatched.
20
+ - Case labels accept `owner-ruling` for an explicit owner gold-label decision,
21
+ separately from `owner-fix` for a real text fix and `blind-agents`.
22
+ - Finding routes can share one locator name when its field, task and probability
23
+ bar are identical. The request offers it once; conflicting definitions and
24
+ question-name collisions remain refused.
25
+
3
26
  ## 0.8.1
4
27
 
5
28
  Release date: 2026-11-06.
package/README.md CHANGED
@@ -122,7 +122,9 @@ be re-walked. Unknown ids return an error with the valid range.
122
122
 
123
123
  A case file contains `cases` and `bars`, plus an optional local `repository`
124
124
  path (relative to the case file). Each case has a unique `id`, `revision`, `set`
125
- 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"`,
126
128
  `rule`, `file`, `lines: [first, last]`, `text_sha256`, and `expected: "warn" |
127
129
  "pass"`. Filter cases add `kind: "filter"`, `filter`, `folder`, `reads_sha256`
128
130
  and `expected_label`. Line hashes retain line endings. Filter hashes cover
@@ -134,11 +136,17 @@ where `bound` is `yes_at_or_above`, `no_at_or_below` or `min_probability`.
134
136
  Case runs archive the whole repository at each revision, initialize Git metadata
135
137
  inside each disposable copy so nested configs retain the repository root, overlay
136
138
  today's config and rule inputs, and invoke ordinary lint on selected case paths.
139
+ The ast-grep project's declared rule directories are replaced with today's
140
+ contents, so obsolete historical rules are not loaded. Other inputs keep their
141
+ individual file overlay. A rule directory that covers the repository root or
142
+ checked source refuses the case overlay with an explicit revision error; it
143
+ never deletes that historical source or falls back to a partial directory.
137
144
  A selected file or folder that is or traverses a historical symlink is listed as
138
145
  `not_judged` with reason `selected path is a symlink`, no result link and no crossed
139
146
  bars. It never selects the link's target. Context loads retain their usual behavior.
140
- Rule cases match exactly one piece that overlaps their lines after checking the
141
- case's own archived line hash.
147
+ Rule cases match the exact first and last lines of one piece after checking the
148
+ case's own archived line hash. Partial or spanning ranges do not match; nested
149
+ sections remain distinct. The same exact-range rule applies to filter skips.
142
150
  Every selected case is counted or listed, with per-rule and per-filter counts,
143
151
  result links and crossed bars. A changed or unrecorded bar is unassessed. The
144
152
  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.1"
22
+ "version": "0.8.3"
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.1"
51
+ "version": "0.8.3"
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.1"
3
+ "https://github.com/ShravanSunder/sunstack-tools/releases/download/v0.8.3"
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.1",
91
+ "version": "0.8.3",
92
92
  "volta": {
93
93
  "node": "18.14.1",
94
94
  "npm": "9.5.0"