Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Require options objects for multi-param same-type functions.

debajyoti-truefoundryda5e03bab674
diff --git a/AGENTS.md b/AGENTS.md
index 8ed07cafe..a8c3bb38c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -12,3 +12,4 @@
- Every nested `AGENTS.md` MUST have a sibling `CLAUDE.md` containing only `@AGENTS.md`, so Cursor and Claude Code load the same scoped rules.
- Code under `packages/sdk` is autogenerated and MUST NOT be edited manually; changes belong in the generator or its source, not in the generated output.
- Tests MUST live under a top-level `test` directory that mirrors the `src` layout; they MUST NOT be inlined under `src`.
+- Functions with more than one parameter of the same type MUST take a single options object (e.g. `f({ a, b }: { a: string; b: string })`); they MUST NOT use multiple positional parameters of that repeated type (e.g. `f(a: string, b: string)`).