@punks/cli 3.1.0 → 3.1.1-beta.0
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/README.md +5 -1
- package/dist/BASELINE_CHANGELOG.md +6 -0
- package/dist/CHANGELOG.md +19 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/index.js +11 -11
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,6 +77,8 @@ hi operator migrate
|
|
|
77
77
|
|
|
78
78
|
`hi skills rename` remains a deprecated alias for `hi operator migrate`. Operator mutations require the agent to reload or reactivate `$hi-cli`; their post-command flow does not inspect `.devpunks` artifacts or run scaffold follow-through. `hi upgrade` updates only the CLI executable.
|
|
79
79
|
|
|
80
|
+
`HI_OPERATOR_AGENT` explicitly selects the Skills CLI binding and takes precedence over host detection. If no binding can be detected, interactive terminals ask for the Skills CLI agent name; noninteractive and structured-output runs fail closed and require `HI_OPERATOR_AGENT`.
|
|
81
|
+
|
|
80
82
|
Operator writes require Skills CLI 1.5.20 or newer. The CLI fetches the frozen shared-skills revision into a scoped temporary Git checkout, verifies the fetched commit exactly, and passes the checked-out `hi-cli` directory to `skills add --copy`. It removes the checkout on every exit and reinspects the installed manifest before migration removes any legacy `dp-cli` copy.
|
|
81
83
|
|
|
82
84
|
The lint scaffold is intentionally agent-facing rather than repo-mutating:
|
|
@@ -105,7 +107,9 @@ BASELINE_VERSION=YYYY.MM.DD-short-slug BASELINE_CLI_VERSION_RANGE='>=2.6.0 <3' b
|
|
|
105
107
|
bun run release:publish
|
|
106
108
|
```
|
|
107
109
|
|
|
108
|
-
`bun run baseline:publish` requires an explicit nonblank `BASELINE_CLI_VERSION_RANGE`, builds the current scaffold baseline, creates
|
|
110
|
+
`bun run baseline:publish` requires an explicit nonblank `BASELINE_CLI_VERSION_RANGE`, `DP_CONTROL_PLANE_URL`, and publisher-only `DP_BASELINE_PUBLISH_TOKEN`. It builds the current scaffold baseline, creates the `baseline/stable/<version>` GitHub release and uploads the baseline manifest plus tarball once, verifies their GitHub release identity and digests, and sends one authenticated promotion request to the control plane. A retry reuses matching assets and uploads only missing assets without editing or replacing present ones; it refuses mismatched, malformed, or duplicate present assets. The token is sent only as the request bearer credential and is never written to output or the promotion payload.
|
|
111
|
+
|
|
112
|
+
The durable promotion commit is production publication; baseline publishing does not change deployment configuration or deploy the API. The publisher confirms stable metadata plus manifest and archive identity through the control plane after the commit. A failed or mismatched post-commit confirmation exits nonzero as indeterminate. Retry the same release: its stable publication identity reconciles to the already-committed revision instead of creating a second promotion.
|
|
109
113
|
|
|
110
114
|
`bun run release:publish` builds the CLI as a portable Node script with bundled scaffold assets, publishes a sanitized npm package from the built `dist/` output, updates the `latest` dist-tag, also updates `next` for latest releases, pushes the matching `v<version>` git tag, and creates or updates the GitHub release title and notes from the categorized `CHANGELOG.md` content. GitHub notes use compact category labels such as `changed:` and `fixed:` without changelog publish metadata. Commit the version bump and changelog entry before running it; the script refuses dirty worktrees, missing changelog entries, uncategorized release notes, and existing tags that point at another commit. Set `NPM_TAG=beta` for beta prereleases without moving `latest`.
|
|
111
115
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Baseline Changelog
|
|
2
2
|
|
|
3
|
+
## baseline/stable/2026.08.03-durable-stable-authority-v2 - 2026-08-03
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Verified stable releases now promote through the durable Postgres ledger without baseline identity environment rewrites or API redeploys.
|
|
8
|
+
|
|
3
9
|
## 3.1.0 - 2026-07-30
|
|
4
10
|
|
|
5
11
|
### Added
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.1-beta.0 - 2026-08-03
|
|
4
|
+
|
|
5
|
+
Prepared for beta testing; npm publication, the `v3.1.1-beta.0` tag, and the GitHub release are pending.
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Add durable stable-baseline promotion after GitHub asset verification, with idempotent retry reconciliation and post-commit control-plane confirmation.
|
|
10
|
+
- Add `bun run baseline:rollback` for audited rollback to an explicit stable release with optimistic revision checks.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Make baseline archives reproducible from the release commit timestamp, normalized permissions, deterministic ordering, and timestamp-free gzip metadata.
|
|
15
|
+
- Increase the default remote baseline resolution timeout from 1.5 seconds to 5 seconds to tolerate control-plane latency.
|
|
16
|
+
- Reuse matching baseline release assets and upload only missing assets while rejecting malformed, duplicate, or mismatched existing assets.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Prompt for the Skills CLI agent name when `hi operator` cannot detect one in an interactive terminal, while JSON, plain, redirected, and other noninteractive runs remain fail-closed and require `HI_OPERATOR_AGENT`.
|
|
21
|
+
|
|
3
22
|
## 3.1.0 - 2026-07-30
|
|
4
23
|
|
|
5
24
|
Published as `@punks/cli@3.1.0` with tag `v3.1.0`.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"channel": "stable",
|
|
4
|
-
"version": "2026.
|
|
5
|
-
"tag": "baseline/stable/2026.
|
|
6
|
-
"commit": "
|
|
4
|
+
"version": "2026.08.03-c68a367d",
|
|
5
|
+
"tag": "baseline/stable/2026.08.03-c68a367d",
|
|
6
|
+
"commit": "c68a367dde44262ae73dc16b25c64ca2106d99ee",
|
|
7
7
|
"sha256": null,
|
|
8
8
|
"compatibility": {
|
|
9
|
-
"cliVersionRange": "
|
|
9
|
+
"cliVersionRange": ">=3.0.0 <4"
|
|
10
10
|
},
|
|
11
|
-
"generatedAt": "2026-
|
|
11
|
+
"generatedAt": "2026-08-03T15:48:54.000Z"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"channel": "stable",
|
|
4
|
-
"version": "2026.
|
|
5
|
-
"tag": "baseline/stable/2026.
|
|
6
|
-
"commit": "
|
|
4
|
+
"version": "2026.08.03-c68a367d",
|
|
5
|
+
"tag": "baseline/stable/2026.08.03-c68a367d",
|
|
6
|
+
"commit": "c68a367dde44262ae73dc16b25c64ca2106d99ee",
|
|
7
7
|
"archive": "scaffold-baseline.tgz",
|
|
8
|
-
"archiveSha256": "
|
|
8
|
+
"archiveSha256": "68213d608a64bc288b1128b9ac9a2684fc36824fe73316812643a9cdaebb0584",
|
|
9
9
|
"compatibility": {
|
|
10
|
-
"cliVersionRange": "
|
|
10
|
+
"cliVersionRange": ">=3.0.0 <4"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
Binary file
|