.tth/public-export/: the export script and its rules (moved here from the
ops repo; .tth/ itself never leaves this repo). tth-upstream-sync gains
a public-export job: when the merge changed main, export with the pinned
git-filter-repo and a checksum-verified gitleaks, push with a deploy key
limited to tth-pub/meshcore-tth (secret PUB_DEPLOY_KEY, host key pinned
in .tth/public-export/known_hosts). pub-release.yml there runs on that
push and keeps the newest 5 tth- releases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs only in tth-pub/meshcore-tth (manual dispatch): 15 generic envs
(XIAO nRF52, SenseCAP Solar, RAK4631, T1000-E, Heltec T114/V3 --
repeater, BLE companion, room server, sensor) with upstream's placeholder
PIN/password, .uf2+.zip for nRF52, .bin+merged.bin for ESP32, SHA256SUMS,
release tth-<sha8> titled with the stamped version. Lint gate covers
pub-*.yml like tth-*.yml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI pouštělo `pio test -e native -e native_kiss_modem`. Guardy v Packet::readFrom
zamerne nemeni navratovou hodnotu -- odmitnou presne to, co upstream odmitne az
po precteni -- takze pod `native` projdou i BEZ nich; rika to i hlavicka
test_packet_readfrom.cpp. Slo je tedy odstranit a CI zustalo zelene.
Overeno mutaci: po odstraneni tri guardu z Packet.cpp `native` porad PASSED,
`native_asan` skonci rc=1 a binarka hlasi
"heap-buffer-overflow ... src/Packet.cpp:93 in mesh::Packet::readFrom".
Doplneno `-fno-sanitize-recover=all`: bez toho UBSan nalez jen VYPISE a test
dobehne uspesne, takze z te poloviny sanitizeru byla ozdoba.
A poznamka do ini o pasti v diagnostice: `pio test` u padu sanitizeru vypise jen
"Program received signal SIGHUP" a ASAN report SPOLKNE -- necti z toho, ze
sanitizer nic nenasel, spust binarku primo.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>