Compare commits

...
171 Commits
Author SHA1 Message Date
waozi 7a1bf94ceb Measure web animation only during active playback 2026-10-01 15:34:22 -03:00
waozi 9ae46c627e Release Inner Breeze 2.0.7 with FreeBSD packages paused 2026-10-01 14:56:40 -03:00
waozi f5390d85a5 Simplify the Inbe landing page and practice flow 2026-10-01 13:48:29 -03:00
waoziandClaude Opus 5.5 a1260b624f Tuck the women's necks inside their round collars
In the half lift, both planks and upward dog the head tilts back up to 42°
from the spine, which swung Sunrise ponytail's and Sage bun's throats out
below the collar. Their necks now attach 11% down the torso, like the male
proposals' joined necks, so the neck stays inside the collar in every pose
while the standing neck keeps its length. Both women and the first male
are rerendered with the current sun salutation motion, so the paired loops
match again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 11:51:34 -03:00
waoziandClaude Opus 5.5 50f3a8ed6d Slim the second male proposal's seat
His painted leg is about a fifth thicker for its length than the first
man's, with a pronounced rear curve, and the rig widened it further behind
the hip. Draw his leg at the first man's thickness without the seat
fullness, and re-render his loop, GIF, sequence and the review montage.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 11:11:59 -03:00
waoziandClaude Opus 5.5 3599bad770 Sweep sun salutation arms clear of the face and step without kicking
From prayer the hands open forward into straight arms that rise in front
of her, instead of sliding up across her face, and come down the same way.
The half lift keeps straight legs and a long back. Planting the hands now
uses long arms and soft knees with her head up, instead of folding her
face to the floor. A stepping foot skims the floor and travels while her
hips are high, leading hips that lower and following hips that rise, so
the leg reaches long instead of kicking up behind her.

Both renderers share the change; the app's frames are regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 11:09:46 -03:00
waozi 328b5aff3f Add paired male sun salutation proposals with joined necks 2026-10-01 10:53:09 -03:00
waozi 46a175fa34 Measure salutation timing after the resume gesture completes 2026-09-30 23:56:37 -03:00
waozi 550e00de88 Keep skipped release refreshes from cancelling site deployments 2026-09-30 23:47:05 -03:00
waozi 9dcecd6a50 Deploy the website independently with published download links 2026-09-30 23:43:43 -03:00
waozi f33b8a191d Add four banner-inspired animated character proposals 2026-09-30 23:13:42 -03:00
waozi 7e7f0329d4 Replace landing preview with the real mini app 2026-09-30 23:02:01 -03:00
waozi f11cbc80fb Deliver oversized web asset packages within the Pages limit 2026-09-30 22:34:16 -03:00
waozi f107b2a0df Use Waozi colors in opt-in mini previews 2026-09-30 22:05:30 -03:00
waozi 82ac24d32f Smooth Sun Salutation timing and foot transitions 2026-09-30 21:52:19 -03:00
waozi 573b632c41 Align Kryon and Game2D package names in the application lock 2026-09-30 17:48:33 -03:00
waozi 6339dab94c Tuck sun salutation neck beneath the shirt collar
Paint the face and neck before the shirt so the collar covers the neck base as the head turns. Keep the front hair above the shirt and regenerate all app animation frames.
2026-09-30 17:38:01 -03:00
waozi 85cd06159f Replace pixel sun salutation with smooth painted animation
Use 30 fps transparent frames across all twelve poses, fuller hips, and solid hand and foot contact drawings. Make practice Customize pages fill the view and simplify the session timer.

Verify frame timing, storage settings, native navigation, and session playback controls.
2026-09-30 17:10:34 -03:00
waoziandClaude Opus 5.5 305053dec5 Keep the sun salutation girl's top over her leggings
In plank, low plank and upward dog the leggings' waistband stuck out above
the back of her top, and in the fold, down dog and the lunges the seat ran
flush into the hem, so the top looked tucked into the leggings.

Above the hem the leggings are now clipped away behind her back, and the
lower top flares out over them, more at the back while she is upside down,
where it hangs away from her. Each leg's painted seat follows the pelvis
and bends round into the thigh, with extra rows across the joint and a
turn that stays round even when the hip folds all the way; the separate
hips piece and the sliding of the top are gone, since the bent seat forms
a smooth bottom in every pose. The Ziran renderer does the same.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 14:56:53 -03:00
waoziandClaude Opus 5.5 ecde810b97 Update Kryon: habit day dots and other rounded shapes are anti-aliased
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 13:07:47 -03:00
waoziandClaude Opus 5.5 45d118b733 Declare local flags as bool
`ziran check --lint` found three s32 locals that only ever hold 0 or 1
and are only compared with them: handled_screen, the desktop loop's quit,
and has_prev. They are bools now, set with true and tested directly.
The other quit, passed to the tray by pointer as an s32, stays.

Inbe checks with both the pinned 8bc31e8 and the current Ziran.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 08:00:44 -03:00
waoziandClaude Opus 5.5 bbf4f16b02 Write constant dispatch chains as if-cases
Seventeen if/else-if chains that compare one variable with three or more
constants now read as Jai's `if value == { case A; ... case; ... }`,
which Ziran checks as the same chain and compiles to a switch where it
can. Chains in procedures that also use opened enum members, or over an
enum with a plain else, stay as they are until the pinned Ziran includes
the fixes for those (008874f, 9fb3d30).

Inbe checks with both the pinned 8bc31e8 and the current Ziran, and the
app navigation, bottom navigation, text input, and sync review tests pass
with both. route_navigation_test.sh and settings_shell_test.sh fail as
they did before this change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 07:47:36 -03:00
waoziandClaude Opus 5.5 bd2bb39f29 Let Ziran widen values without explicit casts
The pinned Ziran (8bc31e8) converts narrower numbers implicitly where no
value can change. `ziran check --lint` found seven casts that only widen
a whole initializer, argument, or result (s32 or u8 to s64, u32 to u64);
they are removed, with the parentheses they no longer need. Arithmetic
still happens in the narrower type first, as before. The two casts in
range headers stay for readability.

Inbe checks, and the settings cache, statistics date, and sync crypto
tests pass, with both the pinned and the current Ziran.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 07:30:16 -03:00
waoziandClaude Opus 5.5 5eef3ea535 Write compared characters as #char literals
The locale parser and settings cache compared bytes with character codes
written as numbers (45, 91, 48..57). `ziran check --lint` found 42 such
comparisons; they now read #char "-", #char "[", #char "0" and so on.
Control characters such as 9 and 10 stay numbers.

Inbe checks, and the locale parser, locale policy, and settings cache
tests pass, with both the current Ziran tree and the pinned 8bc31e8.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 07:24:07 -03:00
waoziandClaude Opus 5.5 a587b06673 Drop casts to a value's own type
`ziran check --lint` found 42 casts that convert a value to the type it
already has, such as cast(u8) on a []u8 element or cast(s64) on a count.
They are removed; nothing else changes. Casts that only widen are left
for when the pinned Ziran widens implicitly.

Inbe still checks with both the current Ziran tree and the pinned
package checkout (8bc31e8).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 07:19:11 -03:00
waoziandClaude Opus 5.5 85905afe96 Render the sun salutation girl from Ziran too
scripts/sun_salutation_girl.zi is the Ziran version of the Python girl
renderer: it reads the same rig JSON and painted parts, draws with Cairo,
and pipes frames to FFmpeg. scripts/render-sun-salutation-girl-zi.sh
builds it to Python with the pinned toolchain's zi2py and runs it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 06:11:19 -03:00
waoziandClaude Opus 5.5 997a9163f1 Keep mini mode temporary and without a tray icon
Mini mode is a quick practice, so it no longer opens a tray icon and its
extra window, and it keeps nothing: finished practices, mood check-ins,
and changed settings stay in memory, and nothing is synced or counted
toward habits. The results page drops the save status and the mood
picker, which had nothing to record. Opening the full app from mini mode
saves as usual from then on.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 06:08:40 -03:00
waoziandClaude Opus 5.5 fb5134114d Open the practice Customize page again
The Customize page closed itself on its first frame because it treated
any drawn title bar as a press of Back. It now closes only when Back is
pressed, and its title bar shows the Back button again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 06:08:40 -03:00
waoziandClaude Opus 5.5 6122de4296 Keep widgets drawn on animated screens
Since the previous frame could be reused, every screen that animates with
direct draws, such as the Wim Hof session and its Customize preview, lost
its text and controls: Kryon dropped the unchanged widget paint while Inbe
repainted for the animation. Inbe now tells Kryon whether it will reuse the
previous frame, and Kryon 001a2a20 emits the paint when it will not.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 06:08:40 -03:00
waoziandClaude Opus 5.5 ad7095ec7c Pass the Oqs package path to the title bar and navigation tests
Both compile sync_crypto_random.zi, which imports oqs/Oqs by its package
name since decfee42.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 01:54:51 -03:00
waoziandClaude Opus 5.5 685eb4e143 Build Windows again, for 64-bit Windows only
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]>
2026-09-30 01:54:51 -03:00
waoziandClaude Opus 5.5 333ba2f875 Animate the painted girl through the sun salutation
A new renderer draws the Codex-painted girl through Inbe's twelve steps
from a tracked rig: docs/sun-salutation-girl.json holds the poses, timing,
bones, camera and part key points. The upward salute folds as a swan dive,
the half lift steps back through a low lunge, lifted feet point along the
shin, the shirt always covers the leggings, and the layered head lets the
long hair fall behind a fully painted neck. Output is deterministic and
goes under build/.

Also track the first person-rig renderer and the tool that cut the
generated reference video into poses, and move the Ziran toolchain pin to
8bc31e8 so Python builds load LDLIBS libraries and pass C strings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 01:53:35 -03:00
waoziandClaude Opus 5.5 decfee4212 Import Oqs by its package-qualified name
Oqs names its module file after its export, so Inbe imports it as
oqs/Oqs through a named module path, as project builds of other apps
do. The lock moves Oqs to that commit and keeps liboqs where it was.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 01:21:16 -03:00
waoziandClaude Opus 5.5 2fbebbec05 Sign accounts and draw random bytes through the Oqs package
Account key pairs, signatures, secure random bytes, and wiping secrets
now go through ziranlang/oqs, the Ziran binding for liboqs, instead of
Inbe's own OQS_* declarations and size_t shim. Inbe still builds the
same ML-DSA-44 liboqs from its locked source, which Oqs shares.

Every build and test that compiles the account modules finds the
package, and the account, device key, and Daochi tests stub liboqs by
its own names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 01:10:36 -03:00
waoziandClaude Opus 5.5 7198ebc587 Build snap, flatpak, and FreeBSD packages from the fetched packages
- Kryon's library is built alone (libkryon.a), without its C++ and Go
  backend checks, so snap and flatpak builds no longer need Go.
- The flatpak keeps its fetched packages in the build directory; each build
  command runs in a fresh sandbox, so links into $HOME/.cache dangled.
- packages.sh builds the Ziran toolchain with GNU make, gmake on FreeBSD,
  where make is BSD make.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 01:06:03 -03:00
waoziandClaude Opus 5.5 a2fd6b63c8 Pin Ziran d4489a3, which proves the guide laws
The guide and pager laws are outside the pinned 18d60d0's compile-time
evaluator, so every build stopped at the proofs gate. d4489a3 proves all
eight law modules, and the desktop and web sources check with it. The
version test also copies mk/package-freebsd.mk, which the Makefile now
includes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 22:20:58 -03:00
waoziandClaude Opus 5.5 e13d77aaaf Let snap and flatpak builds fetch their own packages
A snap or flatpak build starts from a copy of the tree without the host's
package links, which point into the host's cache anyway. Make checked the
build environment while first reading the Makefile, before it fetched the
packages, so it stopped on "libcurl >= 7.86.0 is required" by reading a
curl header that was not there yet. The checks now wait for the fetch. The
snap installs git for the fetch; the flatpak leaves the host build tree out
and may use the network while building.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 22:19:13 -03:00
waoziandClaude Opus 5.5 e228b1acc8 Build Windows raylib and FreeBSD packages without Kryon's old make files
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]>
2026-09-29 22:15:49 -03:00
waoziandClaude Opus 5.5 6f692b7e32 State guide and guide pager laws
The guide and guide pager laws that were Bend models on Kryon's old
.kry runtime are now Ziran laws on Inbe's guide code: which keys go
forward, back, and close, that a swipe blocks a keyboard finish, that
steps and pages stay in range, and how closing, finishing, and moving
between steps and pages decide. The proofs gate checks them on native
builds and Android builds.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 22:14:52 -03:00
waoziandClaude Opus 5.5 8a528a6e47 Keep CI toolchains per runner image and detect glibc without ripgrep
The Ziran compiler cache was keyed by OS family and CPU only, so jobs on
ubuntu-22.04 restored a compiler built on ubuntu-latest and failed with
"GLIBC_2.38 not found". The key now includes the runner image and its C
library. The build also detected glibc with rg, which runners lack, so it
silently dropped the __GLIBC__ define there; it uses grep now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 22:11:51 -03:00
waoziandClaude Opus 5.5 493ad25947 Drop paths into the removed vendor trees
Kryon no longer vendors utf8proc, Monocypher, liboqs, or raylib; each is
its own Ziran package. The native build stops passing include paths and
a sync crypto list that point into Kryon's old vendor tree, the
secondary window test reads raylib's headers from its package, and the
Firefox add-on source zip leaves out liboqs's and raylib's docs, tests,
and examples from their package folders.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 21:44:41 -03:00
waoziandClaude Opus 5.5 5de8e26024 Center the Week and Calendar tab labels
Kryon 58c83781 centers segment labels that style sheets pad, so the
habit page's Week and Calendar tabs no longer sit right of center.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 21:37:33 -03:00
waoziandClaude Opus 5.5 8c2f07ae66 Show counts in the habit calendar and name its month
A counting habit's calendar day now shows its date above a dot with the
day's count, filled once the day reaches its target, like the week
markers. The calendar names its month in the app's language, such as
"September 2026" or "2026年9月", centered between the arrows, and a
habit's title sits level with the Back button.

The minus and plus steps beside Today and in the count dialog are drawn
as bars sized to their buttons instead of small "-" and "+" glyphs, and
the digits in a day's dot grow with the dot.

The month names that are the same in German and Indonesian as in
English are allowed to match it, and the CJK fonts now carry 年 and 년
for the month names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 21:26:12 -03:00
waoziandClaude Opus 5.5 fc0729181e Pass the Ziran std path to every route catalog test step
Kryon's geometry module now imports math, so the bundle and native
steps failed to find it in source mode.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 21:20:06 -03:00
waoziandClaude Opus 5.5 d0613da5c4 Add a mini mode with only the practices
Inbe started with --mini, or opened with ?mini in the page address, shows
the practice start page, the practices, and their results: no navigation,
habits, lists, profile, settings, language picker, first-run guide,
donation reminder, breaks, reminders, update check, or sync. It opens on
Wim Hof. An expand button in the top-right corner (or next to a practice's
close button) opens the full app: a page opens it in a new tab without
?mini, and the desktop window grows into it in place. The desktop mini
window is phone-sized and quits on close.

Launch commands (?launch=...) are now removed from the address once run,
since route changes keep the page query and a reload would repeat them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 21:14:33 -03:00
waoziandClaude Opus 5.5 ac944513cd Build KSS and the style packs from the KSS package
KSS moved out of Kryon into kryonlabs/kss. Inbe depends on it, compiles
it from build/packages/kss/src with --module-path kryon=... for its
Kryon imports, and embeds the style packs from build/packages/kss/styles
as styles/NAME.kss. The Android build, the source check, and the tests
use the same paths, and the lock moves Kryon and Ziran to the commits
that carry the move.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 21:09:07 -03:00
waoziandClaude Opus 5.5 6cd29b096c Add screenshot scenes for habit counts and the count dialog
habit_counts shows the counter habit expanded with a full day, a
partial day, and a two-digit count; habit_count_dialog opens the count
dialog over it for today.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 21:04:43 -03:00
waoziandClaude Opus 5.5 b19f3c4c4c Count habit days in a dialog and show counts without a check
A counted day's circle now shows only its count, centered in the circle
and drawn in a color that reads on the filled circle, instead of a check
with the number on top.

Tapping a counting habit's day opens a dialog with the day's count, its
daily target, and large minus and plus steps, instead of adding one per
tap. Days with linked practice sessions count up from those sessions,
never below them, and open the sessions from the dialog. For today the
habit card also has minus and plus buttons beside the Today count.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 20:55:49 -03:00
waoziandClaude Opus 5.5 28e90d8747 Reuse the previous frame when nothing drawn has changed
Direct draw calls are recorded into a per-frame plan. When both the
widget paint and the plan match the previous frame, the native host
presents the retained frame instead of repainting it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 20:48:51 -03:00
waoziandClaude Opus 5.5 53b70d16d5 Keep CI toolchain caches complete and readably keyed
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]>
2026-09-29 19:36:06 -03:00
waoziandClaude Opus 5.5 9a243a8019 Speed up CI: shard the tests, build the web app once, cache toolchains
- 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]>
2026-09-29 19:20:12 -03:00
waozi feab1a9350 Add sun salutation previews with fixed character proportions 2026-09-29 19:19:18 -03:00
waoziandClaude Opus 5.5 b193a2e726 Stop reading sync settings from SQLite every frame
The sync pump prepared SQL statements on every frame to read whether
sync is on, the server URL, and whether a sync review waits: about a
tenth of each frame on a phone. They are now cached until stored data
changes, using a revision that advances on every row change on the
app's connection (storage_data_revision, which session caches use too).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 19:16:59 -03:00
waoziandClaude Opus 5.5 70bedd0473 Build the browser add-ons beside the tests and run their smoke test once
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]>
2026-09-29 19:09:24 -03:00
waoziandClaude Opus 5.5 7bf57c56d5 Update Kryon: quick taps during slow frames are no longer dropped
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 19:02:43 -03:00
waoziandClaude Opus 5.5 6c47e79b09 Give a habit separate view, statistics, and edit pages
Opening a habit showed a tab-like row of Week, Calendar, and Current
streak buttons with New habit and Edit habit under it, so switching the
view, reading statistics, and editing were mixed on one screen.

The habit view now has only Back, the habit's name, and one Week or
Calendar switch. Statistics is its own page with Back and its own title,
and editing stays on the edit page reached from the habit card. New
habit lives only on the habits overview.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 19:00:48 -03:00
waozi 28759c07e3 Add selected cartoon-pixel sun salutation animation drafts 2026-09-29 18:42:58 -03:00
waoziandClaude Opus 5.5 9ea2e00696 Make Inbe fast and correctly sized on phones, on Kryon's Material theme
On a Moto e6 Play, Habits scrolled at about 4 fps and buttons were drawn
three times their size. The phone's density was applied twice (by the
render scale and again by app metrics), the whole stylesheet was parsed
every frame, and each habit marker reloaded every session from SQLite
while checking a change clock that ran a query.

- App metrics no longer rescale by the density; the render scale does it.
- The style is installed only when the theme, dark mode, or style pack
  changes, and body text follows the theme's Text size.
- Session records are cached once per database change, and the change
  clock counts row changes on the connection instead of querying
  MAX(updated_at), which missed writes within the same second.
- Route fades run at the active frame rate, so tab switches are smooth
  and taps are not dropped while the fade holds input.
- The bottom bar takes its height from Kryon's Material 3 navigation bar.
- Android clears the system bar strips black through Kryon.
- Generic styling moved into Kryon's default material theme; inbe.kss
  keeps only Inbe's own classes.
- Kryon and the Ziran toolchain are updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 18:16:17 -03:00
waoziandClaude Opus 5.5 910902d5cc Count a pending route fade as running in the web test hook
A route change starts its fade on the next frame and ignores input while
it runs. The smoke test waited only for a running fade, so a click sent
between the request and the first fade frame was dropped. Also update
Kryon, which no longer flashes a blank frame when a screen awaits an
image.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 17:18:09 -03:00
waozi 779413138e Explore clean cartoon and pixel sun salutation characters 2026-09-29 16:46:34 -03:00
waozi 009263e870 Explore ten generated styles for the first sun salutation frame 2026-09-29 16:34:20 -03:00
waozi 28ece54b9f Add complete sun salutation videos in separate light and dark themes 2026-09-29 16:23:30 -03:00
waoziandClaude Opus 5.5 a9f3646f8c Drop the removed scroll input tests from make test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 16:13:39 -03:00
waoziandClaude Opus 5.5 6605d396dd Use Kryon's scroll device: momentum, wheel glide, full canvas text
Scrolling now comes from Kryon, which observes the pointer for every
list by itself. Flicked lists keep coasting, wheel steps glide instead
of jumping, and dragging a list no longer presses the button under the
finger. On the web, arrows, ellipses, and non-Latin text such as the
profile cards' chevrons draw as themselves instead of ?.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 16:08:03 -03:00
waoziandClaude Opus 5.5 90c36f55d5 Trim unused library resources and metadata from the Android APK
Keep Firebase and AndroidX resources only in the app's own languages
(Play build: 88 resource locales down to the app's 12) and leave out
protobuf schema sources and Kotlin reflection metadata files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 15:44:11 -03:00
waoziandClaude Opus 5.5 d1a6db792a Fix the Android release build and use Kryon's Android CMake helpers
The Android release step called a Kryon embed script that no longer
exists, so 2.0.x Android builds (and F-Droid's prebuild) failed. The
prepare script now fetches the locked packages the CMake build needs.

The native build uses Kryon's kryon_android_raylib and kryon_android_app
instead of its own copy of those settings, and no longer embeds the
unused banner.png copies of banner-light.png (~0.5 MB per ABI).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 15:36:31 -03:00
waoziandClaude Opus 5.5 12fb43d300 Update Kryon: canvas text no longer clipped or missing
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 15:25:47 -03:00
waoziandClaude Opus 5.5 dbe11dffbb Make practice carousel swipes work and fix web screen hooks
The practice home carousel passed an empty pointer frame to Swipe and
dropped the gesture state, so swiping between practices never worked.
It now uses the app's pointer frame, as the manual screen does.

Web hooks that change the screen between frames now tell the router, so
the next frame's URL sync no longer switches the screen back. The habits
click target reads the first habit's today marker again instead of a
guide anchor the overview never sets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 14:46:18 -03:00
waoziandClaude Sonnet 5.5 61d7d0dbb0 Have the web smoke test wait on the app's route transition state
The app now reports whether a route fade is running, and the smoke test's click
helper waits until it is not, instead of guessing with fixed frame counts.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-29 11:16:12 -03:00
waoziandClaude Sonnet 5.5 fe43032ccc Let the route fade finish before the smoke test's next guide click
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-29 10:55:31 -03:00
waoziandClaude Sonnet 5.5 d3b5cb815b Port the sync recovery test to Ziran and put it back in make test
The legacy C test included a generated app_sync.c that no longer exists. The
Ziran test runs the same retry, backoff, social retry and status-line checks
against app_sync with the storage layer replaced by in-memory settings.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-29 10:33:41 -03:00
waoziandClaude Sonnet 5.5 e2ff252eec Build the web extensions on Kryon's canvas backend
The web link takes Kryon's canvas window, draw, input, texture, audio, raster
and route modules instead of the deleted JS hosts, builds liboqs for
WebAssembly, and no longer pulls the native raylib runtime into the page.
Foreign declarations that shared a name with a canvas function are renamed to
the same C symbol under a different Ziran name, main takes no arguments on web,
and the Ziran and Kryon pins move to the commits that add the missing pieces.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-29 10:29:24 -03:00
waozi ea24cd0e6f Fix Android build law check and raylib package path 2026-09-29 10:05:45 -03:00
waoziandClaude Sonnet 5.5 b83d2a35cd Start moving the web build onto Kryon's canvas backend
Allocator sizes use usize so the generated C matches wasm32's size_t, the web
link uses Ziran's web runtime instead of the deleted Kryon JS hosts (and exports
FS), and the native-only screenshot declarations are left out on web.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-29 01:36:47 -03:00
waoziandClaude Sonnet 5.5 e7bf8829ec Use Kryon's canvas backend modules for the web build
src/main.zi and the raylib host imported a canvas_runtime.zi that no Kryon
release has. On web they now import the canvas window, draw, input, texture and
host modules, and the native raylib runtime is left out.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-29 01:15:33 -03:00
waoziandClaude Sonnet 5.5 c83b05f1ac Take the unbuildable sync recovery C test out of make test
It includes the generated app_sync.c, which the Ziran port stopped producing.
The retry decisions it exercised are covered by sync-retry-zi-test; the target
stays until the rest is ported to a Ziran test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 23:37:00 -03:00
waoziandClaude Sonnet 5.5 3077f00966 Take raylib from its Ziran package and move Kryon to the release that ships it
The app source imports Kryon's frame transitions, which only exist in Kryon
releases where raylib is a locked package instead of a submodule. Link that
package and point the raylib build and includes at it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 23:24:11 -03:00
waoziandClaude Sonnet 5.5 e8dfd3db3d Keep inbe.kss starting with its first rule; declare panel tokens where they are first used
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 23:12:28 -03:00
waoziandClaude Sonnet 5.5 1f5a2a6c6d Define the panel tokens the title bars use so Classic and Lightfield install
The refined title bars use panel, panel-hover and panel-pressed, which only the
Material pack defines, so choosing Classic or Lightfield failed to parse and left
the previous style installed. The fallback values are replaced by the theme's own
colors like every other token.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 23:03:27 -03:00
waoziandClaude Sonnet 5.5 4175783d93 Pin Kryon to the commit with DPI zoom and the opaque Lightfield popup
The app's DPI zoom and Lightfield style overrides need ZoomDPI, RaylibSetZoom and
the popup token, which the previously locked Kryon does not have.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:53:13 -03:00
waoziandClaude Sonnet 5.5 d527f78a8d Fix tests that only passed on stale local build directories
The export filename test linked the renamed layout.c, and the DPI test linked a
raylib_game.c that no longer exists and needed a RaylibSetZoom stub.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:45:11 -03:00
waoziandClaude Sonnet 5.5 39a2c2e1b0 Link storage_layout.c in the archive file test
The generated layout module was renamed; a stale build directory hid it locally.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:36:58 -03:00
waoziandClaude Sonnet 5.5 529e8aac90 Link the locale lookup into the music library test
The custom audio title now comes from the locale catalog, so the test needs
LocaleText and stubs for the embedded asset table.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:28:58 -03:00
waoziandClaude Sonnet 5.5 f17fed4326 Install fontTools for the glyph coverage test
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:22:26 -03:00
waoziandClaude Sonnet 5.5 da62a1a546 Add a promo_habits screenshot scene with a realistic habit set
The existing habits fixtures stay untouched because tests rely on them;
promo_habits renames the extra habits and seeds a natural mix of completed
days for store and promotional captures.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:19:31 -03:00
waoziandClaude Sonnet 5.5 d6801e3316 Install SDL2 and GL headers for the tests that build raylib
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:18:37 -03:00
waoziandClaude Sonnet 5.5 85813b4c1f Cache the second Ziran build the tests make
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:12:16 -03:00
waoziandClaude Sonnet 5.5 c0dc855f77 Build raylib before the Ziran behavior tests that link it
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:12:08 -03:00
waoziandClaude Sonnet 5.5 871ea723bb Cache the Ziran toolchain and package sources; run tests beside the secret scan
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]>
2026-09-28 22:11:46 -03:00
waozi 529512c48d Fade route changes over retained frames 2026-09-28 21:21:17 -03:00
waoziandClaude Sonnet 5.5 cf270ba04b Track the Ziran master ref again so ziran.toml matches ziran.lock
The lock pins a commit newer than v0.2.0 (forall laws), so the manifest must
name master or the locked fetch fails with 'dependencies differ from ziran.lock'.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 20:34:28 -03:00
waoziandClaude Sonnet 5.5 e366faee1f Remove breath sound generator; keep the original breathing sounds
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 20:24:13 -03:00
waoziandClaude Sonnet 5.5 bab3db1c26 Prove dialog placement rules and pin a Ziran with sequence laws
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:44:27 -03:00
waoziandClaude Sonnet 5.5 11867cf71c Prove that restoring an account queues every local change
Restore clears the upload queue and queues all local data again. Four laws
state that no local entity is left unqueued and none is invented, and a test
runs the real restore SQL on every subset of already-queued entities.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:42:58 -03:00
waoziandClaude Sonnet 5.5 3ac1f58405 Prove the habit merge rule and check the real SQL against it
The merge takes the larger value for every day, so it keeps both sides,
invents nothing, and gives the same result in any order or grouping. Seven
laws prove this for every three-day sequence, and a test runs the real merge
SQL on all 729 pairs and requires the same behavior.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:40:50 -03:00
waoziandClaude Sonnet 5.5 8128a83c4c Replace legacy C tests with Ziran/Python tests
Port the practice pager test behind recording widget doubles, wire the
new behaviour tests into the Makefile and delete the C tests they replace.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:40:14 -03:00
waoziandClaude Sonnet 5.5 4ce7121044 Port habit form, session results and sync server tests to Ziran
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:35:02 -03:00
waoziandClaude Sonnet 5.5 842543c6cb Update the build laws plan for lifecycle and recovery laws
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:33:32 -03:00
waoziandClaude Sonnet 5.5 0a25f04da5 Decide sync recovery in a checked pure policy
A response for a switched account or server is never applied, and a partial
social refresh ends on a failed required stage instead of replacing known
friends, dropping only the optional statistic that failed. Thirteen laws
prove this for every stage and flag combination.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:33:18 -03:00
waoziandClaude Sonnet 5.5 f8c4513d2c Decide practice lifecycle behavior in a checked pure policy
Desktop focus loss cannot pause a practice, a user pause is never resumed by
the lifecycle, and mobile background transitions keep the timer only with
permission and a visible indicator. Android applies the decision and twelve
laws prove it for every input combination.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:29:45 -03:00
waoziandClaude Sonnet 5.5 838fbd3ea6 Pin a Ziran toolchain that checks forall laws
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:25:32 -03:00
waoziandClaude Sonnet 5.5 2797478457 Check build laws with Ziran instead of Bend
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]>
2026-09-28 19:23:19 -03:00
waoziandClaude Sonnet 5.5 a1ef965a0a Port the break engine and settings key tests to Ziran and Python
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:21:56 -03:00
waoziandClaude Sonnet 5.5 83733697ab Regenerate font subsets for the current locales; port font, locale and storage path tests
The Chinese profile picture string used a character (U+50CF) that no shipped font contained. New glyph coverage and locale key tests replace the old C ones; storage path scenarios run as Ziran processes.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:19:47 -03:00
waoziandClaude Sonnet 5.5 2a9cf6dc16 Fix habit day-save dirty flag and date/duration padding; port the habit model test
The dirty flag was set when a day save succeeded instead of when it failed, and dates and durations lost their zero padding.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:16:48 -03:00
waoziandClaude Sonnet 5.5 17a8c616a8 Port more storage, habit and breathing tests to Ziran; fix habit record merging and the legacy path list
Habit records from a sync response are now applied together, so habits sharing a name merge with their days instead of orphaning them. LegacyPaths now matches raylib's FilePathList so the legacy scan reads the real count.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:15:10 -03:00
waoziandClaude Sonnet 5.5 3cba691a49 Pin the Ziran toolchain to release v0.2.0
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:12:22 -03:00
waoziandClaude Sonnet 5.5 108e4775b6 Translate the custom audio title in every language
An untitled custom sound or track now takes its name from the current language
instead of a fixed English default. The default is no longer saved as text, and
saves that stored the English default are read the same way.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:04:14 -03:00
waoziandClaude Sonnet 5.5 02b90adeb8 Fix deleted sync records and long ciphertexts; add sync deletion and counter tests
Deleted encrypted records were serialised with a stray comma (invalid JSON), so deletions could not sync, and ciphertext hex was cut at 4096 characters.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:04:01 -03:00
waoziandClaude Sonnet 5.5 6c84ebe030 Fix sync and import regressions from the Ziran port; port storage tests to Ziran
Found by running the old storage tests as Ziran behaviour tests against real SQLite: encrypted habit/habit-day/session/list records were serialised without most fields (malformed JSON, so habits could not sync between devices); the remote habit apply SQL was truncated to 2048 bytes; check-in import queries lacked their SELECT prefix. Adds sync round-trip, payload, habit and import tests.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:02:49 -03:00
waoziandClaude Sonnet 5.5 c8efea2e2f Translate the profile picture dialog title in every language
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:02:45 -03:00
waoziandClaude Sonnet 5.5 058afcf19b Document the untranslated-string test
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 19:00:55 -03:00
waoziandClaude Sonnet 5.5 72c7ca0286 Pin the Ziran toolchain to the commit whose clean build links
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:57:02 -03:00
waoziandClaude Sonnet 5.5 6758780183 Stop tracking the leftover vendor/kryon gitlink
Dependencies are Ziran packages; a gitlink without a .gitmodules entry breaks
fresh checkouts.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:55:35 -03:00
waoziandClaude Sonnet 5.5 d7eb388daf Translate remaining English strings, enforce it with a test, and fix CI
Every locale string that matched English by accident is now translated in French,
Italian, Portuguese, Indonesian, and German. tests/locale_translated_test.py
fails on any new untranslated string, and on allowlist entries that have since
been translated. The stale submodule entries are removed, since dependencies are
Ziran packages, and the toolchain pin moves to a Ziran commit whose clean
parallel build links.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:55:19 -03:00
waoziandClaude Sonnet 5.5 78bf4f81e0 Keep dropdown menus opaque in the Lightfield style
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:55:17 -03:00
waozi ff68e1b8b3 Refine shared title bars and session controls 2026-09-28 18:52:43 -03:00
waoziandClaude Sonnet 5.5 f3e3f55cbe Replace legacy sync_account and activity_monitor C tests; fix three storage regressions they exposed
The Ziran sync_account test runs account import/export, migration, payload and account-switch behaviour against a real SQLite database pinned to a temp APP_DATA_ROOT. It found regressions from the Ziran port: the meta text buffer aliased the 64-byte user id buffer (corrupting the current user id on any meta read), the sync record key used only 32 bytes of the account private key instead of all 2560, and storage_init no longer ran the sync-enabled flag migration. The activity_monitor C test tested a Kryon C monitor that no longer exists; tests/activity_host_zi_test.sh covers the Ziran host.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:48:19 -03:00
waoziandClaude Sonnet 5.5 f9913eddb7 Update Kryon for wrapping Japanese and Chinese text
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:47:24 -03:00
waoziandClaude Sonnet 5.5 ba07c4d563 Translate the strings that were still English in every language
About 100 strings added with recent features were English placeholders in
all eleven other languages: the audio sounds and import buttons, desktop
startup and close options, breathing patterns, sync alias, the tray menu,
weekday names, export, and the donation reminder. Each is now translated in
Czech, German, Spanish, French, Indonesian, Italian, Japanese, Korean,
Portuguese, Russian, and Chinese, reusing the app's existing wording where
the same text was already translated. Brand names stay as they are. The CJK
subset fonts are regenerated for the new characters.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:47:22 -03:00
waozi f99157cc3e Refresh Profile, Lists, Habits, and Practice pages 2026-09-28 18:41:38 -03:00
waoziandClaude Sonnet 5.5 c88f9eed06 Update Kryon for measuring buttons by label
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:34:35 -03:00
waoziandClaude Sonnet 5.5 fb80f5e0d4 Size Settings buttons from their labels so translations are not cut off
The Play, Import sound, and Remove buttons had fixed widths, so a longer
translation was clipped (Russian "Воспроизвести" showed as "Воспроизвест").
Each now takes the larger of the width the layout reserved and the width
Kryon measures for its label, and the picker or title beside it gives up
the room.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:34:33 -03:00
waozi b12a05f2f1 Keep Profile header above scrolling content 2026-09-28 18:27:42 -03:00
waoziandClaude Sonnet 5.5 1cd6a4c1f7 Update Kryon for zoom and the Ziran-only sources
Kryon now provides the zoom module the app uses for Ctrl and the mouse
wheel, the DPI zoom that scales everything drawn, and font rebaking at the
scaled size.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:19:40 -03:00
waoziandClaude Sonnet 5.5 5ffd6f861a Zoom the whole app with Ctrl and the mouse wheel
Ctrl with the wheel, or Ctrl with plus, minus, or zero, now steps the UI
scale setting the Appearance slider edits, so the wheel moves the slider,
persists, and scales the entire app like a browser page zoom. Kryon's zoom
decides when the wheel means zoom and takes the wheel away from scrolling;
the frame stores the result in ui_scale_tenths (50% to 250%) and hands it to
the DPI state, where the zoom multiplies the display density: everything
drawn scales, including widget text, and the layout is the window divided by
the result, so the navigation switches between rail and bottom bar as it
does when the window gets narrower or wider. The raylib runtime rebakes
fonts at the scaled size so text stays sharp.

The Appearance scale slider only moved the navigation breakpoint since the
Ziran port; it scales the app again.

app_zoom_behavior covers the policy on source, saved IR, C, C++, and Go;
native_zoom_test drives the real binary on a private display with the wheel
and keys, checks the layout scale, and reads the saved setting.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 18:19:08 -03:00
waozi 59ee3d24b1 Improve Settings and profile visuals and Customize navigation 2026-09-28 18:00:59 -03:00
waoziandClaude Sonnet 5.5 e5d94569d0 Include the generated timer host header in the timer host test
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 17:17:21 -03:00
waoziandClaude Sonnet 5.5 dbf802f809 Update the audio runtime test to the native type names
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 17:17:14 -03:00
waoziandClaude Sonnet 5.5 a91426bd90 Update the legacy session test for current Ziran output
Foreign imports keep their C names as asm labels now, so the test takes
the time function from the module that defines it, declares zlibVersion
itself, and links Ziran's file module that its zip code uses.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 17:16:58 -03:00
waoziandClaude Sonnet 5.5 bf2b3ec0e3 Let the break stats link test use the vendor SQLite constants
The generated SQLite module and the vendor header define the same
constants with different spellings, which the test's -Werror rejects.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 17:16:34 -03:00
waoziandClaude Sonnet 5.5 400a8e516d Drop the hand-written Android timer header
The Ziran timer host generates the same declarations, and the old C
header shadowed the generated one so the timer test could not compile.
The test includes the generated host header instead.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 17:15:46 -03:00
waoziandClaude Sonnet 5.5 108b3af91c Link Ziran's math module in the scroll link test and clear stale Android output
Kryon geometry calls Ziran's math module, which the scroll input link
test neither put on the module path nor linked. The Android JNI test
reused its output directory, so files from an earlier naming layout were
compiled again and failed; it now starts from an empty directory.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 17:11:59 -03:00
waoziandClaude Opus 5.5 e1d856c79a Bring route, settings, and language tests up to date
The route host test checks web routing but built the host without the
web define, so every route query came back empty; it also links Ziran's
byte text module now. Settings and language tests put Kryon's style
sheet modules on the module path, expect the current switch width, and
give the settings mutation test the line host its section dividers use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 13:07:56 -03:00
waoziandClaude Opus 5.5 b07e8810ea Link Ziran's byte text module into text link tests
AppTextFromCString now reads the buffer in Ziran through byte_text_linux,
so the text, list screen, and raylib text input link tests build that
generated module instead of stubbing the old C host function.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 13:05:37 -03:00
waoziandClaude Opus 5.5 4f13f01ccb Read bounded C text in Ziran and bring Ziran tests up to date
AppTextFromCString reached a C host for work the app's own Ziran code
already does, so every test that touched text had to stub it in C. It
now reads the bounded buffer directly and the C export forwards to it.

Tests failed on current Kryon and Ziran: Kryon geometry imports Ziran's
math module, which several test scripts did not put on the module path,
enum members now need their using declaration, and the device policy
test lacked the font metric host its text measurement reaches.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:57:10 -03:00
waoziandClaude Opus 5.5 0beb8868d9 Match the sessions tile icon to the other profile tiles
The sessions tile tinted its icon with the link color, a dark navy in
the app themes, so it showed as a black circle beside the light accent
icons of the neighbouring tiles.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:50:21 -03:00
waoziandClaude Opus 5.5 934366bf76 Fill in counts in sync and data messages
Three messages used %lld, which the app's formatters do not substitute:
clearing data announced Deleted %lld sessions, upload progress appended
the count after the raw placeholder, and sync status showed a bare
number with no label. They use %d now, the queued count and deleted
count are formatted into their messages, and Italian round labels get
back the round number and time they had lost. The locale test now also
checks that each translation keeps its English placeholders.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:49:19 -03:00
waoziandClaude Opus 5.5 8ea8894f07 Tidy the break overlay layout
Practice shortcuts measured their labels at one size and drew them at
another, so the labels spilled out of their chips. The title, countdown,
and notes were centred by widths measured with the wrong font, and each
action button treated the start of its slot as its centre, leaving them
misaligned and uneven. Text now centres in the panel, the actions share
one width, and the shortcuts are rounded chips with fitting labels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:46:39 -03:00
waoziandClaude Opus 5.5 888c57e216 Show the mood faces on the results check-in buttons
The faces were drawn immediately while their buttons were queued, so
every button painted over its face and the How did you feel? choices
were blank. The faces now use queued paint and land on top.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:43:45 -03:00
waoziandClaude Opus 5.5 446d7ba73e Stop habit statistics from crashing and add missing labels
Opening a habit's statistics aborted the app when checked-in sessions
had no before-mood, energy, or stress rating, because the averages
divided by a zero count. Averages now skip empty groups and keep their
fraction instead of truncating to whole numbers.

The habit edit button and the sync review dialog showed raw locale keys;
they are now translated in every locale, along with the sync review
message, and a test checks that every key the app uses exists in every
locale. Habit statistics and calendar screenshot scenes now select a
habit so they show those views.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:42:22 -03:00
waoziandClaude Opus 5.5 786aa6cca7 Show the practice manual and settings opened from How to
With the practice manual or configuration modal open, the practice page
also drew the same manual under it, so its widgets repeated their keys
and the whole frame was rejected, leaving a blank screen. Those modals
now cover the page like the start speed editor, and rejected frames log
the widget key and kind that caused them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:35:58 -03:00
waoziandClaude Opus 5.5 3dd7f1c67d Match cast asset table entries in the embedded image check
The asset table now writes each path behind a byte-pointer cast, so the
check reported every embedded image as missing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:30:13 -03:00
waoziandClaude Opus 5.5 9a73f8287f Give build gate tests a complete scratch project
The version and sync-retry gate tests linked Ziran packages into
build/packages without creating it and left out the package manifest
and mk/sync.mk, so Make stopped before reaching the gate being tested.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:29:12 -03:00
waoziandClaude Opus 5.5 279341cbe5 Group break settings into sections
Timer status with Rest break now, general break options, each timer, and
the weekly summary each sit in their own section with label-beside-control
rows, instead of one long stack of floating headers and controls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:25:15 -03:00
waoziandClaude Opus 5.5 64726e6c83 Group audio settings into sections
Audio settings sit in Output, Sounds, and Music sections. Each sound cue
is one row with its picker, Play, and Import instead of a picker and a
full-width import button per cue, and music tracks use the same list row.
Preview buttons say Play or Stop rather than the practice start label,
soft remove buttons use a light danger tint instead of a dark block,
and the pause label is translated in every locale.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:23:23 -03:00
waoziandClaude Opus 5.5 1af803c684 Center the about text and add audio and breaks screenshot scenes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 12:18:03 -03:00
waozi fbb84fd8ce Polish first-run guide focus and navigation 2026-09-28 12:13:14 -03:00
waoziandClaude Opus 5.5 e9f90216c1 Group appearance settings and show the mode and scale labels
Appearance settings sit in Theme and Layout sections with each label
beside its control. The theme mode picker lost its Follow device label
and the scale factor never showed its percentage because both texts
were formatted into a stack buffer that was gone by paint time; they
now live in frame text. Customize Nav is a regular row action instead
of a large accent button.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 11:59:53 -03:00
waoziandClaude Opus 5.5 e58742909f Group notification settings into sections
Notification switches and the test button share a card, and each
reminder is one row with its switch, practice, time, and remove action
instead of an unlabeled switch floating under a full-width picker.
Narrow screens split a reminder over two lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 11:53:07 -03:00
waoziandClaude Opus 5.5 b91804a656 Group device settings into titled sections
Device settings were a flat stack of floating labels, full-width
dropdowns, and a lone checkbox. They now sit in Language, Display,
Window, and Playback sections with each label beside its control, a
divider between rows, and switches for every on/off setting. The
language picker is disabled while the system language is used, and
switch knobs stay white on every color theme.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 11:49:00 -03:00
waoziandClaude Opus 5.5 666cf6dec4 Rebuild every Ziran tool together
Only zi2c and zi2zir were rebuilt when Ziran changed, so tests that run
the whole toolchain mixed a new zi2zir with an old ziran and failed with
an unsupported ZIR version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 11:49:00 -03:00
waozi 3232483494 Keep Wim Hof session progress active through exit prompt 2026-09-28 11:45:18 -03:00
waoziandClaude Opus 5.5 560bfd14e3 Compile native sources to reusable objects in parallel
The native build handed every generated module, SQLite, and the embedded
assets to one compiler call and wiped and re-touched the generated tree
first, so any change recompiled everything on one core. Generation now
updates the tree in place and prunes stale files, and each source builds
its own object with header dependencies, so rebuilds recompile only
what changed and use every core.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 11:21:32 -03:00
waozi 8b82d6ccca Fix Customize Nav click carryover 2026-09-28 03:00:14 -03:00
waozi 6458781bfb Enlarge the desktop profile avatar 2026-09-28 02:38:37 -03:00
waozi 3e37e8d9dc Fix habit summary and expanded card bounds 2026-09-28 02:01:56 -03:00
waozi d7ee514132 Fix habit expansion and compact readability 2026-09-28 01:52:26 -03:00
waoziandClaude Opus 5.5 c8a45734eb Use Kryon's tray instead of a private copy
The GTK/AppIndicator and Win32 tray backends moved into Kryon as the Ziran
`tray` module. Inbe keeps only its menu, actions, and status text in
desktop_tray.zi. Kryon picks StatusNotifierItem or a GTK status icon at
runtime and loads GTK only when the tray opens, so the build no longer
probes pkg-config for AppIndicator or links it.

On desktops with an AppIndicator host (GNOME, KDE, Xfce), closing the
window now hides Inner Breeze to the tray: the tray reports itself visible
once a StatusNotifierWatcher accepts it, where it previously never did.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 00:56:19 -03:00
waozi 9fd589f704 Pin Kryon focused library build 2026-09-28 00:45:52 -03:00
waozi 1c3e45f824 Use focused Ziran tools and pin Kryon visual fixes 2026-09-28 00:42:47 -03:00
waozi 366e9e0a3b Pin Ziran text borrow source tracking 2026-09-27 21:11:25 -03:00
waoziandClaude Opus 5.5 bd42eff987 Let Cancel close the exit-session dialog
Each branch declared a new modal_result with :=, shadowing the one checked
after the branches, so the Cancel result was always read as zero and the
dialog stayed open. Assign the outer result instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 20:31:00 -03:00
waozi c7446fcdd3 Use field-aware Ziran text borrow checking 2026-09-27 20:26:37 -03:00
waoziandClaude Opus 5.5 f3aba36d00 Draw the profile row arrows and dashes
The UI font subset is built from locale text and input_common.txt, but the
profile rows use ›, the leaderboard shows — for missing averages, and practice
status joins parts with ·. Add them to the subset corpus, regenerate the
fonts, and update Kryon so the raylib backend loads glyphs beyond ASCII.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 17:39:25 -03:00
waoziandClaude Opus 5.5 fbbad35a1a Show real icons on list and friend actions
The Ziran port replaced the list edit and delete icons with ✎ and × text,
which the UI font cannot draw, and pointed the friend removal icon at a
language flag. Use Kryon's IconEdit and IconTrash, and update Kryon so
icon-only buttons and modal action labels draw again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 17:25:38 -03:00
waoziandClaude Opus 5.5 1d2207b045 Build dependencies from local sources before the network
scripts/packages.sh now seeds the Ziran package cache from Git checkouts that
already contain the locked commits, found in $ZIRAN_PACKAGE_SOURCES or
F-Droid's ../srclib, including submodules such as Kryon's raylib. Builders
that supply every source never fetch; anything missing is still downloaded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 17:12:16 -03:00
waoziandClaude Opus 5.5 e5c7d4be1a Restore the practice banner fade
The banner image is now queued paint, so the fade drawn directly with raylib
ended up underneath it and the banner stopped with a hard edge. Queue the fade
and the title background after the image with Kryon's vertical gradient paint.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 16:52:13 -03:00
waoziandClaude Opus 5.5 94b3bd5f9d Fetch dependencies as Ziran packages instead of submodules
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]>
2026-09-27 16:44:19 -03:00
waoziandClaude Opus 5.5 900553a78c Keep selected navigation readable in dark themes
Style packs pair their own accent-soft background with accent text. Inbe
replaces accent with the theme button color, so selected soft buttons in the
navigation rail rendered dark text on a dark background. Use the theme accent
and its computed ink instead, and give cards the themed surface.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 15:40:53 -03:00
waoziandClaude Opus 5.5 dc67b1bfbe Port Inbe screens, storage, and platform hosts to Ziran
Replace the remaining .kry and C application sources with Ziran modules,
move vendored dependencies to their current pointers, and add Ziran tests for
the ported hosts and policies.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-27 15:40:52 -03:00
2211 changed files with 106649 additions and 63004 deletions

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
name: Set up Emscripten
description: >
Install the Emscripten SDK version named in .github/emscripten-version and
put it on PATH. The SDK, including the system libraries and ports it builds
on first use, is cached per version, so a job only downloads it when the
pinned version changes.
runs:
using: composite
steps:
- name: Read the pinned Emscripten version
id: version
shell: bash
run: echo "version=$(tr -d '[:space:]' < .github/emscripten-version)" >> "$GITHUB_OUTPUT"
- name: Restore the Emscripten SDK
uses: actions/cache@v4
with:
path: ~/emsdk
key: emsdk-${{ runner.os }}-${{ runner.arch }}-${{ steps.version.outputs.version }}-${{ hashFiles('scripts/ensure-emscripten-zlib.sh') }}
restore-keys: |
emsdk-${{ runner.os }}-${{ runner.arch }}-${{ steps.version.outputs.version }}-
- name: Install and activate Emscripten
shell: bash
env:
EMSCRIPTEN_VERSION: ${{ steps.version.outputs.version }}
run: |
set -euo pipefail
if [ ! -x "$HOME/emsdk/emsdk" ]; then
rm -rf "$HOME/emsdk"
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
fi
if [ ! -x "$HOME/emsdk/upstream/emscripten/emcc" ]; then
"$HOME/emsdk/emsdk" install "$EMSCRIPTEN_VERSION"
fi
"$HOME/emsdk/emsdk" activate "$EMSCRIPTEN_VERSION"
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
+61
View File
@@ -0,0 +1,61 @@
name: Fetch Ziran packages
description: >
Fetch the packages pinned in ziran.lock. The built Ziran compiler is cached
by the runner image and the toolchain commit, so bumping another package
such as Kryon keeps it; the package checkouts are cached by the whole lock and fall back
to the previous checkouts, so a bump fetches only what changed.
inputs:
save-toolchain:
description: >
Save the built compiler to the cache. A job that only fetches packages
must not, or it would store a toolchain cache without the compiler.
default: 'true'
runs:
using: composite
steps:
- name: Read the Ziran toolchain commit
id: toolchain
shell: sh
run: |
commit=$(python3 -c 'import json; print(json.load(open("ziran.lock"))["toolchain"]["commit"])')
echo "commit=$commit" >> "$GITHUB_OUTPUT"
# A compiler built on a newer image needs its newer C library, so
# images do not share one: ubuntu-22.04 cannot run a glibc 2.39 build.
libc=$(getconf GNU_LIBC_VERSION 2>/dev/null | tr ' ' '-' || true)
echo "system=${ImageOS:-local}-${libc:-nolibc}" >> "$GITHUB_OUTPUT"
- name: Restore the Ziran toolchain
if: inputs.save-toolchain == 'true'
uses: actions/cache@v4
with:
path: |
build/ziran-bootstrap
build/ziran-toolchain
key: ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-${{ steps.toolchain.outputs.commit }}
restore-keys: |
ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-
- name: Restore the Ziran toolchain without saving it
if: inputs.save-toolchain != 'true'
uses: actions/cache/restore@v4
with:
path: |
build/ziran-bootstrap
build/ziran-toolchain
key: ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-${{ steps.toolchain.outputs.commit }}
restore-keys: |
ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-
- name: Restore the package sources
uses: actions/cache@v4
with:
path: ~/.cache/ziran/sources
key: ziran-sources-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('ziran.lock') }}
restore-keys: |
ziran-sources-${{ runner.os }}-${{ runner.arch }}-
- name: Fetch Ziran packages
shell: sh
run: sh scripts/packages.sh --locked
+7
View File
@@ -1,3 +1,10 @@
build-essential
ripgrep
zlib1g-dev
libdrm-dev
libegl1-mesa-dev
libgbm-dev
libgles2-mesa-dev
libsdl2-dev
pkg-config
python3-fonttools
+1 -1
View File
@@ -1,6 +1,6 @@
build-essential
gcc-mingw-w64-i686-win32
gcc-mingw-w64-x86-64-win32
zlib1g-dev
libz-mingw-w64-dev
zip
nsis
+1
View File
@@ -0,0 +1 @@
6.0.10
+53 -96
View File
@@ -24,9 +24,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
with:
save-toolchain: 'false'
- name: Check Version Consistency
run: |
python3 scripts/check-version.py
@@ -38,34 +42,42 @@ jobs:
python3 scripts/check-secrets.py --working-tree
python3 scripts/check-secrets.py --history
guard-submodule-urls:
name: Submodule URLs are public HTTPS
guard-package-urls:
name: Package URLs are public HTTPS
runs-on: ubuntu-latest
steps:
# Plain checkout on purpose: the guard must not depend on fetching
# the submodules it validates (an SSH URL would break that fetch).
# the packages it validates (an SSH URL would break that fetch).
- name: Checkout Repository
uses: actions/checkout@v4
- name: Reject non-HTTPS submodule URLs
- name: Reject submodules and non-HTTPS package URLs
run: |
set -eu
if [ ! -f .gitmodules ]; then echo "no submodules - ok"; exit 0; fi
bad=$(grep -nE '^[[:space:]]*url[[:space:]]*=' .gitmodules \
| grep -vE '^[0-9]+:[[:space:]]*url[[:space:]]*=[[:space:]]*https://' || true)
if [ -n "$bad" ]; then
echo "::error::Non-HTTPS submodule URL(s) break fresh clones and CI:$bad"
if [ -f .gitmodules ]; then
echo "::error::Dependencies are Ziran packages in ziran.toml, not submodules"
exit 1
fi
echo "all submodule URLs HTTPS - ok"
bad=$(grep -nE '^[[:space:]]*git[[:space:]]*=' ziran.toml \
| grep -vE '^[0-9]+:[[:space:]]*git[[:space:]]*=[[:space:]]*"https://' || true)
if [ -n "$bad" ]; then
echo "::error::Non-HTTPS package URL(s) break fresh clones and CI:$bad"
exit 1
fi
echo "all package URLs HTTPS - ok"
test:
name: Test
# make test split across runners; each shard is a third of its targets.
name: Test (${{ matrix.shard }}/3)
runs-on: ubuntu-latest
# Secret Scan runs beside the tests; nothing here publishes, so it need not gate them.
needs:
- guard-submodule-urls
- secret-scan
- guard-package-urls
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
shard: [0, 1, 2]
env:
APT_CACHE_DIR: /tmp/apt-cache
@@ -73,11 +85,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -95,9 +109,10 @@ jobs:
run: .github/scripts/install-apt-packages.sh .github/apt/test-packages.txt
- name: Run Tests
run: make test
run: sh scripts/test-shard.sh ${{ matrix.shard }} 3
- name: Check out sync test server
if: matrix.shard == 0
uses: actions/checkout@v4
with:
repository: kryonlabs/daochi
@@ -106,21 +121,27 @@ jobs:
submodules: recursive
- name: Set up Go for sync test server
if: matrix.shard == 0
uses: actions/setup-go@v5
with:
go-version-file: .test-server/go.mod
cache-dependency-path: .test-server/go.sum
- name: Verify sync and recovery
if: matrix.shard == 0
run: |
make -C .test-server build
make sync-server-test DAOCHI_BIN="$GITHUB_WORKSPACE/.test-server/daochi"
build-chrome-extension:
name: Build Chrome Extension
browser-addons:
# Builds the web app once, packages it for Chrome and Firefox, and runs
# the smoke test in both browsers. It runs beside the tests; a failure in
# either still fails the run.
name: Build Browser Add-ons
runs-on: ubuntu-latest
timeout-minutes: 60
needs: test
needs:
- guard-package-urls
env:
APT_CACHE_DIR: /tmp/apt-cache
@@ -128,11 +149,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -150,18 +173,9 @@ jobs:
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
uses: ./.github/actions/emscripten
- name: Build Chrome Extension ZIP
- name: Build Chrome and Firefox ZIPs
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
@@ -169,75 +183,18 @@ jobs:
make package-unpackaged-assets
make chrome-web-store
test -f build/dist/inbe-chrome-web-store.zip
make firefox-addons
test -f build/dist/inbe-firefox-addons.zip
make firefox-addons-lint
- name: Run Web Smoke Test
# The web build renders on canvas, so this is also the canvas smoke
# test.
- name: Run Web Smoke Test (Chrome)
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
make web-smoke-test
- name: Run Canvas Web Smoke Test
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
make web-canvas
make web-canvas-smoke-test
build-firefox-addons:
name: Build Firefox Add-on
runs-on: ubuntu-latest
timeout-minutes: 60
needs: test
env:
APT_CACHE_DIR: /tmp/apt-cache
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
uses: actions/setup-node@v4
with:
node-version: 22
- name: Cache Web apt packages
uses: actions/cache@v4
with:
path: ${{ env.APT_CACHE_DIR }}
key: web-apt-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/apt/web-packages.txt') }}
restore-keys: |
web-apt-${{ runner.os }}-${{ runner.arch }}-
- name: Install Web Dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
- name: Build Firefox Add-on ZIP
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
node --version
make package-unpackaged-assets
make firefox-addons
test -f build/dist/inbe-firefox-addons.zip
make firefox-addons-lint
- name: Install Firefox (Mozilla build)
timeout-minutes: 15
run: |
+28 -25
View File
@@ -1,13 +1,14 @@
name: Cloudflare Pages
on:
workflow_run:
workflows:
- Release
types:
- completed
push:
branches:
- master
# Refresh available downloads after a release; pushes deploy independently.
workflow_run:
workflows: [Release]
types: [completed]
branches: [master]
pull_request:
workflow_dispatch:
inputs:
@@ -20,28 +21,41 @@ permissions:
contents: read
concurrency:
group: pages-${{ github.event.workflow_run.head_branch || github.ref }}
# A failed Release produces a skipped refresh, which must not cancel a push.
group: pages-${{ github.ref }}-${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion != 'success' && 'skipped' || 'deploy' }}
cancel-in-progress: true
jobs:
build:
name: Build Site
runs-on: ubuntu-latest
timeout-minutes: 60
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_sha || github.ref }}
submodules: recursive
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js for the web build
uses: actions/setup-node@v4
with:
node-version: 22
- name: Resolve published downloads
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
tag=$(gh api repos/waozixyz/inbe/releases/latest --jq .tag_name)
version=${tag#v}
python3 -c 'import re, sys; assert re.fullmatch(r"(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)", sys.argv[1]), "Invalid published release version"' "$version"
echo "SITE_RELEASE_VERSION=$version" >> "$GITHUB_ENV"
- name: Install Packages
if: ${{ !inputs.released_web }}
timeout-minutes: 15
@@ -49,15 +63,7 @@ jobs:
- name: Set Up Emscripten
if: ${{ !inputs.released_web }}
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
uses: ./.github/actions/emscripten
- name: Download Released Web App
if: ${{ inputs.released_web }}
@@ -65,7 +71,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
version=$(sed -n 's/^#define APP_VERSION_STRING "\([^"]*\)"/\1/p' src/core/version.h)
version="$SITE_RELEASE_VERSION"
test -n "$version"
mkdir -p build/released-web build/dist/web
gh release download "v$version" --pattern inbe-web.zip --dir build/released-web
@@ -81,6 +87,7 @@ jobs:
else
export PATH="$INBE_NODE_BIN:$PATH"
node --version
make build-laws
make site
fi
test -f build/site/index.html
@@ -121,17 +128,13 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build/site --project-name=inbe --branch=${{ github.head_ref || github.ref_name }}
command: pages deploy build/site --project-name=inbe --branch=${{ github.head_ref || github.ref_name }} --commit-hash=${{ github.sha }}
deploy-production:
name: Deploy Production
runs-on: ubuntu-latest
needs: build
if: |
(github.event_name == 'workflow_run' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'master') ||
(github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master')
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
steps:
- name: Download Site Artifact
@@ -145,4 +148,4 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build/site --project-name=inbe --branch=master
command: pages deploy build/site --project-name=inbe --branch=master --commit-hash=${{ github.sha }}
+3 -1
View File
@@ -35,10 +35,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Scan Tracked Files and History
run: |
set -euo pipefail
+55 -106
View File
@@ -21,9 +21,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
with:
save-toolchain: 'false'
- name: Check Version Consistency
run: |
python3 scripts/check-version.py
@@ -47,11 +51,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -83,11 +89,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -105,16 +113,7 @@ jobs:
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
uses: ./.github/actions/emscripten
- name: Build Web ZIP
run: |
@@ -145,11 +144,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -167,16 +168,7 @@ jobs:
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
uses: ./.github/actions/emscripten
- name: Build Chrome Extension ZIP
run: |
@@ -207,11 +199,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -229,16 +223,7 @@ jobs:
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
uses: ./.github/actions/emscripten
- name: Build Firefox Add-on ZIP
run: |
@@ -280,10 +265,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -386,10 +373,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -444,10 +433,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -502,10 +493,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -557,10 +550,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -592,52 +587,6 @@ jobs:
path: build/release/linux/*
if-no-files-found: error
build-freebsd:
name: Build FreeBSD Package
runs-on: ubuntu-latest
timeout-minutes: 60
needs: test
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
uses: actions/setup-node@v4
with:
node-version: 22
- name: Build FreeBSD .pkg
uses: vmactions/freebsd-vm@v1
with:
release: "14.3"
usesh: true
prepare: |
for attempt in 1 2 3; do
pkg install -y node22 python3 gmake cmake pkgconf sdl2 gtk3 curl sqlite3 mesa-libs libdrm hicolor-icon-theme desktop-file-utils && break
if [ "$attempt" -eq 3 ]; then
exit 1
fi
pkg update -f
sleep 10
done
run: |
set -eu
gmake package-freebsd
mkdir -p build/release/freebsd
find build/dist/freebsd -maxdepth 1 -type f -name '*.pkg' -exec cp {} build/release/freebsd/ \;
test -n "$(find build/release/freebsd -type f -print -quit)"
- name: Upload FreeBSD Artifact
uses: actions/upload-artifact@v4
with:
name: release-freebsd
path: build/release/freebsd/*
if-no-files-found: error
build-windows:
name: Build Windows
runs-on: ubuntu-latest
@@ -650,10 +599,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -672,7 +623,7 @@ jobs:
path: |
vendor-builds/windows
vendor-builds/sqlite
key: windows-vendor-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile', 'vendor/kryon/mk/**', 'vendor/kryon/scripts/prepare-raylib-source.sh', 'vendor/kryon/tools/generate-kryon-compat.sh', 'vendor/kryon/vendor/raylib/src/**', 'vendor/kryon/vendor/curl/**', 'vendor/sqlite/**') }}
key: windows-vendor-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile', 'ziran.lock') }}
restore-keys: |
windows-vendor-${{ runner.os }}-${{ runner.arch }}-
@@ -684,9 +635,6 @@ jobs:
if [ -x /usr/bin/x86_64-w64-mingw32-gcc-win32 ]; then
sudo update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-win32
fi
if [ -x /usr/bin/i686-w64-mingw32-gcc-win32 ]; then
sudo update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-win32
fi
- name: Build Windows ZIP and Setup
run: |
@@ -713,10 +661,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
- name: Set up Node.js for Bend proofs
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
@@ -749,7 +699,7 @@ jobs:
path: |
droid/app/.cxx
droid/app/build/intermediates/cxx
key: android-native-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('droid/app/src/main/cpp/CMakeLists.txt', 'droid/app/build.gradle', 'src/**/*.c', 'src/**/*.h', 'vendor/kryon/src/**/*.c', 'vendor/kryon/include/**/*.h', 'vendor/kryon/vendor/raylib/src/**') }}
key: android-native-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('droid/app/src/main/cpp/CMakeLists.txt', 'droid/app/build.gradle', 'src/**/*.c', 'src/**/*.h', 'ziran.lock') }}
restore-keys: |
android-native-${{ runner.os }}-${{ runner.arch }}-
@@ -834,7 +784,6 @@ jobs:
- build-linux-rpm
- build-linux-snap
- build-linux-flatpak
- build-freebsd
- build-windows
- build-android
outputs:
@@ -1410,6 +1359,6 @@ jobs:
fi
"$HOME/wingetcreate" update xyz.waozi.inbe \
--version "$VERSION" \
--urls "$SETUP_URL#x64" "$SETUP_URL#x86" \
--urls "$SETUP_URL#x64" \
--submit \
--token "$WINGET_TOKEN"
+8
View File
@@ -71,3 +71,11 @@ __pycache__/
/pro/
.kotlin/
ziran.local.toml
# Sun salutation reference videos and frames, and check images; the
# renderers write their videos and frames under build/.
design/sun-salutation/*/reference.mp4
design/sun-salutation/*/reference-*.png
design/sun-salutation/generated-video-cut/source.mp4
design/sun-salutation/girl-parts/head-layers-check.png
-9
View File
@@ -1,9 +0,0 @@
[submodule "vendor/rini"]
path = vendor/rini
url = https://github.com/raysan5/rini.git
[submodule "vendor/sqlite"]
path = vendor/sqlite
url = https://github.com/sqlite/sqlite
[submodule "vendor/kryon"]
path = vendor/kryon
url = https://github.com/kryonlabs/kryon.git
+29 -19
View File
@@ -2,23 +2,32 @@
## Ownership and releases
- Never edit `vendor/`. Change Kryon in its upstream repository on `master`,
commit and push there, then update only Inbe's clean submodule pointer.
Run `make no-vendor-edits` after dependency changes.
- Dependencies are Ziran packages pinned in `ziran.toml`/`ziran.lock` and
linked under `build/packages/`; there is no `vendor/`. Never edit a package
checkout. Change Kryon (or any dependency) in its own repository on `master`,
commit and push there, then run `ziran update NAME` here and commit
`ziran.lock`. Run `make package-check` after dependency changes. For local
debugging, map a package to a working repository in the ignored
`ziran.local.toml`; release builds use `PACKAGE_FLAGS=--locked`.
- Add the numeric release to `CHANGELOG.md`, then run `./update_version.sh`.
The canonical macros are `APP_VERSION_STRING`, `APP_VERSION_MAJOR`,
`APP_VERSION_MINOR`, and `APP_VERSION_PATCH`; do not create aliases.
Only the GitHub Actions release workflow creates or pushes release tags.
- Translate changed strings in every affected locale; no English placeholders.
- `make locale-translated-test` fails on any locale string that still equals
its English text. Translate it; add it to `tests/locale_same_as_english.txt`
only when it is a real brand name, loanword, or format string.
## Machine-checked contracts
- `make build-laws` is mandatory for native, web, and Windows artifacts;
Gradle and CMake enforce the same version and proof checks independently.
Never bypass a failed gate or hand-edit generated policy tables.
- Retry behavior lives in `laws/sync_retry/main.bend`. Implement changes there
and prove `LAWS.bend` in `PROOF.bend`; the app consumes the checked table.
Do not weaken laws to make an implementation pass. Contract changes require
Never bypass a failed gate.
- Laws are Ziran `#law` obligations checked by `ziran check`. Retry behavior
lives in `src/app/sync_retry.zi` with its laws in `sync_retry_laws.zi`;
private-data names live in `src/storage/storage_layout.zi` with laws in
`storage_layout_laws.zi`. Change the implementation freely, but do not
weaken laws to make an implementation pass. Contract changes require
explicit product intent and separate review from implementation changes.
- Run `make proof-test sync-recovery-test version-test` for these contracts.
Coverage, trust boundaries, and the next proof migrations are described in
@@ -26,7 +35,8 @@
## Public UI and sync boundaries
- Use `Text(TextProps)`, `Image(ImageProps)`, and `Button(ButtonProps)` directly.
- Use current Kryon calls `Text(session, TextProps)`,
`Image(session, ImageProps)`, and `Button(session, ButtonProps)` directly.
Semantic images use the same `Image` surface. No positional Text, legacy
drawing calls, alternate widgets, or thin local forwarding wrappers.
Keep meaningful compositions and gestures; use standard Checkbox and Toggle.
@@ -34,9 +44,17 @@
- If a required widget capability is missing, implement the reusable primitive
upstream first. Do not work around it in Inbe or generated code.
- Use sync protocol v6 and the clean Kryon API; no new `Ksync` names or wrappers.
Keep legacy wire strings only for migration. Migrations must be automatic,
resumable, and non-destructive, preserving tombstones and legacy projections
while supported older installations can return.
Remove old wire projections and format fallbacks as the storage and sync
modules are converted to current Ziran. Keep the current protocol and data
model in Inbe rather than adding compatibility adapters.
- Keep on-disk schema and user-data upgrade paths. Convert their implementation
to checked Ziran; do not delete a migration merely because it handles an old
database. An upgrade must preserve existing data, and its replacement needs
a test using an older database fixture before the prior path is removed.
- A `.zi` filename is not a completed migration. All owned application
behavior, including storage upgrades, must compile as current Ziran. Prefer
direct Ziran foreign imports for native libraries; migrate owned C adapters
as Ziran gains the required ABI support. Never keep application policy in C.
## Product behavior and readability
@@ -49,11 +67,3 @@
- Use descriptive names, explicit control flow, and focused helpers. Never
compress multiple statements, branches, declarations, or checks onto one line.
Format changed source, inspect the final diff, and run `git diff --check`.
## Bend
When using Bend:
- run `bend guide` to learn it
- use `LAWS.bend` to keep important rules
- run `bend PROOF.bend` before committing
- parallelize the code whenever possible
+23
View File
@@ -1,4 +1,27 @@
# Changelog
## [2.0.7] - 2026-10-01
### Added
- Mini mode provides a compact practice window without changing your saved window or navigation settings.
- Habits now have separate overview, statistics, and edit pages, with a dialog for recording daily counts and clearer week and month calendars.
### Changed
- Prebuilt FreeBSD packages are temporarily unavailable.
- Sun Salutation now uses a painted character with smooth movement through all twelve poses, consistent proportions, and clean transitions without crossfading.
- Practice customization and guides use the full screen, and Sun Salutation shows a simple seconds counter without the distracting progress bar.
- Improved phone performance, touch responsiveness, text sizing, and Japanese and Chinese text wrapping.
- Refined Settings, Profile, Lists, habit cards, session controls, and mood check-in buttons. Desktop users can zoom with Ctrl and the mouse wheel.
### Fixed
- Appearance dropdown menus stay above the Layout card and other settings, keeping every option visible and selectable.
- Practice Customize and How-to actions now open the correct pages, and carousel swipes reliably change practices.
- Animated screens keep their controls visible, and navigation transitions finish before accepting the next action.
- Habit statistics no longer crash, and saved habit counts and imported records are retained correctly.
- Opening a habit card keeps your place in the list instead of scrolling back to the top.
- Habit day counts sit centered inside each circle, in a color that stays readable on every habit color.
- Deleted sync records stay deleted across devices, and restoring an account preserves local changes waiting to sync.
- Web and browser add-on text stays sharp at different text sizes, display scales, and zoom levels with the Canvas renderer.
- Cancel reliably closes the exit-session dialog without interrupting the practice.
## [2.0.6] - 2026-09-22
### Fixed
- Selected app color themes now keep their backgrounds, cards, and text visible. Theme catalogs are included in every build, and an unavailable palette falls back to readable built-in colors.
+1217 -467
View File
File diff suppressed because it is too large. Load diff
+19 -11
View File
@@ -29,10 +29,10 @@ optionally sync user-owned data through a Daochi-compatible sync server.
## Build
The build host needs Node.js 22.18 or newer for mandatory Bend proof checking,
as well as Python 3 and the platform's native build dependencies. Node and Bend
are build tools; they are not installed with the app. See
[build contracts and proofs](docs/build-laws-plan.md) for the checked behavior.
The build checks Inbe's laws with the Ziran compiler (`ziran check`); no
separate proof tool is needed. The build host needs Python 3 and the platform's
native build dependencies. See [build laws](docs/build-laws-plan.md) for the
checked behavior.
Initialize the submodules once:
@@ -86,16 +86,24 @@ This uses disposable client databases and a loopback server; see
Native binaries are written to `build/bin/<platform>/`. Release artifacts are
written under `build/dist/`.
To debug Inbe against the root Kryon checkout instead of the vendored
submodule, override `KRYON_DIR`:
Dependencies, including Kryon and the Ziran toolchain, are pinned in
`ziran.lock`. `make` fetches them into the Ziran package cache and links them
under `build/packages/`; `sh scripts/packages.sh` does the same by hand.
Builders that supply the sources themselves need no network: put Git checkouts
containing the locked commits (including Kryon's `raylib` submodule) in
`$ZIRAN_PACKAGE_SOURCES`, or declare them as F-Droid srclibs, which are found
in `../srclib` automatically.
```bash
make run KRYON_DIR=../kryon
To debug Inbe against the root Kryon checkout, map it in an ignored
`ziran.local.toml`:
```toml
[overrides]
kryon = "../../kryonlabs/kryon"
```
Use this only for local debugging. Permanent Kryon fixes should be committed in
the root Kryon repository and then brought into Inbe by updating
`vendor/kryon`.
the root Kryon repository and then brought into Inbe with `ziran update kryon`.
## Project Layout
@@ -104,7 +112,7 @@ the root Kryon repository and then brought into Inbe by updating
- `locales/` - translations
- `droid/` - Android project
- `site/` - website
- `vendor/kryon/` - Kryon UI/runtime submodule
- `ziran.toml`, `ziran.lock` - pinned Ziran toolchain and dependencies
## Support
+1
View File
@@ -11,3 +11,4 @@ abcdefghijklmnopqrstuvwxyz
абвгдеёжзийклмнопрстуфхцчшщъыьэюя
。,、!?:;()[]「」『』ー〜・
中文简体繁體日本語한국어
·—›
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Loaded 100 of 2211 files, more files were not shown because too many files have changed in this diff. Show more