|
1 | 1 | # C# implementation-entry external-run handoff |
2 | 2 |
|
3 | | -Status: repository-local preparation is complete; the external workflow has |
4 | | -not run. The exact local provenance commit and its matching one-shot gate tag |
5 | | -must be reviewed and pushed before the first run. B8 passes locally, but its |
6 | | -committed-source exact-package/trim reproduction is still pending. B11 also |
7 | | -passes its complete local Linux trim/single-file matrix, while B4 remains |
8 | | -blocked on the real eight-RID inputs and runners. `TASK/implementation.md` |
9 | | -must not be created yet. |
| 3 | +Status: the exact-source tag bootstrap ran the first atomic external attempt |
| 4 | +at commit `9d29c01928df7ce726c49286a3067129fc039115`. Its source/release-plan |
| 5 | +preflight and six non-Apple producer jobs passed, including every experimental |
| 6 | +target, but both Apple diagnostic verifiers failed before upload and the |
| 7 | +atomic verifier was skipped. The failure is recorded below and promotes no |
| 8 | +gate. B8 passes locally, but its committed-source exact-package/trim |
| 9 | +reproduction is still pending. B11 also passes its complete local Linux |
| 10 | +trim/single-file matrix, while B4 remains blocked on the verified atomic |
| 11 | +package and real eight-RID consumers. `TASK/implementation.md` must not be |
| 12 | +created yet. |
10 | 13 |
|
11 | 14 | ## Exact workflow |
12 | 15 |
|
@@ -99,15 +102,98 @@ Once that push is authorized, this explicitly non-publishing evidence run is |
99 | 102 | an in-scope verification step; it does not authorize any production release |
100 | 103 | or publication. |
101 | 104 |
|
| 105 | +## Remote builder-only diagnostic |
| 106 | + |
| 107 | +Before the exact tag bootstrap was pushed, the registered language-neutral |
| 108 | +builder was dispatched directly as a non-publishing diagnostic. |
| 109 | +[GitHub Actions run 29620985984](https://github.com/BoundaryML/baml/actions/runs/29620985984) |
| 110 | +completed successfully on attempt 1 at exact remote source |
| 111 | +`6d52aff1446c66be440771a14b85512c67214ca1`, release version `0.15.0`. |
| 112 | +The matrix job and every one of the eight target jobs concluded `success`; |
| 113 | +none of the three upstream-experimental targets was hidden by |
| 114 | +`continue-on-error`. Every target built, checksummed, and uploaded its |
| 115 | +shipping artifact. Native-host C/C++ ABI smoke tests also passed on Linux x64 |
| 116 | +glibc, macOS ARM64, and both Windows targets where the workflow enables them. |
| 117 | + |
| 118 | +The downloaded artifacts' own identity sidecars all record the exact source |
| 119 | +SHA, run ID `29620985984`, attempt `1`, target, canonical asset, and release |
| 120 | +version. Their shipping primaries are: |
| 121 | + |
| 122 | +| Target | Bytes | SHA-256 | |
| 123 | +| --- | ---: | --- | |
| 124 | +| `aarch64-apple-darwin` | 21,111,072 | `76c157a8c8b68d2607ba1ac00f0abb780a1080d88555d575b69bf2cb748f0ddc` | |
| 125 | +| `x86_64-apple-darwin` | 21,539,636 | `df4c64c8ae040e99d3f4a0b67ee52355107e5d1ef28aedc4770a907ff1d57991` | |
| 126 | +| `aarch64-unknown-linux-gnu` | 21,446,720 | `9410ac423d2f7a2d86282d7a8435e0b160c531f40e21ad9de23e8ce3f185cfdc` | |
| 127 | +| `aarch64-unknown-linux-musl` | 21,376,824 | `66b0ff4c0af3d393e295e8e5394fc5e39e59abf5c3a1518d09ef42384c0a00c4` | |
| 128 | +| `x86_64-unknown-linux-gnu` | 24,318,040 | `e545e6dca35bdb6c119961d088a65ce1f5ed12c9ab91db1177ca9e0a328e2e4f` | |
| 129 | +| `x86_64-unknown-linux-musl` | 24,170,528 | `f6fbe864eb4b994c7b3424b8a8e65e85208199882dd8bb61834776e147604fff` | |
| 130 | +| `x86_64-pc-windows-msvc` | 24,422,400 | `90b394181f0721bbe40c0a5db98af117b49e88c8537011f10d0b783234280c0b` | |
| 131 | +| `aarch64-pc-windows-msvc` | 22,409,728 | `f895081ac3d990ad823f28c6dee4de85fb2e8f5482d50acbc9842cda0e1de1fd` | |
| 132 | + |
| 133 | +This diagnostic deliberately left the C# entry-diagnostic condition false. |
| 134 | +It therefore produced no unstripped bundles, PDB/DWARF proof, normalized |
| 135 | +NuGet package, exact-package native consumers, protocol-host fan-in, |
| 136 | +trim/single-file executions, unsupported-RID/NativeAOT diagnostics, or atomic |
| 137 | +completeness manifest. It is useful cross-platform builder evidence only and |
| 138 | +does not promote B3, B4, B8, B11, B12, or C6. |
| 139 | + |
| 140 | +## First atomic attempt |
| 141 | + |
| 142 | +[GitHub Actions run 29626183183](https://github.com/BoundaryML/baml/actions/runs/29626183183) |
| 143 | +was triggered by the exact tag |
| 144 | +`csharp-entry-gates-9d29c01928df7ce726c49286a3067129fc039115`. |
| 145 | +Its event was `push`, its head SHA was |
| 146 | +`9d29c01928df7ce726c49286a3067129fc039115`, and attempt 1 froze the |
| 147 | +expected `0.15.0` release plan. The plan job and central target-matrix job |
| 148 | +passed. All six non-Apple producer jobs passed their shipping build, |
| 149 | +shipping-artifact upload, unstripped diagnostic build, platform-specific |
| 150 | +debug/symbol verification, and diagnostic upload. That includes all three |
| 151 | +upstream-experimental targets; no `continue-on-error` failure was hidden. |
| 152 | + |
| 153 | +Both `aarch64-apple-darwin` and `x86_64-apple-darwin` passed their shipping |
| 154 | +build/upload and unstripped diagnostic build, then failed |
| 155 | +`Verify Unix diagnostic contains debug information and symbols`. Their |
| 156 | +diagnostic upload steps did not run, and `Verify C# entry gates` was skipped |
| 157 | +because its complete producer dependency was not satisfied. No package, |
| 158 | +consumer, protocol-host, trim/single-file, unsupported-RID/NativeAOT, or |
| 159 | +completeness evidence was produced. |
| 160 | + |
| 161 | +The diagnostic build requests `debug=2` and `strip=false` but does not pin |
| 162 | +`split-debuginfo`. Cargo's |
| 163 | +[profile reference](https://doc.rust-lang.org/cargo/reference/profiles.html#split-debuginfo) |
| 164 | +documents `unpacked` as the macOS default when debug information is enabled; |
| 165 | +the |
| 166 | +[rustc reference](https://doc.rust-lang.org/rustc/codegen-options/index.html#split-debuginfo) |
| 167 | +states that this leaves macOS debug information in per-compilation object |
| 168 | +files. The verifier intentionally retains and accepts only the dylib itself |
| 169 | +or one UUID-matched `.dSYM`, so the default unpacked layout cannot satisfy the |
| 170 | +immutable diagnostic-bundle contract. Both Apple architectures failed the |
| 171 | +same step within seconds of their successful diagnostic builds. The focused |
| 172 | +repair is to request `split-debuginfo="packed"` only for Apple diagnostic |
| 173 | +builds, retain the generated `.dSYM`, and keep the existing UUID/DWARF and |
| 174 | +local-symbol assertions. That repair is implemented locally: `actionlint`, |
| 175 | +independent YAML parsing, shell syntax checks, Cargo profile-override parsing, |
| 176 | +and three-target argument expansion prove that only Apple receives the packed |
| 177 | +override. The Apple runner result and another complete exact-source attempt |
| 178 | +remain pending. |
| 179 | + |
102 | 180 | ## Provenance preflight |
103 | 181 |
|
104 | | -The final precommit temporary-index preview contains exactly the intended 120 |
105 | | -source/evidence files. `git diff --cached --check` passes, Git reports zero |
106 | | -binary entries, and the scope contains zero paths under local `.codex/`, |
107 | | -`.TASK.readonly-seed/`, `AGENTS.md`, or any excluded directory. The real index |
108 | | -was not touched by the preview. The local provenance commit must match this |
109 | | -scope exactly; its committed SHA becomes the workflow's `source_sha`. Later |
110 | | -edits invalidate that identity rather than inheriting it. |
| 182 | +The first provenance commit's temporary-index preview contained exactly the |
| 183 | +intended 120 source/evidence files. `git diff --cached --check` passed, Git |
| 184 | +reported zero binary entries, and the scope contained zero paths under local |
| 185 | +`.codex/`, `.TASK.readonly-seed/`, `AGENTS.md`, or any excluded directory. |
| 186 | +That scope became commit |
| 187 | +`6d52aff1446c66be440771a14b85512c67214ca1`; trigger bootstrap commit |
| 188 | +`9d29c01928df7ce726c49286a3067129fc039115` was the first atomic attempt's |
| 189 | +source. |
| 190 | + |
| 191 | +The Apple packed-debug repair and post-run ledger updates require a new |
| 192 | +reviewed source commit and a new matching |
| 193 | +`csharp-entry-gates-<full source SHA>` tag. Its precommit scope must contain |
| 194 | +only the native-builder workflow plus these four continuously maintained |
| 195 | +ledger files. The local `.codex/`, `.TASK.readonly-seed/`, `AGENTS.md`, and all |
| 196 | +excluded paths remain outside that commit. |
111 | 197 |
|
112 | 198 | After the run, record in `verification-gates.md`: |
113 | 199 |
|
@@ -322,4 +408,4 @@ Current source SHA-256 values: |
322 | 408 | | shared Rust setup action | `2063428518629315d1d6bb67e4c864764466cfc6a9654469dec014d908c2713a` | |
323 | 409 | | manual caller workflow | `cd3e45ef30ecd8789116e16a3c34212b35a905244020b417a57e70a35fc28f96` | |
324 | 410 | | reusable verifier workflow | `9b4118773f3c2c397ab1b50270c97cd12a920631ee3f1df7ef803230a780619e` | |
325 | | -| native builder workflow | `38f117d90015add19bdd0edc153b66d7339ba1b16cb621356ae3d4aac3782f41` | |
| 411 | +| native builder workflow | `966e45b3dbe0a140eb2fe5905d2924d8befe95a7f4fd83111b263cd1ace7128c` | |
0 commit comments