checkwright 0.47.0 → 0.48.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.
Files changed (25) hide show
  1. package/package.json +2 -2
  2. package/payload/artifact/aarch64-apple-darwin/checkwright-gates +0 -0
  3. package/payload/artifact/aarch64-apple-darwin/checkwright-gates.sha256 +1 -1
  4. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe +0 -0
  5. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  6. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates +0 -0
  7. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  8. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates +0 -0
  9. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates.sha256 +1 -1
  10. package/payload/artifact/x86_64-apple-darwin/checkwright-gates +0 -0
  11. package/payload/artifact/x86_64-apple-darwin/checkwright-gates.sha256 +1 -1
  12. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe +0 -0
  13. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  14. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates +0 -0
  15. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  16. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates +0 -0
  17. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates.sha256 +1 -1
  18. package/payload/canon-kit/gate-tests/check-duplicate-text/bad/docs/a.md +4 -0
  19. package/payload/canon-kit/gate-tests/check-duplicate-text/bad/docs/b.md +2 -0
  20. package/payload/canon-kit/gate-tests/check-duplicate-text/bad/docs/d.md +7 -0
  21. package/payload/canon-kit/gate-tests/check-duplicate-text/bad/expect.txt +2 -0
  22. package/payload/canon-kit/gate-tests/check-duplicate-text/good/docs/a.md +4 -0
  23. package/payload/canon-kit/gate-tests/check-duplicate-text/good/docs/b.md +4 -0
  24. package/payload/canon-kit/gate-tests/check-duplicate-text/good/scripts/canon-config.knobs +1 -0
  25. package/payload/canon-kit/gate-tests/check-duplicate-text.test.sh +22 -2
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "checkwright-pwsh": "bin/checkwright.ps1"
5
5
  },
6
6
  "checkwright": {
7
- "commit": "ad6c6774c3128bf4d0957a135f52deafd712205f",
7
+ "commit": "6de7c949f40e12832dea80ea68cfa553bc5d6824",
8
8
  "spec_base_url": "https://checkwright.dev"
9
9
  },
10
10
  "description": "Reproducible checks that catch unsupported claims in coding-agent delivery before merge: a task marked done with no recorded test run, a skipped lifecycle stage, a spec naming a file the tree lacks. They prove the evidence a claim rests on exists, not that the code is correct.",
@@ -30,5 +30,5 @@
30
30
  "type": "git",
31
31
  "url": "git+https://github.com/checkwright/checkwright.git"
32
32
  },
33
- "version": "0.47.0"
33
+ "version": "0.48.0"
34
34
  }
@@ -1 +1 @@
1
- 791f6dfc535312ae8dfc1af09c85efa73ecdd78d4ea4e463fde9f0f93d2a8587 checkwright-gates
1
+ 9e937f1767d59263276639f669102aff2f227c8941929ac19b68fb4e56b086d8 checkwright-gates
@@ -1 +1 @@
1
- 3c7d2a573129aa4777a59383e82795083326031c171365fb375460e93b6e16cc *checkwright-gates.exe
1
+ afa5d5bab21fe0a2d9ccfca98ea247237a19c18462d29a69d0303d9ed850fb08 *checkwright-gates.exe
@@ -1 +1 @@
1
- a8921540f0ef44b75ae4ada811dbeb5adb64c93e1c71a9de8f37211b77d55aa5 checkwright-gates
1
+ dcac8e35b6ae781a4c7ef72b587c53f3c7221041cbae79a846195984b1c02d98 checkwright-gates
@@ -1 +1 @@
1
- 78ee0d39acea197ab9fd2ee07f956d3551c01fb2526814aa2a6a9946c7c6869a checkwright-gates
1
+ 100e5dc6ef023bc3970f5197f4ec9e86e425d1f1b1a317fb83eed18e78e7cfd2 checkwright-gates
@@ -1 +1 @@
1
- 42dfbdfaca965c4f2bddaa1f3bbc93ecd43ed6c4d92cc964f9623fe01ca83d9f checkwright-gates
1
+ 8c3868196e06d36b8f017c1199630962757cb9dee4521fd1f742004b9b133cae checkwright-gates
@@ -1 +1 @@
1
- 1f63ed45ecc718d5d1840dba5225a8d01b961ce454fe67c605cd9a9e16a688c8 *checkwright-gates.exe
1
+ 748b884394fdd245b604095f6bd4b284d7c5852cefcb1c53bbd268c8d24f557a *checkwright-gates.exe
@@ -1 +1 @@
1
- 63ca18878f098db10361cb32489c6830f2315bfffbe445d1da09007f4731a154 checkwright-gates
1
+ 1196cfe883275bb44c0598d501e226f49b4e76a54e357895368dd15908061e69 checkwright-gates
@@ -1 +1 @@
1
- 4b652a268f92e88a6e6cdade186e58c62c5a67c37b8aa2be4dde3c785072b6bd checkwright-gates
1
+ 436c9ed91f2cd1f819a640a43b451f0d3ab9762f250ad1f7a86cafba6f1662c6 checkwright-gates
@@ -5,3 +5,7 @@ Every commit runs the full battery before it lands on master.
5
5
  The shared run starts here on the second line, as the wrap shows.
6
6
 
7
7
  A reasonless valve never exempts the copy that it sits above.
8
+
9
+ Each stage session reads its own journal and stops.
10
+
11
+ Each stage session reads its own journal before the lead resumes the queue.
@@ -4,3 +4,5 @@ Here too, every commit runs the full battery before it lands on master.
4
4
 
5
5
  This paragraph wraps across its lines, and
6
6
  the shared run starts here on the second line, as the wrap shows.
7
+
8
+ Each stage session reads its own journal before the lead resumes the queue.
@@ -0,0 +1,7 @@
1
+ ---
2
+ summary: |
3
+ ```
4
+ ---
5
+ # Delta
6
+
7
+ Once more, every commit runs the full battery before it lands on master.
@@ -1,4 +1,6 @@
1
1
  docs/b.md:3: a run of 11 words first stated at docs/a.md:3: "every commit runs the full battery …"
2
2
  docs/b.md:6: a run of 13 words first stated at docs/a.md:5: "the shared run starts here on …"
3
+ docs/b.md:8: a run of 13 words first stated at docs/a.md:11: "each stage session reads its own …"
3
4
  docs/c.md:3: a run of 11 words first stated at docs/a.md:3: "every commit runs the full battery …"
4
5
  docs/c.md:6: a run of 11 words first stated at docs/a.md:7: "a reasonless valve never exempts the …" (its duplicate-text-exempt valve carries no reason)
6
+ docs/d.md:7: a run of 11 words first stated at docs/a.md:3: "every commit runs the full battery …"
@@ -9,6 +9,10 @@ Alpha opens with quick brown foxes jumping over the fence.
9
9
  bash gate-sdk/bin/run-gates.sh --only check-duplicate-text runs this same fenced command
10
10
  ```
11
11
 
12
+ ~~~
13
+ a tilde fence holds the same words in both of these pages
14
+ ~~~
15
+
12
16
  See [the owning section](https://example.com/one/two/three/four/five/six) first.
13
17
 
14
18
  <!-- roster:begin -->
@@ -9,6 +9,10 @@ Beta closes on quick brown foxes jumping over a wall.
9
9
  bash gate-sdk/bin/run-gates.sh --only check-duplicate-text runs this same fenced command
10
10
  ```
11
11
 
12
+ ~~~
13
+ a tilde fence holds the same words in both of these pages
14
+ ~~~
15
+
12
16
  Read [it](https://example.com/one/two/three/four/five/six) before you start.
13
17
 
14
18
  <!-- roster:begin -->
@@ -1,3 +1,4 @@
1
1
  # spec: canon-kit/SPEC.md §check-duplicate-text — fixture consumer config: every page under docs/ is compared at a six-word run
2
2
  CANON_KIT_DUPLICATE_TEXT_GLOBS[] = docs/*.md
3
+ CANON_KIT_DUPLICATE_TEXT_GLOBS[] = ./docs/a.md
3
4
  CANON_KIT_DUPLICATE_TEXT_MIN_WORDS = 6
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
  # Behavioral test of the arms the one-pair good/bad harness cannot hold: the
3
3
  # within-file switch turned on, the exclude knob dropping a file from the
4
- # comparison, and the exit-3 refusal of an unreadable declared file.
4
+ # comparison, a symlink alias compared once, and the exit-3 refusal of an
5
+ # unreadable declared file.
5
6
  #
6
7
  # Run by the --run-gate-tests arm (any <tests-dir>/*.test.sh; must exit 0).
7
8
  set -uo pipefail
@@ -12,6 +13,8 @@ SANDBOX="$(mktemp -d)"
12
13
  trap 'chmod -R u+rwx "$SANDBOX" 2>/dev/null; rm -rf "$SANDBOX"' EXIT
13
14
 
14
15
  fails=0
16
+ covered=()
17
+ skipped=()
15
18
 
16
19
  cat >"$SANDBOX/a.md" <<'EOF'
17
20
  # A
@@ -36,6 +39,7 @@ run() { # $1..=extra env assignments; prints output, returns rc
36
39
  }
37
40
 
38
41
  check_case() { # $1=label $2=want-rc $3=want-substring $4=output $5=rc
42
+ covered+=("$1")
39
43
  if [[ "$5" -ne "$2" ]]; then
40
44
  echo " FAIL [$1]: want exit $2, got $5 -- $4"; fails=$((fails + 1)); return
41
45
  fi
@@ -59,11 +63,24 @@ printf '%s\n' 'CANON_KIT_DUPLICATE_TEXT_EXCLUDE[] = c.md' >>"$SANDBOX/gates.knob
59
63
  out="$(run)"; rc=$?
60
64
  check_case "exclude-drops-the-copy" 0 "DUPLICATE-TEXT: clean (2 file(s)" "$out" "$rc"
61
65
 
66
+ # A host whose ln copies rather than links proves nothing, so the alias is
67
+ # probed before it is asserted.
68
+ ln -s a.md "$SANDBOX/link.md" 2>/dev/null
69
+ if [[ ! -L "$SANDBOX/link.md" ]]; then
70
+ echo " SKIP [symlink-alias-compared-once]: this host made no symlink"
71
+ skipped+=("symlink-alias-compared-once")
72
+ else
73
+ out="$(run)"; rc=$?
74
+ check_case "symlink-alias-compared-once" 0 "DUPLICATE-TEXT: clean (2 file(s)" "$out" "$rc"
75
+ fi
76
+ rm -f "$SANDBOX/link.md"
77
+
62
78
  # A tree where the sandbox owner can read what it just made unreadable proves
63
79
  # nothing, so the refusal is probed before it is asserted.
64
80
  chmod 000 "$SANDBOX/b.md"
65
81
  if cat "$SANDBOX/b.md" >/dev/null 2>&1; then
66
82
  echo " SKIP [unreadable-file-fails-closed]: this user reads a 0000 file"
83
+ skipped+=("unreadable-file-fails-closed")
67
84
  else
68
85
  out="$(run)"; rc=$?
69
86
  check_case "unreadable-file-fails-closed" 3 "b.md" "$out" "$rc"
@@ -73,5 +90,8 @@ if [[ "$fails" -gt 0 ]]; then
73
90
  echo "check-duplicate-text.test.sh: $fails case(s) failed"
74
91
  exit 1
75
92
  fi
76
- echo "check-duplicate-text.test.sh: clean (within-file off + on + a compared copy + the exclude knob + an unreadable file)"
93
+ ran="$(printf ' + %s' "${covered[@]}")"
94
+ skip=""
95
+ [[ "${#skipped[@]}" -gt 0 ]] && skip="; skipped: $(printf '%s ' "${skipped[@]}")"
96
+ echo "check-duplicate-text.test.sh: clean (${ran# + }${skip% })"
77
97
  exit 0