checkwright 0.50.0 → 0.51.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 (24) 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-command-liveness/bad/docs/a.md +6 -0
  19. package/payload/canon-kit/gate-tests/check-command-liveness/bad/expect.txt +2 -0
  20. package/payload/canon-kit/gate-tests/check-command-liveness/good/docs/b.md +2 -2
  21. package/payload/canon-kit/gate-tests/check-command-liveness.test.sh +8 -2
  22. package/payload/canon-kit/gate-tests/check-prose-bounds/good/CLAUDE.md +1 -1
  23. package/payload/canon-kit/gate-tests/check-prose-bounds/good/SPEC.md +4 -4
  24. package/payload/delegation-kit/README.md +1 -0
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "checkwright-pwsh": "bin/checkwright.ps1"
5
5
  },
6
6
  "checkwright": {
7
- "commit": "d285c42e5e3a3718356840584997d3ed9b733e0e",
7
+ "commit": "e6128c6e5c85af6d1cef85765a39f2e68e9a4fb5",
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.50.0"
33
+ "version": "0.51.0"
34
34
  }
@@ -1 +1 @@
1
- d7a307ca86a959663a90719950ae3f4de85e2ceb1fa962113e3226ef6e242aff checkwright-gates
1
+ b26374f17fb00c791e50852df91451f1649cca01d03e95bc3a8474aca7bb51bc checkwright-gates
@@ -1 +1 @@
1
- ee86f836177b814a1a4e94b5baae3749f2a20490ada572f0abb1dc356133c890 *checkwright-gates.exe
1
+ 67e49b4f3a9780d18d9d09016d2f5fe3546ae1bf1e40016f9b770bed30ce4b5f *checkwright-gates.exe
@@ -1 +1 @@
1
- 904d326ecfa7713793e672b7eaafef1d9e7b4bcec015e197855e8e23f7fc18bf checkwright-gates
1
+ 494b90b4cc93a249d0a44d80122320b70d3bb78804d59883b88d2db9b0e04598 checkwright-gates
@@ -1 +1 @@
1
- 45f4d168b818a78ec5a76957e8d2b29459e359fc0b637124cb9fb167fdebb8ac checkwright-gates
1
+ ad80c74de90ed3b29b8eeedb8afae9f418cb4107caf26ee029a76ff117f31c34 checkwright-gates
@@ -1 +1 @@
1
- d1642a451e58f69df04f32ce936cb626945924ea65426dd5d068be40d493b838 checkwright-gates
1
+ 9e49fb3c1cda55f150d0c87a2e024987eac6cf33205571e8ca344d30c6333c2d checkwright-gates
@@ -1 +1 @@
1
- db3c8527bd766b9faab9f0f7c0982240146ecef5340c26fed0830304949f4260 *checkwright-gates.exe
1
+ 7dd7a43e9ba819b1d637006c2dddaa39059a51093ccc0ff7601a5d746787bfcf *checkwright-gates.exe
@@ -1 +1 @@
1
- 5f3a2814d0105799e443f5208b681410d0a1810346c4ec4b27c236485393dce2 checkwright-gates
1
+ b222345a47766ea48df04e40f9e6e4e2c56fc52cb9540128d32659a5ce9b11c5 checkwright-gates
@@ -1 +1 @@
1
- a02ba17c2a11c0f924b6f4a3bae2a0b52cbb49a5c6e9ce5e1f6dde7112414f8e checkwright-gates
1
+ 10274f1966eca88a680e28a51c6d460db24901a4808a089d1ffda69a19c0b3c3 checkwright-gates
@@ -9,3 +9,9 @@ An unresolvable program: `checkwright-no-such-program --flag`.
9
9
 
10
10
  <!-- command-liveness-exempt: -->
11
11
  A reasonless valve exempts nothing: `tool jbo`.
12
+
13
+ > A span wrapped inside a quote: `tool
14
+ > jbo run`.
15
+
16
+ 1) An item opening a `Quote that stays unclosed.
17
+ 2) The next item names `tool jbo` alone.
@@ -4,3 +4,5 @@ docs/a.md:5: `tool --emit jornal`: `tool --emit` has no verb `jornal` (its verbs
4
4
  docs/a.md:6: `tool item clsoe <id>`: `tool item` has no verb `clsoe` (its verbs: close)
5
5
  docs/a.md:8: `checkwright-no-such-program --flag`: no PATH directory holds `checkwright-no-such-program`
6
6
  docs/a.md:11: `tool jbo`: `tool` has no verb `jbo` (its verbs: --emit, item, job) (its command-liveness-exempt valve carries no reason)
7
+ docs/a.md:13: `tool jbo run`: `tool` has no verb `jbo` (its verbs: --emit, item, job)
8
+ docs/a.md:17: `tool jbo`: `tool` has no verb `jbo` (its verbs: --emit, item, job)
@@ -9,11 +9,11 @@ A generated `tool jbo run` is held out.
9
9
  <!-- gen:end -->
10
10
 
11
11
  ```bash
12
- tool jbo run
12
+ `tool jbo run`
13
13
  ```
14
14
 
15
15
  ~~~
16
- tool jbo
16
+ `tool jbo`
17
17
  ~~~
18
18
 
19
19
  An inline comment <!-- `tool jbo` --> holds its span out.
@@ -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
- # PATH arm at all, the command knob as the verb source (good, non-zero,
4
- # timed out, non-UTF-8 output), a source declaring no path, an absent verb
3
+ # PATH arm at all, the command knob as the verb source (good, an empty
4
+ # element passed as it stands, non-zero, timed out, non-UTF-8 output), a
5
+ # source declaring no path, an absent verb
5
6
  # file, both sources set, and a corpus with no resolver.
6
7
  #
7
8
  # Run by the --run-gate-tests arm (any <tests-dir>/*.test.sh; must exit 0).
@@ -23,6 +24,7 @@ EOF
23
24
  printf 'tool job\n' >"$SANDBOX/verbs.txt"
24
25
  printf '%s\n' "printf 'tool job\\n'" >"$SANDBOX/gen-good.sh"
25
26
  printf '%s\n' "printf 'tool item\\n'" >"$SANDBOX/gen-other.sh"
27
+ printf '%s\n' '[ "$#" -eq 2 ] && [ -z "$1" ] || exit 5' "printf 'tool job\\n'" >"$SANDBOX/gen-argc.sh"
26
28
  printf '%s\n' 'exit 4' >"$SANDBOX/gen-fail.sh"
27
29
  printf '%s\n' 'sleep 30' >"$SANDBOX/gen-slow.sh"
28
30
  printf '%s\n' "printf 'tool \\377\\n'" >"$SANDBOX/gen-bytes.sh"
@@ -71,6 +73,10 @@ knobs "$(cmd gen-other.sh)"
71
73
  out="$(run)"; rc=$?
72
74
  check_case "command-source-judges" 1 "a.md:3: \`tool job\`: \`tool\` has no verb \`job\` (its verbs: item)" "$out" "$rc"
73
75
 
76
+ knobs "$(cmd gen-argc.sh)" 'CANON_KIT_COMMAND_LIVENESS_VERBS_CMD[] =' 'CANON_KIT_COMMAND_LIVENESS_VERBS_CMD[] = x'
77
+ out="$(run)"; rc=$?
78
+ check_case "command-keeps-empty-element" 0 "1 span(s) read by the verb tree (command bash)" "$out" "$rc"
79
+
74
80
  knobs "$(cmd gen-fail.sh)"
75
81
  out="$(run)"; rc=$?
76
82
  check_case "command-non-zero" 3 "exited 4" "$out" "$rc"
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: This front-matter value is metadata rather than prose, so it is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in the governed corpus it reads.
2
+ description: This front-matter value is metadata rather than prose, so it is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in the governed corpus it reads, and it keeps going for a further dozen words to clear that bound.
3
3
  tags:
4
4
  - ```shown```
5
5
  ---
@@ -15,17 +15,17 @@ Every knob is read by this gate alone, which the lead-in above says once for the
15
15
  <!-- prose-bound-exempt: the fixture's valved keep, one sentence deliberately left long to prove the valve suppresses it at the site -->
16
16
  This sentence is deliberately long, because it demonstrates that a valve on the line above suppresses the sentence-length finding at this one site, and so it keeps running well past the bound of forty-five words that the gate applies to every other sentence in the governed corpus, without any finding at all.
17
17
 
18
- | a table row may run as long as it likes, since tables are held out of every assertion the gate makes over its governed prose corpus, and this one proves it | x |
18
+ | a table row may run as long as it likes, since tables are held out of every assertion the gate makes over its governed prose corpus, and this one proves it by running well past the bound of forty-five words that the gate applies to every other sentence, for a further dozen words to clear it | x |
19
19
  |---|---|
20
20
 
21
21
  ```text
22
- A fenced block is shown grammar, so this long line is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in the corpus it governs.
22
+ A fenced block is shown grammar, so this long line is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in the corpus it governs, and it keeps going for a further dozen words to clear that bound.
23
23
  ```
24
24
 
25
25
  ~~~text
26
- A tilde fence is a fenced block as well, so this long line is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in its corpus.
26
+ A tilde fence is a fenced block as well, so this long line is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in its corpus, and it keeps going for a further dozen words to clear that bound.
27
27
  ~~~
28
28
 
29
29
  <!-- roster:begin -->
30
- A generated region is byte-gated elsewhere, so this long line is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in its corpus.
30
+ A generated region is byte-gated elsewhere, so this long line is never read as a sentence even though it runs well past the bound of forty-five words that the gate applies to every other sentence in its corpus, and it keeps going for a further dozen words to clear that bound.
31
31
  <!-- roster:end -->
@@ -47,6 +47,7 @@ gates="${GATE_SDK_NATIVE_BIN:-./scripts/checkwright-gates}"
47
47
  "$gates" --usage-verdict <snapshot> # verdict for an explicit usage.txt (test injection)
48
48
  "$gates" --model-verdict --expect judgment # running-model verdict against the tier binding: exit 0 OK, 1 BELOW/UNBOUND, 2 UNKNOWN
49
49
  "$gates" --foreign-run <adapter> <prompt-file> # one audit on a configured foreign adapter, in a scratch clone: exit 0 OK, 1 REFUSED, 2 FAILED
50
+ "$gates" --foreign-run <adapter> <prompt-file> --workspace <dir> # one audit in a caller-built plain directory, read-only; sent.txt lists what it sent
50
51
  "$gates" --foreign-run <adapter> --budget # that adapter's budget verdict, spawning nothing: exit 0 OK/RESET-OK, 1 PAUSE, 2 STALE/OFF
51
52
  "$gates" --foreign-resume <key> <prompt-file> # the next turn of a session a resumable adapter opened: exit 0 OK, 1 REFUSED, 2 FAILED; --close ends it
52
53
  "$gates" --emit usage-trend # footprint trend over the sample log (needs DELEGATION_KIT_USAGE_HISTORY)