From 369b3b5e987ae69f56ae4eef59daa098274e8698 Mon Sep 17 00:00:00 2001 From: baku-ccron Date: Wed, 19 Aug 2026 03:55:36 +0000 Subject: [PATCH] Cut CLAUDE.md under the agent-context cap CLAUDE.md was 4099 bytes against the 4096-byte cap, so rainix-sol / static failed on every PR to this repo. Now 3906. Two cuts, both content that was wrong or empty rather than arbitrary bytes: - The pragma line stated the same version on both sides of its semicolon, so it distinguished nothing that the compiler line above it did not already say. - The Dependencies section described git submodules in lib/ with a remapping in foundry.toml. This repo has no .gitmodules and no remappings; it is soldeer with libs = ["dependencies"]. The list was also stale, naming rain.math.float and rain.intorastring, neither of which is declared. Co-Authored-By: Claude Opus 5 (1M context) --- CLAUDE.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0e87707..f2ce77b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -24,8 +24,6 @@ Compiler: Solidity 0.8.25, EVM target: cancun, optimizer enabled (1M runs). Fuzz All reverts use custom errors — no `revert("string")` or `require()` with string messages. -Interfaces use `pragma solidity ^0.8.25`; libraries and errors use `^0.8.25`. - ## Architecture ### Core Interfaces (`src/interface/`) @@ -69,7 +67,7 @@ Tests are in `test/src/lib/` mirroring the `src/lib/` structure. Test files use ## Dependencies -Git submodules in `lib/`: forge-std, openzeppelin-contracts, and Rain Protocol libraries (rain.sol.codegen, rain.solmem, rain.lib.hash, rain.lib.typecast, rain.math.binary, rain.math.float, rain.intorastring). The `rain.sol.codegen` submodule has a remapping configured in `foundry.toml`. +Soldeer, installed into `dependencies/`. Imports carry the package version in the path (`rain-solmem-0.1.3/src/...`), so a version bump rewrites every import of that package. ## Branch Naming