Repository navigation
Commit d58afe5
committed
revert(release): re-embed runtime assets into the single shipped binary
Externalizing the integration templates (DeusData#1492/DeusData#1493) and the UI bundle
(DeusData#1501/DeusData#1503) was done to reduce the Microsoft `Wacatac.B!ml` surface. It did
not work: across dry runs the flagged artifact count stayed at ~3 and the
detections merely moved between artifacts.
Dissection of run 31286803592 shows there is no structural cause to fix. The
verdicts split across every axis at once — linux-amd64 (dynamic) flagged while
linux-amd64-portable (static) is clean, but linux-arm64 (dynamic) clean while
linux-arm64-portable (static) is flagged. The two macOS binaries have identical
segment structure and split clean/flagged. Siblings from one build landed in
different variant buckets (.B vs .C). Entropy is low everywhere
(code_vectors.bin 4.166, grammar tables 3.464 bits/byte, against 7.5-8.0 for
packed payloads), so the packed-payload hypothesis is excluded too.
So the complexity bought nothing, and installation goes back to being
self-contained: one binary that carries its own UI and agent integration
templates, with no adjacent data file that has to resolve before `install`
works. Only the UI-capable composition ships from now on, under the historical
unsuffixed archive name.
Removed: src/ui/asset_pack.{c,h}, asset_pack_stub.c, asset_manifest_stub.c,
scripts/pack-ui-assets.mjs, src/cli/integration_assets.{c,h},
assets/cbm-integrations.json, scripts/gen-integrations-hash.sh, the
--verify-runtime-assets probe (nothing adjacent left to verify), and the
composition gates A6/A7 whose property is now deliberately inverted.
Restored: scripts/embed-frontend.sh, src/ui/embedded_{assets.h,stub.c}, the
compiled-in hook/adapter template bodies, and the embed/EMBED_OBJS build path.
Kept from the reverted commits, re-applied by hand where a wholesale file
restore would have dropped them:
- cbm_module_path_utf8() in both self-path sites. GetModuleFileNameA renders
through the ANSI code page and mangles non-ASCII install paths.
- the /__cbm/ui-readiness HMAC proof, secure_random and cbm_hmac_sha256, so
`daemon start --open` still waits for a genuine CBM listener.
- X-Content-Type-Options: nosniff on served assets.
- the MinGW noexecstack gate, -lbcrypt, and the cppcheck/zip CI fixes.
Archives are now codebase-memory-mcp-<os>-<arch>[-portable] with exactly four
members (binary, LICENSE, installer, THIRD_PARTY_NOTICES.md). That restores the
names every static package manifest already points at — aur, chocolatey,
homebrew, scoop, winget and glama were all broken by the -ui- rename.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 10cb0e0 commit d58afe5
58 files changed
Lines changed: 1540 additions & 11420 deletions
File tree
- .github/workflows
- assets
- pkg
- aur
- glama
- go/cmd/codebase-memory-mcp
- homebrew/Formula
- npm
- test
- pypi/tests
- scripts
- ci
- src
- cli
- daemon
- ui
- test-infrastructure/vm
- tests
- windows
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 365 | + | |
368 | 366 | | |
369 | 367 | | |
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
373 | | - | |
| 371 | + | |
374 | 372 | | |
375 | 373 | | |
376 | 374 | | |
| |||
458 | 456 | | |
459 | 457 | | |
460 | 458 | | |
461 | | - | |
462 | 459 | | |
463 | 460 | | |
464 | 461 | | |
| |||
476 | 473 | | |
477 | 474 | | |
478 | 475 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | 476 | | |
491 | 477 | | |
492 | 478 | | |
| |||
702 | 688 | | |
703 | 689 | | |
704 | 690 | | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | 691 | | |
711 | 692 | | |
712 | 693 | | |
| |||
728 | 709 | | |
729 | 710 | | |
730 | 711 | | |
731 | | - | |
| 712 | + | |
732 | 713 | | |
733 | 714 | | |
734 | 715 | | |
| |||
871 | 852 | | |
872 | 853 | | |
873 | 854 | | |
874 | | - | |
| 855 | + | |
875 | 856 | | |
876 | | - | |
| 857 | + | |
877 | 858 | | |
878 | 859 | | |
879 | 860 | | |
| |||
899 | 880 | | |
900 | 881 | | |
901 | 882 | | |
902 | | - | |
| 883 | + | |
903 | 884 | | |
904 | | - | |
| 885 | + | |
905 | 886 | | |
906 | 887 | | |
907 | 888 | | |
| |||
959 | 940 | | |
960 | 941 | | |
961 | 942 | | |
962 | | - | |
| 943 | + | |
963 | 944 | | |
964 | | - | |
| 945 | + | |
965 | 946 | | |
966 | 947 | | |
967 | 948 | | |
| |||
1048 | 1029 | | |
1049 | 1030 | | |
1050 | 1031 | | |
1051 | | - | |
| 1032 | + | |
1052 | 1033 | | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1065 | 1040 | | |
1066 | 1041 | | |
1067 | 1042 | | |
1068 | 1043 | | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
| 1044 | + | |
| 1045 | + | |
1073 | 1046 | | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
| 1047 | + | |
1079 | 1048 | | |
1080 | 1049 | | |
1081 | 1050 | | |
1082 | 1051 | | |
| 1052 | + | |
1083 | 1053 | | |
1084 | | - | |
| 1054 | + | |
1085 | 1055 | | |
1086 | 1056 | | |
1087 | 1057 | | |
| |||
1114 | 1084 | | |
1115 | 1085 | | |
1116 | 1086 | | |
1117 | | - | |
| 1087 | + | |
1118 | 1088 | | |
1119 | 1089 | | |
1120 | 1090 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
155 | 151 | | |
156 | 152 | | |
157 | | - | |
158 | | - | |
| 153 | + | |
| 154 | + | |
0 commit comments