pi-loopflows 0.1.2 → 0.1.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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.3 - 2026-06-22
4
+
5
+ - Add clear semantic versioning policy and release checklist.
6
+ - Include `VERSIONING.md` in the published package.
7
+ - Add concise versioning guidance to README.
8
+
3
9
  ## 0.1.2 - 2026-06-22
4
10
 
5
11
  - Tighten README positioning around loopflows as LEGO-like subagent workflows.
package/README.md CHANGED
@@ -278,6 +278,16 @@ worker → reviewer → worker → reviewer
278
278
 
279
279
  If you need a feedback loop, a quality gate, a max iteration limit, or saved evidence, use a loopflow.
280
280
 
281
+ ## Versioning
282
+
283
+ `pi-loopflows` uses semantic versioning: `MAJOR.MINOR.PATCH`.
284
+
285
+ - PATCH for docs, bug fixes, prompt polish, validation improvements, and internal refactors with no user-facing behavior change.
286
+ - MINOR for new backward-compatible features, bundled loopflows, commands, options, fields, or adapter backends.
287
+ - MAJOR for breaking changes to loopflow JSON shape, template variables, gate semantics, commands, artifact paths, or adapter behavior.
288
+
289
+ See [`VERSIONING.md`](VERSIONING.md) for the release checklist.
290
+
281
291
  ## Status
282
292
 
283
293
  `pi-loopflows` is early, but designed as a real product surface rather than a one-off script. The core model is intentionally small:
package/VERSIONING.md ADDED
@@ -0,0 +1,70 @@
1
+ # Versioning
2
+
3
+ `pi-loopflows` uses semantic versioning: `MAJOR.MINOR.PATCH`.
4
+
5
+ ## PATCH: `0.1.x`
6
+
7
+ Use a patch release for safe, backward-compatible changes:
8
+
9
+ - README, docs, examples, wording, metadata;
10
+ - bug fixes that do not change workflow file shape;
11
+ - bundled loopflow prompt improvements that keep the same behavior contract;
12
+ - validation/typecheck/test improvements;
13
+ - internal refactors with no user-facing API changes.
14
+
15
+ Example: `0.1.2 -> 0.1.3`.
16
+
17
+ ## MINOR: `0.x.0`
18
+
19
+ Use a minor release for new backward-compatible capability:
20
+
21
+ - new bundled loopflows;
22
+ - new loopflow fields that old files do not need;
23
+ - new commands/tools/options;
24
+ - new adapter backend support;
25
+ - expanded artifact output that does not break existing consumers;
26
+ - new gate/status helpers that existing loopflows can ignore.
27
+
28
+ Example: `0.1.3 -> 0.2.0`.
29
+
30
+ ## MAJOR: `x.0.0`
31
+
32
+ Use a major release for breaking changes:
33
+
34
+ - changing or removing existing loopflow JSON fields;
35
+ - changing template variable semantics;
36
+ - changing gate status behavior in a way existing loopflows may interpret differently;
37
+ - removing commands, tools, bundled loopflows, or adapter behavior;
38
+ - changing artifact paths or output shape in a way scripts may depend on.
39
+
40
+ Example: `1.4.2 -> 2.0.0`.
41
+
42
+ ## Release checklist
43
+
44
+ 1. Update `package.json` with `npm version <patch|minor|major> --no-git-tag-version`.
45
+ 2. Update `CHANGELOG.md` under the new version.
46
+ 3. Run:
47
+
48
+ ```bash
49
+ npm run validate
50
+ npm run typecheck
51
+ npm run pack:check
52
+ ```
53
+
54
+ 4. Commit with a clear release-prep message.
55
+ 5. Tag the version: `git tag vX.Y.Z`.
56
+ 6. Push `main` and the tag.
57
+ 7. Publish to npm:
58
+
59
+ ```bash
60
+ npm publish --access public
61
+ ```
62
+
63
+ 8. Create a GitHub release for the tag.
64
+ 9. Install the published package and validate it:
65
+
66
+ ```bash
67
+ pi remove npm:pi-loopflows || true
68
+ pi install npm:pi-loopflows@X.Y.Z
69
+ node ~/.pi/agent/npm/node_modules/pi-loopflows/scripts/validate.mjs
70
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-loopflows",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Deterministic loop workflows for Pi subagents: steps, gates, feedback loops, and artifacts.",
5
5
  "license": "MIT",
6
6
  "author": "Nikita Nosov <20nik.nosov21@gmail.com>",
@@ -28,6 +28,7 @@
28
28
  "skills",
29
29
  "scripts",
30
30
  "README.md",
31
+ "VERSIONING.md",
31
32
  "LICENSE",
32
33
  "CHANGELOG.md"
33
34
  ],