devrites 7.3.6 → 7.3.7

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to DevRites are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and DevRites adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Releases are generated automatically by [semantic-release](https://semantic-release.gitbook.io/) from Conventional Commits on `main`.
4
4
 
5
+ ## [7.3.7](https://github.com/ViktorsBaikers/DevRites/compare/v7.3.6...v7.3.7) (2026-11-09)
6
+
7
+ ### Fixed
8
+
9
+ * **devrites:** count only the owning slice of a build item ([#210](https://github.com/ViktorsBaikers/DevRites/issues/210)) ([b1e4f92](https://github.com/ViktorsBaikers/DevRites/commit/b1e4f92cb5d49d2865b4c0994523e52993b5d133))
10
+
5
11
  ## [7.3.6](https://github.com/ViktorsBaikers/DevRites/compare/v7.3.5...v7.3.6) (2026-11-06)
6
12
 
7
13
  ### Fixed
@@ -59,6 +65,10 @@ All notable changes to DevRites are documented here. The format follows [Keep a
59
65
 
60
66
  ### Fixed
61
67
 
68
+ - Mark only the slice a checked state.md item names first as built; a later
69
+ `SLICE-###` reference in the same line no longer inflates regression, next, or
70
+ parallel admission. Baselines written under the old all-token parsing re-ratchet
71
+ once with `check regression <slug> --update`.
62
72
  - Guard Autocomplete's early phase context and dispatch, not only Build writers,
63
73
  against unstarted successor preparation. Keep normalization research reachable
64
74
  and bound successor preparation before its first wave without recursively
package/README.md CHANGED
@@ -31,7 +31,7 @@ history can't lose it. After you clear the conversation, switch hosts, or hand
31
31
  the feature to another engineer, the next session reads the same plan,
32
32
  decisions, and evidence before it continues.
33
33
 
34
- **Status:** [`v7.3.6`](https://github.com/ViktorsBaikers/DevRites/releases/tag/v7.3.6): see [`CHANGELOG.md`](CHANGELOG.md) for release notes.
34
+ **Status:** [`v7.3.7`](https://github.com/ViktorsBaikers/DevRites/releases/tag/v7.3.7): see [`CHANGELOG.md`](CHANGELOG.md) for release notes.
35
35
 
36
36
  This is the latest published release; `main` may contain unreleased work.
37
37
 
@@ -59,6 +59,18 @@ var (
59
59
  regressH2Re = regexp.MustCompile(`(?m)^## `)
60
60
  )
61
61
 
62
+ // ledgerOwner returns the slice digits a checked state.md item owns: only its
63
+ // first slice token (documented `SLICE-003` or `Slice 3`). Later tokens on the
64
+ // same line are context — a blocked dependent, an INV reference, a NOT_RUN
65
+ // note — and do not make those slices built.
66
+ func ledgerOwner(item string) (string, bool) {
67
+ m := regressSliceIDRe.FindStringSubmatch(item)
68
+ if m == nil {
69
+ return "", false
70
+ }
71
+ return m[1], true
72
+ }
73
+
62
74
  // progressFingerprint is the structural state one baseline records. Sets are
63
75
  // sorted for deterministic output and diffing.
64
76
  type progressFingerprint struct {
@@ -180,13 +192,15 @@ func fingerprintWorkspace(root, slug, workspace string) (progressFingerprint, er
180
192
  note("state.md", err)
181
193
  if err == nil {
182
194
  for _, item := range regressBuiltRe.FindAllString(masked, -1) {
183
- for _, m := range regressSliceIDRe.FindAllStringSubmatch(item, -1) {
184
- // `SLICE-001` and `Slice 1` name the same slice.
185
- n, _ := strconv.Atoi(m[1])
186
- id := fmt.Sprintf("SLICE-%03d", n)
187
- if !slices.Contains(fp.DoneSlices, id) {
188
- fp.DoneSlices = append(fp.DoneSlices, id)
189
- }
195
+ digits, ok := ledgerOwner(item)
196
+ if !ok {
197
+ continue
198
+ }
199
+ // `SLICE-001` and `Slice 1` name the same slice.
200
+ n, _ := strconv.Atoi(digits)
201
+ id := fmt.Sprintf("SLICE-%03d", n)
202
+ if !slices.Contains(fp.DoneSlices, id) {
203
+ fp.DoneSlices = append(fp.DoneSlices, id)
190
204
  }
191
205
  }
192
206
  }
@@ -235,8 +235,8 @@ func builtSlicesFrom(read func(string) ([]byte, error)) (map[string]bool, error)
235
235
  if !builtWordRe.MatchString(item) {
236
236
  continue
237
237
  }
238
- for _, m := range regressSliceIDRe.FindAllStringSubmatch(item, -1) {
239
- built[strings.TrimLeft(m[1], "0")] = true
238
+ if digits, ok := ledgerOwner(item); ok {
239
+ built[strings.TrimLeft(digits, "0")] = true
240
240
  }
241
241
  }
242
242
  extra, err := evidenceBuiltFrom(read)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devrites",
3
- "version": "7.3.6",
3
+ "version": "7.3.7",
4
4
  "description": "DevRites: a disciplined senior-engineer workflow pack for Claude Code, Codex, omp, pi, and Devin CLI",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://github.com/ViktorsBaikers/DevRites#readme",