|
| 1 | +// SPDX-License-Identifier: CC-BY-SA-4.0 |
| 2 | +// SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> |
| 3 | += Scanner follow-up update: 10 November 2026 |
| 4 | + |
| 5 | +This record supplements |
| 6 | +link:2026-11-07-scanner-follow-up.adoc[the 7 November receipt] and issue #362. |
| 7 | +It adds observations made on 10 November 2026 and leaves the earlier text |
| 8 | +unchanged. Where it supersedes an earlier statement, it names that statement. |
| 9 | +It reruns no Agda proof and changes no proof claim. |
| 10 | + |
| 11 | +== How the observations were made |
| 12 | + |
| 13 | +* Git: a fresh anonymous clone of `hyperpolymath/panic-attack` (depth 60) and |
| 14 | + a checkout of `hyperpolymath/pons-asinorum` at its `origin/main`. |
| 15 | +* GitHub API, through a session credential scoped to `echo-types` and |
| 16 | + `pons-asinorum`: pull-request records, review threads, reviews, check runs |
| 17 | + with their summaries, and workflow runs with their jobs. |
| 18 | +* Local execution on x86_64 Linux with rustc 1.97.1 (`8bab26f4f`), the |
| 19 | + toolchain that `pons-asinorum` pins. |
| 20 | +* Not available to this session: code-scanning analyses and alerts, the app |
| 21 | + installation inventory, check-suite listings, audit logs, and the |
| 22 | + `panic-attack` pull-request records. Each such item is recorded below as |
| 23 | + inaccessible. An inaccessible record is not a resolved record. |
| 24 | + |
| 25 | +== Findings and disposition |
| 26 | + |
| 27 | +[cols="2,5,4",options="header"] |
| 28 | +|=== |
| 29 | +|Item |Evidence read on 10 November |Disposition |
| 30 | + |
| 31 | +|PANIC attribution per pull request |
| 32 | +|`f2a6a70eaec0cb02331e3264e05f185b5faab0f7` is an ancestor of `origin/main` |
| 33 | +(`36f1055f5b527f085ef70c3a80d42744fc27b2fd`). Its parent chain is |
| 34 | +`f2a6a70` (271), `9d823cb` (270), `acc7a95` (269), `858dfeb` (268), then the |
| 35 | +audit baseline `6d3d52a`. Commit 268 renames the eight colon-named |
| 36 | +`mass-panic-results` reports with unchanged blobs and adds |
| 37 | +`tests/repository_paths.rs` and a Chapel report-name change: eight tracked |
| 38 | +names contain a colon at `6d3d52a`, none at `858dfeb` or later. Commit 269 |
| 39 | +moves the path control to `scripts/ci/check-repository-paths.rs`, wires it |
| 40 | +into `ci-integrity.yml` and adds `docs/echo-362-portability.adoc`. Commit 270 |
| 41 | +removes `scripts/proven/verify-ledger.py` and `scripts/recon/compare.py` and |
| 42 | +adds the Rust helpers under `tools/ci`: two tracked Python files before, none |
| 43 | +after. Commit 271 corrects the recon baseline and ledger verification in |
| 44 | +`tools/ci`. |
| 45 | +|Supplements the 7 November PANIC paragraph, which did not attribute each |
| 46 | +change. The figure of 56 successful checks and eleven declared skips is |
| 47 | +carried from that receipt; it was not read again. The five paused mirrors |
| 48 | +(#363) and the Pages build timeout were not read again and remain unresolved. |
| 49 | + |
| 50 | +|PONS revision on `main` before pull request 74 |
| 51 | +|`origin/main` was `612145d805c6ec519d60fc65e406e9c091462848`, with parent |
| 52 | +`0112b2a407b0fa97190c92f5676aa80ac7048b68` (72) and tree |
| 53 | +`28d2068a3ce40e67daea50090a175d351e7c56ce`. The head of pull request 73, |
| 54 | +`0736865c667870731ef757c66287d136598212f7`, has the same tree. The API record |
| 55 | +of 73 reads closed and merged at 2026-11-07T18:18:38Z, with three commits. |
| 56 | +|Supersedes "PR #73 must complete its final review and merge": 73 is merged |
| 57 | +as a squash with the tested tree, so the scan results recorded for that tree |
| 58 | +apply to that revision. The merge did not wait for the last review thread; |
| 59 | +see the thread table. Git ancestry, not a web view of the pull request, is the |
| 60 | +basis for "on main". The next row records the later revision `d4adad0`. |
| 61 | + |
| 62 | +|Component-equivalent path defect |
| 63 | +|Reproduced at `612145d`. For root `repo` and file `repo/./a.php` the writer |
| 64 | +(`Path::strip_prefix`) keys `a.php`; the reader derived `./a.php`. A report |
| 65 | +that `Engine::scan_files` wrote for `<root>/./sample.php` was rejected by |
| 66 | +`pons validate-report`: `semantic fingerprint mismatch` as 0.5.0 and |
| 67 | +`record/finding mismatch` as its 0.4.0 projection. Also reproduced: |
| 68 | +`repo/./sub/a.php`, `repo//a.php`, `repo/a.php/.`, the root spelling `repo/.`, |
| 69 | +`/tmp/repo/./a.php`, and one file named twice. Not reproduced: the root |
| 70 | +spelling `repo//`, `./a.php` below `.`, and `repo/sub/./a.php`. The Windows |
| 71 | +spelling `repo\.\a.php` does not reproduce on a POSIX writer; no Windows |
| 72 | +writer was run. |
| 73 | +|Repaired on `main`. The owner merged |
| 74 | +https://github.com/hyperpolymath/pons-asinorum/pull/74[pons-asinorum 74] at |
| 75 | +2026-11-10T14:41:28Z as `d4adad08293aa8d0edb1409bb28bb2b4e3d3d0d5`: parent |
| 76 | +`612145d`, tree `4aac3f2c0e1a575ac402962970f3d7c590b12178`, which is the tree |
| 77 | +of the pull-request head `59f3464e654faf5adf28fd8ea46ebb9cc3697911`. The merge |
| 78 | +came before the hosted checks ended. They then completed. On the pull-request |
| 79 | +head, rust-ci run `42836472940` concluded success with its jobs `check`, |
| 80 | +`Windows portability` and `Provenance and coverage`. On `main`, rust-ci run |
| 81 | +`42836649119` concluded success with the same three jobs, and CodeQL run |
| 82 | +`42836648478` and Secret Scanner run `42836649707` concluded success. Both |
| 83 | +`check` and `Windows portability` run a bounded comparison of the native |
| 84 | +writer with the reader: every path of up to six characters over the letter |
| 85 | +`a`, `.` and the host separators, against every root of up to four |
| 86 | +characters. The Windows job leaves out paths that begin with two separators |
| 87 | +and generates no drive prefix. Drive, UNC and verbatim prefixes remain |
| 88 | +ordinary names in the reader, as at `612145d`, and no test covers them. No |
| 89 | +review was obtained: the CodeRabbit check reads cancelled because the pull |
| 90 | +request closed, and Codex reported its usage limit. |
| 91 | + |
| 92 | +|PONS workflows that call the suite |
| 93 | +|On `main` at `d4adad0`, runs `42836648255` (`main-estate-audit.yml`) and |
| 94 | +`42836648268` (`creusot-gate.yml`) concluded failure with no jobs. The same |
| 95 | +two workflows concluded success at `612145d` on 7 November (runs `42400643588` |
| 96 | +and `42400643729`). Their caller files are unchanged between the two commits. |
| 97 | +Both call `hyperpolymath/cicd-suite/.github/workflows/...@bf7dd95c...`; that |
| 98 | +repository name now resolves to `hyperpolymath/proven-cicd-and-workflows`. |
| 99 | +Pull request 74 carried 15 check runs and none from these two workflows. |
| 100 | +|Open, and not caused by the path repair. A run with no jobs is not a pass: |
| 101 | +the estate audit and the Creusot gate did not run on `d4adad0`. The API gives |
| 102 | +no reason for the failure. The suite records the same failure for its own |
| 103 | +caller of the former name; see proven-cicd-and-workflows issue 68. |
| 104 | + |
| 105 | +|CodeQL on `pons-asinorum` |
| 106 | +|Run `42400643452` (workflow CodeQL, push to `main`, head `612145d`), attempt |
| 107 | +2, concluded success. Its attempt 2 jobs `CodeQL Analysis (rust)` |
| 108 | +(`128495831582`) and `CodeQL Analysis (actions)` (`128495831836`) both |
| 109 | +concluded success. The aggregate `CodeQL` check on the head of pull request |
| 110 | +73 still reads neutral. On pull request 74 the aggregate check also read |
| 111 | +neutral; its summary names one configuration as not found, `/language:rust`, |
| 112 | +whose analysis job ended three minutes after that check. It does not name the |
| 113 | +obsolete category. |
| 114 | +|Supersedes "approval is pending" in the 7 November CodeQL paragraph. The |
| 115 | +owner states in issue #362 that approval was given and that the 15 archived |
| 116 | +analyses of the obsolete category were deleted, with the active Actions and |
| 117 | +Rust configurations kept. This session read the runs and the check summary, |
| 118 | +which are consistent with that statement. It could not list analyses or |
| 119 | +alerts, so the deletion and the absence of the old alert are owner-reported, |
| 120 | +not verified here. Historical check records are not rewritten. |
| 121 | + |
| 122 | +|CodeRabbit review of the original audit (360) |
| 123 | +|The API record of 360 reads merged at 2026-11-06T14:35:55Z, head |
| 124 | +`e53960952f89bd5e263fe0eea7d458b1c162cdd3`, 154 changed files. The CodeRabbit |
| 125 | +check on that head is `skipped`. The only review is a comment review from |
| 126 | +GitHub Advanced Security. On pull request 73, CodeRabbit's one review |
| 127 | +requested changes at `2350991` and its check on the final head is neutral. |
| 128 | +|Retrospective review: not obtained. A quota limit or a skipped check is not |
| 129 | +an approval. No paid review was requested. |
| 130 | + |
| 131 | +|App suites and installation inventory |
| 132 | +|The head of 360 carries 39 check runs: 38 successful and the skipped |
| 133 | +CodeRabbit check. This session has no installation or check-suite endpoint, |
| 134 | +so the HTTP 403 probe was not repeated. |
| 135 | +|Unchanged: registration is not health, and suites without completed runs |
| 136 | +remain unverified. |
| 137 | + |
| 138 | +|Echo input rescan |
| 139 | +|Tool: release build of `pons-asinorum` `main` at `d4adad0` (clean), on a |
| 140 | +clean Echo tree at `b6c8b97b40c1cf6489f0c93d2dd6183c30e4d0e4`. `pons scan |
| 141 | +docs/echo-types/prototypes/warrant_debugger_prototype.jsx --no-speculative |
| 142 | +--fail-on error --fail-on-skips --require-language javascript --format json`: |
| 143 | +one file analysed, no findings, no skips, `complete-within-policy`, exit 0. |
| 144 | +The file's SHA-256 is still |
| 145 | +`b69afe5842fc9b4b9b0713f92bbcdfc75200d1f4133c69f25efca52b3c4dde99` and its |
| 146 | +blob is unchanged since `ebde9ac`. `pons scan . --no-speculative --fail-on |
| 147 | +error --format json`: three files analysed, eight heuristic warnings, 23 |
| 148 | +explicit skips, `partial`, exit 0. The same command at Echo `ebde9ac`, run |
| 149 | +with the pull-request build `428e81b`, gives 21 skips; the two added skips are |
| 150 | +`scripts/check-recheck.sh` and `scripts/setup-recheck.sh`. Both reports pass |
| 151 | +`pons validate-report`. |
| 152 | +|Consistent with the 7 November results, now on the merged scanner revision. |
| 153 | +Agda remains outside PONS coverage. |
| 154 | +|=== |
| 155 | + |
| 156 | +== Review threads on pons-asinorum 72 and 73 |
| 157 | + |
| 158 | +Each thread was read from the API and compared with the source at `612145d`. |
| 159 | + |
| 160 | +[cols="2,2,5",options="header"] |
| 161 | +|=== |
| 162 | +|Thread |API state |Disposition at `612145d` |
| 163 | + |
| 164 | +|72, Codex: preserve legacy normalisation for frozen reports |
| 165 | +(`r4502800274`) |
| 166 | +|Resolved |
| 167 | +|Checked and not adopted. Commits `6a20ca7` and `84f58f9` take the parent |
| 168 | +before they replace backslashes, so `/tmp/a\b.py` keys `a/b.py`. Control: |
| 169 | +`posix_boundaries_and_ambiguous_historical_keys_are_preserved`. |
| 170 | + |
| 171 | +|72, Codex: relative POSIX colon names read as drive paths (`r4502800276`) |
| 172 | +|Resolved |
| 173 | +|Addressed. Only a root of the form `X:/` or `X:\` is a drive root. Controls: |
| 174 | +the `a:b\c.py` row of the same test, and absolute CLI roots from 73. |
| 175 | + |
| 176 | +|72, Codex: relative Windows roots on every reader host (`r4502800281`) |
| 177 | +|Resolved |
| 178 | +|Addressed. The reader derives the Windows reading without its own host. |
| 179 | +Controls: `windows_reports_have_the_same_keys_on_every_reader_host` and |
| 180 | +`a_relative_windows_report_validates_on_every_reader_host`. |
| 181 | + |
| 182 | +|73, CodeRabbit: document report-root semantics (`r4503034251`) |
| 183 | +|Resolved |
| 184 | +|Addressed in `bb4cc76`: `ScanReport::root` and `docs/PLAN.adoc` describe |
| 185 | +absolute roots and their checkout details. |
| 186 | + |
| 187 | +|73, CodeRabbit: assert the selected root (`r4503034255`) |
| 188 | +|Resolved |
| 189 | +|Addressed in `bb4cc76`: `relative_cli_inputs_emit_absolute_roots` compares |
| 190 | +each reported root with the expected path. |
| 191 | + |
| 192 | +|73, CodeRabbit: historical keys for ambiguous relative paths |
| 193 | +(`r4503034257`) |
| 194 | +|Resolved, outdated |
| 195 | +|Addressed in `bb4cc76`. Controls: the `repo\sub/a.py` rows and |
| 196 | +`ambiguous_legacy_paths_require_one_consistent_record_and_fingerprint`. |
| 197 | + |
| 198 | +|73, CodeRabbit: relative Windows single-file reports (`r4503034260`) |
| 199 | +|Resolved, outdated |
| 200 | +|Addressed in `bb4cc76`. Controls: the `src\a.py` rows of the same tests. |
| 201 | + |
| 202 | +|73, Codex: forward-slash UNC roots (`r4503122573`) |
| 203 | +|Resolved |
| 204 | +|Addressed in `0736865`. Control: the `//server/share\sample.php` cases. |
| 205 | + |
| 206 | +|73, Codex: align validator candidates with native path stripping |
| 207 | +(`r4503157325`) |
| 208 | +|Unresolved |
| 209 | +|Addressed on `main` by pons-asinorum 74 (`d4adad0`). The thread is still |
| 210 | +marked unresolved; this session did not change a thread on a pull request |
| 211 | +that it did not open. |
| 212 | +|=== |
| 213 | + |
| 214 | +Codex reviewed `bb4cc76` and `0736865` and left comment reviews. A comment |
| 215 | +review is not an approval. |
| 216 | + |
| 217 | +== States that remain explicit |
| 218 | + |
| 219 | +* Agda is outside PONS coverage. |
| 220 | +* SMTP notification is dormant, with its endpoint and egress containment |
| 221 | + unchanged. No credentialed delivery is claimed. |
| 222 | +* Creusot with Pearlite contracts and Verus are OPEN, not run, for the |
| 223 | + scanner repairs. Tests, including the bounded path comparison in |
| 224 | + pons-asinorum 74, are not formal proofs. That comparison does not cover |
| 225 | + longer paths, other characters or Windows prefixes. |
| 226 | +* No service registration, certification or independent human approval is |
| 227 | + claimed. OpenSSF registration remains #191; mirror delivery remains #363. |
| 228 | + |
| 229 | +== Status |
| 230 | + |
| 231 | +Issue #362 remains open. The scanner defects named in it are repaired on |
| 232 | +`main` of both scanners. These items remain: |
| 233 | + |
| 234 | +. The owner marks thread `r4503157325` on pons-asinorum 73 as resolved, or |
| 235 | + records why not. |
| 236 | +. This update receives its review. Pull request 74 was merged without a |
| 237 | + review result; a quota limit or a cancelled check is not an approval. |
| 238 | +. The two PONS workflows that call the former suite name start again and |
| 239 | + report jobs. That repair belongs to the suite and to its callers. |
| 240 | +. The items recorded as inaccessible or not obtained keep those labels, or an |
| 241 | + authorised credential replaces them with a read record. |
0 commit comments