peaks-loop 4.0.0-beta.33 → 4.0.0-beta.36
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 +0 -11
- package/README-en.md +1 -1
- package/README.md +1 -1
- package/package.json +6 -6
- package/scripts/sync-version.mjs +13 -39
package/CHANGELOG.md
CHANGED
|
@@ -4,17 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- Updated dependencies
|
|
8
|
-
- peaks-loop-shared@0.0.27
|
|
9
|
-
- peaks-loop-audit-independent@0.0.13
|
|
10
|
-
- peaks-loop-crystallization@0.0.14
|
|
11
|
-
- peaks-loop-doctor@0.0.13
|
|
12
|
-
- peaks-loop-final-review@0.0.13
|
|
13
|
-
|
|
14
|
-
## 4.0.0
|
|
15
|
-
|
|
16
|
-
### Patch Changes
|
|
17
|
-
|
|
18
7
|
- Updated dependencies
|
|
19
8
|
- peaks-loop-shared@0.0.18
|
|
20
9
|
- peaks-loop-audit-independent@0.0.12
|
package/README-en.md
CHANGED
|
@@ -125,7 +125,7 @@ Every lane opens with **one slash command**.
|
|
|
125
125
|
|
|
126
126
|
| | |
|
|
127
127
|
| --- | --- |
|
|
128
|
-
| **Latest** | [`4.0.0-beta.
|
|
128
|
+
| **Latest** | [`4.0.0-beta.36`](https://github.com/SquabbyZ/peaks-loop/releases) — 4.x GA is in the works |
|
|
129
129
|
| **Domains** | Code (`peaks-code`) · Content (`peaks-content`) · Project health (`peaks-doctor`) · Issue sweep (`peaks-issue-fix-orchestrator`) · Custom SOP (`peaks-sop`) · Cross-domain primitives (`peaks-solo` dispatcher · `peaks-resume` · `peaks-status` · `peaks-test`) |
|
|
130
130
|
| **Sediment pool** | `~/.peaks/` local pool · twice-clean runs auto-promote to a bee · broken runs come back for you to redefine · the bee grows with your taste |
|
|
131
131
|
| **Test suite** | 5,439 passed · 19 skipped · 0 failed |
|
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ npm i -g peaks-loop
|
|
|
125
125
|
|
|
126
126
|
| | |
|
|
127
127
|
| --- | --- |
|
|
128
|
-
| **最新版本** | [`4.0.0-beta.
|
|
128
|
+
| **最新版本** | [`4.0.0-beta.36`](https://github.com/SquabbyZ/peaks-loop/releases) — 4.x 正式版筹备中 |
|
|
129
129
|
| **覆盖域** | 代码(`peaks-code`) · 内容(`peaks-content`) · 项目健康(`peaks-doctor`) · 批量修 issue(`peaks-issue-fix-orchestrator`) · 自定义 SOP(`peaks-sop`) · 通用原语(`peaks-solo` 分诊 / `peaks-resume` 续 / `peaks-status` 看 / `peaks-test` 测) |
|
|
130
130
|
| **沉淀池** | `~/.peaks/` 本地池 · 跑两次自动晋升成 bee · 跑翻车让你重定义 · bee 跟着你的口味长 |
|
|
131
131
|
| **测试套件** | 5,439 passed · 19 skipped · 0 failed |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peaks-loop",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.36",
|
|
4
4
|
"description": "Loop Engineering CLI — workflow primitive / loop guards / evaluators / slice orchestration",
|
|
5
5
|
"author": "SquabbyZ",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"headroom-ai": "0.22.4",
|
|
55
55
|
"yaml": "^2.9.0",
|
|
56
56
|
"zod": "^3.25.76",
|
|
57
|
-
"peaks-loop-doctor": "0.0.12",
|
|
58
|
-
"peaks-loop-crystallization": "0.0.13",
|
|
59
57
|
"peaks-loop-audit-independent": "0.0.12",
|
|
60
|
-
"peaks-loop-
|
|
58
|
+
"peaks-loop-crystallization": "0.0.13",
|
|
61
59
|
"peaks-loop-mut": "0.1.1",
|
|
60
|
+
"peaks-loop-final-review": "0.0.12",
|
|
62
61
|
"peaks-loop-job-snapshot": "0.0.6",
|
|
63
|
-
"peaks-loop-
|
|
64
|
-
"peaks-loop-shared-channel": "0.0.6"
|
|
62
|
+
"peaks-loop-doctor": "0.0.12",
|
|
63
|
+
"peaks-loop-shared-channel": "0.0.6",
|
|
64
|
+
"peaks-loop-shared": "0.0.27"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@alibaba-group/open-code-review": "1.3.1"
|
package/scripts/sync-version.mjs
CHANGED
|
@@ -18,46 +18,20 @@ writeFileSync(
|
|
|
18
18
|
`export const CLI_VERSION = ${JSON.stringify(version)};\n`,
|
|
19
19
|
);
|
|
20
20
|
|
|
21
|
-
// 2026-07-
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
// tarball upload. Read-modify-write on the shared package's package.json
|
|
30
|
-
// only — the shared package is private, so its version field doesn't
|
|
31
|
-
// appear in any consumer's package.json (the peaks-loop dependency
|
|
32
|
-
// rewrite is still handled by the publish pack step).
|
|
21
|
+
// 2026-07-23 follow-up (peaks-publish-stale fix, AC6): the shared
|
|
22
|
+
// bump used to live here, gated on `PEAKS_AUTO_BUMP_SHARED === '1'`.
|
|
23
|
+
// That gate was the Layer 2 root cause: publish.yml set the env on
|
|
24
|
+
// the CI Build step, but local dev runs (and any path that didn't
|
|
25
|
+
// re-export the env) produced stale shared tarballs. The bump now
|
|
26
|
+
// lives in `scripts/bump-version.mjs` (which always runs when root
|
|
27
|
+
// version changes) and `bump-version.mjs` is the single owner of
|
|
28
|
+
// the shared/package.json#version bump.
|
|
33
29
|
//
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
//
|
|
37
|
-
//
|
|
38
|
-
//
|
|
39
|
-
// last git tag. The gate is `process.env.PEAKS_AUTO_BUMP_SHARED === '1'`.
|
|
40
|
-
//
|
|
41
|
-
// Skip the bump when the existing shared version is NOT a clean
|
|
42
|
-
// x.y.z SemVer (some test fixtures use markers like `9.9.9-oldsub`).
|
|
43
|
-
// In that case, leave the version alone and let the test that set
|
|
44
|
-
// the marker continue to work.
|
|
45
|
-
if (process.env.PEAKS_AUTO_BUMP_SHARED === '1') {
|
|
46
|
-
const sharedPkgPath = resolve('packages/peaks-loop-shared/package.json');
|
|
47
|
-
const sharedPkg = JSON.parse(readFileSync(sharedPkgPath, 'utf8'));
|
|
48
|
-
const sharedVersion = sharedPkg.version;
|
|
49
|
-
const sharedVersionMatch = /^(\d+)\.(\d+)\.(\d+)$/.exec(sharedVersion);
|
|
50
|
-
if (sharedVersionMatch) {
|
|
51
|
-
const nextSharedVersion = `${sharedVersionMatch[1]}.${sharedVersionMatch[2]}.${Number(sharedVersionMatch[3]) + 1}`;
|
|
52
|
-
sharedPkg.version = nextSharedVersion;
|
|
53
|
-
writeFileSync(sharedPkgPath, JSON.stringify(sharedPkg, null, 2) + '\n');
|
|
54
|
-
console.log(`[sync-version] bumped peaks-loop-shared ${sharedVersion} -> ${nextSharedVersion} (root ${version})`);
|
|
55
|
-
} else {
|
|
56
|
-
console.log(`[sync-version] peaks-loop-shared version "${sharedVersion}" is not x.y.z; skipping auto-bump`);
|
|
57
|
-
}
|
|
58
|
-
} else {
|
|
59
|
-
console.log(`[sync-version] peaks-loop-shared auto-bump skipped (PEAKS_AUTO_BUMP_SHARED not set)`);
|
|
60
|
-
}
|
|
30
|
+
// This script keeps a fallback shared bump when explicitly invoked
|
|
31
|
+
// from another path with `PEAKS_AUTO_BUMP_SHARED === '1'` — that
|
|
32
|
+
// preserves the contract for any out-of-band build invocation that
|
|
33
|
+
// still sets the env var. The bump-version.mjs path is primary and
|
|
34
|
+
// always-on; the gate here is just a back-stop.
|
|
61
35
|
|
|
62
36
|
// 2026-07-22 follow-up (Bug-04 root-cause fix): the previous version of
|
|
63
37
|
// this script wrote `version.ts` only, then handed off to `tsc`. Tsc's
|