aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 14:21:34 +0000
committertv <tv@krebsco.de>2026-11-30 14:59:15 +0000
commiteaac60ba88728bb582778c726e5798156dddfc45 (patch)
tree557f4709762f95a7a440d1fa919dcce3bbf83cb4 /README.md
parent70367d17613ebe501fb2d3e9fa72b16c2eb9c2bd (diff)
enstate: the receptor and the provider, a first version
One program on a library: --plan and --apply of submissions (complete and partial, items required and optional, groups, removal, the chain as order), validators of types and across slots, views put in place by replacing a link, their reactions by systemctl; --status, --materialize; and --pack, a submission from a source list in JSON or TOML, by the config crate's sources. Programs by the protocol of design.md 5.2; tests with shell scripts as validators and renderers.
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 22 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2eb368a..71ae7e2 100644
--- a/README.md
+++ b/README.md
@@ -6,5 +6,26 @@ system declares what state it can consume; a receptor on the host accepts a
snapshot that fits, puts it in place and reloads what uses it, or rejects
it.
-Nothing is built yet. The design is in [docs/design.md](docs/design.md);
+The design is in [docs/design.md](docs/design.md);
[docs/migrations.md](docs/migrations.md) walks through its migration model.
+
+## What there is
+
+`enstate`, one program for the receptor and the provider:
+
+- `--plan PATH`, `--apply PATH`: what the submission in PATH would do, and
+ doing it: complete and partial submissions, items required and optional,
+ groups, removal, the chain as order, validators (a type's and across
+ slots), views and their reactions;
+- `--status`, `--materialize`: the snapshots, and putting every view in
+ place from them;
+- `--pack PATH --out DIR`: a submission from a source list, JSON or TOML.
+
+Not yet: migrations (`--migrate`), the NixOS module, a NixOS VM test,
+shell completion, a sandbox for programs.
+
+```sh
+cargo build
+cargo test
+enstate --help
+```