From 31feb5edb7be8ce23d96d120754e854d41909a49 Mon Sep 17 00:00:00 2001 From: Hugo Montenegro Date: Tue, 10 Mar 2026 17:18:51 +0000 Subject: [PATCH 1/3] fix: pass hiddenStatuses to second renderOverlays call (build fix) The minimal/mobile mode renderOverlays call was missing the new hiddenStatuses and setHiddenStatuses props, causing a type error. --- src/components/Global/InvitesGraph/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Global/InvitesGraph/index.tsx b/src/components/Global/InvitesGraph/index.tsx index 2f1984d1a..49de10c73 100644 --- a/src/components/Global/InvitesGraph/index.tsx +++ b/src/components/Global/InvitesGraph/index.tsx @@ -2564,6 +2564,8 @@ export default function InvitesGraph(props: InvitesGraphProps) { handleResetView, handleReset, handleRecalculate, + hiddenStatuses, + setHiddenStatuses, })} From 3a220bd98aa51f7ff4e3a7ec97d749cbd4ad5962 Mon Sep 17 00:00:00 2001 From: Hugo Montenegro Date: Tue, 10 Mar 2026 17:22:45 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9A=20archive=20SOP.md,=20inline?= =?UTF-8?q?=20chain-adding=20guide=20as=20code=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 2 +- SOP.md => docs/archive/SOP.md | 0 src/constants/chains.consts.ts | 7 ++++++- 3 files changed, 7 insertions(+), 2 deletions(-) rename SOP.md => docs/archive/SOP.md (100%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5c3296b74..7eac9337d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -116,7 +116,7 @@ Button, Card (named export), BaseInput, BaseSelect, Checkbox, Divider, Title, To ## 📁 Documentation -- **All docs go in `docs/`** (except root `README.md`, `SOP.md`, `CONTRIBUTING.md`). +- **All docs go in `docs/`** (except root `README.md` and `CONTRIBUTING.md`). - **Keep it concise** — AI tends to be verbose. No one reads that. - **Check existing docs** before creating new ones — merge instead of duplicate. - **Delete or edit outdated docs** instead of creating new ones. diff --git a/SOP.md b/docs/archive/SOP.md similarity index 100% rename from SOP.md rename to docs/archive/SOP.md diff --git a/src/constants/chains.consts.ts b/src/constants/chains.consts.ts index 4ff7b54e6..59352c55f 100644 --- a/src/constants/chains.consts.ts +++ b/src/constants/chains.consts.ts @@ -1,4 +1,9 @@ -// https://wagmi.sh/core/chains +// How to add a new chain: +// 1. If available in wagmi/chains (https://wagmi.sh/core/api/chains), import it directly. +// 2. If NOT in wagmi/chains, create a custom chain object (see `milkomeda` below for reference). +// 3. Add it to the `supportedPeanutChains` array at the bottom of this file. +// Note: Every chain used in the SDK MUST be listed here, or wallet interactions will break. +// Chains can be listed here even if not yet supported in the SDK. import type { Chain } from 'viem' import * as wagmiChains from 'wagmi/chains' From 3d34c132f909c3ebce84801c9b64b1948f707cec Mon Sep 17 00:00:00 2001 From: Hugo Montenegro Date: Tue, 10 Mar 2026 17:26:45 +0000 Subject: [PATCH 3/3] chore: enforce PR-only workflow in CONTRIBUTING.md Add top-level rules: never push directly to main, always use feature branches and PRs, wait for CI before merging. --- CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7eac9337d..efbeec3fd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,8 +14,10 @@ Single source of truth for developer and AI assistant rules. Tool-specific files - **Never add AI co-author to commits** — no "Co-Authored-By" lines for AI assistants. - **Do not generate .md files** unless explicitly told to. -## 🔀 Parallel Work +## 🔀 Git Workflow +- **NEVER commit or push directly to main** — all changes must go through a pull request. No exceptions. +- **Always work from a feature branch** — create a branch, push it, open a PR, wait for CI to pass, then merge. - **Use git worktrees** for parallel work (`claude --worktree ` or `git worktree add`). - Multiple agents/sessions must use separate worktrees to avoid collisions.