From 34ad4fa14f49334d108605a9c6dfdcd96f36bf86 Mon Sep 17 00:00:00 2001 From: David Meister Date: Wed, 19 Aug 2026 17:50:08 +0000 Subject: [PATCH 1/2] Drop foundry.toml release metadata: version intent lives in next-v tags (rainix#335) Co-Authored-By: Claude Fable 5 --- foundry.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/foundry.toml b/foundry.toml index b5b4ae8..f3e327f 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,7 +1,3 @@ -[package] -name = "rain-factory" -version = "0.1.7" - [profile.default] src = 'src' test = 'test' From 067f91ed545579b1970877a461cb01085e04e259 Mon Sep 17 00:00:00 2001 From: David Meister Date: Wed, 19 Aug 2026 18:40:51 +0000 Subject: [PATCH 2/2] Trim CLAUDE.md under the 4096-byte agent-context cap; correct stale release docs The rainix-sol static gate now enforces a 4096-byte agent-context budget; CLAUDE.md was 4492. Condensed the build/deploy boilerplate and rewrote the Releases section to the post-rainix#336 flow (registry-derived version + next-v tags, no foundry.toml release metadata, no commit-back). Co-Authored-By: Claude Fable 5 --- CLAUDE.md | 56 ++++++++++++------------------------------------------- 1 file changed, 12 insertions(+), 44 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 28cce6c..b4f1a1b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -24,36 +24,11 @@ SPDX headers. ## Build & Test Commands -This project uses **Nix + Foundry (Forge)**. Enter the dev shell first: - -```bash -nix develop -``` - -Then use rainix tasks: - -```bash -# Static analysis (Slither) -nix develop -c rainix-sol-static - -# License/legal checks (REUSE compliance) -nix develop -c rainix-sol-legal - -# Prelude (dependency setup, run before other tasks) -nix develop -c rainix-sol-prelude - -# Runs, but there is no test suite here: the interfaces have no behaviour to -# test. The tests that exercise them live in rain.factory.deploy, against the -# concrete. -nix develop -c rainix-sol-test -``` - -Direct Forge commands also work inside the nix shell: - -```bash -# Build -forge build -``` +Nix + Foundry. Enter the shell with `nix develop`, then run rainix tasks: +`rainix-sol-static` (Slither), `rainix-sol-legal` (REUSE), `rainix-sol-prelude` +(deps, run first), `rainix-sol-test`, and `forge build` directly. There is no +test suite here — the interfaces have no behaviour; the tests that exercise them +live in rain.factory.deploy against the concrete. ## Architecture @@ -93,21 +68,14 @@ third-party library — which is what makes this half a standalone publish. ## Deployment -Nothing in this repo is deployed. The deterministic Zoltu deploy of the concrete -`CloneFactory`, its canonical address and codehash, and the deploy scripts -targeting Arbitrum, Base, Base Sepolia, Flare and Polygon are all in +Nothing here is deployed. The concrete `CloneFactory`, its address/codehash, and +the deploy scripts (Arbitrum, Base, Base Sepolia, Flare, Polygon) all live in rain.factory.deploy. ## Releases -Library repo, so `package-release.yaml` runs `rainix-autopublish`: -`[package].version` in `foundry.toml` is the NEXT, unpublished version, and a -content change on merge publishes it and bumps to the next. Nothing here is -tag-released, and no snapshot is frozen — that lifecycle belongs to the deploy -half. - -## CI - -GitHub Actions runs three parallel jobs on every push: `rainix-sol-test`, -`rainix-sol-static`, `rainix-sol-legal`. There are no fork tests and no RPC -secrets are needed. +Library repo: `package-release.yaml` runs `rainix-autopublish`. A content change +on merge publishes to Soldeer at a registry-derived version (newest published, +patch-bumped); push a `next-v` tag on main to jump minor/major. +`foundry.toml` holds no release metadata, nothing is committed back, and no +snapshot is frozen — that lifecycle belongs to the deploy half.