23 Commits
Author SHA1 Message Date
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 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 434c99f697 Rename bundled app sources and build targets from cells to apps 2026-10-24 23:17:45 -03:00
waozi 9cda3cc49a Publish and verify ZX packages, and leave apps released before ZX on their own packages 2026-10-23 22:47:16 -03:00
waozi 74c4a6d935 Build and run apps in the ZX format
Ziran 0.3.1 writes portable bundles as .zx with a ZX header and rejects
.zib. Pin Ziran 620c407, Kryon 935d5fc1, Apps 12e52c0 and Entity 86e72720,
and build, embed, download, verify and store every bundle as .zx: the root
and cell bundles, node apps (the node is asked for format=zx releases),
practice packs and the shared Apps controller, now the only trusted one.

Practice packs stored by older versions count as installed and update
themselves to ZX; a node app's unusable .zib payload is removed so its ZX
release installs. Bundle staging starts empty, so no stale bundle is
embedded, and Android reads asset names by their length.
The generated app codec matches the pinned generator again.
2026-10-23 22:05:05 -03:00
waozi adbb3c3116 Stop the always-red runs and check pushes locally first
A pushed version that is already released no longer starts the forty-minute release builds; CI still tests every push. A package version waiting for the next release is a notice in App packages instead of a failure. The web build keeps saving its storage while practice packs install (up to about ten seconds of retries), and the package compatibility check asks the node again while a deploy restarts it. The pre-push hook now runs the quick checks that match the pushed files (versions, translations and fonts, UI APIs, app bundles, workflows, script syntax); make pre-push-check runs them by hand.
2026-10-23 14:08:39 -03:00
waozi 62a02b5ca4 Expect the node to refuse paid practice packs when checking a publish 2026-10-20 01:56:46 -03:00
waozi a43e5d0c48 Publish node apps through the Apps package's release module
Inbe's publisher now imports the Daochi release v2 format, release checks,
histories and the node-app stage, upload, verify and import steps from
Apps' scripts/node_release.py (Apps 6b555be), so Arcade publishes with the
same code without waiting for an Inbe release. Inbe keeps its own root,
cell and practice-pack publishing and the node receiver, and every flag,
including --node-app and --node-apps, works as before. The receiver
installer ships node_release.py beside the receiver; nothing is deployed.

The node-app history tests moved to Apps with their code. Updating Apps
through ziran also moves the toolchain to Ziran a3fac19. The locked Apps
controller still builds to the reviewed digest.
2026-10-19 01:00:43 -03:00
waozi b530d9887b Publish node apps from GitHub and offer three releases for rollback
The App packages workflow now builds every app the node offers and
publishes each one whose ledger names a newer release (Photos stays on
the beta channel through its ledger flag). Apps the node does not list
yet are reported and skipped, because registration takes the node
operator's key.

The node's importer writes history-v2.json with each app's newest three
trusted releases on every publication, and --write-history backfills
them. Workflow actions are pinned to release commits.
2026-10-18 22:49:53 -03:00
waozi dc833793ad Show Inbe apps with the shared Apps cards, update badges and rollback
Apps in Inbe now uses the shared Apps cards in icon mode. Each card has
the same three-dot menu as Arcade, and an update badge appears only when
the node offers a newer verified version. Confirming an update installs
exactly the version and digest shown in its dialog, also while automatic
updates are off. Rollback offers up to three earlier signed releases from
the node; choosing one keeps the update security high-water mark, and
the choice is scoped to the current account. Opening Apps no longer asks
about automatic updates; that remains a Settings choice.

The build accepts explicit local Apps and Crypto checkouts (APPS_SOURCE,
CRYPTO_SOURCE) while those packages have no public pin, bundles Self
with its QR code dependency, pins Self at its current local revision and
exports the two sync helpers the Self adapter links against.
2026-10-18 20:08:48 -03:00
waozi f02b4e6cb2 Consume Arcade-owned Chess through the shared game interface 2026-10-18 15:47:36 -03:00
waozi 0238b82970 Version every app package automatically for each release
Bundles share host code and Kryon, so every release changes them, and the
node refuses a changed package under an old version. That blocked the App
packages workflow whenever a release forgot a package. update_version.sh
now versions every bundled package once per release: a package with newer
notes takes them, the others get a maintenance entry, and the root package
lists the versions it brings. The publish error says what to run.
2026-10-17 16:58:20 -03:00
waozi d14a67dc59 Add Chess and node-listed apps with beta apps in Settings
Chess is an optional app in More apps: play the computer at Easy, Medium
or Hard, or invite a friend from the friend list and play through the
account's node. It runs through a generic host interface (host_api 12) for
apps the node offers, so later apps need no host code or APK. More apps
lists the node's inbe.* apps that this build can run; installed marks sync
in private.inbe.v1.app-installs and app records in
private.inbe.v1.app.<name>, which released versions skip.

A release may carry "channel":"beta" (package-release.py --node-app NAME
--beta). Beta apps show only where Settings › About › Show beta apps is on;
turning it on reads the node's list again. Publishing offers only the upload
key over ssh.
2026-10-17 07:35:10 -03:00
waozi 85e3b71d08 Allow a signed Sun Salutation content repair without a package release 2026-10-16 03:17:43 -03:00
waozi 2695c18d56 Keep paid practice packs gated when the publisher uploads them
The node gates a pack only when a product marker sits beside it, but the
upload sent only each pack and its release, and the importer wrote no
marker, so a Tai Chi pack published that way would download for free.
The upload now carries each paid pack's marker, and the importer requires
it to match the signed catalog and writes it before the pack. The entry
limit counts markers too. An importer without this refuses the upload.
2026-10-16 02:08:17 -03:00
waozi 24eba5f715 Name male narration packs by their voice when signing releases 2026-10-15 17:58:13 -03:00
waozi 90ea7ecd3b Unlock Tai Chi with Dew and download it only with the node's grant
Tai Chi is a paid practice. Its packs are marked with the product
inbe.practice.taichi in the signed catalog, and the release writes a
node-side marker beside each one, so Daochi serves them only with a
short-lived grant it signs for accounts that unlocked the practice.

- Manage practices offers the unlock at the node's price, with the
  trial offer beside the regular price while one runs; the node
  charges and enforces both, and the app never sends an amount. A
  finished unlock starts the download.
- Paid downloads ask the host for a grant and put it in the pack's
  path; they wait while it is requested and fail when it is refused.
  A catalog whose product cannot be read is rejected, so a paid pack
  never turns free.
- The Google Play build has no Dew, so it neither lists nor starts Tai
  Chi.
- New strings are translated in every locale; CJK font subsets now
  cover them.
2026-10-15 12:37:54 -03:00
waozi 6c860ce7f9 Support signed practice content in the package publisher 2026-10-15 02:38:13 -03:00
waozi 65f3f9416e Skip package publishing until a changed package has a new version
The node rightly refuses changed bytes under the version it serves, so
every source change without a version bump turned App packages red. The
publisher now compares with the served releases first: changes without
a new version wait for the next one with a notice, unchanged packages
upload nothing, and only a new version mixed with an unversioned change
still fails.
2026-10-12 13:09:27 -03:00
waozi 2b06f0ba72 Accept packages from a range of host interfaces and stage releases
A package loaded only on an app with exactly its host interface, so every
interface change stranded packages on older apps. The host now runs packages
built for interfaces from oldest_host_api to host_api (5 to 6), and each
package declares the oldest interface it needs in apps/versions.json; all
current packages keep 5, so their signed releases are unchanged. Interface 6
marks hosts that match record fields by name. The constants are generated into
src/cells/host_api.zi, apart from the package versions, because they are
compiled host behavior.

Update checks name the host and module interfaces and a stable random device
bucket, so the Waozi node answers with the newest release this app can run.
package-release.py --rollout PERCENT --rollout-hours HOURS uploads changed
releases staged to that share of devices; the node releases them to everyone
when the time runs out, and a full upload promotes them earlier.
2026-10-10 23:49:17 -03:00
waozi 51e6da7885 Move Leaderboard out of Profile into its own app
Leaderboard is now a seventh app with its own package, so it can update
without a new Inner Breeze release. It is installed for new and existing
profiles, listed in Apps and left out of the dock; removing it is kept.
Profile keeps Friends and loses its Leaderboard tab.

The board ranks you with your friends for Wim Hof, breathing patterns,
meditation and Sun Salutation, by current streak or by average hold or
average time. Meditation averages were sent by the server but never
fetched; they are now. Saved and fetched results are parsed and ranked once
when they change instead of with SQLite queries on every frame, and up to
64 rows are shown in a scrolling list.

The package importer on the node accepts archives with and without the new
app, so the node and the app can be updated in either order.
2026-10-10 19:05:27 -03:00
waozi 69e0da10eb Add Lumi app tools and unify cell navigation and sidebar settings 2026-10-06 22:47:06 -03:00
waozi 396a8f917b Add modular apps, signed package updates and synced app choices 2026-10-06 14:37:10 -03:00