checkwright 0.32.0 → 0.33.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
@@ -18,7 +18,7 @@ The toolchain the battery *does* assert, with its version floors, is on the Requ
18
18
 
19
19
  From your repository's root, in a new project or an existing one with every change committed, run the one line for your system on the install page: [macOS and Linux](https://checkwright.dev/install.html#macos-and-linux) or [Windows](https://checkwright.dev/install.html#windows). The Release tarball recipe on the [Manual steps](https://checkwright.dev/manual-install.html) page is the step-by-step alternative. Either unpacks outside the repository, because `init` refuses a worktree that is not clean.
20
20
 
21
- With Node already present the same install is one command, `npx checkwright init` — same payload, same `init`, same `checkwright.lock`; only the fetch differs. `npx checkwright init --profile prose` picks a profile ([Choosing a profile](#choosing-a-profile) below), and `npx checkwright demo` shows the adoption arc in a scratch repository first, without touching yours ([what it runs](https://checkwright.dev/install.html#install)).
21
+ With Node already present the same install is one command, `npx checkwright init` — same payload, same `init`, same `checkwright.lock`; only the fetch differs, and on Windows the [`PATH` block](https://checkwright.dev/install.html#windows) runs first. `npx checkwright init --profile prose` picks a profile ([Choosing a profile](#choosing-a-profile) below), and `npx checkwright demo` shows the adoption arc in a scratch repository first, without touching yours ([what it runs](https://checkwright.dev/install.html#install)).
22
22
 
23
23
  `init` vendors the selected profile's kit directories, writes a `gates.list` seeded with each kit's starting gates alongside the config seam those kits need and a CI workflow, and makes **one commit** naming the install and the version. It ends by printing the commands that finish the setup, each with its reason — deliberately not copied here, because what `init` prints is `init`'s to say ([`installer/SPEC.md` §init](SPEC.md#init)).
24
24
 
@@ -52,6 +52,7 @@ The flags each verb takes, owned by the binary as the verbs are:
52
52
  | `--dry-run` | `init`, `update`, `uninstall` | print the plan, write nothing |
53
53
  | `--force` | `init`, `update`, `uninstall` | overwrite what the verb would otherwise protect |
54
54
  | `--no-commit` | `init`, `update`, `uninstall` | stage the change and leave the commit to you |
55
+ | `--personal` | `init`, `update` | install untracked, for this clone alone, committing nothing |
55
56
  | `--with-kit` | `init`, `update` | add this kit to the profile; repeats |
56
57
  | `--without-kit` | `init`, `update` | take this kit out of the profile; repeats |
57
58
  | `--with-gate` | `init`, `update` | register this gate too; repeats |
@@ -60,14 +61,15 @@ The flags each verb takes, owned by the binary as the verbs are:
60
61
 
61
62
  ## Choosing a profile
62
63
 
63
- `starter`, `delegation`, `prose`, `full`. Not four rungs on one ladder: the profiles are ordered by kit-set containment, so moving to one that contains yours only ever adds, and two that contain neither the other — `delegation` and `prose` — are alternatives rather than steps.
64
+ `starter`, `workflow`, `delegation`, `prose`, `full`. Not rungs on one ladder: the profiles are ordered by kit-set containment, so moving to one that contains yours only ever adds, and two that contain neither the other — `prose` and either of `workflow` and `delegation` — are alternatives rather than steps.
64
65
 
65
66
  - **`starter`** — the gate SDK on its own: a battery, a pre-commit hook, and gates that red on real defects in your tree with no configuration outside your gates directory.
66
- - **`delegation`** — adds every kit whose subject is the agent session itself.
67
+ - **`workflow`** — `starter` plus the stage machine and the recorded test runs, the least on which `prove` catches a done claim; it keeps `starter`'s gates.
68
+ - **`delegation`** — adds to `workflow` the rest of the kits whose subject is the agent session itself.
67
69
  - **`prose`** — adds canon-kit instead, for a repository whose artifacts are documents rather than code.
68
70
  - **`full`** — everything in the payload.
69
71
 
70
- `starter`, `delegation` and `prose` are rosters in `profiles.list`, each membership recorded beside the criterion behind it; `full` is derived from the payload at run time rather than listed. `--recipe <name>` applies a recipe the package carries, for a tree another tool lays out, such as a spec toolkit's.
72
+ `starter`, `workflow`, `delegation` and `prose` are rosters in `profiles.list`, each membership recorded beside the criterion behind it; `full` is derived from the payload at run time rather than listed. `--recipe <name>` applies a recipe the package carries, for a tree another tool lays out, such as a spec toolkit's.
71
73
 
72
74
  `--with-kit`, `--without-kit`, `--with-gate` and `--without-gate` adjust a profile per install, and a gate file of your own under a kit gate's name, in your gates directory, replaces it ([SPEC.md §Selecting kits and gates](SPEC.md#selecting-kits-and-gates)).
73
75
 
@@ -1,4 +1,4 @@
1
- #!/bin/sh
1
+ #!/usr/bin/env sh
2
2
  # spec: installer/SPEC.md §The install boundary — the POSIX sh bootstrap, twin of the PowerShell half,
3
3
  # authored against that section's five steps: every install step is on the far side of the invoke
4
4
  # no-port: installer/SPEC.md §The install boundary — this file's whole body is `bootstrap`-
@@ -34,6 +34,10 @@ gate_path_rooted() { # <path> — 0 when rooted in either dialect, walk::path_r
34
34
  # prints the directory it picks, which would corrupt every `$(cd … && pwd)` below
35
35
  unset CDPATH
36
36
  SELF="$0"
37
+ # spec: installer/SPEC.md §Implementation — npm's .cmd shim hands sh a backslash-separated path
38
+ case "$SELF" in
39
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:\\*) SELF="$(printf '%s' "$SELF" | tr '\\' '/')" ;;
40
+ esac
37
41
  while [ -L "$SELF" ]; do
38
42
  LINK_DIR="$(cd "$(dirname "$SELF")" && pwd)"
39
43
  SELF="$(readlink "$SELF")"
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "checkwright-pwsh": "bin/checkwright.ps1"
5
5
  },
6
6
  "checkwright": {
7
- "commit": "5dad2d4d3b77e0fb3efefd13477cf9ce5d319309",
7
+ "commit": "59de162e84d30cfc4364b1d528a378bd47351026",
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.32.0"
33
+ "version": "0.33.0"
34
34
  }
@@ -1 +1 @@
1
- 672bd4b040fea11948bcbcf64ad64df9c58f03e8056d08cff487179bd4f948e1 checkwright-gates
1
+ daaa190bf8c530a57e13fe6b91f403939e0ff406b93a89f5c8f65bd80ec610c2 checkwright-gates
@@ -1 +1 @@
1
- 2777e5260f1599bf6b73ae47e6e94f50362d6edf733ebb7ad4ff5e638264d3ca *checkwright-gates.exe
1
+ 3cbff73a684b04dce801f83aa472fc047f39c147a9888abab1f0338331ef867e *checkwright-gates.exe
@@ -1 +1 @@
1
- de5c3fffb98506223ae0f95b6282e2326b00bcc9cd2e79183096e259ca9a3906 checkwright-gates
1
+ 2fe31e6d0f04de6ad78c98895278b7ca2ca4e05cf2e9544a4fa20c3e71bce7a9 checkwright-gates
@@ -1 +1 @@
1
- 2f44ef2e71b785da4db1296c11922a2bfe38126324c0cfe1f8ae5c9ea9db539d checkwright-gates
1
+ 632267a0c41d9242ca07db16a28cea5fc9698db8fa51b082b8f479ef1d2d7521 checkwright-gates
@@ -1 +1 @@
1
- 55e9e15dec6b998e857e91458bcdf519128e6c63e89f87b2b40b4ecaff159ffb checkwright-gates
1
+ 8e083efde6cafab256a633f8cb974f9da66764fbe544ee07bbd0029f8caa2056 checkwright-gates
@@ -1 +1 @@
1
- 65472e35a4c99816d54962c49b8f27857f85b09d9f050f61555ffb288738274d *checkwright-gates.exe
1
+ b977995fa5a941df7ed0b66475e69894cd8f6844ae485a7e8c80ab8687558c56 *checkwright-gates.exe
@@ -1 +1 @@
1
- 16825f84e5c0cf0d5b8c2ec000a48e08ffe9f0947f3b1f7c8c7e35a1e48d7f1d checkwright-gates
1
+ b698d53a4632d4eacfddec26be927dc84e0201b86cfa85e5e7bae9e48f360cdd checkwright-gates
@@ -1 +1 @@
1
- 49fdcead708cdc858e155178abf92634dfaecda4a10bf21c27e72f4b44c4801d checkwright-gates
1
+ f3c6b31411b8987daf9ed5fe4ad985204bae07223942eae2f7ef1e1a69923ab4 checkwright-gates
package/profiles.list CHANGED
@@ -5,7 +5,7 @@
5
5
  # derived at run time. A hand-maintained "all the kits" roster is drift the day
6
6
  # a kit lands.
7
7
  #
8
- # The rows below are the two rosters that are not derivable, each a judgment
8
+ # The rows below are the rosters that are not derivable, each a judgment
9
9
  # recorded with the criterion that produced it. That split is the whole contract
10
10
  # of this file: **membership is hand-authored and shape is derived.** A row here
11
11
  # says which kits a profile carries; nothing here says how the profiles relate,
@@ -17,8 +17,8 @@
17
17
  # steps. The consumer smoke derives that order from these rows and the payload
18
18
  # and asserts it — every named kit resolves, the bounds are unique, the maximum
19
19
  # is the payload-derived profile, and moving up a comparable pair only ever adds
20
- # to the gate roster. A fourth profile is admitted exactly when it fits; there is
21
- # no count to raise here.
20
+ # to the gate roster. A further profile is admitted exactly when it fits; there
21
+ # is no count to raise here.
22
22
 
23
23
  # starter — the smallest set that reaches a green battery with a working
24
24
  # pre-commit hook and at least one gate that reds on a real consumer defect
@@ -32,18 +32,30 @@
32
32
  # list.
33
33
  starter gate-sdk
34
34
 
35
- # delegation — starter plus every kit whose subject is the agent session
36
- # itself: the stage machine a session runs, the queue it selects work from, the
37
- # evidence a stage must produce before it can close, the protocol it follows
38
- # when it spawns a sub-session, the context budget it runs inside, the
39
- # permission surface it acts through, and the delivery doctrine it follows.
35
+ # workflow — starter, the substrate and starting gates every profile carries,
36
+ # plus the smallest set of workflow kits on which `prove` holds: lifecycle-kit,
37
+ # the stage machine whose stamps make a done claim, and evidence-kit, whose
38
+ # manifest gate catches one made with no recorded test run. starter's gates
39
+ # come with it, gate-sdk's checks over the adopter's own shell among them,
40
+ # since no profile sits below starter; a selection drops them per install.
41
+ # queue-kit is left out: the claim is caught without it, the queue skeleton
42
+ # init seeds for lifecycle-kit carries the sections the claim is staged in,
43
+ # and delegation adds the kit.
44
+ workflow gate-sdk
45
+ workflow lifecycle-kit
46
+ workflow evidence-kit
47
+
48
+ # delegation — workflow plus the rest of the kits whose subject is the agent
49
+ # session itself: the queue it selects work from, the protocol it follows when
50
+ # it spawns a sub-session, the context budget it runs inside, the permission
51
+ # surface it acts through, and the delivery doctrine it follows.
40
52
  #
41
53
  # The honest consequence of the starting-subset rule, stated where the roster is
42
54
  # read rather than only on the install page: lifecycle-kit registers **no gate**
43
55
  # at install, because none of its gates is `zero-config` — for reasons that
44
56
  # differ across the roster rather than one reason covering it
45
- # (installer/SPEC.md §What init seeds). So an adopter who picks this profile
46
- # *for* lifecycle governance gets the stage machinery vendored and nothing
57
+ # (installer/SPEC.md §What init seeds). So an adopter who picks this profile,
58
+ # or `workflow`, *for* lifecycle governance gets the stage machinery vendored and nothing
47
59
  # enforcing it until the surface each gate reads exists — a stage stamp for
48
60
  # most, the kit's own installer for two. Vendored is not yet enforced.
49
61
  delegation gate-sdk