UCI itself is small: at runtime it is /sbin/uci → libuci → libubox; at build time it is CMake + C99 + libubox headers/libs (Lua optional). ubus/procd belong to the OpenWrt integration layer, not to UCI. With a dependency table, CMake options, a PC build, and verified ldd/CLI/C-API results.
UCI turns configuration under /etc/config into a three-level package/section/option tree, with the uci command and libuci. This article follows “file → command → commit → scripts → pitfalls → boundaries” to explain what it does — and what it does not.
Implements USP Device:2.13 LocalAgent.Threshold: multi-instance, Alias key, expressions/search paths, validate/destroy actions and a Triggered event. ODL walkthrough with ✅/⚠️/❓ verification status.
Same data model as greeter_plugin, but a standalone executable: libamxrt parses the command line, loads backends/ODL and registers the model; symbols in an executable cannot be resolved by import, so they must be registered in the ftab. With main.c walkthrough and app/plugin comparison.
cpu-info is not the smallest example, but it covers read-only/volatile, CPU[] instances, and read/list/describe actions. File-by-file notes plus a compile/test on the AMX base environment with measured output.
Six fewer C files than cpu-info; still covers objects, instances, events and persistence. ODL, entry point, and a compile/test on the AMX base environment method (ubusd + amxrt verification).