G-man3207/Kronik
Tentang
A deterministic application runtime for replaying production traffic, verifying changes, and running stateful Wasm actors.
Data dan analisisPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +1
- dalam 15 hari
- Mengumpulkan riwayat
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliKronik

Kronik is a source-available runtime in which a system is a deterministic function of its history. Every input, every effect result and every state change is written to an append-only log before a turn is applied, delivered or answered. A proposed change can be replayed against that recorded traffic and reviewed as a behavior diff before it goes live.
The runtime is one kronik binary. It runs actors: Wasm components with
key-value state and their own SQLite database, written in TypeScript, Rust,
Python or Go, or Linux programs from OCI images. The CLI, the JSON API and
the MCP server are the interfaces, and an embedded admin web interface where
a reviewer signs in with OIDC to read a diff and approve it.
Website · Documentation · Quickstart · Project status · Build brief
Status: pre-alpha. Kronik is not ready for production, and interfaces may change between releases. See Status.
Install
On Linux (x86_64 or aarch64), the latest release:
curl -fsSL https://github.com/G-man3207/Kronik/releases/download/v0.6.1/install.sh | sh
kronik doctor
To build current main from a trusted checkout, with the prerequisites in
CONTRIBUTING.md:
cargo build --locked --release -p kronik
export PATH="$PWD/target/release:$PATH"
kronik doctor
kronik serve runs in the foreground. The
quickstart goes from an
empty machine to a verified deploy, rollback and restore.
Installing covers the
release contents and the SDK toolchains.
Documentation
Guides, the introduction, the architecture page and the runbooks are on the wiki. This repository keeps the documents that have to move with the code:
| Path | Why it stays |
|---|---|
docs/AGENT_GUIDE.md |
Embedded in the binary (kronik explain agent) and served over MCP |
docs/concepts/glossary.md, docs/errors.md |
Generated from the code; CI checks they match |
docs/reference/ |
CLI, JSON, OpenAPI, WIT and examples, checked against the binary |
docs/guides/operations.md, docs/guides/security.md |
Checked by tests. kronik serve --init reads the operations guide |
docs/perf.md |
Measurements for this tree |
docs/adr/, docs/design/ |
Decisions and design notes for this tree |
docs/introduction.md, docs/concepts/architecture.md and the guides other
than operations, security and the agent guide are short pointers to the wiki.
Older links, including from kronik.se, still use
those paths. scripts/ci.sh book builds an mdBook from docs/.
Repository layout
| Path | Contents |
|---|---|
crates/ |
The Rust workspace: the kronik binary and the crates it is built from |
sdk/ |
Actor SDKs for Rust, TypeScript, Python and Go |
wit/, proto/ |
The actor ABI (WIT) and the log's protobuf schema, with the vendored OpenTelemetry protos |
ui/ |
The admin web interface, compiled into the binary |
examples/ |
Example actors in all four languages, foreign (OCI) actors and the GitHub flow fixture |
demo/ |
Demo scripts that run the real binary end to end |
scripts/ |
CI, build, release, acceptance and end-to-end scripts; scripts/README.md lists them |
tests/ |
Data from released versions for the compatibility checks, and prebuilt test actors; each crate keeps its own tests |
docs/ |
Reference, decisions (ADRs), design notes and the mdBook |
action/, deploy/, tools/ |
The GitHub Action, systemd units and the load generator for docs/perf.md |
Status
The latest release is v0.6.1 (30 November 2026,
release notes), a
patch release with the fixes found after v0.6.0 and faster continuous
replay. v0.6.0 brought the admin web interface, accepted on a single node,
and fixes to privacy, erasure, forks, durability and performance. Earlier
attested releases are v0.6.0, v0.5.0, v0.4.1 and v0.4.0. The
historical v0.3.0 and v0.1.0 remain unsigned, and current consumers
refuse their unsigned artifacts. v0.6.1 ships static musl binaries for
x86_64 and aarch64 with install.sh, checksums, CycloneDX SBOMs and
two-build byte-equality evidence.
main is the unreleased 0.7.0-dev line. The changelog
lists what changed since v0.6.1. As of v0.6.1, 146 of the 196 criteria
in the build brief
are implemented. The
compliance audit
maps each one, and the
project status
page tracks the milestones and the known gaps.
Kronik's cluster is partial: on main, and in no release yet, M16 replicates
a node's log to other members over Raft, fails over to one of them and spreads
the actors over shards; it is not accepted yet, and M17–M19 are not
implemented. The admin web interface (M27) shows a standalone node where its
cluster view would be; its browser acceptance runs in the manual nightly
workflow, up to the cluster gate. The
WASI 0.3 remainder (M22) and the fleet and hardening tracks (M29–M34) are
partial or absent. Some checks ran against pinned emulators and disposable
hosted runners, not production: ACME against Pebble, key and secret backends
against emulators, blob shipping against directory buckets and a local S3
server, and the nonroot and microVM levels on GitHub-hosted Ubuntu 24.04
runners. There has been no independent external security review, production
pilot or three-node soak.
Development
Kronik builds with the Rust toolchain pinned in rust-toolchain.toml.
git clone https://github.com/G-man3207/Kronik.git
cd Kronik
cargo build -p kronik
scripts/ci.sh
scripts/ci.sh runs the same 18 checks as CI: fmt, clippy, keyhelper,
hygiene, test, docs, book, examples, ui, ts, sdks, dst, deny, musl, foreign,
s3, identity and action. scripts/ci.sh clippy test runs a subset.
CONTRIBUTING.md has the conventions and what each step
needs. npm ci at the repository root installs a pre-commit hook that runs
formatting, hygiene and cargo deny. AGENTS.md is the same list
for automated contributors.
CI, nightly, isolation and release workflows start only when someone runs
them (workflow_dispatch). Only the GitHub Action demo runs on push and
pull request. The nightly adds the 1,000-crash test, deterministic
simulation with 10,000 seeds and the release build.
Security
Do not report vulnerabilities in public issues. See SECURITY.md.
License
Kronik is licensed under the Elastic License 2.0. It is source-available, not open source. External contributions require a signed Contributor License Agreement.
Jelajahi proyek terkait
Memuat…