checkwright 0.47.0 → 0.49.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 (28) 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/docs/e.md +5 -0
  22. package/payload/canon-kit/gate-tests/check-duplicate-text/bad/docs/f.md +3 -0
  23. package/payload/canon-kit/gate-tests/check-duplicate-text/bad/expect.txt +4 -0
  24. package/payload/canon-kit/gate-tests/check-duplicate-text/good/docs/a.md +4 -0
  25. package/payload/canon-kit/gate-tests/check-duplicate-text/good/docs/b.md +4 -0
  26. package/payload/canon-kit/gate-tests/check-duplicate-text/good/scripts/canon-config.knobs +1 -0
  27. package/payload/canon-kit/gate-tests/check-duplicate-text.test.sh +40 -2
  28. package/payload/delegation-kit/templates/delegation-config.knobs +4 -0
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": "e171817644f5e43eff2d4e23fe04c99a3339bceb",
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.49.0"
34
34
  }
@@ -1 +1 @@
1
- 791f6dfc535312ae8dfc1af09c85efa73ecdd78d4ea4e463fde9f0f93d2a8587 checkwright-gates
1
+ e2f3fb946dff4f3f60c9381bb07e75a7ac0f1ac4a53447130bd95bd4852f3ba4 checkwright-gates
@@ -1 +1 @@
1
- 3c7d2a573129aa4777a59383e82795083326031c171365fb375460e93b6e16cc *checkwright-gates.exe
1
+ e53c05aa17906292394cca13bec0378f96b0903fa8e9758a05a895fbb59c9b6a *checkwright-gates.exe
@@ -1 +1 @@
1
- a8921540f0ef44b75ae4ada811dbeb5adb64c93e1c71a9de8f37211b77d55aa5 checkwright-gates
1
+ 30401f478ca7c93cd86de5dbb749f8d823405a76c6fdf52f97a77528b69b914e checkwright-gates
@@ -1 +1 @@
1
- 78ee0d39acea197ab9fd2ee07f956d3551c01fb2526814aa2a6a9946c7c6869a checkwright-gates
1
+ 46a0ca613894c2ea9a9bbcb5833b9e8027119b1d473822a5ae1099e6242c3fff checkwright-gates
@@ -1 +1 @@
1
- 42dfbdfaca965c4f2bddaa1f3bbc93ecd43ed6c4d92cc964f9623fe01ca83d9f checkwright-gates
1
+ d16d2767cc5e63add8a07acf5284b98a30fe5f474e0b1b915ac29c37f3e02aa9 checkwright-gates
@@ -1 +1 @@
1
- 1f63ed45ecc718d5d1840dba5225a8d01b961ce454fe67c605cd9a9e16a688c8 *checkwright-gates.exe
1
+ 0357a525b3bec2015233331a1f9aad57080f25f2836bd9790f5ed49a396fa706 *checkwright-gates.exe
@@ -1 +1 @@
1
- 63ca18878f098db10361cb32489c6830f2315bfffbe445d1da09007f4731a154 checkwright-gates
1
+ 944e17de3f88141b8d4bb0bc57fa6f9312e61052959a5bf67be2c3d7fa531ae9 checkwright-gates
@@ -1 +1 @@
1
- 4b652a268f92e88a6e6cdade186e58c62c5a67c37b8aa2be4dde3c785072b6bd checkwright-gates
1
+ 4c89dc37529f39b4ba2fe11dd45cb592d12e65e0d908a975106d1b95367b6b3b 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.
@@ -0,0 +1,5 @@
1
+ # Echo
2
+
3
+ Alpha bravo charlie delta echo foxtrot golf hotel xray.
4
+
5
+ Charlie delta echo foxtrot golf hotel india juliet kilo lima.
@@ -0,0 +1,3 @@
1
+ # Foxtrot
2
+
3
+ Alpha bravo charlie delta echo foxtrot golf hotel india juliet kilo lima.
@@ -1,4 +1,8 @@
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 …"
7
+ docs/f.md:3: a run of 8 words first stated at docs/e.md:3: "alpha bravo charlie delta echo foxtrot …"
8
+ docs/f.md:3: a run of 10 words first stated at docs/e.md:5: "charlie delta echo foxtrot golf hotel …"
@@ -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,9 @@
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, two links to distinct non-UTF-8
5
+ # targets compared as two files, and the exit-3 refusal of an unreadable
6
+ # declared file.
5
7
  #
6
8
  # Run by the --run-gate-tests arm (any <tests-dir>/*.test.sh; must exit 0).
7
9
  set -uo pipefail
@@ -12,6 +14,8 @@ SANDBOX="$(mktemp -d)"
12
14
  trap 'chmod -R u+rwx "$SANDBOX" 2>/dev/null; rm -rf "$SANDBOX"' EXIT
13
15
 
14
16
  fails=0
17
+ covered=()
18
+ skipped=()
15
19
 
16
20
  cat >"$SANDBOX/a.md" <<'EOF'
17
21
  # A
@@ -36,6 +40,7 @@ run() { # $1..=extra env assignments; prints output, returns rc
36
40
  }
37
41
 
38
42
  check_case() { # $1=label $2=want-rc $3=want-substring $4=output $5=rc
43
+ covered+=("$1")
39
44
  if [[ "$5" -ne "$2" ]]; then
40
45
  echo " FAIL [$1]: want exit $2, got $5 -- $4"; fails=$((fails + 1)); return
41
46
  fi
@@ -59,11 +64,41 @@ printf '%s\n' 'CANON_KIT_DUPLICATE_TEXT_EXCLUDE[] = c.md' >>"$SANDBOX/gates.knob
59
64
  out="$(run)"; rc=$?
60
65
  check_case "exclude-drops-the-copy" 0 "DUPLICATE-TEXT: clean (2 file(s)" "$out" "$rc"
61
66
 
67
+ # A host whose ln copies rather than links proves nothing, so the alias is
68
+ # probed before it is asserted.
69
+ ln -s a.md "$SANDBOX/link.md" 2>/dev/null
70
+ if [[ ! -L "$SANDBOX/link.md" ]]; then
71
+ echo " SKIP [symlink-alias-compared-once]: this host made no symlink"
72
+ skipped+=("symlink-alias-compared-once")
73
+ else
74
+ out="$(run)"; rc=$?
75
+ check_case "symlink-alias-compared-once" 0 "DUPLICATE-TEXT: clean (2 file(s)" "$out" "$rc"
76
+ fi
77
+ rm -f "$SANDBOX/link.md"
78
+
79
+ # Two links aimed at distinct targets whose names are not UTF-8 are two files.
80
+ # A host that refuses such a name, or makes no symlink, proves nothing, so both
81
+ # are probed before the case is asserted.
82
+ odd_a=$'\xff.txt' odd_b=$'\xfe.txt'
83
+ printf '# Odd\n\nA target behind a name that is not text keeps its own identity.\n' \
84
+ >"$SANDBOX/$odd_a" 2>/dev/null && cp "$SANDBOX/$odd_a" "$SANDBOX/$odd_b" 2>/dev/null
85
+ ln -s "$odd_a" "$SANDBOX/odd-a.md" 2>/dev/null
86
+ ln -s "$odd_b" "$SANDBOX/odd-b.md" 2>/dev/null
87
+ if [[ ! -f "$SANDBOX/$odd_b" || ! -L "$SANDBOX/odd-a.md" || ! -L "$SANDBOX/odd-b.md" ]]; then
88
+ echo " SKIP [non-utf8-targets-are-two-files]: this host made no non-UTF-8 name or no symlink"
89
+ skipped+=("non-utf8-targets-are-two-files")
90
+ else
91
+ out="$(run)"; rc=$?
92
+ check_case "non-utf8-targets-are-two-files" 1 "odd-b.md:3: a run of 13 words first stated at odd-a.md:3" "$out" "$rc"
93
+ fi
94
+ rm -f "$SANDBOX/odd-a.md" "$SANDBOX/odd-b.md" "$SANDBOX/$odd_a" "$SANDBOX/$odd_b"
95
+
62
96
  # A tree where the sandbox owner can read what it just made unreadable proves
63
97
  # nothing, so the refusal is probed before it is asserted.
64
98
  chmod 000 "$SANDBOX/b.md"
65
99
  if cat "$SANDBOX/b.md" >/dev/null 2>&1; then
66
100
  echo " SKIP [unreadable-file-fails-closed]: this user reads a 0000 file"
101
+ skipped+=("unreadable-file-fails-closed")
67
102
  else
68
103
  out="$(run)"; rc=$?
69
104
  check_case "unreadable-file-fails-closed" 3 "b.md" "$out" "$rc"
@@ -73,5 +108,8 @@ if [[ "$fails" -gt 0 ]]; then
73
108
  echo "check-duplicate-text.test.sh: $fails case(s) failed"
74
109
  exit 1
75
110
  fi
76
- echo "check-duplicate-text.test.sh: clean (within-file off + on + a compared copy + the exclude knob + an unreadable file)"
111
+ ran="$(printf ' + %s' "${covered[@]}")"
112
+ skip=""
113
+ [[ "${#skipped[@]}" -gt 0 ]] && skip="; skipped: $(printf '%s ' "${skipped[@]}")"
114
+ echo "check-duplicate-text.test.sh: clean (${ran# + }${skip% })"
77
115
  exit 0
@@ -34,6 +34,10 @@
34
34
  # spec: delegation-kit/SPEC.md §The keyed verdict — a word carrying `@FAILED_RUN@` also runs that argv after a spawned turn ending FAILED, with the turn's run directory in the word
35
35
  # DELEGATION_KIT_FOREIGN_USAGE_CMD[] = <adapter>=@FAILED_RUN@
36
36
 
37
+ # spec: delegation-kit/SPEC.md §The foreign-vendor run — the argv that prints a turn's tokens_in= tokens_out= tokens_cached= tokens_cache_write= cost=, one `<adapter>=<word>` element per word, `@RUN_DIR@` the run directory; the kit ships none (each reads a vendor's output); default empty (every field `-`)
38
+ # DELEGATION_KIT_FOREIGN_SPEND_CMD[] = <adapter>=<program>
39
+ # DELEGATION_KIT_FOREIGN_SPEND_CMD[] = <adapter>=@RUN_DIR@
40
+
37
41
  # spec: delegation-kit/SPEC.md §The keyed verdict — the keyed pause thresholds, short window and long; each defaults to the account-keyed knob it derives from
38
42
  # DELEGATION_KIT_FOREIGN_PAUSE_PCT = <percent>
39
43
  # DELEGATION_KIT_FOREIGN_PAUSE_PCT_LONG = <percent>