Files
kryon/docs/BOUNDARIES.md
T
waozi 5dfe1c6717 Describe Kryon as fully on Ziran in its docs and site
Build instructions install the ziran command and use the toolchain locked
in ziran.lock instead of a ../ziran sibling checkout. Downstream apps pick up
Kryon changes through ziran.lock. Terminal owns OSC 52 and bracketed paste.
The website no longer calls the migration underway, and its status page
lists the Android host, Zib desktop apps and opt-in DOM CSS layout.

The obsolete files (shell.nix, .ini themes, old site images, the duplicate
API redirect) were removed in 827eae3d, which picked up these staged
deletions.
2026-10-11 10:12:56 -03:00

1.3 KiB

Repository boundaries

Owner Code and data
Ziran Language, compiler, standard library, .zir, .zib, and generic host capabilities
Kryon Reusable Ziran UI modules, widget decisions, and UI hosts
Game2D Optional game API and game behavior using Kryon's selected raylib backend
Applications Screens, copy, translations, assets, data storage, migrations, and product workflows

Kryon is imported by applications. It is not linked into programs that never import it, and the Ziran compiler does not special case widgets. A generic capability missing from the language belongs in Ziran. A reusable UI choice belongs in Kryon. A product-specific behavior belongs in the application.

Kryon's graphical host owns platform windows, input events, and presentation. Its widget modules own focus, pointer capture, layout, semantics, and paint decisions. The host may call native libraries through declared Ziran foreign bindings, but must not duplicate widget policy.

Make upstream Kryon changes on master and commit them there. A downstream app picks them up by updating its ziran.lock, or, if it still vendors Kryon, by moving its clean vendor/kryon submodule pointer. Never edit Kryon's source inside an application. See ARCHITECTURE.md for source modules and PROJECTS.md for package use.