Commit Graph
51 Commits
Author SHA1 Message Date
waozi e5644145a7 Pin the pushed native dependencies and restore the native CI steps
Mesh CI and deploy / container (push) Successful in 50m22s
Mesh CI and deploy / checks (push) Successful in 1h37m27s
Mesh CI and deploy / deploy (push) Successful in 24m35s
The toolchain moves to Ziran c450e3a3 for rooted child file handles and
multi-member gzip, compression to c42011e for the zstd streaming encoder
and SQLite to b15b524 for busy and progress handlers. The native server
now builds from the locked inputs, so the checks job runs the native
server suite again and the deploy job ships the generated native C.
2026-11-22 22:42:49 -03:00
waozi 28578d5617 Write the native entry from Make and drop two Python scripts
Mesh CI and deploy / container (push) Successful in 18m9s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / checks (push) Canceled after 27m34s
The Makefile writes the native entry module itself with $(file), quoting
the build version as a Ziran string literal, so the native build no
longer runs scripts/write_native_entry.py. The output is byte-identical,
and an empty version still stops the build. scripts/test_python.py ran
nothing in CI or the Makefile.
2026-11-22 22:16:35 -03:00
waozi cd913bc2fd Skip CI for plan and Markdown pushes; close the Gitea delivery plan
Mesh CI and deploy / container (push) Successful in 14m53s
Mesh CI and deploy / checks (push) Successful in 30m23s
Mesh CI and deploy / deploy (push) Successful in 9m21s
Gitea run 313 deployed b4ea4c2 after every gate passed, and the public
node and the origin manifest report that revision. Pushes that change
only plans or Markdown no longer test or redeploy the server.
2026-11-22 21:26:39 -03:00
waozi b4ea4c2399 Accept Gitea's trailing-slash server URL in the deploy guard
Mesh CI and deploy / container (push) Successful in 14m13s
Mesh CI and deploy / checks (push) Successful in 32m6s
Mesh CI and deploy / deploy (push) Successful in 9m59s
Gitea evaluates job conditions with its ROOT_URL, https://git.waozi.xyz/,
so the exact comparison skipped the deploy job after every gate passed.
The runtime check in the deploy job strips the same trailing slash.
2026-11-22 20:42:46 -03:00
waozi 12226b595b Give the Gitea Go test runs a 30 minute timeout
Mesh CI and deploy / container (push) Successful in 15m10s
Mesh CI and deploy / checks (push) Successful in 28m24s
Mesh CI and deploy / deploy (push) Skipped
The Mesh package takes about 9 minutes under -race on the shared slot, and
on the overflow runner it passed go test's default 10 minute limit.
2026-11-22 20:12:46 -03:00
waozi e45576d881 Always write the gosec report in Gitea CI
Mesh CI and deploy / container (push) Successful in 15m12s
Mesh CI and deploy / checks (push) Failing after 30m44s
Mesh CI and deploy / deploy (push) Skipped
With -quiet, gosec writes no report when it finds nothing, so the clean
scan passed and the required report upload failed. The scan now always
writes its SARIF.
2026-11-22 19:40:08 -03:00
waozi 76fe8298ac Hold native CI steps until the native dependencies are pushed
Mesh CI and deploy / container (push) Successful in 14m24s
Mesh CI and deploy / checks (push) Failing after 27m14s
Mesh CI and deploy / deploy (push) Skipped
The native server compiles only with uncommitted Ziran standard library,
compression and SQLite work, so with the locked toolchain the checks job
and the native release in the deploy job failed and blocked every Go
deploy. The plan lists the missing symbols and how to restore both steps.
2026-11-22 19:10:32 -03:00
waozi 310fc4b53e Forward the native targets through the make shim
Mesh CI and deploy / container (push) Successful in 15m19s
Mesh CI and deploy / checks (push) Failing after 29m35s
Mesh CI and deploy / deploy (push) Skipped
make reads the lowercase makefile shim first, which forwards a fixed list
of targets, so CI could not run sqlite-native and the origin could not run
build-native. A workflow test checks that every target CI runs is
forwarded.
2026-11-22 18:35:55 -03:00
waozi f9fb1555ba Ship and install the native server beside the Go binary
The deploy job adds the native server's generated C and SQLite source to
the artifact. The origin gateway builds them with cc when present and
verifies their manifest, and install.sh installs /opt/mesh/mesh-native
beside the Go binary, whose CLI commands stay in use.

deploy/runtime selects the server through a mesh.service drop-in. It
stays go until the origin has built native once; a failed install
restores the previous binary and selection.
2026-11-22 18:17:12 -03:00
waozi 39a79ae85d Build the native server from its generated C without Ziran
native-release collects the native server's generated C and the SQLite
amalgamation from the locked source. build-native compiles them with cc,
links SQLite and liboqs statically and the origin's runtime libraries by
soname, and records a manifest with the C compiler and a digest of the
compiled sources. The binary built this way passes the native server
suite.
2026-11-22 18:13:56 -03:00
waozi 6888d84371 Report coverage in module mode and clear stale CI images
go tool cover lists the profiled packages in vendor mode, which the
liboqs vendor folder fails, so the checks job failed after every test
passed. A cancelled container job also leaves its image behind until the
Mesh runner refuses work below 2 GiB free; each build now removes earlier
job images first.
2026-11-22 18:08:59 -03:00
waozi a5efee723d Run the native server suite in Gitea CI
CI tested only the Go build. The checks job now builds SQLite from the
locked sqlite3 source outside its package checkout, extracts Debian's
pinned libmicrohttpd 1.0.1-4, the package the origin installs, and runs
the native server suite against both.
2026-11-22 17:42:02 -03:00
waozi 07eb5f780d Install Trivy from its pinned release in Gitea CI
Mesh CI and deploy / checks (push) Failing after 24m12s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / container (push) Canceled after 13m28s
trivy-action's setup checked Trivy out from GitHub with the Gitea job
token, which GitHub refuses, so the container job failed after the image
probe passed. The job installs the checksummed v0.70.0 release and the
action skips its own setup.
2026-11-22 17:37:18 -03:00
waozi e916579e4a Fix the Go root and container probe in Gitea CI
The shared runner exports the native SDK's Go 1.26.8 GOROOT, so lint read
that standard library with setup-go's 1.26.11 toolchain and failed. The
checks job now points GOROOT at the installed Go.

The CI slice denies private ranges, including Docker's bridge, so the
container's published port never answered. A pinned busybox probe now
reads readiness and the node revision from the container's own network
namespace.
2026-11-22 17:16:51 -03:00
waozi 7341e9f6b5 Fetch Ziran and Kryon packages from Gitea in Mesh jobs
Mesh CI and deploy / checks (push) Failing after 39m57s
Mesh CI and deploy / container (push) Failing after 58m24s
Mesh CI and deploy / deploy (push) Skipped
The Mesh runner fetched locked packages from the GitHub mirror, which
refused the renamed daochi-client checkout. The generate step now
rewrites the ziranlang and kryonlabs organizations to Gitea, the primary
host, as the shared runner already does. Gitea keeps the renamed
repository reachable and the recorded origin stays the locked URL.
2026-11-22 16:13:21 -03:00
waozi 4b22b79370 Keep fetched Ziran packages between Gitea jobs
Mesh CI and deploy / container (push) Failing after 13m29s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / checks (push) Canceled after 16m7s
The generate step pointed the Ziran cache at the job's temporary folder,
so every job cloned sqlite, curl, raylib, libwebp and both liboqs commits
from GitHub again, about 34 minutes on the Mesh slot. Host runners now
keep those checkouts in their own cache, outside the checkout.

setup-go no longer restores the job cache. The host runner keeps the Go
build and module caches, and the restore waited out a 4m40s timeout.
2026-11-22 15:57:16 -03:00
waozi fb4ab2949f Run the shared-slot Gitea gates in one checks job
Mesh CI and deploy / container (push) Failing after 35m8s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / checks (push) Canceled after 36m51s
Lint, test, race, vulnerability, gosec and license checks each set up
Ziran, regenerated the Go and rebuilt liboqs on the single shared Build
slot. One checks job now does that setup once, runs the plain tests and
coverage in one pass, and drops the repeated migration test. The
container job still runs in parallel on the Mesh runner.

The origin gate requires the checks and container jobs, and a workflow
test keeps it equal to the deploy needs.
2026-11-22 15:19:24 -03:00
waozi 60caafdc41 Verify both Gitea vulnerability scan jobs before deploying
Mesh CI and deploy / build-policy (push) Successful in 1m17s
Mesh CI and deploy / container (push) Failing after 13m14s
Mesh CI and deploy / lint (push) Failing after 13m18s
Mesh CI and deploy / govulncheck (0) (push) Canceled after 0s
Mesh CI and deploy / govulncheck (1) (push) Canceled after 0s
Mesh CI and deploy / source-security (push) Canceled after 0s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / test (push) Canceled after 3m37s
2026-11-22 14:58:38 -03:00
waozi c1783c1201 Move Mesh CI and API deployment to Gitea 2026-11-22 14:55:41 -03:00
waozi 82940cd9f0 Native Linux Mesh server with WAL PRAGMAs, unlocked crypto/sync, and key-delete buffer wipe 2026-11-22 02:54:39 -03:00
waozi 149cff4635 Confine Mesh storage paths and update the Go build 2026-11-20 01:10:54 -03:00
waozi ed259e0334 Organize Mesh sources and finish the Ziran application port 2026-11-19 21:38:33 -03:00
waozi 8566e4cf1b Relay signed owner Lumi developer turns 2026-11-18 22:41:51 -03:00
waozi 35159302be Rename Daochi to Mesh with compatible state and deployment migrations 2026-11-17 14:57:07 -03:00
waozi 37f79b047f Offer hosts only package releases they can run, keep every archive, serve WebAssembly variants
A host naming zx=R gets only releases whose stored .zx header has revision R.
A host naming host_api without a revision (every released host) gets only
revisions before 28, and oldest_host_api excludes releases built for an
interface the host no longer runs. format=wasm serves a release's signed
WebAssembly variant (release-SEQUENCE.wasm.json beside SHA.wasm) as
application/wasm.

Package staging no longer deletes archived releases or blobs. The history
keeps the newest release of every format, ZX revision and interface plus
the newest ten, up to the 64 the node reads.
2026-11-16 02:37:10 -03:00
waozi 283e16df7a Reuse the existing SSH identity directory during deployment 2026-10-30 23:19:38 -03:00
waozi 1b0ed08cc7 Confine legacy package paths and scope the SHA-256 protocol review 2026-10-30 23:01:56 -03:00
waozi 4cf59fd92b Verify origin SSH pins against the authenticated node identity 2026-10-30 22:53:51 -03:00
waozi d14ab8e392 Minimize runtime image and resolve CodeQL extension rules 2026-10-30 21:35:05 -03:00
waozi 55165a8ddc Scan generated production code and make policy fixtures self-contained 2026-10-30 21:29:20 -03:00
waozi 64f75e90fc Validate published dependency graph and isolate deployment shell inputs 2026-10-30 21:21:24 -03:00
waozi 4242e371b5 Harden sessions, payment reconciliation, mesh quotas and release security gates 2026-10-30 21:11:12 -03:00
waozi 09fc5c702e Improve sync compression with bounded Zstandard reuse 2026-10-26 13:58:37 -03:00
waozi 143a2294a6 Generate the Go at build time instead of committing it
The 202 Go files zi2go makes from the Zi sources are no longer kept in
Git. They are written as .zi.go and .zi_test.go, which .gitignore leaves
out, and make build, test and run regenerate them when a source or
ziran.lock changes. CI, the security checks and the deploy build the
pinned Ziran (cached by commit) and generate the Go before any Go build;
the deploy still ships the generated tree to the origin, which only
compiles it. The pin moves to the current Ziran, whose output matches.
2026-10-24 03:19:26 -03:00
waozi 25c57f7f70 Serve ZX portable executables to ZX hosts and keep legacy ZIB releases for older ones 2026-10-23 21:00:48 -03:00
waozi 51796e88fd Retain three signed app versions and serve compatible history 2026-10-18 18:06:23 -03:00
waozi bbf655ddae Let a feedback report carry several developer replies
A developer reply replaced the report's single reply, so a second reply
overwrote the first and apps that had shown the first never showed the
second. A reply sent with its own 64-character reply_id is now added
beside the report's earlier replies in a new table, and retrying the same
reply_id and text adds nothing, while reusing a reply_id for other text is
refused. A reply without reply_id keeps its single-reply behavior.

Lumi's reply list returns every reply once, oldest first, each under its
own ID (the report's ID for the single reply), so released Inner Breeze
versions show every reply in order without an app update. Report lists show
each report's latest reply, replies leave with their report, and
scripts/feedback.py takes --reply-id.
2026-10-17 18:24:09 -03:00
waozi 70f9a0614c Point the Lumi bot description to Connect Telegram in Settings 2026-10-09 00:24:33 -03:00
waozi a80bd5704f Authorize scoped key-bound sessions and consume Telegram links atomically 2026-10-08 01:09:25 -03:00
waozi 62eaafcf17 Add Lumi Telegram commands and verified bot configuration 2026-10-07 17:16:45 -03:00
waozi 5c1c2f3a4f Add node-hosted Lumi chat and account-scoped app feedback 2026-10-07 01:03:12 -03:00
waozi 4c2d8141a3 Serve independently versioned signed ZIB app packages 2026-10-06 16:07:09 -03:00
waozi b9d00ff622 Serve signed portable app releases from registered Daochi publishers 2026-10-04 01:50:05 -03:00
waozi 2a6e856f37 Complete the Daochi production port with canonical entry and SQLite initialization 2026-10-02 13:02:07 -03:00
waozi 6f1d353431 Port ML-DSA-44 provider and native cleanup to Ziran 2026-10-02 12:16:28 -03:00
waozi b1fd71744b Resolve the Ziran port through its pinned project toolchain 2026-09-30 15:22:58 -03:00
waozi 87975ff9f1 Port binary codecs, identity validation, signing and bearer tokens to Ziran 2026-09-29 16:49:13 -03:00
waozi 22c565b7b2 Canonicalize production Daochi settings 2026-09-21 01:31:08 -03:00
waozi ae40c7f2d9 Preserve released sync clients and migrate deployed environment settings 2026-09-14 09:59:15 -03:00
waozi 430938f928 Refactor app ownership and add Monero deposits 2026-09-04 16:44:44 -03:00