checkwright 0.26.0 → 0.28.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 (87) hide show
  1. package/README.md +7 -7
  2. package/bin/checkwright.ps1 +59 -40
  3. package/bin/checkwright.sh +53 -53
  4. package/package.json +3 -3
  5. package/payload/artifact/aarch64-apple-darwin/checkwright-gates +0 -0
  6. package/payload/artifact/aarch64-apple-darwin/checkwright-gates.sha256 +1 -1
  7. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe +0 -0
  8. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  9. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates +0 -0
  10. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  11. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates +0 -0
  12. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates.sha256 +1 -0
  13. package/payload/artifact/targets.list +29 -16
  14. package/payload/artifact/x86_64-apple-darwin/checkwright-gates +0 -0
  15. package/payload/artifact/x86_64-apple-darwin/checkwright-gates.sha256 +1 -1
  16. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe +0 -0
  17. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  18. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates +0 -0
  19. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  20. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates +0 -0
  21. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates.sha256 +1 -0
  22. package/payload/canon-kit/README.md +3 -1
  23. package/payload/canon-kit/checks/check-citation-link.gate +4 -0
  24. package/payload/canon-kit/checks/check-comment-tier.gate +1 -1
  25. package/payload/canon-kit/checks/check-deprecation-task.gate +1 -1
  26. package/payload/canon-kit/checks/check-docs-page-repeat.gate +4 -0
  27. package/payload/canon-kit/checks/check-spec-pointer.gate +1 -1
  28. package/payload/canon-kit/checks/check-todo-task-liveness.gate +1 -1
  29. package/payload/canon-kit/gate-tests/check-citation-link/bad/expect.txt +6 -0
  30. package/payload/canon-kit/gate-tests/check-citation-link/bad/scripts/canon-config.knobs +2 -0
  31. package/payload/canon-kit/gate-tests/check-citation-link/bad/site/page.md +13 -0
  32. package/payload/canon-kit/gate-tests/check-citation-link/good/expect.txt +1 -0
  33. package/payload/canon-kit/gate-tests/check-citation-link/good/scripts/canon-config.knobs +2 -0
  34. package/payload/canon-kit/gate-tests/check-citation-link/good/site/page.md +28 -0
  35. package/payload/canon-kit/gate-tests/check-comment-tier/bad/.github/workflows/ci.yml +15 -0
  36. package/payload/canon-kit/gate-tests/check-comment-tier/bad/expect.txt +2 -0
  37. package/payload/canon-kit/gate-tests/check-comment-tier/bad/scripts/canon-config.knobs +2 -0
  38. package/payload/canon-kit/gate-tests/check-comment-tier/good/.github/workflows/ci.yml +23 -0
  39. package/payload/canon-kit/gate-tests/check-comment-tier/good/config.yml +2 -0
  40. package/payload/canon-kit/gate-tests/check-comment-tier/good/expect.txt +1 -1
  41. package/payload/canon-kit/gate-tests/check-comment-tier/good/scripts/canon-config.knobs +2 -0
  42. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/expect.txt +2 -0
  43. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/scripts/canon-config.knobs +2 -0
  44. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/page.md +8 -0
  45. package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/expect.txt +1 -0
  46. package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/scripts/canon-config.knobs +2 -0
  47. package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/site/page.md +24 -0
  48. package/payload/context-kit/README.md +2 -2
  49. package/payload/context-kit/gate-tests/check-footprint-fresh/good/docs/footprint.md +2 -0
  50. package/payload/context-kit/templates/session-context.sh +1 -1
  51. package/payload/delegation-kit/README.md +6 -6
  52. package/payload/doctrine-kit/README.md +1 -1
  53. package/payload/drift-kit/README.md +9 -9
  54. package/payload/evidence-kit/README.md +8 -4
  55. package/payload/gate-sdk/README.md +4 -4
  56. package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/docs/enforcement.md +2 -2
  57. package/payload/gate-sdk/templates/gates-workflow.yml +6 -35
  58. package/payload/guard-kit/README.md +4 -4
  59. package/payload/guard-kit/gate-tests/scratch-run.test.sh +3 -2
  60. package/payload/lifecycle-kit/README.md +10 -8
  61. package/payload/lifecycle-kit/gate-tests/boundary-scratch-wipe.test.sh +6 -4
  62. package/payload/lifecycle-kit/gate-tests/capture-linked-worktree.test.sh +53 -0
  63. package/payload/lifecycle-kit/gate-tests/check-stage-entry.test.sh +23 -20
  64. package/payload/lifecycle-kit/gate-tests/check-survey-record/bad/expect.txt +1 -0
  65. package/payload/lifecycle-kit/gate-tests/check-survey-record/bad/record.md +11 -4
  66. package/payload/lifecycle-kit/gate-tests/check-survey-record/good/expect.txt +1 -1
  67. package/payload/lifecycle-kit/gate-tests/check-survey-record/good/record.md +11 -4
  68. package/payload/lifecycle-kit/gate-tests/check-survey-record.test.sh +25 -17
  69. package/payload/lifecycle-kit/gate-tests/stamp-before-write.test.sh +13 -2
  70. package/payload/lifecycle-kit/templates/lead.md +6 -2
  71. package/payload/lifecycle-kit/templates/stages/build.md +1 -1
  72. package/payload/lifecycle-kit/templates/stages/close.md +2 -2
  73. package/payload/lifecycle-kit/templates/stages/scope.md +1 -1
  74. package/payload/lifecycle-kit/templates/stages/spec.md +1 -1
  75. package/payload/queue-kit/README.md +13 -2
  76. package/payload/queue-kit/checks/check-queue-hygiene.gate +1 -1
  77. package/payload/queue-kit/gate-tests/check-queue-hygiene/bad/TASK-QUEUE.md +6 -0
  78. package/payload/queue-kit/gate-tests/check-queue-hygiene/bad/expect.txt +1 -0
  79. package/payload/queue-kit/gate-tests/queue-verbs.test.sh +183 -0
  80. package/payload/site-kit/README.md +5 -2
  81. package/payload/site-kit/checks/check-docs-collapsible.gate +3 -0
  82. package/payload/site-kit/gate-tests/check-docs-collapsible/bad/docs/regions.md +23 -0
  83. package/payload/site-kit/gate-tests/check-docs-collapsible/bad/expect.txt +4 -0
  84. package/payload/site-kit/gate-tests/check-docs-collapsible/good/docs/plain.md +3 -0
  85. package/payload/site-kit/gate-tests/check-docs-collapsible/good/docs/regions.md +26 -0
  86. package/payload/site-kit/gate-tests/check-docs-collapsible/good/expect.txt +1 -0
  87. package/payload/site-kit/templates/site-health.yml +10 -101
package/README.md CHANGED
@@ -1,26 +1,26 @@
1
1
  # Checkwright
2
2
 
3
- The activation path for **Checkwright** — a coding-agent-assisted delivery methodology shipped as installable kits, each listed in the [kit reference](https://checkwright.dev/kits.html).
3
+ The activation path for **Checkwright**, whose kits are listed in the [kit reference](https://checkwright.dev/kits.html).
4
4
 
5
5
  ## What this package is
6
6
 
7
- A one-shot vendoring installer. It copies pinned kit source out of its own payload into your repository and commits it, then prints the commands that finish the setup. What governs your tree afterwards is committed and auditable: every gate arrives with its declaration and the one-line invariant that declaration carries, its `# spec:` pointer, and its `good/`+`bad/` fixture pair, and a gate whose implementation is compiled arrives as a digest-verified binary rather than as source. The specification section behind each pointer is published rather than packed (gate-sdk/SPEC.md §Consumer payload, which rules that and bounds it).
7
+ A one-shot vendoring installer. It copies pinned kit source out of its own payload into your repository and commits it, then prints the commands that finish the setup. What governs your tree afterwards is committed and auditable: every gate arrives with its declaration and the one-line invariant that declaration carries, its `# spec:` pointer, and its `good/`+`bad/` fixture pair, and a gate whose implementation is compiled arrives as a digest-verified binary rather than as source. The specification section behind each pointer is published rather than packed ([gate-sdk/SPEC.md §Consumer payload](https://github.com/checkwright/checkwright/blob/master/gate-sdk/SPEC.md#consumer-payload), which rules that and bounds it).
8
8
 
9
- What it is not: a dependency channel. Nothing resolves at your build time and the installer writes no dependency reference, no registry lockfile entry and no install-time lifecycle script — the contract and what it costs are `installer/SPEC.md` §The dependency boundary.
9
+ What it is not: a dependency channel. Nothing resolves at your build time and the installer writes no dependency reference, no registry lockfile entry and no install-time lifecycle script — the contract and what it costs are [`installer/SPEC.md` §The dependency boundary](SPEC.md#the-dependency-boundary).
10
10
 
11
11
  ## Before you run it
12
12
 
13
- Each transport carries its own requirement, and each belongs to the delivery path alone. The Release tarball needs `curl`, `tar` and either hasher (`sha256sum`, or the `shasum` stock macOS ships instead) on macOS and Linux, and on Windows 10 and later only what the OS ships; npm needs Node, for `npx`. The gate battery this vendors uses none of them, and no delivery-path tool joins the toolchain roster.
13
+ Each transport carries its own requirement, and each belongs to the delivery path alone. The install page's prerequisites block lists each transport's tools and their floors, per system. The gate battery this vendors uses none of them, and no delivery-path tool joins the toolchain roster.
14
14
 
15
15
  The toolchain the battery *does* assert, with its version floors, is on the install page. `checkwright doctor` renders it as an exit status and `init` gates on that before any file is written, so a machine below the floor is refused rather than half-installed.
16
16
 
17
17
  ## Quick start
18
18
 
19
- From a clean git repository, at its root, 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 below it is the step-by-step alternative. Either unpacks outside the repository, because `init` refuses a worktree that is not clean.
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 below it 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 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. `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
- `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 profile 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).
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 profile 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
 
25
25
  Re-running is idempotent and non-destructive. `init` reads the per-file hash `checkwright.lock` recorded: a file still at its recorded hash is rewritten, and one you have changed since is **reported rather than overwritten** unless you pass `--force`. `--dry-run` prints the file plan and the manifest and writes nothing.
26
26
 
@@ -19,6 +19,8 @@ function Die {
19
19
  exit $Code
20
20
  }
21
21
 
22
+ $UNROSTERED_HELP = 'the support roster is fixed at pack time and this platform is not on it, so there is nothing to verify or run here and no adopter action to take.'
23
+
22
24
  # spec: installer/SPEC.md §The install boundary — step 1: the package's own payload directory, resolved from the script's own location through the symlink chain, because npm installs a bin entry as a link and the unresolved path's parent is node_modules
23
25
  function Resolve-InstallerRoot {
24
26
  $self = $PSCommandPath
@@ -53,8 +55,8 @@ function Get-HostShape {
53
55
  return "$os/$arch"
54
56
  }
55
57
 
56
- # spec: installer/SPEC.md §The gate binary — step 2: the twin of installer/bin/checkwright.sh's target_of_host(). It reads the platform and architecture off the runtime rather than shelling out to uname, because the host this half exists for need carry no POSIX shell at all
57
- # spec: installer/SPEC.md §The gate binary — every mapped triple here is the sole single-quoted operand of a `return` and the empty `return ''` is the no-mapping arm, which is the shape check-install-platforms extracts this detector's triple set from
58
+ # spec: installer/SPEC.md §Platform resolution — step 2: the twin of installer/bin/checkwright.sh's target_of_host(). It reads the platform and architecture off the runtime rather than shelling out to uname, because the host this half exists for need carry no POSIX shell at all
59
+ # spec: installer/SPEC.md §Platform resolution — every mapped triple here is the sole single-quoted operand of a `return` and the empty `return ''` is the no-mapping arm, which is the shape check-install-platforms extracts this detector's triple set from
58
60
  function Get-HostTarget {
59
61
  switch -Regex (Get-HostShape) {
60
62
  '^windows/(x64|amd64)$' { return 'x86_64-pc-windows-msvc' }
@@ -67,55 +69,49 @@ function Get-HostTarget {
67
69
  return ''
68
70
  }
69
71
 
70
- # spec: installer/SPEC.md §The gate binary — the libc question, answered beside the other refusals rather than inside the detector: the detector answers which published artifact fits this host's OS and architecture, this answers whether the host's C library is the one that artifact was linked against. pwsh runs on Linux, so this half's Linux arms are reachable and owe the same discriminator against the same signals. Each verdict rests on a POSITIVE signal, so an unidentifiable libc is 'unknown' and refuses rather than being read as glibc
71
- function Get-LibcFlavour {
72
- if (@(Get-ChildItem -Path '/lib' -Filter 'ld-musl-*' -ErrorAction SilentlyContinue).Count -gt 0) {
73
- return 'musl'
72
+ # spec: installer/SPEC.md §Platform resolution — the twin of installer/bin/checkwright.sh's fallback_of_target(): each fallback is the sole single-quoted operand of a `return`, and `return ''` is the no-fallback arm
73
+ function Get-FallbackTarget {
74
+ param([string] $Target)
75
+ switch ($Target) {
76
+ 'x86_64-unknown-linux-gnu' { return 'x86_64-unknown-linux-musl' }
77
+ 'aarch64-unknown-linux-gnu' { return 'aarch64-unknown-linux-musl' }
74
78
  }
75
- foreach ($probe in @(@('getconf', 'GNU_LIBC_VERSION'), @('ldd', '--version'))) {
76
- # comment-tier-exempt: the probe is absent on exactly the hosts this discriminator exists to refuse, and under $ErrorActionPreference='Stop' an absent one is a terminating CommandNotFoundException rather than a verdict — so presence is tested and the invocation is caught, leaving an unanswerable probe as no signal instead of a crash
77
- if (-not (Get-Command $probe[0] -CommandType Application -ErrorAction SilentlyContinue)) { continue }
78
- try { $out = (& $probe[0] $probe[1] 2>&1 | Out-String) } catch { continue }
79
- if ($out -match '(?i)gnu libc|glibc') { return 'gnu' }
79
+ return ''
80
+ }
81
+
82
+ # spec: installer/SPEC.md §Selection — step 4's probe: a start failure is the exception `&` throws, and a non-zero exit is the artifact's own answer
83
+ function Test-ArtifactRuns {
84
+ param([string] $Artifact)
85
+ $ErrorActionPreference = 'Continue'
86
+ $global:LASTEXITCODE = -1
87
+ try {
88
+ $null = & $Artifact --help 2>&1
89
+ return ($LASTEXITCODE -eq 0)
90
+ } catch {
91
+ return $false
80
92
  }
81
- return 'unknown'
82
93
  }
83
94
 
84
- # spec: installer/SPEC.md §The gate binary — step 3: selection keeps three outcomes and only one of them proceeds, so the payload's own roster is read rather than a directory's presence inferred from — a platform never committed to and one whose artifact went missing are different answers, told apart by message and remedy
85
- function Select-Artifact {
86
- param([string] $Payload, [string] $Target)
87
- $shape = Get-HostShape
88
- $unrostered = 'the support roster is fixed at pack time and this platform is not on it, so there is nothing to verify or run here and no adopter action to take.'
95
+ # spec: installer/SPEC.md §Selection — step 3: the payload's own roster is read rather than a directory's presence inferred from — a platform never committed to and one whose artifact went missing are different answers, told apart by message and remedy
96
+ function Get-Roster {
97
+ param([string] $Payload)
89
98
  $dir = Join-Path $Payload 'artifact'
90
99
  if (-not (Test-Path -LiteralPath $dir -PathType Container)) {
91
- Die "this host, detected as $shape, maps to no target this payload declares" $unrostered
100
+ Die "this host, detected as $(Get-HostShape), maps to no target this payload declares" $UNROSTERED_HELP
92
101
  }
93
102
  $roster = Join-Path $dir 'targets.list'
94
103
  if (-not (Test-Path -LiteralPath $roster -PathType Leaf)) {
95
104
  Die 'this payload carries prebuilt gate binaries but no target roster' `
96
105
  'the roster is copied verbatim beside them at pack time; artifacts without one cannot be selected from and the payload is broken, not narrower.'
97
106
  }
98
- # spec: installer/SPEC.md §The gate binary — the one case where the roster comparison cannot refuse for us: .NET's OSPlatform and OSArchitecture cannot tell glibc from musl any more than uname can, so a musl host resolves to a triple that IS on the roster and would be handed a binary that dies in the dynamic loader. This is the second way to reach the unsupported-host refusal, and it fires before the roster comparison because the reason is the same one — no published artifact fits this host
99
- if ($Target -like '*-linux-gnu') {
100
- switch (Get-LibcFlavour) {
101
- 'gnu' { }
102
- 'musl' {
103
- Die "this host, detected as $shape, runs a musl C library, and every Linux artifact this payload carries is linked against glibc" `
104
- 'musl and glibc are not interchangeable at the dynamic loader, so a glibc build would die there rather than run. This payload carries no musl artifact, so there is no adopter action to take.'
105
- }
106
- default {
107
- Die "this host, detected as $shape, did not identify its C library, and every Linux artifact this payload carries is linked against glibc" `
108
- "neither 'getconf GNU_LIBC_VERSION' nor 'ldd --version' identified a GNU libc here, and no musl loader was found under /lib, so nothing establishes that a glibc build would run, and this refuses rather than handing you one that may die in the loader. Install GNU libc's getconf or ldd so the probe can answer."
109
- }
110
- }
111
- }
112
- $declared = @(Get-Content -LiteralPath $roster |
107
+ return @(Get-Content -LiteralPath $roster |
113
108
  Where-Object { $_ -notmatch '^\s*(#|$)' } |
114
109
  ForEach-Object { $_.Trim() })
115
- if (-not $Target -or $declared -notcontains $Target) {
116
- Die "this host, detected as $shape, maps to no target this payload declares" $unrostered
117
- }
118
- $src = Join-Path $dir $Target
110
+ }
111
+
112
+ function Resolve-Pair {
113
+ param([string] $Payload, [string] $Target)
114
+ $src = Join-Path (Join-Path $Payload 'artifact') $Target
119
115
  $names = @(Get-ChildItem -LiteralPath $src -File -ErrorAction SilentlyContinue |
120
116
  Where-Object { $_.Name -notlike '*.sha256' } | Sort-Object Name)
121
117
  if ($names.Count -ne 1 -or -not (Test-Path -LiteralPath ($names[0].FullName + '.sha256') -PathType Leaf)) {
@@ -137,6 +133,31 @@ function Test-ArtifactDigest {
137
133
  }
138
134
  }
139
135
 
136
+ # spec: installer/SPEC.md §Selection — the preferred candidate first; a candidate the roster lacks, or a verified one that does not run, passes to its fallback, and no refusal does
137
+ function Select-Artifact {
138
+ param([string] $Payload)
139
+ $declared = @(Get-Roster -Payload $Payload)
140
+ $target = Get-HostTarget
141
+ $fallback = Get-FallbackTarget -Target $target
142
+ if (-not $target -or $declared -notcontains $target) {
143
+ if (-not $fallback -or $declared -notcontains $fallback) {
144
+ Die "this host, detected as $(Get-HostShape), maps to no target this payload declares" $UNROSTERED_HELP
145
+ }
146
+ $target = $fallback
147
+ $fallback = ''
148
+ }
149
+ $pair = Resolve-Pair -Payload $Payload -Target $target
150
+ Test-ArtifactDigest -Artifact $pair.Path -Sidecar $pair.Sidecar
151
+ if (-not $fallback -or (Test-ArtifactRuns -Artifact $pair.Path)) { return $pair }
152
+ if ($declared -notcontains $fallback) {
153
+ Die "the $target gate binary does not run on this host, and this payload carries no fallback for it" `
154
+ 'no adopter action; report the host, the triple and the release.'
155
+ }
156
+ $pair = Resolve-Pair -Payload $Payload -Target $fallback
157
+ Test-ArtifactDigest -Artifact $pair.Path -Sidecar $pair.Sidecar
158
+ return $pair
159
+ }
160
+
140
161
  $INSTALLER = Resolve-InstallerRoot
141
162
  $PAYLOAD = Join-Path $INSTALLER 'payload'
142
163
  if (-not (Test-Path -LiteralPath $PAYLOAD -PathType Container)) {
@@ -144,9 +165,7 @@ if (-not (Test-Path -LiteralPath $PAYLOAD -PathType Container)) {
144
165
  "the bootstrap runs the gate binary out of the package's own payload/, assembled at pack time; run it from an installed package, not from a source checkout."
145
166
  }
146
167
 
147
- $selected = Select-Artifact -Payload $PAYLOAD -Target (Get-HostTarget)
148
-
149
- Test-ArtifactDigest -Artifact $selected.Path -Sidecar $selected.Sidecar
168
+ $selected = Select-Artifact -Payload $PAYLOAD
150
169
 
151
170
  # spec: installer/SPEC.md §The install boundary — step 5 is execute and not install: the artifact runs in place out of the payload, where the step above just verified it, under one unconditional argv rule — a dashless leading token is prefixed with `--` and everything after it is forwarded verbatim. The rule introduces no verb table into either bootstrap, so the two halves agree on the verb word instead of one forwarding it and the other consuming it
152
171
  $forward = @($args)
@@ -62,13 +62,13 @@ host_arch() { # -> this host's architecture, in `uname -m`'s vocabulary
62
62
  uname -m 2>/dev/null
63
63
  }
64
64
 
65
- # spec: installer/SPEC.md §The gate binary — step 2: which published artifact fits this host. Two
65
+ # spec: installer/SPEC.md §Platform resolution — step 2: which published artifact fits this host. Two
66
66
  # fields rather than `uname -a` because that is the smallest input answering the question and the
67
67
  # one a PowerShell half can answer without parsing prose
68
- # spec: installer/SPEC.md §The gate binary — every mapped triple here is the sole single-quoted
68
+ # spec: installer/SPEC.md §Platform resolution — every mapped triple here is the sole single-quoted
69
69
  # operand of a `printf` and appears nowhere else in this function, which is the shape
70
70
  # check-install-platforms extracts this detector's triple set from
71
- target_of_host() { # -> the Rust target triple this host is, empty when it maps to none
71
+ target_of_host() { # -> the preferred Rust target triple for this host, empty when it maps to none
72
72
  case "$(host_shape)" in
73
73
  Linux/x86_64) printf 'x86_64-unknown-linux-gnu' ;;
74
74
  Linux/aarch64|Linux/arm64) printf 'aarch64-unknown-linux-gnu' ;;
@@ -83,58 +83,31 @@ target_of_host() { # -> the Rust target triple this host is, empty when it map
83
83
  esac
84
84
  }
85
85
 
86
- # spec: installer/SPEC.md §The gate binary — the libc question, answered beside the other refusals
87
- # rather than inside the detector: two questions, two places, and each verdict rests on a POSITIVE
88
- # signal, so an unidentifiable libc refuses rather than being read as glibc
89
- libc_flavour() { # -> musl | gnu | unknown
90
- for libc_ld in /lib/ld-musl-*; do
91
- [ -e "$libc_ld" ] && { printf 'musl'; return; }
92
- done
93
- if getconf GNU_LIBC_VERSION >/dev/null 2>&1 \
94
- || ldd --version 2>&1 | grep -qiE 'gnu libc|glibc'; then
95
- printf 'gnu'
96
- return
97
- fi
98
- printf 'unknown'
86
+ # spec: installer/SPEC.md §Platform resolution — the loader answers the libc question: a preferred
87
+ # triple's fallback is taken when its verified artifact does not run. Each fallback is the sole
88
+ # single-quoted operand of a `printf`, the shape check-install-platforms extracts
89
+ fallback_of_target() { # <triple> -> the triple selection falls back to, empty when it has none
90
+ case "$1" in
91
+ x86_64-unknown-linux-gnu) printf 'x86_64-unknown-linux-musl' ;;
92
+ aarch64-unknown-linux-gnu) printf 'aarch64-unknown-linux-musl' ;;
93
+ *) : ;;
94
+ esac
99
95
  }
100
96
 
101
- # spec: installer/SPEC.md §The gate binary — step 3: selection keeps three outcomes and only one
102
- # of them proceeds, and they stay told apart by message and remedy rather than by exit status alone
103
- # — an undeclared host and a broken payload remain different answers to an adopter
97
+ UNROSTERED_HELP="the support roster is fixed at pack time and this platform is not on it, so there is nothing to verify or run here and no adopter action to take."
98
+
99
+ # spec: installer/SPEC.md §Selection — 0 when the payload's roster carries the triple
100
+ rostered() { # <triple>
101
+ [ -n "$1" ] && grep -Ev '^[[:space:]]*(#|$)' "$PAYLOAD/artifact/targets.list" | grep -qxF "$1"
102
+ }
103
+
104
+ # spec: installer/SPEC.md §Selection — step 3: the outcomes stay told apart by message and remedy
105
+ # rather than by exit status alone — an undeclared host and a broken payload remain different
106
+ # answers to an adopter
104
107
  ARTIFACT=""
105
- select_artifact() {
106
- sel_dir="$PAYLOAD/artifact"
107
- sel_target="$(target_of_host)"
108
- if [ ! -d "$sel_dir" ]; then
109
- die "this host, detected as $(host_shape), maps to no target this payload declares" \
110
- "the support roster is fixed at pack time and this platform is not on it, so there is nothing to verify or run here and no adopter action to take."
111
- fi
112
- sel_roster="$sel_dir/targets.list"
113
- [ -f "$sel_roster" ] || die "this payload carries prebuilt gate binaries but no target roster" \
114
- "the roster is copied verbatim beside them at pack time; artifacts without one cannot be selected from and the payload is broken, not narrower."
115
- # spec: installer/SPEC.md §The gate binary — the one case where the roster grep cannot refuse
116
- # for us: `uname` cannot tell glibc from musl, so a musl host resolves to a triple that IS on
117
- # the roster and would be handed a binary that dies in the dynamic loader
118
- case "$sel_target" in
119
- *-linux-gnu)
120
- case "$(libc_flavour)" in
121
- gnu) : ;;
122
- musl)
123
- die "this host, detected as $(host_shape), runs a musl C library, and every Linux artifact this payload carries is linked against glibc" \
124
- "musl and glibc are not interchangeable at the dynamic loader, so a glibc build would die there rather than run. This payload carries no musl artifact, so there is no adopter action to take."
125
- ;;
126
- *)
127
- die "this host, detected as $(host_shape), did not identify its C library, and every Linux artifact this payload carries is linked against glibc" \
128
- "neither 'getconf GNU_LIBC_VERSION' nor 'ldd --version' identified a GNU libc here, and no musl loader was found under /lib, so nothing establishes that a glibc build would run, and this refuses rather than handing you one that may die in the loader. Install GNU libc's getconf or ldd so the probe can answer."
129
- ;;
130
- esac
131
- ;;
132
- esac
133
- if [ -z "$sel_target" ] || ! grep -Ev '^[[:space:]]*(#|$)' "$sel_roster" | grep -qxF "$sel_target"; then
134
- die "this host, detected as $(host_shape), maps to no target this payload declares" \
135
- "the support roster is fixed at pack time and this platform is not on it, so there is nothing to verify or run here and no adopter action to take."
136
- fi
137
- sel_src="$sel_dir/$sel_target"
108
+ resolve_pair() { # <triple> -> sets ARTIFACT to the rostered triple's one binary, or refuses
109
+ sel_target="$1"
110
+ sel_src="$PAYLOAD/artifact/$sel_target"
138
111
  # spec: installer/SPEC.md §The gate binary — a glob rather than `find`, so no primary can
139
112
  # disagree between GNU and BSD; it skips dotfiles, so a stray one is not a second artifact
140
113
  sel_count=0
@@ -151,6 +124,34 @@ select_artifact() {
151
124
  ARTIFACT="$sel_src/$sel_name"
152
125
  }
153
126
 
127
+ # spec: installer/SPEC.md §Selection — the preferred candidate first; a candidate the roster lacks,
128
+ # or a verified one that does not run, passes to its fallback, and no refusal does
129
+ select_artifact() {
130
+ [ -d "$PAYLOAD/artifact" ] \
131
+ || die "this host, detected as $(host_shape), maps to no target this payload declares" "$UNROSTERED_HELP"
132
+ [ -f "$PAYLOAD/artifact/targets.list" ] || die "this payload carries prebuilt gate binaries but no target roster" \
133
+ "the roster is copied verbatim beside them at pack time; artifacts without one cannot be selected from and the payload is broken, not narrower."
134
+ cand_target="$(target_of_host)"
135
+ cand_fallback="$(fallback_of_target "$cand_target")"
136
+ if ! rostered "$cand_target"; then
137
+ rostered "$cand_fallback" \
138
+ || die "this host, detected as $(host_shape), maps to no target this payload declares" "$UNROSTERED_HELP"
139
+ cand_target="$cand_fallback"
140
+ cand_fallback=""
141
+ fi
142
+ resolve_pair "$cand_target"
143
+ verify_digest
144
+ [ -n "$cand_fallback" ] || return 0
145
+ # spec: installer/SPEC.md §Selection — step 4's probe, run only on a verified candidate that has
146
+ # a fallback: a glibc below the artifact's floor or a host with no glibc loader fails it
147
+ "$ARTIFACT" --help >/dev/null 2>&1 && return 0
148
+ rostered "$cand_fallback" \
149
+ || die "the $cand_target gate binary does not run on this host, and this payload carries no fallback for it" \
150
+ "no adopter action; report the host, the triple and the release."
151
+ resolve_pair "$cand_fallback"
152
+ verify_digest
153
+ }
154
+
154
155
  # spec: installer/SPEC.md §The install boundary — step 4, the one step that cannot use the binary
155
156
  # to verify the binary: a host carrying neither `sha256sum` nor `shasum` is refused rather than
156
157
  # served an unverified artifact. Behind the invoke the crate hashes in-process
@@ -176,7 +177,6 @@ verify_digest() {
176
177
  }
177
178
 
178
179
  select_artifact
179
- verify_digest
180
180
 
181
181
  # spec: installer/SPEC.md §The install boundary — step 5: execute the verified artifact in place
182
182
  # out of the payload, under one unconditional argv rule — a dashless leading token is prefixed with
package/package.json CHANGED
@@ -4,10 +4,10 @@
4
4
  "checkwright-pwsh": "bin/checkwright.ps1"
5
5
  },
6
6
  "checkwright": {
7
- "commit": "63ae2a553bf4b658eca527cfbce6566f9a89cb0d",
7
+ "commit": "3ba01c85b1b34754bf344e8e61d8a2c17fdab5ad",
8
8
  "spec_base_url": "https://checkwright.dev"
9
9
  },
10
- "description": "Vendors pinned Checkwright kit source into your repository and commits it — a coding-agent-assisted delivery methodology (gate SDK, evidence-stamped lifecycle, agent context economics).",
10
+ "description": "Deterministic verification for coding-agent delivery. Checkwright is the verification layer under agent orchestration: spec drift, skipped stages, and unsupported done claims become failing checks before a merge, instead of review findings after one.",
11
11
  "files": [
12
12
  "bin/",
13
13
  "payload/",
@@ -21,5 +21,5 @@
21
21
  "type": "git",
22
22
  "url": "git+https://github.com/checkwright/checkwright.git"
23
23
  },
24
- "version": "0.26.0"
24
+ "version": "0.28.0"
25
25
  }
@@ -1 +1 @@
1
- 0c987650f5302c4eab6c69ecb6d5aebae57b764aa257fcda0e021d720e99e67a checkwright-gates
1
+ 5a95e30dd36b7a4e55e055a23fb7aa6dce97c91d3787ec5cb2df665a7eb7abb7 checkwright-gates
@@ -1 +1 @@
1
- 679ba767e654a1a781c4d2e386da4de72ed1dc0e1a4a8f702c890112afa1dee0 *checkwright-gates.exe
1
+ 1b83533d3906adce31dfa437873fbab50b499dd410cc734ef53fe50d7f4f678e *checkwright-gates.exe
@@ -1 +1 @@
1
- f00a5a102492967aa5af89f9e30898b47eff665fb509b8dc809ca0b34b906c0d checkwright-gates
1
+ ff500fad876958ebcd509d9fc9901602785c2431dd652439389dd72e242894ed checkwright-gates
@@ -0,0 +1 @@
1
+ 3095cb53d1441382c632c1e19dcc7eca7bf9dbd226209fbb770094678f8478db checkwright-gates
@@ -6,13 +6,9 @@
6
6
  # copy of it to tell "this platform was never committed to" (a refusal that names
7
7
  # the platform and asks nothing of the adopter) from "committed to, artifact
8
8
  # missing" (a refusal that names a broken payload). Both refuse; neither proceeds.
9
- # That promise had exactly one violation and it is closed: neither `uname` nor
10
- # .NET's OSArchitecture can tell glibc from musl, so a musl x86_64 host resolved
11
- # to a rostered triple, the roster comparison never fired, and the adopter was
12
- # handed a binary that dies in the dynamic loader. Both bootstraps now answer the
13
- # libc question at the selection step — musl and an unidentifiable libc each
14
- # refuse by name — so the sentence above describes a promise without an exception
15
- # rather than one a reader should assume never had one.
9
+ # Each Linux architecture carries two lines: a glibc artifact the bootstrap
10
+ # prefers where it runs, and a static musl artifact that runs on any Linux
11
+ # kernel at its floor (installer/SPEC.md §Selection).
16
12
  #
17
13
  # WHAT LICENSES A LINE HERE, stated mechanically so the session that observes
18
14
  # the green executes rather than re-derives. A target <T> joins when ONE run,
@@ -45,8 +41,8 @@
45
41
  #
46
42
  # **Ruled by the OPERATOR 2026-09-07**, through the lead's question relay in a
47
43
  # lead session and lead-relayed. The alternative — reading one green macOS
48
- # install-smoke leg as sufficient — was put and refused, on the ground that the
49
- # leg's own header pre-refuses exactly that reading. A later session finding the
44
+ # install-smoke leg as sufficient — was put and refused, on the ground that
45
+ # installer/SPEC.md §The consumer smoke pre-refuses exactly that reading. A later session finding the
50
46
  # textual case persuasive is reading a settled question.
51
47
  #
52
48
  # THE OWNER OF THE WIDENING IS THE PREDICATE ABOVE, not a queue entry. An entry
@@ -68,11 +64,11 @@
68
64
  # missing is a run bought on one, not a machine to buy it on. Measured
69
65
  # 2026-08-25. A header claiming the workflows have no runner for a platform
70
66
  # would be reading a fact about this repo as a fact about the world.
71
- # - Cross-compiling a target from the Linux runner is refused for the reason
67
+ # - A build for a target its runner cannot execute is refused for the reason
72
68
  # the bound gives rather than on cost: it would publish an artifact no run
73
69
  # has ever executed. `native-artifacts` therefore builds each target on that
74
- # target's own platform (native/runners.list) and never with `--target`
75
- # pointed off the host.
70
+ # target's own platform (native/runners.list). The musl build on its own
71
+ # architecture's Linux runner is within the rule: that runner executes it.
76
72
  # - WSL is Linux and resolves to this same target, so docs/install.md
77
73
  # §Requirements' Windows-through-WSL route is served by the Linux line and
78
74
  # keeps being served by it. That route is a CHOICE beside native Windows
@@ -83,11 +79,26 @@
83
79
  # hand-off, sidecar and all — nothing rebuilt, nothing rehashed` — reached
84
80
  # the artifact-present branch at every profile and finished
85
81
  # `INSTALLER-SMOKE: clean`. Both halves, one run, no host-built stand-in.
86
- # - The two arm64 lines rest on run 36016548706, one run for both: each
87
- # `native-artifacts` leg built its triple on its own runner, and each arm64
82
+ # - The arm64 Windows line rests on run 36016548706, which also joined the
83
+ # retired arm64 glibc Linux line: each `native-artifacts` leg built its
84
+ # triple on its own runner, and each arm64
88
85
  # install-smoke leg adopted THAT upload from the hand-off, reached the
89
86
  # artifact-present branch (`artifact: <triple> verified in place`) at every
90
87
  # profile and finished `INSTALLER-SMOKE: clean`.
88
+ # - The two musl lines rest on run 36309690552, one run for both: each
89
+ # `native-artifacts` leg built its triple on its own runner and printed
90
+ # `static, no loader or shared library needed`, and each Linux install-smoke
91
+ # leg adopted THAT upload from the hand-off, reached the artifact-present
92
+ # branch at every profile and finished `INSTALLER-SMOKE: clean`; the x86_64
93
+ # leg also ran the artifact on an alpine and a glibc 2.36 debian host.
94
+ # - The two gnu lines rest on run 36350318698, one run for both: each
95
+ # `native-artifacts` leg built its triple on its pinned ubuntu-24.04 image
96
+ # and measured `glibc 2.39`, equal to the declared floor, and each Linux
97
+ # install-smoke leg, steered at its gnu triple, adopted THAT upload from the
98
+ # hand-off, reached the artifact-present branch at every profile and
99
+ # finished `INSTALLER-SMOKE: clean`, its fallback cases passing to the musl
100
+ # line; the x86_64 leg's gnu artifact exited non-zero on the alpine and the
101
+ # glibc 2.36 debian host, where selection passes to that fallback.
91
102
  #
92
103
  # This is not a narrowing of the direction — the adopter constraints
93
104
  # (gate-sdk/SPEC.md §The adopter constraints) are the direction and this roster
@@ -118,9 +129,11 @@
118
129
  # nothing on that path, and one on a class they do not costs its own floor first.
119
130
  # gate-sdk/SPEC.md §Consumer payload owns both halves;
120
131
  # installer/SPEC.md §The consumer smoke owns the smoke's own side of it.
121
- x86_64-unknown-linux-gnu
132
+ x86_64-unknown-linux-musl
122
133
  aarch64-apple-darwin
123
134
  x86_64-apple-darwin
124
135
  x86_64-pc-windows-msvc
125
- aarch64-unknown-linux-gnu
136
+ aarch64-unknown-linux-musl
126
137
  aarch64-pc-windows-msvc
138
+ x86_64-unknown-linux-gnu
139
+ aarch64-unknown-linux-gnu
@@ -1 +1 @@
1
- 170d25698021fd1c7ca4e41d078f86cd9909b1d1ce231128062e76f2021b1ca1 checkwright-gates
1
+ 1fe5f89735b7a51f75e1601b0b0583793b7c948c00afdccd815fd200ce0148c4 checkwright-gates
@@ -1 +1 @@
1
- 8aeccae2fbde2764312f207e1051fb590025ea98b450db517205e6a11f9a7999 *checkwright-gates.exe
1
+ cbef3e8c86e0936a0dcb6e0fcaa5d9a341f869fc2f9d519ebef69a5269d1939f *checkwright-gates.exe
@@ -1 +1 @@
1
- 463f20cdbdc3bd0e41042b5dedff034a396de55d1c46b973d78aff5e462f3326 checkwright-gates
1
+ d5cb8d63693561a330f520dd29851194568dae9b556f388b492fe7feb6a5101d checkwright-gates
@@ -0,0 +1 @@
1
+ fe309c78f8d1a7e90d501dab510ad1405cf7fa1ef4997198cb7ae81a5f0878f8 checkwright-gates
@@ -4,7 +4,7 @@ Spec discipline for agent-authored components: one canonical spec per component,
4
4
 
5
5
  Why: when a coding agent authors the specs, design rationale gets re-derived under build pressure unless it is captured up front, and a parallel copy of any gated fact is an un-gateable second source that drifts silently. The remedy is a lifecycle (amendments authored up front, merged and deleted at build) plus gates over the mechanically-decidable copy failures — a doubled Definition-of-Done, a banned-heading code dump, a fenced block that verbatim-copies a source file, a glossary definition restated on another surface, a feature task with no amendment. See [SPEC.md](https://checkwright.dev/canon-kit/SPEC) for the full contracts.
6
6
 
7
- This file ships in the installer payload; what that payload withholds, and where this page's `SPEC.md` links then resolve, is gate-sdk/SPEC.md §Consumer payload.
7
+ This file ships in the installer payload; what that payload withholds, and where this page's `SPEC.md` links then resolve, is [gate-sdk/SPEC.md §Consumer payload](https://github.com/checkwright/checkwright/blob/master/gate-sdk/SPEC.md#consumer-payload).
8
8
 
9
9
  ## Install
10
10
 
@@ -26,6 +26,8 @@ Vendor the kit beside [gate-sdk](../gate-sdk/) (required); the queue-facing gate
26
26
  check-todo-task-liveness # resolves TODO(task:) slugs against the queue
27
27
  check-docs-cmd # invoked paths + kit knobs in docs resolve
28
28
  check-docs-restatement-parity # needs restating pages (their code tokens held to the README beside each)
29
+ check-docs-page-repeat # needs declared pages (no link target or long sentence stated twice on one)
30
+ check-citation-link # needs declared pages (every section citation links its section)
29
31
  check-fence-command-head # every shell-fence command starts with a word that can run
30
32
  check-fence-run # every shell fence marked runnable runs and exits as declared
31
33
  check-knob-citation # knob values stated only in the owning SPEC
@@ -0,0 +1,4 @@
1
+ # graph: couples=knob:CANON_KIT_CITATION_LINK_PAGES dir=one valve=none tier=precommit
2
+ # install: zero-config
3
+ # armed-by: CANON_KIT_CITATION_LINK_PAGES
4
+ # spec: canon-kit/SPEC.md §check-citation-link — on a page CANON_KIT_CITATION_LINK_PAGES declares, every section citation sits in a link's text, and a link whose text carries a citation targets the section it names
@@ -1,3 +1,3 @@
1
- # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_COMMENT_SURFACE dir=one valve=none tier=precommit
1
+ # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
3
  # spec: canon-kit/SPEC.md §check-comment-tier — every full-line comment on a governed surface is a machine/reason directive, rides a directive's bounded window, is comment-tier-exempt, or justifies a positional construct
@@ -1,4 +1,4 @@
1
- # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE dir=one valve=none tier=precommit
1
+ # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
2
  # install: on-surface
3
3
  # armed-by: CANON_KIT_DEPRECATION_MARKERS
4
4
  # spec: canon-kit/SPEC.md §check-deprecation-task — every deprecation marker on a governed source binds task: <slug> to a live queue task
@@ -0,0 +1,4 @@
1
+ # graph: couples=knob:CANON_KIT_PAGE_REPEAT_PAGES dir=one valve=none tier=precommit
2
+ # install: zero-config
3
+ # armed-by: CANON_KIT_PAGE_REPEAT_PAGES
4
+ # spec: canon-kit/SPEC.md §check-docs-page-repeat — no declared page states a relative link target, or a sentence of CANON_KIT_PAGE_REPEAT_MIN_WORDS words or more, twice
@@ -1,3 +1,3 @@
1
- # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_COMMENT_SURFACE dir=one valve=none tier=precommit
1
+ # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
3
  # spec: canon-kit/SPEC.md §check-spec-pointer — every spec:/contract: directive on a governed source and every free-prose §<heading> citation on a governed manifest resolves, against its tracked path or link target when it names one and against the manifest set otherwise, and no manifest file carries one title twice
@@ -1,3 +1,3 @@
1
- # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE dir=one valve=none tier=precommit
1
+ # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
3
  # spec: canon-kit/SPEC.md §check-todo-task-liveness — every TODO(task: <slug>) marker on a governed source resolves to a live queue task, stale-flagged on a done slug
@@ -0,0 +1,6 @@
1
+ site/page.md:3: unlinked citation: kit/SPEC.md §Requirements.
2
+ site/page.md:5: unlinked citation: kit/SPEC.md §The hosted pin`.
3
+ site/page.md:7: unlinked citation: [SPEC.md](kit/SPEC.md) §The upgrade contract.
4
+ site/page.md:9: unlinked citation: §Requirements lists.
5
+ site/page.md:11: citation link carries no #anchor
6
+ site/page.md:13: citation link's #anchor names another section
@@ -0,0 +1,2 @@
1
+ # spec: canon-kit/SPEC.md §check-citation-link — fixture consumer config: every page under site/ is declared
2
+ CANON_KIT_CITATION_LINK_PAGES[] = site/*.md
@@ -0,0 +1,13 @@
1
+ # A page whose citations are text
2
+
3
+ The floor is kit/SPEC.md §Requirements.
4
+
5
+ The pin is `kit/SPEC.md §The hosted pin`.
6
+
7
+ The contract is [SPEC.md](kit/SPEC.md) §The upgrade contract.
8
+
9
+ The tools §Requirements lists.
10
+
11
+ The boundary is [`kit/SPEC.md` §The dependency boundary](kit/SPEC.md).
12
+
13
+ The verbs are [`kit/SPEC.md` §The front door's verbs](kit/SPEC.md#the-dependency-boundary).
@@ -0,0 +1 @@
1
+ CITATION-LINK: clean (1 page(s), 3 linked citation(s), 3 admitted later mention(s), 1 valved
@@ -0,0 +1,2 @@
1
+ # spec: canon-kit/SPEC.md §check-citation-link — fixture consumer config: every page under site/ is declared
2
+ CANON_KIT_CITATION_LINK_PAGES[] = site/*.md