@punks/cli 3.0.0 → 3.0.1
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
CHANGED
|
@@ -57,7 +57,10 @@ Post-update follow-through starts from the current summary and changed paths, no
|
|
|
57
57
|
|
|
58
58
|
Interactive commands check the selected npm dist-tag before running. When a newer CLI is available, `hi` asks for confirmation, reinstalls through the detected global package manager, and exits so the command can be rerun on the upgraded binary. `hi upgrade` keeps the same installer path as an explicit manual command. Use `--tag next` for prerelease channels or `--force` to reinstall the selected tag even when the current version is fresh.
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
`hi check` always refetches stable or exact remote baseline metadata and bytes. Its
|
|
61
|
+
`--refresh-baseline` flag remains accepted for backward compatibility. Use
|
|
62
|
+
`--baseline bundled` or `DP_BASELINE=bundled` to force the verified npm-shipped
|
|
63
|
+
baseline for diagnostics or tests.
|
|
61
64
|
|
|
62
65
|
Language packs are detected separately from framework packs. TypeScript is selected when scanned manifests depend on `typescript` or when nested source files include `.ts` / `.tsx`; Python is selected from nested `.py` files. Root-level config files and vendor, virtualenv, generated, scaffold, docs, examples, `scripts`, `opensrc`, agent/cache/worktree, and build output directories are ignored.
|
|
63
66
|
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Baseline Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.0 - 2026-07-29
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Publish the CLI 3.0.0 scaffold baseline as `baseline/stable/2026.07.29-cli-3.0.0`; see the detailed entry below.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Align bundled baseline identity and compatibility metadata with `baseline/stable/2026.07.29-cli-3.0.0` (`>=3.0.0 <4`).
|
|
12
|
+
|
|
13
|
+
## baseline/stable/2026.07.29-cli-3.0.0 - 2026-07-29
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- Add deterministic harness context projection adapters and contract fixtures for Claude, Codex, Cursor, and OpenCode.
|
|
18
|
+
- Add synchronized subagent projection assets and expanded `write-backlog` provider guidance to the CLI scaffold baseline.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Consolidate the scaffold's Effect guidance on the canonical Effect v4 skill and remove the superseded Effect v3-era skill surfaces.
|
|
23
|
+
- Align the bundled `hi-cli`, planning, specification, implementation, requirements, review, and recovery guidance with the 3.0.0 CLI architecture and lifecycle contracts.
|
|
24
|
+
|
|
3
25
|
## baseline/stable/2026.07.23-effect-v4-source-authority - 2026-07-23
|
|
4
26
|
|
|
5
27
|
### Fixed
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.1 - 2026-07-30
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Add installed-tarball regression coverage that proves repeated plain `hi check` runs fetch fresh remote baseline metadata and archives.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Resolve every non-bundled `hi check` against fresh remote baseline authority, defaulting an omitted selector to the configured baseline or `stable`.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Report unavailable remote baseline authority without claiming scaffold drift, while preserving fatal integrity failures for bundled baselines.
|
|
16
|
+
|
|
3
17
|
## 3.0.0 - 2026-07-28
|
|
4
18
|
|
|
19
|
+
Published as `@punks/cli@3.0.0` with tag `v3.0.0` after the stable M7-M9 cutover.
|
|
20
|
+
|
|
5
21
|
Stable M7-M9 release completed in [#88](https://github.com/wearedevpunks/harness-intelligence/pull/88).
|
|
6
22
|
|
|
7
23
|
### Added
|
|
@@ -55,7 +55,24 @@ function checkCommand(root) {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
const command = commandExists("hi", root) ? "hi" : commandExists("hint", root) ? "hint" : null;
|
|
58
|
-
return command === null ? null : [command, "check"];
|
|
58
|
+
return command === null ? null : [command, "check", "--json"];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function parseCheckResult(output) {
|
|
62
|
+
try {
|
|
63
|
+
const result = JSON.parse(output);
|
|
64
|
+
return typeof result === "object" && result !== null ? result : null;
|
|
65
|
+
} catch {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function confirmedDrift(result) {
|
|
71
|
+
return (
|
|
72
|
+
result?.operation?.status === "failed" &&
|
|
73
|
+
Array.isArray(result.operation.issues) &&
|
|
74
|
+
result.operation.issues.some((issue) => issue?.code === "drift-detected")
|
|
75
|
+
);
|
|
59
76
|
}
|
|
60
77
|
|
|
61
78
|
function runUpdateCheck(root) {
|
|
@@ -101,6 +118,25 @@ function runUpdateCheck(root) {
|
|
|
101
118
|
return { status: "ok", message: okMessage };
|
|
102
119
|
}
|
|
103
120
|
|
|
121
|
+
const checkResult = parseCheckResult(result.stdout.trim());
|
|
122
|
+
if (!confirmedDrift(checkResult)) {
|
|
123
|
+
const source = checkResult?.availability?.source ?? "check-command";
|
|
124
|
+
const detail = checkResult?.availability?.detail ?? output ?? "(no command output)";
|
|
125
|
+
return {
|
|
126
|
+
status: "unavailable",
|
|
127
|
+
message: [
|
|
128
|
+
"Harness scaffold check unavailable.",
|
|
129
|
+
"",
|
|
130
|
+
`Command: ${commandLabel}`,
|
|
131
|
+
`Source: ${source}`,
|
|
132
|
+
"",
|
|
133
|
+
detail,
|
|
134
|
+
"",
|
|
135
|
+
"No scaffold drift was confirmed. Retry the read-only check after the source recovers.",
|
|
136
|
+
].join("\n"),
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
104
140
|
return {
|
|
105
141
|
status: "diverged",
|
|
106
142
|
message: [
|
|
@@ -125,7 +161,12 @@ function formatForHarness(message, harness) {
|
|
|
125
161
|
continue: true,
|
|
126
162
|
additional_context: message,
|
|
127
163
|
agent_message: message,
|
|
128
|
-
user_message:
|
|
164
|
+
user_message:
|
|
165
|
+
message === okMessage
|
|
166
|
+
? okMessage
|
|
167
|
+
: message.startsWith("Harness scaffold check unavailable.")
|
|
168
|
+
? "Harness scaffold check unavailable."
|
|
169
|
+
: "Harness scaffold divergence detected.",
|
|
129
170
|
});
|
|
130
171
|
}
|
|
131
172
|
|