Conversation
Agent/LLM docs
…posal and MS batch
… add relevant values to errors
…nal token migrator
…e enable function
- Restrict contract mode to .sol files under src/policies/ or src/periphery/ - Add path validation in B1 to reject contracts outside valid directories - Update mode detection to explicitly define error case for invalid paths - Remove fallback logic that attempted to resolve unknown contract keys
- Enumerate concrete contract declarations instead of file-level grep - Walk inheritance chain up to 3 levels to detect indirect inheritance - Skip only abstract contract declarations, not entire files containing abstract contracts - Track and report inheritance level (direct vs indirect) for detected enablers - Properly handle cases like BaseDepositFacility -> PolicyEnabler
- Explain that /update-emergency-config is a Claude Code skill - Document its capabilities: scan, generate, validate, and update - Add example usage for both scan mode and contract mode - Clarify access location (repository's Claude Code environment)
- Add ajv dependency for JSON schema validation - Validate config against emergency-config.schema.json (previously loaded but unused) - Remove $schema property before validation to avoid meta-schema issues - Use validateFormats: false since dates/URLs are validated by custom validators - Log schema validation errors and abort on failure Fixes issue where schema was loaded but never used for validation.
- Check that call.function exists in the ABI definition (call.abi) - Look up ABI definition from abis[call.abi] after confirming key exists - Search for matching function name in ABI array using abiDef.some() - Report clear error when function is missing from ABI - Maintains original unknown-ABI error when abiDef is undefined This catches typos and wrong function names in calldata definitions during CI.
- Add pnpm setup and installation steps - Add pnpm cache for faster workflow runs - Install dependencies with pnpm install --frozen-lockfile - Fixes "Cannot find module 'ajv'" error in CI The ajv package was added for JSON schema validation but the CI workflow wasn't installing dependencies before running the validation script.
Improved Emergency Scripts
- CoolerV2: 0x19b7... → 0x8bEB... - CoolerV2Composites: 0xe7A8... → 0x992e... - EmissionManager: 0x8478... → 0x79cF...
…oyment Replace staking contracts on Sepolia to correct sOHM index
Contributor
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR introduces OHM v1-to-v2 migration infrastructure via merkle-verified eligibility, adds comprehensive emergency shutdown documentation and validation tooling, updates operational scripts to support chain-based parameter resolution, refactors GitHub Actions workflows with consolidated dependency installation, and adds extensive LLM/agent guidance and Claude skills documentation. Changes
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
|
This was referenced Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces the V1 Migrator policy enabling OHM v1 holders to migrate to OHM v2 via merkle drop, plus
emergency shutdown improvements and enhanced developer tooling.
Key Changes
V1 Migrator (#196)
V1Migratorpolicy with merkle-based OHM v1 → v2 migrationsetRemainingMintApproval()previewMigrate()view helper for usersrescue()function for recovering accidentally sent tokensEmergency Shutdown (#183)
emergency-config.jsonwith JSON schema validationupdate-emergency-configskill usingjqand contract sourcesDeveloper Tooling (#195, #197)
/test-write,/test-debug,/lint-fixAGENTS.mdwith comprehensive project guidanceOther Changes
Burnerpolicy: AddedPolicyEnabler,IVersioned,IERC165supportOlyBatch: Tenderly sender fixes, anvil fork supportSummary by CodeRabbit
Release Notes
New Features
Documentation
Developer Experience