You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f37d9d9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Use the `test-audit` skill whenever you write, change, or review tests; mechanic
59
59
Build order **Tools** → **Block** → **Icon** → optional **Trigger**, from the service's API docs, using `/add-integration` (or `/add-tools`, `/add-block`, `/add-trigger`).
60
60
61
61
-**Tool IDs are `snake_case`** (`service_action`), registered in `tools/registry.ts`; blocks register alphabetically in `blocks/registry-maps.ts`.
62
-
-**Every tool declares `effect: 'read' | 'write'`**: `read` only when the call changes nothing outside Sim (no write, send, trigger, or consume, and no job, run, or other resource left in an account; usage billing aside); `write` otherwise, including param-dependent effects and anything uncertain. Revealing a person's contact data (email, phone) for credits is `write`; company/firmographic lookups and verifications that only spend lookup credits are `read` (`check:tool-effects`; rules in `/add-tools`).
62
+
-**Every tool declares `effect: 'read' | 'write'`**: `read` only when the call changes nothing outside Sim, `write` otherwiseand whenever unsure (`ToolEffect` in `tools/types.ts`; `check:tool-effects`; rules in `/add-tools` → Declaring the effect).
63
63
-**Type coercions go in `tools.config.params`** (runs at execution), never `tools.config.tool` (runs at serialization, where `Number()` destroys `<Block.output>` references).
64
64
-**Requests made for a workspace use `outboundFetch`** (`@/lib/core/network/outbound-fetch.server`), never the global `fetch` or another imported `fetch`, so an organization with a dedicated egress gateway keeps its static IPs; `check:organization-egress` enforces this, and a request that rightly goes direct (Sim's own infrastructure, an operator-local server) takes `// egress-direct: <reason>`. AWS SDK clients signing with customer credentials take `organizationAwsRequestHandler()`: no audit catches a missing one, so reviewers check it.
65
65
- A surface listing integrations to a viewer reads `useIntegrationAccess`, never a raw catalog (`check:integration-access`).
0 commit comments