From df3291e799467ab8bc9ff57e17371994288c43dd Mon Sep 17 00:00:00 2001 From: David Meister Date: Mon, 29 Jun 2026 13:30:17 +0000 Subject: [PATCH 1/2] docs: add CLAUDE.md with rain.flare build invariants (#74) Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..fc952da --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,19 @@ +# rain.flare — build invariants + +## Committed artifacts — regenerate with build.sh + +`meta/FlareFtsoSubParserAuthoringMeta.rain.meta` and `meta/FlareFtsoWords.rain.meta` are generated outputs, not hand-edited. Run `./script/build.sh` to regenerate them and commit the result. If they drift, `copy-artifacts` CI fails. + +`src/generated/FlareFtsoWords.pointers.sol` is also a generated artifact, regenerated by the nix prelude (`rain-flare-prelude`). Regenerate via `nix develop -c rain-flare-prelude` and commit the result alongside the meta files. + +## Build tools + +Use `nix develop` for all builds. `forge` and `rain` binaries must come from the nix shell — do not use system-installed versions. + +## Dependencies + +Soldeer (not git submodules). Run `forge soldeer install` inside `nix develop` to install/update dependencies listed in `foundry.toml`. + +## Publishing + +Pushing to `main` automatically publishes the soldeer package via `rainix-autopublish`. No manual publish step. From 4dd9264e6c4c08b6d476346f0b1130c946c24948 Mon Sep 17 00:00:00 2001 From: David Meister Date: Mon, 29 Jun 2026 17:08:01 +0000 Subject: [PATCH 2/2] fix(ci): legal/legal - add CLAUDE.md to REUSE.toml annotations [3b-attempt] Co-Authored-By: Claude --- REUSE.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/REUSE.toml b/REUSE.toml index d3732fe..96de4d6 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -6,6 +6,7 @@ path = [ ".github/workflows/**/", ".gitignore", ".soldeerignore", + "CLAUDE.md", "README.md", "flake.lock", "flake.nix",