Core
What a page, a package and an action are, how a package and the lock are built, and which rules the tool that installs packages follows.
Core
The core is three things: a page, a package and an action. This package explains them to a project and records, as norms, the rules that the tool shtuk follows.
The package puts:
/base/kernel.md— what a page, a package and an action are and what the tool does;/base/package-format.md— the format of a package (package.md) and of the lock (.shtukbase/packages.lock);/base/conventions.md— the page typeConvention: how a base package says what packages of its kind give, expect and may change, and a health check that only informs; the fieldfollows;/norms/rules/core/CORE-R01.md…CORE-R14.md— fourteen norms of the tool, one per rule.
The package has no checks (the conventions of the base packages have their health checks in those packages). The enforcer of each norm is the tool's code and its test; they live in the tool's repository (apps/shtuk/src/, apps/shtuk/test/), not in the project. The norms are derived from the code and tests of tool version 0, nothing beyond them is invented.
Where the boundary is
- Here: the core's concepts, the format of a package and the lock, the rules of install, update, version choice and check.
- The norm collections themselves and the checks of norm form are the package
norms-core. Without it the core's norm pages lie as ordinary pages. - The page
/base/packages.md(the package list) is written by the tool; this package does not put it.