diff --git a/CLAUDE.md b/CLAUDE.md index fdc67ff..4988447 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,30 +1 @@ # css - -## CI is pinned - -Every input to CI is pinned in the source (bats-lang/repository-prototype#269), -so a commit that passes keeps passing: - -* `bats.lock` is committed: CI never runs `bats lock` for the package, so - `bats check` and `bats build` fetch exactly the locked versions, and fail - when the lock is missing or does not match `bats.toml`. A library's lock - pins only its own CI and tests; its dependents still resolve their own. -* The compiler is the commit in `.github/bats-version`, read by every - workflow that builds bats (and by the publish workflow). -* The package repository is fetched at the commit in - `.github/repository-version`, so what the test packages under `tests/` - lock (`bats lock --dev`) is pinned too. -* `publish.yml` and `relock-pins.yml` in bats-lang/repository-prototype are - called by commit, never `@main`. - -Pins move only through a reviewed pull request that runs the same CI. The -daily `relock.yml` (the shared `relock-pins.yml`) relocks against the -newest, moves the compiler and repository pins, pushes `relock/`, -opens a pull request listing the old and new versions and dispatches -`check.yml` on it, so a breaking publish shows as a red relock pull -request and main stays green. GITHUB_TOKEN cannot change workflow files, -so without a `RELOCK_TOKEN` secret that pull request lists a workflow pin -that would move instead of moving it: move it in a pull request of its -own. A pull request that needs newer packages runs `bats lock ---repository ` and commits `bats.lock` (and -`.github/repository-version`) with the change. diff --git a/README.md b/README.md index b25c2b2..e9f4f42 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,6 @@ CSS value types and rendering for the [Bats](https://github.com/bats-lang) programming language. -## Features - -- CSS units (`PX`, `EM`, `REM`, `PERCENT`, `VW`, `DEG`, `MS`, ...) -- Colors (`RGB`, `RGBA`, `Named`), values, declarations -- Selectors (`Class`, `Id`, `Tag`, `Pseudo`, `Child`, `Descendant`) and - rules, size-indexed so emitting into a builder needs no runtime check -- `class_text`: generated class names (`caa` .. `czz`), allocation-free - ## Usage There is no GC: colors, values, selectors, declarations and rules are