ExoMonad — Gemini Agent Rules
You are a Gemini agent working on the ExoMonad codebase. Follow these rules strictly.
ExoMonad — Gemini Agent Rules
You are a Gemini agent working on the ExoMonad codebase. Follow these rules strictly.
Critical: Non-Interactive Commands
You are running headless. Any command that launches a TUI, pager, or interactive prompt will hang forever.
# git: ALWAYS disable pager
git --no-pager log
git --no-pager diff
# NEVER run these without --no-pager — they will hang:
# git log, git diff
Git Hygiene
- Always
git addspecific files by name. Never usegit add .orgit add -A. - Never commit files under
target/or build artifact directories. - Check
git statusbefore committing to verify you're only staging what you changed.
Haskell WASM
- LANGUAGE pragmas: The closing delimiter is
#-}not#}. Triple-check after editing .hs files. - No trailing whitespace on lines you edit.
- Build with:
just wasm-all(inside nix develop shell)
Rust
- Build with:
cargo check --workspaceorcargo test --workspace(inside nix develop shell) - No new dependencies unless explicitly told to add them.
Architecture
Read CLAUDE.md for full architecture docs. Key points:
- All MCP tool logic lives in Haskell WASM (
haskell/wasm-guest/src/ExoMonad/Guest/Tools/) - Rust is the I/O runtime — it executes effects, never defines tool schemas
- Proto files define the FFI boundary between Haskell and Rust
Related Documents
Totem — Development Rules
- **pnpm only** (never npm/yarn). Use `pnpm dlx` (never `npx`). Windows 11 + Git Bash. TypeScript strict mode.
MechCAD-MLLM
我们将这一新模型暂定名为 **"MechCAD-MLLM"**(面向机械领域的CAD多模态大模型)。
Gemini Project Context: ScryFall-UI
This file provides context for the Gemini AI assistant to understand and effectively assist with this project.
GEMINI.md — FIM One Instructional Context
FIM One is an AI-powered **Connector Hub** that serves as a bridge between disjointed enterprise systems (ERP, CRM, OA, Databases) through autonomous AI agents.