The Windows link failed on code that ELF links drop unused: MinGW's PE
linker reports undefined symbols even in dead functions. Ziran's file,
mapping, and curl modules now build for Windows (ziran 1a4bd23), and here:
- the CRT's _time64, _localtime64_s, and _gmtime64_s replace MinGW's
inline-only localtime_s and gmtime_s;
- the density lock needs SDL, which the Windows build does not use;
- the pthread-based Android mutex compiles only for Android;
- the dead whm_session.session and its stale C names are gone;
- the native host declines net_http's blocking Send, which inbe never
uses (native requests go through SendCurl);
- the link takes zlib from Ubuntu's MinGW zlib package.
The 32-bit build is dropped: Win32 APIs are stdcall there, and Ziran's C
output has no calling-convention support. The installer refuses 32-bit
Windows, and winget lists x64 only.
Tested under Wine: the screenshot scenes render, the data directory and
database are created, and the installer installs, runs, and uninstalls.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Kryon deleted its legacy make fragments on 09-24, and Inbe still relied on
two of them: the MinGW raylib rule, so Windows builds found no rule for
libraylib.a, and package-freebsd.mk, which also provided install, stage,
and uninstall. Inbe now builds Windows raylib like the native library and
keeps the FreeBSD packaging rules itself. The FreeBSD VM also installs
git, which fetching the pinned packages needs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jobs that only fetch packages saved the toolchain cache first, before
any job had built the compiler, so later runs restored a cache without
it. They now restore it without saving. Cache keys use runner.os, since
ImageOS is empty inside composite actions.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- make test runs as three parallel shards (scripts/test-shard.sh), so
the test job takes about a third as long.
- One job builds the web app, packages it for Chrome and Firefox, and
runs the smoke test in both, instead of two jobs building it twice.
- Emscripten is pinned to the version CI already used (6.0.10) and
cached, including the libraries it builds on first use.
- The built Ziran compiler is cached by the toolchain commit instead of
the whole lock, so a Kryon bump no longer rebuilds it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Chrome and Firefox jobs waited for the whole test job before
starting, so a CI run took the two back to back. They now start with it.
The Chrome job also rebuilt the web app through make web-canvas and ran
the same canvas smoke test twice more.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every job rebuilt Ziran and re-cloned Kryon, curl, sqlite, and liboqs, about three
minutes each. A shared step now caches both by the hash of ziran.lock. In CI the
tests no longer wait for the secret scan, since CI publishes nothing.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sync retry and the private-data layout are ordinary Ziran modules with
#law obligations checked by ziran check. The Bend proofs, Node generators,
pinned Bend dependency and Node build tool are removed, and a mutation test
shows each law rejects a deliberately broken implementation.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ziran.toml and ziran.lock pin the Ziran toolchain, Kryon, Game2D, the Daochi
client, and the C libraries (as source packages) at the commits the vendor
submodules used. scripts/packages.sh bootstraps the locked toolchain, runs
ziran fetch, and links each checkout under build/packages/; make, Gradle, and
CI run it before building. make package-check replaces no-vendor-edits.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Move product behavior, app types, storage, audio, and tray logic into .kry modules. Use shared Kryon widgets, layout policies, asset-backed images, and app KSS styling with a smaller native boundary.
Include the pending navigation, sync recovery, localization, launcher icon, design asset, and 2.0.0 release metadata updates. Add version consistency checks and improve browser persistence and interaction validation.
The vendored Kryon compiler now emits 8c-safe C directly, so the
per-project rewriter script is gone: kry-c-plan9 runs k2c with --plan9
across the kryon, sqlite, and generated include dirs, writes the
generated file list, and builds the embedded asset table. The handful
of declarations the pass cannot type (member pointers and ternaries
over locals) now carry explicit types in the Kry sources, which reads
better anyway and keeps every platform's generated code identical.
A guard job with a plain checkout fails the run when any .gitmodules
URL is not https:// — SSH URLs work only with a developer key and
break fresh clones and CI instead. The test job needs the guard.
make windows-setup builds an NSIS installer (both portable exes,
shortcuts, ARP entries, silent /S installs) beside the zip; verified
by running a silent install under wine. The release workflow builds
and ships it, and a gated publish-winget job keeps the winget manifest
current on each release (needs the WINGET_TOKEN secret; the one-time
new-package submission uses the template in packaging/winget).
The appcast appimage channel is now appimage-<dpkg arch> so multi-arch
publishers list one channel per arch and each machine resolves its own.
Also brings the kry_update_flow kryui bindings (not yet used by inbe).
app_update_check.c keeps only inbe's persistence (daily check stamp in
settings), locale strings, the toast, and the miniz zip extractor
handed to the flow as a callback; check/channel/download/verify/apply
now come from kryon's kry_update_flow so every kryon app embeds the
same lifecycle. The release workflow generates appcast.json through
kryon's scripts/make_appcast.py instead of inline python. Verified end
to end against a local appcast server: available -> staged+verified.
The app checks the release appcast once a day on desktop and surfaces a
new version with a toast plus a download link in Settings -> About.
AppImage and Windows users get the direct artifact URL; deb/rpm, Snap
and Flatpak installs are left to the system updater. The release
workflow now publishes appcast.json (version, notes, per-channel URL,
SHA-256, size) alongside the release artifacts, and the vendor kryon
pointer brings in the new kry_update module. INBE_UPDATE_APPCAST_OVERRIDE
overrides the URL for testing.
Add timeout-minutes to every job and apt retry/timeout options
(Acquire::Retries, Acquire::http/https::Timeout) to all apt-get
update/install calls, so a stalled package download fails fast
instead of hanging until the 6-hour job limit cancels the run.