833 Commits
Author SHA1 Message Date
waozi 733e35b808 Fix desktop web scale and deploy exact source builds
Cloudflare Pages / Build and verify the site (push) Failing after 45m8s
2026-11-20 13:40:36 -03:00
waozi ef0de86e02 Integrate Breeze desktop, Android, and app updates
Cloudflare Pages / Build and verify the site (push) Successful in 3m29s
Use the verified dependency lock across native hosts and bundled apps. Preserve saved styles, local app reactivation, and offline packages while integrating the latest practice, Habits, Lumi, and figure preview updates.
2026-11-20 02:24:34 -03:00
waozi 3423cba76d Serve smaller Zstd Wasm for Breeze web and Telegram 2026-11-19 18:30:47 -03:00
waozi d3628b76f6 Clip practice navigation to the app viewport
Keep sliding docks inside the content frame so Android retained system-bar
pixels cannot preserve their labels after a practice starts.

Cover retained raster pixels, native navigation edges, and repeated Android
starts from Practice and Lumi.
2026-11-19 18:12:19 -03:00
waozi 6062d3e497 Make practice content delivery reliable and show download progress 2026-11-19 17:40:35 -03:00
waozi da2df3f545 Match Lumi habit intent fixtures to the shipped locales 2026-11-19 14:59:03 -03:00
waozi fe1dd9301f Return Lumi answers to their private Telegram message 2026-11-19 00:40:11 -03:00
waozi eca652de59 Refresh the open Diary day after sync 2026-11-19 00:29:43 -03:00
waozi 2b0e1eaaa7 Fix PC break idle detection and automatic resets 2026-11-19 00:27:33 -03:00
waozi 15109142ef Connect Lumi debug chat to the owner Harmony agent 2026-11-18 22:42:05 -03:00
waoziandClaude Opus 5.5 17a0cfd9e6 Keep the first frame's pictures when the practice catalog loads
The Practices app opens after the first frame. Loading its catalog closed
the previous practice packs and always reported assets/practices as
changed, so every practice picture already on screen loaded again: the
2048x1024 Wim Hof banner decoded twice in each start, about 760 ms each
in a debug build on a Pixel 4a. Closing the packs now reloads pictures
only when a closing pack served some, as installing or removing one pack
already did; readers still look again either way.

Local tests: practice-downloads-test, with a new check that the first
catalog leaves pictures alone (it fails on the old code), and
desktop-window-test on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 17:30:57 -03:00
waozi 924553d6c2 Make the practice figures move naturally and show the VRoid figure
The owner picked pixiv's CC0 VRoid woman and man (practices
shared/figure). An audit of every practice at 30 frames a second (the
preview's new --audit) found 589 awkward moments; 9 small ones remain.

- Feet step and pivot instead of sliding: a stepping foot rises clear of
  the floor before it travels and lands after it arrives; a foot turning
  on the spot pivots on its heel or ball (the ball when it stands on its
  toes) with the other end raised first. One rule for Tai Chi's timeline,
  the Workout and Sun Salutation (TaiChiStepFoot); lunges no longer drag a
  foot 46 cm.
- Toes hanging from a lifted tiptoe foot bend up rather than go through
  the floor.
- Knees and elbows straighten smoothly over the last 1.2% of their reach
  instead of snapping straight.
- Each Tai Chi hand turns as one piece between keys, so its fingers and
  palm never blend through nothing and flip the hand (Snake Creeps Down).
- The side plank rolls over face down to the second side instead of
  jumping there.
- The course studio's solver and timeline match, and its parity reference
  is regenerated (export-app.mjs --reference).
- Workout and Sun Salutation tests check that planted feet stay within
  5 mm, nothing goes below the floor, nothing moves too fast and no knee
  bends backwards.
- The figure preview shows the woman or the man with hair on VRM spring
  bones and blinking eyes, and gains --audit, --shot, --video and --trace;
  it pins Kryon ac6c8f47 and practices d8b54df1.
2026-11-18 15:57:10 -03:00
waoziandClaude Opus 5.5 054a29f02c Remove raylib: run every host on Kryon and Ziran
Breeze builds and runs with no raylib anywhere, on Ziran 7fbc8152 and
Kryon b5a61b37, with plot, entity, apps, css and game2d pinned to that
Kryon, so the lock has one Kryon and no raylib package.

- Linux and Windows run on Kryon's SDL2 and Cairo desktop host; WebP
  decodes with the linked libwebp (KRYON_WEBP_LINKED).
- Android owns its NativeActivity loop on Kryon's android_runtime:
  Pixmap on the activity's surface, android_touch input and Android's
  typefaces, paced to the app's frame target. The CMake build drops
  breeze_raylib, GLES and the raylib link wraps, and links Kryon's fopen
  wrapper.
- The browser reaches Kryon's canvas modules directly.
- Audio is Ziran's std audio: its mixer, the SDL, AAudio and OpenSL ES
  sinks, the WAV, MP3 and Vorbis decoders and the audio package's Opus.
  The MP3 and Vorbis archives come from Ziran's own codec recipes. The
  browser keeps Kryon's Web Audio.
- Host modules choose the desktop host, Android, the canvas or, for
  native tests that select none, a headless host with no window, input
  or audio device. host_keys.zi and text_input_host.zi replace
  raylib_host.zi and raylib_text_input.zi; the log is one implementation,
  with logcat on Android and the C runtime's open flags on Windows.
- The Makefile, Click packaging, CI and release workflows build no raylib.
- Tests: radio, app log, asset files, DPI, legacy sessions, sync recovery
  and the Android JNI bridge run without raylib stubs; voice playback is
  a Ziran test of real Ogg Opus narration through Ziran's mixer. Tests
  that only exercised raylib internals are removed.
- AppsControllerSha256 is the controller built from Apps b96d9afe on
  this graph.

Local tests: Linux desktop window, Habits UI and the Ziran and native
tests above pass on a private Xvfb; the Android debug APK runs on a
Pixel 4a; the Windows package runs under Wine on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:16:23 -03:00
waoziandClaude Opus 5.5 6f6d19f24d Rename account sync to Mesh
The codex-daochi-client-mesh-client-rename integration, committed as that
task staged it: mesh_client replaces daochi_client, account storage and
tests move to the Mesh names, and docs, locales and CI follow, with
existing accounts, encrypted records and local storage kept compatible.
The task stopped before its dependency versions were pushed; the next
commit moves Breeze to the pushed pins it needs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:14:02 -03:00
waozi cab9dc83ec Keep the captured screen's orientation in route fades
Opening Habits' shop on Kryon's desktop host closed Inner Breeze. The
route fade kept only the previous screen's texture and drew it as a
bottom-up raylib frame, but the desktop host's snapshot is upright: the
flipped draw failed the whole frame and the app quit. The fade now keeps
the captured surface itself, with the orientation its host reports. The
test's orientation checks land with the Kryon pin that reports it.
2026-11-17 23:16:39 -03:00
waozi 685dd672e9 Model the six astral techniques for the native figure painter
astral_technique.zi turns each exercise's session cue timeline into the
still physical pose, the double's offset and roll, rope, attention marks
and return, tested across all 88 cue boundaries. The practice figure's
prepare script now folds MakeHuman's CC0 default rig weights onto its 46
bones and cuts clothing hems exactly along their planes.
2026-11-17 16:12:35 -03:00
waoziandClaude Opus 5.5 d116acad0f Test desktop Diary backspace, selections and corrections
apps-diary-editing-test drives the standalone Diary on a private Xvfb
display through real SDL keys: backspace, emoji and combining-mark
deletion, selection delete, a mid-text correction and select-all
delete, then restores the entry for the rest of apps-diary-test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 15:52:24 -03:00
waoziandClaude Opus 5.5 fed3ac3691 Keep Android keyboard key edits in the focused editor
Soft-keyboard key events (backspace, forward delete, Enter, digits)
went from InputConnection.sendKeyEvent through the window's native
input queue. Kryon consumed them natively while the hidden EditText
kept the old text, so the keyboard's next edit restored deleted
characters. Dispatch IME key events directly to the editor inside a
batch edit so Kryon receives one final state, and submit single-line
Enter keys once, including Android 14's action-tagged Enter events.

Robolectric tests cover delete keys, selection and select-all
deletion, forward delete, stale connections, Enter on single-line and
multiline fields and Unicode corrections on API 31, 32, 34 and 36.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 15:01:02 -03:00
waozi 458f4fb5eb Run the test harnesses on the Ziran 0.6 toolchain
Point every harness's default toolchain at build/packages/ziran/build,
drop the removed `zi2zx bundle` form, link the generated C each harness
actually gets (whole generated folders where the test has no stubs, and
Kryon's package-prefixed frame pacing module), and stop listing the
header-only type module in the modal rules test. Twenty-two more test
targets pass from a clean export; plans/2026-11-17-test-harnesses.md
lists the 54 that still fail and why.
2026-11-17 03:12:21 -03:00
waozi 7fbef85924 Repair clean-checkout builds and the package-release harness
Install ffmpeg wherever the app build checks the guide narration clips:
the check decodes every clip, and only the Test jobs had ffmpeg, so web,
Linux, Windows, Android, Snap and F-Droid builds reported all 320 clips
as stale. Link the package-release harness and the sync server against
the pinned toolchain instead of the removed build/ziran-toolchain, use
the current zi2zx command form, resolve the media compression test
through package exports, and stage Tai Chi preview voices only for the
app's own locales.
2026-11-17 01:44:55 -03:00
waozi a3a37e3883 Fix clean-checkout package assets and pinned test harnesses
Track the reviewed Arcade baseline artwork and verify both baseline files
are included in Git. Keep its independently reviewed source provenance
separate from the metadata dependency pin.

Resolve current Kryon widgets through the locked project graph, link the
selected compiler runtime and actual native dependencies, and provide
asset-free image callbacks for behavior fixtures. Optimize large test
state initializers as native builds do. Include recovery in the extracted
meditation fixture and keep Unreleased notes within the Lumi limit.

Local tests: clean asset-only archive reproduction and candidate repair;
apps, node-apps, build-laws, package versions/workflows/manifests/uploads;
workout, sun pose/artwork/voice, Telegram SVG, achievements, habit form,
habit sessions, Lists, session results, Lumi updates, package release and
bundled-artwork tests. All ran through build-queue.
2026-11-16 23:51:19 -03:00
waozi ca99ca92ef Recover practices and data on the current Ziran runtime 2026-11-16 22:05:52 -03:00
waozi 017d3565d3 Build on Ziran 0.5.0 and Kryon's namespaced widgets, with the Tao picture page
Pin only pushed commits, with no local overrides: Ziran v0.5.0
(f9f92b46), Kryon b45cc524 (one lock entry, ref master, shared with the
Css and Plot master edges), Apps 352901e, Entity b30dd4a and practices
893e5b6f, whose sharpened banners and regenerated Lumi guide clips the
narration check now matches.

The Library opens each Tao Te Ching chapter on its own picture page: the
chapter art and its title, centered together; the text pages follow.
The reader keeps the picture page across reflow, and a chapter start or
a Contents pick opens it. The 81 approved chapter pictures are included.

Breeze now uses Kryon's namespaced widgets (Text.Draw/Text.Props,
Button, Image, Modal.ActionModal, Layout, TabBar, LoadingScreen,
LoadingIndicator, Shape.Circle) instead of the removed Kryon/Widgets
facades. Hosted apps import std/text explicitly, since a short "text"
import now names Kryon's widget. AGENTS.md and the Text/Button API checks
describe the namespaced forms; two unused test doubles are removed.

Build fixes for the new toolchain: the bundle runtime carries Ziran's
instruction engine (no BOOTSTRAP=1) and takes the pinned host zi2c for
cross builds; the Apps controller's lock context has the manifest's
module roots; the app codec generator lists Kryon's raw modules only;
the package scripts read ZX revision 28 bundle assets. The Apps
controller digest matches the Apps 352901e build.

Also included: the stopped lanes' work in this tree (Radio download,
Photos install, Lists, Lumi, Habits shop rewards, astral exercise
selection, appearance and download recovery) and the raylib-free desktop
lane's host modules (app_trace, host_input, host_window, host_clock),
inactive unless DESKTOP_HOST is defined.

Not included: the crash-recovery lane's picture-window and storage
crash-safety changes, which that lane commits itself.

Local tests: zi-check (510 modules), native and Android source checks,
hosted app checks, build-laws, clean-text-api-check, button-api-check,
library-reader-test, library-ui-test, storage-crash-zi-test and
native-image-decode-test pass. The bundled Arcade is still ZX revision 26
and waits for an Arcade build on these pins.
2026-11-16 14:20:12 -03:00
waozi 0dc9ba9007 Benchmark the Linux desktop build
Add a Ziran benchmark (tests/desktop_benchmark*.zi; make desktop-benchmark
and desktop-benchmark-build) for moving the Linux desktop build off raylib.
It drives the app through the Kryon test driver on a private Xvfb with a
seeded profile and no audio device: screen switches, a 240-item list
scrolled by wheel, a modal, a floating practice window, then 30 s idle.
It reports time to first frame, frame rate and frame cost, idle CPU,
resident memory, build times, generated C, executable size and libraries,
each as a median over runs with its range.

Under APP_PROFILE the app now logs when each host frame begins and the
process CPU time then, so the benchmark can take per-frame intervals.

plans/2026-11-15-breeze-desktop-without-raylib.md records the method, the
raylib baseline measured with the installed build, and the call-site map
for the port.
2026-11-16 12:52:02 -03:00
waozi 939593a1e6 Checkpoint media compression, narration, and app updates
Preserve current AVIF compression, local voice pipelines, practice workflows, UI API migration, locale updates, and packaging work. Native integration validation remains pending.
2026-11-10 22:20:31 -03:00
waozi ec7e8a4fdd Fix list-backed Lumi feedback and list gestures
Read every point from the referenced list before saving a complete preview and one durable send confirmation. Preserve consent and proposal identity across retries, queued turns and restart.

Allow longer list entries, use short swipes to complete and long swipes to edit, and integrate the reviewed widget/controller/profile fixes with a compatible offline Arcade baseline.

Validated the pinned native/apps build, Lumi feedback/connection/UI/Telegram and list regressions, app loading and actual offline Arcade snapshots, plus bundle, manifest and game integrity tests locally.
2026-11-08 12:51:29 -03:00
waozi 7ccbf5cd97 Style Breeze with Kryon CSS
Breeze's style sheets, theme catalogs and custom appearance sheets are
CSS now, read by the css package (6aad71c) on Kryon b9aed758. Custom
sheets saved as KSS convert to CSS at first start; the KSS setting
stays, and a sheet with no CSS form opens as a draft to fix. Host
theme colors still replace only a custom property of the same kind,
and user sheets rank above the app's.

The tree also carries the Apps pin cd72a24 and the Apps controller
digest of the bundle built from it.
2026-11-07 16:02:03 -03:00
waozi 456ca38212 Move every package to host 43 for Ziran's format 62
Ziran 0e91eb43 saves IR in format 62 and a host reads only its own
program format, so host_api, oldest_host_api and every package's and
node app's host_api move to 43; released hosts (2.1.62 and older) are
42 and are no longer offered packages built since.
2026-11-07 15:04:04 -03:00
waozi 3b182f7ce1 Keep the apps test fakes on every call with the new Ziran
Ziran now copies small public procedures into module headers, so the
ld --wrap fake for PackageRevisionFor missed every call and the node
reload and cached reload revision checks failed. The test builds with
ZIRAN_NO_HEADER_INLINE from the bumped toolchain.
2026-11-07 11:59:13 -03:00
waozi 3ee425cfe6 Keep the APT repository test working under a long TMPDIR
gpg-agent listens on sockets inside each GnuPG home, and Unix socket
paths end at 107 bytes. Under an agent sandbox's long TMPDIR the agent
could not start, and the test exited 2 with no output because key
generation discarded gpg's errors. The test now uses /tmp when TMPDIR is
long, and shows gpg's error when a test key cannot be created.
2026-11-06 22:22:17 -03:00
waozi dc1d003cd8 Merge pending Breeze work: Photos as its own app, Opus voice packs, 2.1.63 notes
Photos downloads from Apps instead of shipping in Breeze, practice and
guide voice clips move to Ogg Opus, dependencies update (Ziran, Kryon,
Apps, Arcade, practices), and the 2.1.63 version and store notes are
prepared. The Practice tab note is translated in every locale.
2026-11-06 21:58:14 -03:00
waozi 0aaed358ba Keep the side navigation when switching Practice tabs
Practice Manual and Settings were treated as fullscreen pages, so the
desktop rail disappeared and the whole page shifted 88px on each tab
switch. They now keep the rail and the Practice highlight; the bottom
dock still hides on those tabs.
2026-11-06 18:10:51 -03:00
waozi f1cc5be451 Update Arcade and complete pending Breeze integrations
Pin the latest pushed Arcade source and bundle its complete painted library artwork. Keep games as optional downloads and verify the embedded catalog plus a private launch smoke test.

Include pending profile sync, Telegram settings, Android push reconnection and breathing-control fixes with their tests and translations. Preserve saved design studies, storing their media in Git LFS.
2026-11-03 18:17:04 -03:00
waozi 541b8eb996 Count typing as activity in both desktop break meters 2026-11-03 18:01:21 -03:00
waozi a609e0aa6f Keep Breeze update notes focused on practices, habits and core features 2026-11-03 17:46:01 -03:00
waozi 635c968633 Fix Photos behavior fixture native UI linking 2026-11-03 08:08:31 -03:00
waozi 0f3d54e21c Release 2.1.62 with global Dew referrals and validated host integration 2026-11-03 01:39:22 -03:00
waozi 44ac49655c Embed Arcade with low-resolution WebP library art 2026-11-02 14:02:35 -03:00
waozi 10de2aae33 Exercise bundled apps through isolated production hosts 2026-11-02 13:30:18 -03:00
waozi 844eba30b8 Bundle Arcade with artwork and retain small offline apps additively 2026-11-02 13:09:54 -03:00
waozi dbaea786b1 Exercise keyboard-visible Apps focus and refresh the generated web icon 2026-11-02 12:16:53 -03:00
waozi 4749d9ed58 Focus the Apps edit control before keyboard activation 2026-11-02 12:04:57 -03:00
waozi 7d90c2ef21 Keep Apps usernames visible and fix release candidate validation 2026-11-02 11:56:27 -03:00
waozi 00aa79b87f Use reviewed WebP packages and render Telegram as a vector 2026-11-02 11:19:27 -03:00
waozi d33c565cfc Align Android embedding and icon tooling with WebP runtime icon 2026-11-02 10:31:11 -03:00
waozi 0a83f2119e Resolve pinned push API dependencies in clean test runners 2026-11-02 07:02:06 -03:00
waozi 66192aa502 Share the headless focus stub across app and storage tests 2026-11-02 06:55:27 -03:00
waozi 7ccea34efb Align modal fixture with shared Friends controls 2026-11-02 06:53:42 -03:00
waozi e93fce8460 Link zlib in the native Daochi fixture 2026-11-02 06:39:14 -03:00
waozi dd3568583e Use generated public Session type in Daochi native fixture 2026-11-02 06:37:52 -03:00