Skip to main content

Crate kcode_k1_daemon_lib

Crate kcode_k1_daemon_lib 

Source
Expand description

§K1 daemon library

kcode-k1-daemon-lib 0.14.5 is the library-only composition root for the loopback K1 daemon. It preserves the 0.14.4 startup contract: one Vault prompt; the current Ordering, Peering, Web, Accounts, Groups, Access, Profiles, Persons, Launch Nodes, Kmap, Chat, Social, SetLaunchNode, RustCode, WebCode, Audio, classification, provider, replay, invite-stock, HTTP, startup-error, listener, readiness, and authenticated ESE behavior; and the topology-aware Loom bootstrap as a mandatory pre-readiness gate.

Startup retains the concrete Web bootstrap importer before consuming Code Services. Loom bootstrap validates and imports both the Rust archive and the Web UI archive, returns the five shared launch-node IDs in memory, and still completes before invite-stock reconciliation, listener binding, and readiness. The daemon passes those IDs to the existing Host-validated, no-store /config.json response; it creates no launch-node manifest file.

The process-lifetime K1Ese remains at <k1_root>/state/ese with the existing Ordering, Peering, and Groups handles. Its four authenticated /external-subsystems routes remain merged beneath K1 HTTP. ESE canonical events remain in KTO, and its disposable derived projection uses append-only binary files with no SQLite or other database.

The package adds no migration, retry, rollback, deployment, host restart, browser/UI behavior, or live acceptance. Publishing this library does not adopt it on a host.

Functions§

run