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
Require tool handlers to receive an explicit ToolHandlerContext instead of
supporting a no-context test response path. Update unit tests to use the
shared callHandler helper so tests provide context explicitly.
Remove the env-driven MCP next-step fallback test because MCP output should
be verified through the MCP boundary, not by forcing runtime state in handler
scaffolding. Document the no-fallback rule in AGENTS.md and CLAUDE.md.
Co-Authored-By: Codex <codex@openai.com>
-**NEVER use inline imports** - no `await import("./foo.js")`, no `import("pkg").Type` in type positions, no dynamic imports for types. Always use standard top-level imports.
48
48
- NEVER remove or downgrade code to fix type errors from outdated dependencies; upgrade the dependency instead
49
49
- Always ask before removing functionality or code that appears to be intentional
50
+
- Do not add fallback behavior by default. If required context, configuration, runtime state, or dependencies are missing, fail loudly and fix the caller/setup instead of silently switching to an alternate path. Add a fallback only when explicitly requested or when it is a documented product requirement.
Copy file name to clipboardExpand all lines: CLAUDE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
-**NEVER use inline imports** - no `await import("./foo.js")`, no `import("pkg").Type` in type positions, no dynamic imports for types. Always use standard top-level imports.
7
7
- NEVER remove or downgrade code to fix type errors from outdated dependencies; upgrade the dependency instead
8
8
- Always ask before removing functionality or code that appears to be intentional
9
+
- Do not add fallback behavior by default. If required context, configuration, runtime state, or dependencies are missing, fail loudly and fix the caller/setup instead of silently switching to an alternate path. Add a fallback only when explicitly requested or when it is a documented product requirement.
0 commit comments