pi-loopflows 0.1.1 → 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 +11 -0
- package/README.md +11 -29
- package/VERSIONING.md +70 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
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
|
+
|
|
9
|
+
## 0.1.2 - 2026-06-22
|
|
10
|
+
|
|
11
|
+
- Tighten README positioning around loopflows as LEGO-like subagent workflows.
|
|
12
|
+
- Remove the dedicated Launch Control README section while keeping it listed as a bundled workflow.
|
|
13
|
+
|
|
3
14
|
## 0.1.1 - 2026-06-22
|
|
4
15
|
|
|
5
16
|
- Polish product README and usage guidance for public release.
|
package/README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Build deterministic AI workflows out of Pi subagents.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
`pi-loopflows` ships with a production-ready **Launch Control** loopflow out of the box, and it is also a flexible constructor for your own workflows.
|
|
5
|
+
Think of **loopflows** as LEGO for subagents. You take small specialist agents, connect them into a process, add gates where decisions matter, and let the workflow move forward, branch, loop back, or stop based on explicit results. Instead of one giant prompt, you get a reusable structure for how agents collaborate: steps, feedback loops, stop rules, and saved evidence.
|
|
8
6
|
|
|
9
7
|
## Why loopflows
|
|
10
8
|
|
|
@@ -65,32 +63,6 @@ loopflow_run({
|
|
|
65
63
|
- `build-review` — small generic build → review → fix loop for scoped implementation tasks.
|
|
66
64
|
- `plan-review` — planning loop that lets a reviewer reject vague or unsafe plans before implementation.
|
|
67
65
|
|
|
68
|
-
## Built-in: Launch Control
|
|
69
|
-
|
|
70
|
-
Launch Control is bundled because it is the clearest example of why loopflows exist. It turns a plan into a controlled implementation process:
|
|
71
|
-
|
|
72
|
-
```text
|
|
73
|
-
context-builder
|
|
74
|
-
→ planner
|
|
75
|
-
→ loop max 3:
|
|
76
|
-
worker
|
|
77
|
-
reviewer gate
|
|
78
|
-
approved -> continue
|
|
79
|
-
changes_requested -> repeat
|
|
80
|
-
blocked -> stop
|
|
81
|
-
→ final audit
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Use it when drift, skipped validation, PR correctness, or multi-step delivery risk matter.
|
|
85
|
-
|
|
86
|
-
Example:
|
|
87
|
-
|
|
88
|
-
```text
|
|
89
|
-
/loopflow launch-control -- Implement the auth migration plan in docs/auth-plan.md
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
Launch Control is not hard-coded. It is just a `.loopflow.json` file. You can copy it, change the agents, change the prompts, adjust max iterations, add stricter gates, or create a project-specific version in `.pi/loopflows/`.
|
|
93
|
-
|
|
94
66
|
## Loopflows as a constructor
|
|
95
67
|
|
|
96
68
|
Think of loopflows as LEGO for agent processes. A loopflow can use any available Pi subagent role:
|
|
@@ -306,6 +278,16 @@ worker → reviewer → worker → reviewer
|
|
|
306
278
|
|
|
307
279
|
If you need a feedback loop, a quality gate, a max iteration limit, or saved evidence, use a loopflow.
|
|
308
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
|
+
|
|
309
291
|
## Status
|
|
310
292
|
|
|
311
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.
|
|
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
|
],
|