Skip to content

History

Revisions

  • Audit tracker: A201, one connection per seat rather than per turn The cloud engine's client is built once per engine and its session closes itself, so the handshake and the pool are reused across turns instead of rebuilt and left behind.

    @Pummelchen Pummelchen committed Sep 15, 2026
    bc17d69
  • Audit tracker: A175, and the connection reason it was hiding A failed start no longer stores a disconnected client, and a control that finds nothing to send through keeps the reason on screen rather than replacing it with a symptom.

    @Pummelchen Pummelchen committed Sep 15, 2026
    19da4b6
  • Audit tracker: A174, and the refusal the finding mis-stated A refused send no longer discards the moderator's draft on either front end, and the tracker records that the refusals are not "paused or stopped" as the entry had it: steering a stopped conversation is how one is started, so the two reachable refusals are an empty message and one over the engine's 2 000-character limit.

    @Pummelchen Pummelchen committed Sep 15, 2026
    c39c591
  • Audit tracker: A215, A170 and A216, and the counts they move A215 and A216 are the two findings this session's transport work produced: the installer's smoke test had never passed here because its first connect attempt spent the whole budget before the engine had bound its port (the identity mismatch it was opened for was real, but was not the cause), and a transport failure was reported as a case index rather than as the sentence the transport wrote. A170 closes with them: both near-zero coverage paths are now covered, TransportCheck.swift at 88.46 % of lines and WebTools.swift at 57.95 %. The per-target paragraph now names the column it quotes — the gate prints LLVM's *region* coverage, and the per-target numbers beside it are line coverage — because the previous wording called 77.08 % a line figure, which the report does not say.

    @Pummelchen Pummelchen committed Sep 15, 2026
    df542c2
  • Audit tracker: bring the re-audit counts up to date The page said 212 tasks with 142 done and 5 S1 open. The ledger is at 213 tasks, 161 done, 0 S0, 0 S1. Also notes what is now fixed that the page still listed as open (A133's Metal toolchain component and A165's live text) and what a user would notice among the remaining findings.

    ChatBots audit committed Sep 15, 2026
    bb36108
  • Audit tracker: read the coverage figure per target The re-audit's baseline said 77.08% of Sources/ lines and the number now reads 55.69%. The difference is the application target entering the report, which happened when the coverage gate was fixed to measure every test bundle rather than one hardcoded name. ChatBotsCore is unchanged at 83.61%; ChatBotsApp is 1.65% because it is mostly views. Recorded so the smaller number is not read as a regression, and so nobody compares the two figures as if they measured the same thing.

    ChatBots audit committed Sep 15, 2026
    762d8df
  • Trackers: the second audit is running, and two open items are user-visible The toolchain moved to macOS 27 / Xcode 27 / Swift 6.4 and the macOS 26 SDK is gone, so the audit was re-run against it. Both tracker pages said the audit was finished; they now lead with the re-audit and keep the 2026-09-13 result below a clear boundary. Audit tracker: where the re-audit stands (212 tasks, 142 done, 0 blocked), the two S0s it found and fixed, what is still open that a user or a reviewer would notice, and a changelog for the re-audit including A133, A210, A211 and A212. What is left to do: the app-level fixes from the first audit are still fixed; the two items a user would notice are A133 (Xcode 27 needs the Metal toolchain component, and nothing says so) and A165 (the website shows nothing until the turn ends).

    ChatBots audit committed Sep 15, 2026
    d3c3866
  • Trackers: bring both up to date with the finished audit `What-is-left-to-do.md` — the public tracker — said "128 tasks, all done", which was written before the four tasks the landing itself produced (A129–A132), so the one number on the page a reader would check was wrong. It now says 132. It also stopped at the pre-audit work. Added: the audit and its four user-visible outcomes (share links that work in the shipped deployment; an installer that refuses a Mac the app cannot run on; flags that name a bad value instead of silently keeping a default; the bundle's third-party attribution), and one more accepted limit — a share link started by the app rather than by `tools/start.sh` keeps the loopback address, so it opens on this Mac and not from a phone. The engine cannot know which address a phone would use; that is what `--share-base` is for. `Audit-tracker.md` — its status tables were already rendered from `ledger.json` (132 done, none open). Two things were not: the intro now says the branch is kept in step with `main` rather than landed and frozen, and the row that announced the audit complete names its count as the count *that morning*, so it cannot be read as contradicting the 132 above it. Checked rather than assumed: every ledger task appears in the Done table (132 of 132), the open section reads "none", and the only other audit figure on the public page is a dated verification record.

    @Pummelchen Pummelchen committed Sep 14, 2026
    32abd08
  • Audit tracker: the branch moves with main, not frozen at the landing Corrects the landing row — the branch is kept in step with `main` rather than kept as a separate record — and adds the entry for the change. Two names for one body of work at different commits means a reader has to work out which is newer, and a fix pushed to one silently misses the other.

    @Pummelchen Pummelchen committed Sep 14, 2026
    c241e58
  • What is left: record what CodeQL actually does, so a slow job is not read as a stuck one Measured on `main`: the Swift CodeQL job **succeeds** in ~34 minutes, because its autobuild compiles the whole package including MLX and WebTransport, while the python, javascript-typescript and actions legs finish in one to two minutes. A CodeQL check that sits in progress for half an hour after a push is normal; the page now says so, because it was misread as a stuck queue. Also recorded: the eleven `swift/path-injection` alerts were all in `.build/checkouts/swift-huggingface` (dependency code) and are dismissed, and Swift code scanning has found **one real thing in this repository** — `swift/command-line-injection` at the `openssl` invocation in `CertificateStore.swift`, fixed by passing an argument vector rather than a shell string. That is why the half hour is worth spending. The scoped repair is written down with its cost rather than left as a wish: move Swift out of default setup into an advanced-setup workflow with `paths-ignore: .build`, which removes the recurring dismissals but replaces a GitHub-managed setup with one this repository maintains.

    @Pummelchen Pummelchen committed Sep 13, 2026
    7be3e7c
  • Audit tracker: landed on main, 132 of 132 done, and accepted there Status tables re-rendered from `ledger.json`: **Open — none**, 132 done, 0 blocked. The page now opens by saying the audit was landed on `main` as a fast-forward, and the earlier changelog row that recorded `main` as untouched says what it was true of. New entries: the landing and why a fast-forward rather than a squash (the per-task commits are what `verify-done-commits.sh` resolves, so squashing would break the audit's own gate); the three defects found by asking whether the CI had ever run (A129–A131, including an install step that died on `gitleaks: command not found` after installing it); the acceptance script refusing the branch the code now lives on (A132); and the acceptance itself — 23 passed, 0 failed on `main` at `73eac3bd`.

    @Pummelchen Pummelchen committed Sep 13, 2026
    f1fda35
  • Audit tracker: the audit is complete — 128 of 128 done, Phase E green Status tables re-rendered from `ledger.json`: **Open — none**, 128 done, 0 blocked. The source-of-truth statement is corrected to match the repository (A118): `ledger.json` is the authority and this page mirrors it. Changelog entries for this session: the guard that checked nothing (A117); the ledger page that was 90 tasks out of date (A118); the two engines that satisfied the protocol by name and not by shape (A115); the flags that did not do what they said (A113, A114, A122); the Network.framework abort, reproduced and serialised rather than retried (A102, A108); the app's engine fighting Caddy for a port it did not use (A120); the third-party notices (A77); the share link that resolved and still did not work (A99); and the five defects in the Phase E gates plus the one in its own green summary (A123–A128). Two pages about behaviour this session changed: * `Keeping-and-sharing` — the link now carries the address you are already using, so a link copied on a phone opens for the network rather than pointing at the engine's loopback port. * `How-it-works` — "a share link is local" is no longer the whole truth: it is not published and not private to this Mac either. * `What-is-left-to-do` — the audit is complete, and the app's third-party attribution is recorded where the licence is discussed.

    @Pummelchen Pummelchen committed Sep 13, 2026
    135dac5
  • Audit tracker: 109 of 116 done, every S0 and S1 fixed — paused for a machine move, handover in the repository

    André Borchert committed Sep 13, 2026
    14debc3
  • Audit tracker: 102 done, 12 open — the app layer, the CLI, and Dropbox corrupting the working copy

    André Borchert committed Sep 13, 2026
    227ec77
  • Audit tracker: 77 done, 28 open — every S1 fixed, and the promise-binding pattern

    André Borchert committed Sep 13, 2026
    4e19ddf
  • Audit tracker: every S1 fixed, 54 done / 44 open — and four residuals recorded rather than smoothed over

    André Borchert committed Sep 13, 2026
    0533dc9
  • Audit tracker: 46 done, 45 open — and the pattern in the audit's own five defects

    André Borchert committed Sep 13, 2026
    3164b4a
  • Audit tracker: 40 done, 47 open — and why parallel Swift lanes cannot be isolated

    André Borchert committed Sep 13, 2026
    54e2408
  • Audit tracker: 35 done, 51 open — including two defects the audit found in itself

    André Borchert committed Sep 13, 2026
    6888b06
  • Audit tracker: 27 done, 56 open — and two defects found in the audit's own tooling

    André Borchert committed Sep 13, 2026
    e7471f4
  • audit(A11): state what running the website exposes, and correct the engine/Caddy claim How-it-works said the engine 'is never exposed to the network beyond what you ask for', which is true of the engine and false of Caddy in front of it: the host-less site address makes Caddy listen on every interface, and the API has no authentication. It now distinguishes the two and states what a peer on the network can do, with --local-only as the opt-out. Using-the-website had the same claim ('Nothing is exposed to the network beyond what you ask for'), and now states the exposure in 'What is running', where the phone instructions are, and in its troubleshooting note; the --local-only flag is listed with the other start options. Home, Installing and Troubleshooting carry the same short note wherever the website is started or recommended. Tone is factual: phone access is a feature, and the point is that its cost is visible.

    André Borchert committed Sep 13, 2026
    13ea37b
  • Audit tracker: A03 and A04 closed — warnings are errors, and CI enforces what CI can

    André Borchert committed Sep 13, 2026
    9d77d0b
  • Audit tracker: Phase B completed in a second wave — 46 new findings, the audit's first S0 The tracker's open/done tables are now generated from ledger.json rather than maintained by hand, for the same reason A28 exists: three of the numbers written by hand earlier were wrong. Headlines: A20 (stored DOM XSS) is closed; Phase B's line-depth wave found A29, the audit's only S0 - an unauthenticated arbitrary file write via the attachment filename, which combined with A01 is remote code execution at next login.

    André Borchert committed Sep 13, 2026
    5005e73
  • Audit tracker: A05, A08, A18 and A19 — 8 done, 11 open, and the mechanical check that a DONE claim is backed

    André Borchert committed Sep 13, 2026
    7b9b4d0
  • Audit tracker: two races fixed and verified, and the suite is not hermetic A14 and A17 are DONE with the ThreadSanitizer pair as the evidence (exit 1 with a report -> exit 0 clean), which is the honest form for a race: the plain suite passes either way. A18 is new and high severity, found by the early independent check on node1 — a fresh clone builds and then fails four assertions in three tests that need the developer's private models and secrets. It would have blocked Phase E. The baseline table now also distinguishes product builds (clean) from the test target (5 warning sites), which the first version conflated. Code: Pummelchen/ChatBots@948ea29 (branch audit/2026-09-13)

    André Borchert committed Sep 13, 2026
    e483151
  • Audit tracker: L3/L5/L7 passes — 16 findings, two more high-severity A15 at S1 (attaching a document blocks the engine's main actor, so every front end waits behind a PDF conversion) and A16 at S3 (no graceful shutdown). The clean reviews are recorded too, so a later pass does not re-open the 72 try? sites or the two force unwraps. Code: Pummelchen/ChatBots@273fc54 (branch audit/2026-09-13)

    André Borchert committed Sep 13, 2026
    ea4b338
  • Audit tracker: TSan found a data race the tests could not A13 done, A14 opened at S1: HTTPServer's isRunning/lastError are written from the listener callback and read from waitUntilReady with no synchronisation, on the production startup path, while every test passed. Added to the high-severity table with the startup consequence spelled out, the baseline row now carries it, and the changelog records that the expectation going in was a clean run. Code: Pummelchen/ChatBots@HEAD (branch audit/2026-09-13)

    André Borchert committed Sep 13, 2026
    22c7a3f
  • Audit tracker: no blocked items — ASan is clean, TSan running A12 resolved: AddressSanitizer over the full suite is clean, so that class of defect is measured-absent rather than assumed. The blocked table is now empty and says so, the baseline table carries the result next to the MCPSearch comparison that makes it meaningful, and the changelog records it. A13 (ThreadSanitizer) is in flight. Code: Pummelchen/ChatBots@HEAD (branch audit/2026-09-13)

    André Borchert committed Sep 13, 2026
    5a819b3
  • Audit tracker: Phase A closed, 12 findings enumerated Adds the pre-production audit tracker the audit brief asks for, and links it from the sidebar. It mirrors AUDIT/ledger.md in the repository, and says explicitly that the ledger wins if they disagree. It leads with the two S1 findings, lists the medium and low ones, and keeps the one blocked item (sanitizer coverage) visible with two concrete options for a human rather than buried. The baseline table is there so a later milestone can be compared against it. Phase A only: nothing has been fixed yet, by design — all findings are enumerated before any fix begins. Code: Pummelchen/ChatBots@f9a359b (branch audit/2026-09-13)

    André Borchert committed Sep 13, 2026
    e086f0f
  • Tracker: task 4 was not a defect, and is concluded rather than open WebTransport#24 settled it by measurement — an inbound stream is not delivered until its first byte arrives — and found the real source of the message: a peer ending a stream without writing to it, which the library now names. So the page moves task 4 out of "Open" into "Concluded", with what was wrong in the original note, what the frame is actually for, and how the push test caught the attempt to delete it. Every issue on the repository is now closed. The tracked release that carries the clearer error is not tagged yet, and the page says it will be taken when it is.

    André Borchert committed Sep 13, 2026
    e3e2848