@kaptures/cli 0.12.0 → 0.13.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
CHANGED
|
@@ -53,7 +53,7 @@ base or head revision changes beyond the configured threshold, the snapshot is
|
|
|
53
53
|
reported as `unstable` with repeat and self-diff PNG evidence. Unstable
|
|
54
54
|
snapshots mean the effect of the code change could not be verified: capturing
|
|
55
55
|
the same code again produced different images. They block GitHub verification
|
|
56
|
-
and cannot be bypassed by ordinary visual approval. A write-authorized reviewer may explicitly accept the entire error-free unstable report using `/kapture approve <full-head-sha> <report-digest> --allow-unstable
|
|
56
|
+
and cannot be bypassed by ordinary visual approval. A write-authorized reviewer may explicitly accept the entire error-free unstable report using `/kapture approve <full-head-sha> <report-digest> --allow-unstable` (optionally followed by a one-line reason of up to 1000 characters). This changes only the GitHub review status; report evidence and cache eligibility remain unchanged. `validate` exits with code 3 when
|
|
57
57
|
unstable snapshots remain, with or without `--fail-on-diff`; execution errors
|
|
58
58
|
take precedence and exit with code 2. `test` still completes evidence collection.
|
|
59
59
|
Trusted GitHub reports publish the base/head repeat and self-diff PNG evidence
|
|
@@ -260,3 +260,8 @@ the verification boundary.
|
|
|
260
260
|
## License
|
|
261
261
|
|
|
262
262
|
MIT © Danggeun Market Inc.
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
For adapter upgrades, opt into `--allow-adapter-upgrade --adapter-package-json <path>` on `github context`, `github prepare-review`, and `github finalize-run` (or `ci` to generate all three). An exact stable base version strictly older than the head is eligible only when the head adapter matches the running CLI. Same-repository upgrades skip comparison; completed successful runs get the status description `Comparison skipped: adapter upgrade`. This is not visual validation or approval: review all visual changes manually and compare again after merge. Failed runs and invalid, ranged, prerelease, downgraded or mismatched versions remain errors. Trusted handlers revalidate live revisions and the latest run before writing status. Update the default-branch report/finalize workflow as well; older CLI releases cannot apply this policy.
|
|
266
|
+
|
|
267
|
+
The capture CLI enforces its exact head adapter version. The trusted report CLI may still be the older default-branch version, so it verifies the live upgrade and successful capture run rather than requiring the head adapter to match itself.
|