Repository navigation
Project Tracker
The tracker is split by library, so each page lists one library's work and nothing else:
- Project Tracker — Swift — the Swift package.
-
Project Tracker — C99 — the portable C99 library under
C99/. - this page — the index, the conventions, and the work that belongs to neither library on its own.
Current release: 1.4.0,
published 16 September 2026 from 509fa91, carrying both libraries as one artifact each with a
.sha256 beside it. It holds the pre-production audit's fixes, the receive-only
unidirectional-stream API, and the single-sourced version (VERSION, mirrored in the C99 header
and in WebTransportVersion.swift).
Last updated: 16 September 2026. Every table lists open work only — a row that closes leaves its table and is recorded in the history on its page, so a listing never mixes finished work with live work. Numbers are never reused, and the git history of the page keeps each removed row.
These three pages are the only project tracker for the repository. If a second list of tasks ever appears elsewhere, these win and the other one should be folded in.
- Where a row goes. A row lives on the page of the library it is about. A row about neither library on its own — the interop host, the audit, a release — lives on this page, in Repository-wide work.
-
Numbering. Every item has a stable reference that never changes once assigned, so a commit
message, an issue, or a review comment can point at one row and stay correct.
-
#N— a GitHub issue number, where one exists. -
WT-N— a tracker-local item with no issue yet. Work discovered while doing something else is recorded here first and filed as an issue later if it warrants one; theWT-Nreference stays valid either way. - Numbers are never reused and never renumbered, and a completed row is never deleted from the numbering — only from the table. Its closure and its text remain in the history on its page, and in the git history of the page it left.
-
-
A table lists open work only.
openis the status a live row carries; a row that is settled is removed in the same edit as the addendum that settles it. Thestatuscolumn therefore distinguishes the kind of open work where it helps (open,open (XAIOS side)), not finished from unfinished — a finished row is not in the table at all. This replaced a column that carried the closure text, because a buried closure in a long Note read as open for months (WT-174). - Unknown problems belong here too. Anything noted but not understood — a suspicion that could not be reproduced, a behaviour that looks wrong but has no trigger yet — gets a row and a number. A suspicion recorded is cheap; a suspicion forgotten is re-discovered later at full cost.
- Severity follows the repository label scheme: P0 blocks a release or breaks core functionality or creates a security risk, P1 is required for MVP or release readiness, P2 is important but not blocking, P3 is polish or hardening.
- The wiki has no CI, so these are conventions rather than checked invariants. The history below is the index for this page for the same reason.
| Ref | Status | Severity | Area | Item | Notes |
|---|---|---|---|---|---|
| WT-196 | open | P1 | infra, interop | The VPS interop peers are on a certificate that expires 18 September 2026, and their certificate files no longer exist on the host. |
New, found while running the matrix. All five containers mount /etc/letsencrypt, which is a symlink to /var/minecraftai/web/letsencrypt — a path that no longer exists — so the peers hold their certificates only in memory from startup and cannot be restarted or renewed: a restart fails on a missing fullchain.pem. The leaf is CN=pummelchen.91.99.176.243.nip.io, issued 20 June 2026, expiring 18 September 2026, so the whole environment goes dark in days. Rebuilding it needs the certificate restored (or new peers provisioned) before any further VPS matrix work. |
This is the only project tracker for the repository. If a second list of tasks ever appears elsewhere, this page wins and the other one should be folded into it.
The current release is stated at the top of this page; the 1.3.8 entry that used to sit here was a session handover that had gone stale, and its content is in the page history.
- A row leaves Open work when the change is merged to
mainand the documentation is updated, and moves to Resolved. -
Numbering. Every item has a stable reference that never changes once
assigned, so a commit message, an issue, or a review comment can point at one row
and stay correct.
-
#N— a GitHub issue number, where one exists. -
WT-N— a tracker-local item with no issue yet. Work discovered while doing something else is recorded here first and filed as an issue later if it warrants one; theWT-Nreference stays valid either way. - Numbers are never reused and never renumbered. An answered question moves to Resolved like anything else rather than being deleted, so the numbering stays contiguous and the answer is still findable later.
-
-
A row's STATUS is the second column, and since the split it is
openfor everything in a table — a finished row leaves the table entirely (its closure is recorded in the history on its page) and is never marked closed in place. This column exists because WT-79 read as an open P2 for months of rounds after6496ad6landed it: its closure was a sentence at the end of a Note longer than most addenda, and nothing that greps for "Closed" could see it. A row that closes is removed in the same edit as the addendum that closes it (WT-174), so every row present is live work. - The wiki has no CI, so the column is a convention rather than a checked invariant. The addendum at the end of this page is the index for the same reason, and the two are meant to agree: a closure is recorded in both.
- Unknown problems belong here too. Anything noted but not understood — a suspicion that could not be reproduced, a behaviour that looks wrong but has no trigger yet — gets a row and a number, marked unverified in its Notes. A suspicion recorded is cheap; a suspicion forgotten is re-discovered later at full cost.
- Severity follows the repository label scheme: P0 blocks a release or breaks core functionality or creates a security risk, P1 is required for MVP or release readiness, P2 is important but not blocking, P3 is polish or hardening.
This section is the handover. It was written at the end of a session that is being moved to another machine, so it records the exact state rather than the history above it.
main is at 0bb6c95 ("C99 cli: a client that sends before its CONNECT, so the server's parking is reachable"),
pushed and verified. The wiki is at the commit that adds this section. The five commits this session landed, oldest
first:
| Commit | What it did |
|---|---|
785b384 |
WT-184: the Linux legs of the Clang Static Analyzer found seven core.NonNullParamChecker findings that macOS cannot see (glibc declares memcpy/memcmp nonnull); each call is length-guarded now. |
52d7449 |
The README's published-binary instructions: chmod +x, and which two conformance scenarios need a checkout (WT-186's documentation half). |
cd30a12 |
WT-187: the Windows cross-compile was being handed -I /usr/include and resolving stdint.h to the host's glibc; CI now unpacks the Windows OpenSSL before the compile step and the host fallback uses -idirafter. First fully green C99 CI in this series. |
ca53fee |
WT-180 + WT-188: section 4.6's STREAM half in wt_webtransport_buffered_t (park, bound, drain in arrival order, reject over the bound with WT_BUFFERED_STREAM_REJECTED), and the inverted STOP_SENDING direction test that writing it exposed. |
0bb6c95 |
WT-189 + WT-190: wt_http3_driver_open_session_stream/wt_http3_driver_send_session_request split the session start so a caller can send before its CONNECT, the CLI's --early-stream does, and the server's report no longer says requestStatus: 404 for a session it called accepted. |
The Swift 1.3.8 release is published (this session's other thread): tag 1.3.8 on 13d29fd,
the release with WebTransportClient,
WebTransportServer and SHA256SUMS, assets downloaded back and verified against the sums, both 40-scenario
conformance suites passing on those downloads from the tagged checkout, and Swift CI green on the tag
(run 34755613646). WT-101 is closed;
WT-185 and WT-186 are open (below).
- 96 CTest tests pass in the debug, release and ASan+UBSan trees: 84 unit test programs and 91,552 checks, plus the 200,000-input parser fuzz smoke run and the six CLI process tests.
- The Clang Static Analyzer (94 sources) and cppcheck are clean on macOS; the analyzer is clean on Debian/glibc too (verified in a container, and the pre-fix worktree reproduces the seven findings exactly).
- Windows: the whole tree compiles (75 library + 104 test/app sources) and links (90 PE32+ executables + 1 shared library) under the mingw cross-compiler with a real Windows OpenSSL.
- Container interop: the client completes a session and the message exchange against pywebtransport/aioquic, quinn and quiche, and the server direction has its own runner.
-
Matrix: 34 of 34 draft-16 requirements with 67 named symbols (
scripts/score-matrix.sh,scripts/check-matrix.sh). -
CI: C99 CI is green on all three legs for
0bb6c95andca53fee. Swift CI is green for both:0bb6c95's TSan job failed once on theWT-185flake below and passed on rerun, so the push is green and the flake is the only thing that was ever red.
Items 1 and 2 are closed — see the addendum at the end of this page. WT-185 closed at b1b48bb and
WT-186 at 22d4ec2, both on main and pushed. The list below is kept as it was written, because it records
what the handing-over session believed; the addendum records what the next one found, including that the
WT-185 entry understated its own evidence.
-
WT-185-- the ENETDOWN flake, now REPEATED and therefore actionable (P3 -> P2).listenerServesMoreSequentialSessionsThanTheDefaultCeilingfailed twice in one session withPOSIXErrorCode(rawValue: 50)("Network is down"): once on the tag's first CI attempt (run 34755613646) and again in the TSan job of the0bb6c95push (run 34757623858, 8.7 s in; green on rerun). It has never reproduced locally, and the rerun passing is what makes it a flake rather than a defect -- but two failures in one session is a pattern, so it is P2 now. The note this tracker carried was "a second recurrence is the case for making it serial or retrying it on that specific errno" -- this is the second. The cheapest correct fix is probably to retry the accept onENETDOWN(or to make the test's listener loop tolerant of a transientPOSIXErrorCode50) rather than to serialise the suite, but the diagnosis comes first: the test is the longest network loop in the suite (20 sequential sessions against the default ceiling of 16) and it runs in parallel with everything else under TSan, where the process is much slower than the runner's network stack expects. -
WT-186-- the conformance runner has no notion of "skipped" (P3). Two of the forty scenarios (release-products,release-script-stale-spikes) readPackage.swiftandSwift/build-release-apple-silicon.shfrom the working directory, so the released binaries reportpassed=38 failed=2outside a checkout -- a missing file rather than a skip. The documentation half is done (README, release page, Known Limitations); the code half is a precondition on a scenario plus a summary that counts skipped cases with their reason, which touches the suite's output contract that several Swift tests assert. -
The Windows-under-Wine experiment, STARTED AND UNFINISHED (no task number yet -- this is the next session's
first decision). The DoD's Windows criterion is "compiles and links"; running the PE32+ binaries needs
Windows or Wine, and Wine is the half a Linux runner could actually do. The experiment reached:
wine64installed from thewine64package in anubuntu:24.04container (the binary lives at/usr/lib/wine/wine64with no wrapper onPATH--wine64 --versionis "command not found", so the package's layout has to be handled), the Windows tree built and linked in the same container (90 executables), the MSYS2 OpenSSL DLLs copied beside the test executable, and then a run oftest_webtransport_buffered.exeunder/usr/lib/wine/wine64that hung for the full ten-minute bound and had to be killed. Next steps, in order: runwineboot -ufirst and check the prefix was created; setWINEDEBUG=+all(or+winsock) on a single short test to see whether it is stuck in prefix setup, in winsock, or in the test's own wait loop; tryWINEARCH=win64explicitly and a longer, quieter first run; only then decide whether theRUNNINGhalf of the criterion is reachable in CI at all. If it is not, that is a demonstrated blocker with the container recipe and the log as evidence, which is what the DoD wants recorded instead of a claim. -
The DoD's remaining partial criterion is host-dependent: the FreeBSD CI runner GitHub does not provide,
plus the plan's MSVC and Clang-CL Windows variants. The VPS five-implementation interop matrix is closed. Both
are recorded in
scripts/score-matrix.sh's output and inImplementation-Status. -
Smaller open rows:
WT-249(the CONNECT-stream capsule/DATA-frame question, which needs an external peer to settle),WT-251(whether the peer's SETTINGS payload reaches the C99 session's flow-control configuration),WT-191andWT-197(both unfixed -- see the Phase F addendum),WT-39(XAIOS's 16-listener registry, XAIOS side), andWT-153as above.
The development clone used here was /tmp/wt-clone (main) with a second worktree /tmp/wt-release at tag
1.3.8; the wiki clone was /tmp/wt-wiki (master). On macOS the C99 builds live in C99/out/macos26/{build, build-release,build-sanitize}, the analyzer tree in C99/out/analyze, and the Windows tree in
C99/out/windows/build. A Windows OpenSSL is unpacked at /tmp/windows-openssl/mingw64 (MSYS2
mingw-w64-x86_64-openssl-3.6.4-1, fetched by the CI workflow; WT_WINDOWS_OPENSSL points both Windows scripts
at it). Docker is required for the interop scripts and for the Debian/Ubuntu cross-checks; the images
wt-interop-* are built by the scripts themselves. Every commit in this repository is made with
-c user.name="Pummelchen" -c user.email="0xa0b1@gmail.com", and the push is always to main (the wiki to
master) -- never a branch, per the standing instruction.
The repository is under a pre-production audit required by the audit brief (Phases A-E, §0-§12). All audit
work happens on branch audit/2026-09-15 (the brief forbids committing to main; the repository's earlier
"commit to main" instruction is superseded and the conflict is recorded in the ledger). The durable state is
in the repository: AUDIT/ledger.md (+ AUDIT/ledger.json), AUDIT/environment.md, AUDIT/inventory.md,
AUDIT/baseline.md. The ledger wins on any conflict with this page.
Phase A result (baseline, before any change):
-
S0
A-0001— the Swift test bundle does not LINK on Swift 6.4 / Xcode 27.swift build --build-testsfails under BOTH manifests:Undefined symbols for architecture arm64, sixWebTransportTLSCoredecoders referenced fromWebTransportHTTP3CoreTests'sPeerInputFuzzTests.o, because that test target importsWebTransportTLSCorewithout declaring it. Consequence: there is no Swift test result at all on the mandated toolchain — the regression yardstick cannot be taken until this is fixed. -
A-0002S2 committed CMake build output (build/) at the repository root. -
A-0003S2 two Swift manifests (WebTransport18 targets vsWebTransportSwift21) whose agreement CI claims to check. -
A-0004S1 25 Swift warnings where §1 mandates warnings-as-errors. -
A-0005S3swift-tools-version: 6.3against the mandated Swift 6.4. - C99 baseline: 97 of 97 CTest green (unchanged, confirmed on the audit branch).
- BLOCKED:
valgrindhas no arm64-macOS build; the equivalent is ASan/LSan+UBSan in a Debian container.
Open audit tasks are listed in AUDIT/ledger.md; this page mirrors the S0/S1 and blocked items above.
The audit brief's Phases A-E are nearly complete on branch audit/2026-09-15 (never merged to main; a PR is
the only path, after Phase E). The durable state is AUDIT/ledger.md + AUDIT/ledger.json in the repository;
the ledger wins over this page.
Findings: 102 tasks — 98 fixed and verified, 3 done, 1 rejected-with-reason, 1 BLOCKED-with-owner.
Four S0 go-live blockers were found and fixed: the Swift 6.4 test bundle did not link at all (three test targets
imported modules they never declared); an unbounded, peer-controlled CONNECT-stream capsule buffer (remote
memory exhaustion); the C99 QPACK static table truncated at RFC 9204's line wrap with a --check that
re-derived the same error; and the C99 :protocol token constants being identical, so webtransport-h3 could
neither be sent nor accepted. Twenty-one S1s followed, then the S2/S3 sets.
The audit's most valuable output is not the defect list but the check-integrity work: a --check that could
not fail, assertion-free tests, an always-true assertion, a hardcoded Definition-of-Done echo, a compliance-matrix
check that never resolved its Evidence column, a container interop check that discarded the client's exit status,
two CI checks that exited 0 when their tool was missing, a fuzz guard that never fired, and a documented check
count that no script produced. Each was fixed so the check can now fail, and negative controls are recorded in
the commits.
Security work landed with it: a new blocking .github/workflows/security-scan.yml runs gitleaks over the
FULL history (588 commits) and trivy for dependencies, both pinned and checksum-verified, and an absent scanner
fails the job instead of passing it. Nine gitleaks hits were test fixtures, allowlisted by path (and by exact
value for the one Swift literal). No live credential was found, and no secret value was ever printed.
Verification: Swift 6.4/Xcode 27 — clean build, 0 warnings, swift test 356 tests / 0 failures;
C99 — 97 of 97 CTest, warnings-as-errors, ASan/UBSan leg green. Phase E's fresh-clone run of both suites
exits 0.
Open: F-repo-ops-09 (S1, BLOCKED) — the third-party interop matrix predates the webtransport-h3 token
change, so the interop claim is UNVERIFIED for the changed client until the matrix is re-run. Options for a
human: (1) approve a VPS run, (2) accept the pre-change 7/7 evidence with a release note, (3) run the
containerised peers only. Also still owed before "complete": a coverage number per language, and the Phase E
independent-host run (this machine developed the fixes; the Mac fleet rejects our key and the VPS needs
approval).
All 108 ledger entries are terminal: 99 fixed and verified, 9 done, 0 open, 0 blocked (the count grew from 105 by the owner-requested Swift-on-Linux row F-repo-ops-20, and then by the two defects the first real CI run on main found in the audit's own CI additions (F-repo-ops-21, F-repo-ops-22), all three below; one of the nine DONE rows, F-swift-line-security-05b, was first rejected with a recorded measurement and then implemented at the owner's request).
The audit brief's Phase A-E are complete, and the work is on main: landed at 6607d71 (owner-directed
after Phase E passed) and merged again at edfc57a when main moved underneath it — see Landed on main
at the end of this section. Nothing was ever committed to main while the audit was running.
Highlights, with the evidence in AUDIT/phaseE.md and the commits:
-
Four S0 go-live blockers found and fixed: the Swift 6.4 test bundle did not link; an unbounded peer-controlled
CONNECT-stream capsule buffer; the C99 QPACK static table truncated at RFC 9204's line wrap with a
--checkthat re-derived the same error; and:protocoltoken constants that madewebtransport-h3unusable. -
The interop matrix caught what static analysis could not. Changing the token to draft-16 broke 4 of the 5 peers
(7/7 -> 2/7, peer logs quoted in
F-repo-ops-09).F-02bgave the client an explicit--upgrade-token draft16|legacy(draft-16 default, pre-draft for the peers that need it), and the matrix is 7/7 across five implementations, every proof on attempt 1, in two independent VPS runs. -
Check integrity was the audit's real yield: a
--checkthat could not fail, assertion-free tests, always-true assertions, a hardcoded Definition-of-Done echo, a matrix check that never resolved its Evidence column, an interop check that discarded the client's exit status, CI checks that exited 0 without their tool, and a documented check count no script produced. Each now fails when it should, with negative controls in the commits. - A blocking secret scan (gitleaks, full history) and dependency/misconfiguration scan (trivy) now run in CI, pinned and checksum-verified, and an absent scanner fails the job instead of passing it. No live credential was found.
- Verification: Swift 6.4 — 0 warnings, 356 tests, 85.9% line coverage; C99 — 97/97 CTest on macOS, on Debian 13 in a container, and on the VPS as an independent host, 90.9% line coverage, ASan/UBSan clean.
The audit had rejected this one as a feature rather than a bounded fix; the owner asked for the proper
implementation, and it is done on audit/2026-09-15 at 0ace51f (8 files, +582; on main since the landing):
-
New public API:
WebTransportSession.acceptUnidirectionalStream(maximumInitialBytes:) async throws -> WebTransportUnidirectionalStream, and the runtime equivalent onWebTransportNetworkSessionreturningWebTransportNetworkUnidirectionalStream. Both expose receive only (streamID/idplusreceive(maximumBytes:)): a peer-initiated unidirectional stream is receive-only for this endpoint, the stream state enforces it (hasSendHalf == false; a send is refused with a named error), and neither type has a send path. -
Post-establishment demultiplexing: the runtime serves exactly one session per connection, so an inbound
unidirectional stream is classified by the session ID in its prefix — this session means it is registered and
delivered; any other session means
WT_SESSION_GONEbefore anything is registered or buffered, exactly as the bidirectional path already did. HTTP/3 control/QPACK streams on the same direction are skipped as critical. - Docs now match the code: the DocC page and the compliance matrix describe the shipped receive-only unidirectional surface instead of claiming bidirectional-only. Opening a locally initiated unidirectional stream is still not exposed, and the docs say so rather than implying it.
-
Evidence:
swift test360 tests, 0 failures, 0 warnings (356 before); a scratch worktree at2fbdb83fails to build the new calls (has no member 'acceptUnidirectionalStream') and a behavioural probe shows the old runtime retaining a post-establishment unidirectional stream with no consumer (queued 2 -> 3); theF-swift-line-security-03ceiling still refuses withrefusedQueueFull(limit: 16)when nobody accepts.
The owner asked for Swift 6.4 from swift.org on the VPS. It is installed there behind PGP verification
(swift-6.4.0-RELEASE-debian13.tar.gz, sha256 b6239474…, GOODSIG from the Swift 6.x Release Signing
Key, 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F), extracted to /opt/swift-toolchains/swift-6.4.0-RELEASE-debian13
behind a version-independent swift-6.4 symlink; Swift 6.3.2 is left in place. The install is reproducible from
one command block in AUDIT/environment.md.
The useful part is what it turned a claim into. Phase E recorded "Swift is Mac-only (Network.framework) and cannot run there" and this page said "no Linux … cross-platform Swift runtime support" — neither was measured, because the VPS had only a 6.3.2 Debian-12 build and no target of this package had ever been compiled on Linux. With the mandated toolchain in place, a per-target build of a fresh clone gives the boundary exactly:
| Result | Targets | Missing module |
|---|---|---|
| PASS, 0 warnings |
WebTransportQUICCore, WebTransportHTTP3Core
|
— (Foundation only) |
| FAIL |
WebTransportUDPApple, WebTransportLoopbackTestSupport
|
Darwin |
| FAIL |
WebTransportCryptoApple, WebTransportTLSCore, WebTransportTestSupport
|
CryptoKit |
| FAIL |
WebTransportSecurityShim, WebTransportNetworkRuntime, WebTransport, WebTransportCLIConformance
|
CoreFoundation via the shim's C header |
So two of eleven library targets are Linux-portable, and they compile clean there under warnings-as-errors and
strict memory safety; both whole-package builds fail. Known-Limitations.md now carries the measurement, and
AUDIT/phaseE.md says precisely how much of the Swift product a Linux host can carry. No Linux CI leg was
added: the portable surface is two targets with no test target of its own, so that is a separate design decision
rather than a YAML edit. Ledger: 106 entries — 97 fixed-and-verified, 9 done, 0 open, 0 blocked.
The owner asked for a full sync ("push all to git so the code is in sync"), which is the repository's standing
instruction reasserting itself now that the audit is closed, so the audited branch was merged into main
rather than left for a PR: git merge --no-ff audit/2026-09-15 at 6607d71, after re-running both suites on the
merged tree. One conflict: .github/traffic.json, the "Views (14d)" badge's committed data source, was deleted by
F-repo-ops-14 and hand-refreshed on main by b526c9e ("message": "18" → "56", no body, authored by
hand). That manual edit is exactly the hand-maintenance the finding describes, so the deletion stands — a live
shield endpoint is the honest way to bring the badge back.
The push was then rejected, and that is the useful part: main had moved. node4 pushed three commits
(15d37bf, 21e7bce, 0255595) that had independently done part of the same work — the Swift 6.4 test-bundle
link failure the audit filed as A-0001, and the 12 redundant unsafe effect markers it filed as A-0004 — and
went further by raising the toolchain baseline itself: swift-tools-version: 6.4 in both manifests,
Swift/check-toolchain.sh at Swift 6.4 / Xcode 27, the three macOS jobs on the xcode-27 image. Two independent
sessions converged on the same defects; the second merge (edfc57a) resolved six files on their merits:
-
swift-tools-version6.4 in both manifests, with a comment recording that it supersedesA-0005— not thatA-0005was wrong. That row asked for 6.3 to be revisited when the documented 6.3.3 / Xcode 26.6 development floor moved, and node4 moved the floor. The floor and the mandate are now one toolchain. -
Swift/check-toolchain.sh: the overridable floors stay, the default moves to 6.4 / 27.0, and the header no longer documents a split between the development floor and the mandate. -
swift-ci.yml: the audit's job name andF-repo-ops-01comment win (the toolchain is what the job exists to assert;runs-on: xcode-27on both sides), and the two toolchain steps collapse into one, because the barecheck-toolchain.shcall was only distinct while its default was the older floor. -
QUICUDPPort.swift: the audit's reused receive buffer wins (F-swift-perf-tests-05— no fresh zero-filled 65,535-byte allocation per datagram, and the iovec length is the request's bound, not the buffer's capacity), while node4's removal of the redundantunsafemarker onwithUnsafeMutableBytesis kept. -
CHANGELOG.md: the audit's paragraph and entries stay; the audit's now-obsolete "stays at 6.3" bullet is replaced by node4's toolchain-baseline and CodeQL bullets in the sameChangedsection.
The audit's own format gate then caught a real mistake in that hand resolution — TrailingComma on the dependency
line in both manifests — fixed in 1f7ee98. That is A-0007's gate working on the very change that landed it.
Verified on the integrated tree before the push (not carried over from the branch): swift format lint --strict clean; check-manifest-sync.sh 19 shared targets agree; check-target-imports.sh 42 targets, 202
imports covered; swift build --build-tests and swift test on the root package 360 tests, 0 failures, 0
warnings; swift test --package-path Swift green; C99 Ninja/Release build and ctest 97/97, 0 warnings.
CHANGELOG.md's [Unreleased] section and this wiki's Changelog now carry the caller- and
operator-visible changes; before the landing the audit had not touched either, which only mattered once the work
reached main. audit/2026-09-15 is fast-forwarded to the landing commit, so branch and main are identical and
there is no divergence to reconcile later.
The first real CI run on main found two defects in the audit's own CI additions (F-repo-ops-21, F-repo-ops-22)
Pushing the audit to main ran CI on this tree for the first time: a push to the audit branch triggers
nothing (the workflows run on main and on pull requests), so every check the audit added had only ever been
run by hand. It failed immediately — all four C99 jobs, at the same step — and running by hand the step CI never
reached found a second defect. Both are in the audit's own CI additions rather than in the product, and both are
fixed and re-measured rather than waived.
F-repo-ops-21 (S2): the Windows cross-compile sweep named its private include directories by hand. The
audit's F-28 test (C99/tests/unit/test_time.c) includes the private src/core/time_internal.h, and
C99/tests/CMakeLists.txt:118 gives that test the include directory — so every CMake build and the local 97/97
ctest run were green while the sweep, which keeps its own -I list, could not see the header:
time_internal.h: No such file or directory. The sweep now scans every src/*/ directory that holds a header
instead of naming them, so a new module cannot break it, and asserts first that no two private headers share a
basename — a flat include path cannot address those, and the message names the directory form to use rather than
letting one module's header be compiled in another's place. Re-measured on the VPS with mingw-w64 GCC 14-win32:
76 library sources and 108 test/app sources compile with 0 warnings; the link then produces 91 PE32+
executables and 1 shared library.
F-repo-ops-22 (S2): the Wine runner's check total was always zero, and the number three documents quoted was
never one it produced. check-windows-wine.sh summed each binary's last line with a $-anchored pattern, and a
Windows binary writes text-mode stdout as CRLF, so od -c shows passed\r\n and the anchor matched nothing. The
runner printed
windows wine: ran 85 test executable(s) -- 85 passed, 0 failed, 0 hung, 0 checks
windows wine: 85 executable(s) printed no check total (a hang or a load failure)
and exited 0 — a false pass of exactly the shape F-25 closed one level down, with a diagnostic that blamed a
hang. Measured at the commit that added the summing (a2d995e), the output is identical, so the summing never
worked once; the 91,674 it was added to produce was hand-added and had spread to C99/docs/PORTABILITY.md,
C99/scripts/score-matrix.sh and C99/IMPLEMENTATION_PLAN.md, contradicting the tree's own figures (the README
carried 64,731 checks over 84 programs locally, and this round measures 64,778 natively on Debian 13). No
executable was missing from the sum: the 86th file under tests/ is fuzz_smoke.exe, which prints an input
count, not a check total. The output is now read through tr -d '\r' before the anchored pattern, and a binary
that exits 0 without printing a total fails the run — the floor F-25 put in WT_TEST_MAIN_END, at the
wrapper level. Re-measured on the VPS against a mingw cross-build of main:
windows wine: ran 85 test executable(s) -- 85 passed, 0 failed, 0 hung, 64900 checks
cross-checked by an independent sum over the same output files (64,900; exactly one matching line per binary) and
against a native Debian 13 build (84 programs, 64,778 checks). The four documents now carry the measured
numbers with the host named, and PORTABILITY.md keeps a correction note quoting the old figure and how it was
measured. The numbers quoted in the WT-199/WT-134 rows and the Windows addenda above are corrected in place
for the same reason.
What this says about the audit: its ledger is honest about its own gates — 111 entries, 102 fixed and
verified, 9 done, 0 open, 0 blocked (the last three are the release round's own machinery, below) — and the two rows added after the landing are its CI gates finding the
audit's own work rather than the product's. Verified on the pushed tree: swift format lint --strict,
check-manifest-sync.sh, check-target-imports.sh, swift test 360 tests / 0 failures / 0 warnings, C99
native build + ctest 97/97.
One tracker row closed by the landing, found while re-reading the open list against the code. WT-215 (the C99
client sending the pre-draft :protocol token) is resolved exactly as its own row prescribed: the client sends
draft-16 by default with --upgrade-token legacy as the documented opt-out for the peers that need it, and the VPS
matrix was re-run with per-peer token selection — 7 of 7 proofs, every one on attempt 1, two independent runs —
which is stronger evidence than the pre-draft-token run the row was protecting. The row is closed in the master
table at 8864f00.
Two documentation questions this round did not settle, recorded rather than quietly reconciled:
-
C99/README.md's status says Phase 10 (the test port) is under way, while the Definition-of-Done table says the equivalent criterion — "all Swift-equivalent conformance tests pass in C99" — is met, with the mapping walk as its evidence. One of the two is stale; which one is a decision, not a copy edit. - Phase 12's required matrix names six jobs (macOS 26 Clang; Debian 13 GCC; Debian 13 Clang; FreeBSD Clang; Windows 11 MSVC; Windows 11 Clang-CL). CI runs macOS Clang, two Ubuntu 24.04 legs, mingw/Wine and MSYS2 MINGW64 (not yet enforced). Debian 13 is measured in a container and on the VPS but is not a CI leg, and the Windows legs are GCC, not MSVC or Clang-CL.
The first release cut under RELEASE.md, and the first whose assets are an archive rather than the two
loose binaries. Published at https://github.com/Pummelchen/WebTransport/releases/tag/1.4.0.
What it carries. The pre-production audit (108 findings, 99 fixed and verified), the receive-only
unidirectional-stream API, the capability and bound corrections, and the toolchain baseline at Swift 6.4 /
Xcode 27. Both libraries ship, one artifact each under the one tag — the release is titled
WebTransport 1.4.0, not for a single library, and the source of both is the Release's own source archives.
Identity, now single-sourced. This was the release's first blocker: Part 2 said the lockstep "is not
landed yet" and that main had no in-repo version at all. VERSION at the repository root is now the one
authoritative value (1.4.0), mirrored in C99/include/webtransport/version.h and
Swift/Sources/WebTransport/WebTransportVersion.swift, with Swift/check-version-sync.sh (bump: --write)
and the C99 CMake configure failing on a mismatch. Both libraries therefore carry the same number: the C99
side moves from pre-1.0 0.1.0 to 1.4.0. WT_ABI_VERSION and the protocol draft are separate axes and did
not move. Each new gate was broken on purpose before being trusted (mirror mismatch, malformed VERSION,
header mismatch) and each failed as intended.
The two defects the audit's own CI found, fixed here. F-repo-ops-21: the Windows cross-compile sweep
named its private include directories by hand, so the first real CI run on main failed on the audit's own
F-28 test — the sweep now derives them from the tree and asserts no two private headers share a basename.
F-repo-ops-22: the Wine runner's check total was summed with a $-anchored pattern against CRLF output, so
it reported 0 checks for all 85 executables while the documents quoted a hand-added 91,674; the parse reads
through tr -d '\r' now, a missing total fails the run, and the measured total is 64,900.
One gate failure found while cutting it. check-cppcheck.sh failed on src/http3/driver.c:212
(uninitvar on prefix): a false positive in behaviour, because uni_prefix_length returns before reading
when have == 0, but a real gate failure. Fixed by initialising the 16-byte buffer rather than by weakening
the check; the gate was clean on 2026-09-13 and the code that broke it landed afterwards, so the audit's
"cppcheck clean" claim had gone stale.
Gates, all green on the tagged commit. check-toolchain.sh 6.4 27.0; check-manifest-sync.sh (19 shared
targets); check-version-sync.sh; check-api-compatibility.sh; check-target-imports.sh (42 targets / 202
imports); swift format lint --strict; swift test 360 tests, 0 failures; the same under ASan (360)
and TSan (338, the CI job's exclusions); C99 build-and-test.sh --all 97/97 in Debug, Release and
ASan+UBSan with 0 warnings; check-vectors, check-matrix (91 symbols), check-portability,
check-static-analysis (94 sources, no findings), check-cppcheck, check-package, check-workflows.py;
and the Windows legs — platform and link on the release host (mingw-w64 14.0.0 / GCC 16.2.0: 76 library
and 108 test/app sources compile, 91 PE32+ executables and one shared library link) and the Wine suite on the
Linux host the enforced CI leg uses (85 executables, 85 passed, 64,900 checks), because every
Homebrew Wine cask is Gatekeeper-disabled and no unsigned Wine build was improvised for a release.
Assets, verified after publishing. WebTransport-swift-1.4.0-macos-arm64.tar.gz (1,651,355 bytes) and
WebTransport-swift-1.4.0-macos-arm64.tar.gz.sha256; the published body quotes
37068c750352b53f812b4d005aa096e949921aa74dbf3319b7ce838464acbe33, which is what the .sha256 asset
contains. Re-downloaded and re-checked: the archive's digest verifies, both binaries report arm64 to
lipo -archs, and the archive's own SHA256SUMS verifies. The dry run's digest was different — publishing
rebuilds — which is why neither is copied into the notes.
Owed to the master, not fixed here. RELEASE.md and AGENTS.md are generated copies (Part 1 §1.10), so
they were not hand-edited: both still say the lockstep is unlanded and that main has no in-repo version.
The TinyTitan master (docs/release-rules.md, Part 2) needs that updated and re-deployed.
Correcting the release to carry both libraries found three defects in the repository's release machinery — two by running the artifact rather than reading the script:
-
F-repo-ops-23(S2): every installed C99 tool was unusable.cmake --installremoves the build-tree rpath and nothing set an install rpath, soinstall/bin/wt-client-c99died withdyld: Library not loaded: @rpath/libwebtransport.1.dylib ... no LC_RPATH's found. The library's consumption path was covered (check-package.shbuilds and runs a consumer of the installed CMake package) but for the tools the gate only asserted the file existed. Fixed withCMAKE_INSTALL_RPATH(@loader_path/../lib,$ORIGIN/../libon ELF) and by makingcheck-package.shrun all three installed tools; proven live by emptying the rpath line and watching it exit 1 with the dyld error. -
F-repo-ops-24(S3): the packaging scripts and the dev loop shared a build directory. Different generators, so whichever ran second failed with "Does not match the generator used previously" — a message naming neither script. The packaging builds moved toout/<platform>/build-install. -
F-repo-ops-25(S2): the first republished body quoted the wrong digest.SHA256_PENDINGis a substring ofC99_SHA256_PENDING, so substituting the short token first rewrote the C99 line toC99_<swift digest>and left the C99 substitution with nothing to match — the published page readSHA256: C99_29c1ef9b.... The guard only asked whether the notes carried placeholders, never whether the result was right. Fixed by substituting longest-first and checking the result (no surviving placeholder; each digest exactly once), demonstrated failing on the old order.
Final published state, verified after republishing: WebTransport 1.4.0 at tag d0bd273, four
assets — WebTransport-swift-1.4.0-macos-arm64.tar.gz and WebTransport-c99-1.4.0-macos-arm64.tar.gz,
each with a .sha256 — with each body line equal to the digest in its own .sha256; both archives
re-downloaded and re-checked; every Mach-O arm64; both Swift binaries run; and all three C99 tools run
from the unpacked archive, reporting C99 implementation 1.4.0. Ledger: 111 entries — 102 fixed
and verified, 9 done, 0 open, 0 blocked.
The repository's third audit pass ran after 1.4.0 shipped: two independent read-only agents over a frozen
tree, one on the Swift package and one on the C99 library, with the reports committed verbatim. The pass is
indexed by AUDIT/phaseF.md, and its two reports are
AUDIT/third-pass-swift.md
(135 lines, SWAUD-1…SWAUD-7) and
AUDIT/third-pass-c99.md
(399 lines, CAUD-1…CAUD-16). Twenty-five findings were fixed across six commits — a312253, 9d13d19,
5818448, a31b0dc, 59cb125 and 4a50c21 — and each carries before/after evidence in AUDIT/ledger.json
under an id of the form F-audit3-<WT row number> (28 DONE entries: the 25 fixed findings plus the WT-222 review closure, which is a tracker row the read of all 3381 lines finished rather than a finding of its own).
The tracker rows it closed, with where each is recorded:
| Row | Closed by | Recorded on |
|---|---|---|
WT-1 — the Swift Retry Integrity Tag is never computed or verified |
5818448 |
Project Tracker — Swift |
WT-222 — the line-by-line runtime review is unfinished |
a31b0dc (all 3381 lines read; the source of WT-244…WT-248) |
Project Tracker — Swift |
WT-224 — the native Windows CI leg is advisory |
a312253 (plus the F-repo-ops-26 staging race in the same commit) |
Project Tracker — C99 |
WT-225 — no Debian 13 CI leg |
a312253; the leg's own libc6-dev fix is 59cb125
|
Project Tracker — C99 |
WT-226 — the root README says Phase 10 is "under way" |
a312253 |
Project Tracker — C99 |
Rows filed by the pass, both open: WT-249 (SWAUD-6, suspected/unverified — CONNECT-stream capsules
are raw stream bytes where RFC 9114 §4.4 permits only DATA frames; no external peer was reachable, and the
recorded 7/7 interop evidence and the C99 library use the raw form) on the Swift page, and WT-251 (the C99
agent's one unfinished item — what consumes the peer's HTTP/3 SETTINGS payload in the shipped tools) on the
C99 page.
Open work now, summed across the three pages: 10 rows — this page 1 (WT-196, the VPS interop
certificate), Project Tracker — Swift 5 (WT-85, WT-191, WT-197, WT-221,
WT-249) and Project Tracker — C99 4 (WT-39, WT-153, WT-223, WT-251).
Nothing else is open. WT-191 and WT-197 remain UNFIXED — the third pass did not address either and does
not claim to have.
CI evidence for the pass: C99 run 35111066674 on 3ca9720 — all six jobs success, including the
newly enforced windows-native (MSYS2 MINGW64) and the new Debian 13 (trixie, gcc) leg, after that leg's
first run failed on a missing libc6-dev (Scrt1.o/crti.o) and was fixed in 59cb125. Swift CI on
a31b0dc was green. Local: Swift 369 tests in 7 bundles, 0 failures under the CI's strict flags, with
--sanitize=address and --sanitize=thread --skip CLIProcess --skip ReleaseArtifacts both exit 0; C99
97/97 in Debug, Release and ASan+UBSan, cppcheck clean and Clang Static Analyzer over 94 sources with no
findings.
The pass's honest gaps, recorded rather than papered over: the C99 Wine suite still cannot be run on this
host (Wine is not installable here), so the Windows behaviour claim rests on the CI Wine leg; there is no
FreeBSD or non-CI Debian-13 host (WT-223); and no external interop peer was reachable, which is why WT-249
stays open. It did close the Swift ASan/TSan gap and the missing Debian-13 leg.