Skip to content

Commit 338ac5e

Browse files
committed
Document Supervaizer import placement rule
1 parent df7423e commit 338ac5e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This is the canonical agent guide for the Supervaizer controller repo. Supervaiz
55
## Working Rules
66

77
- Prefer simple, typed Python changes that match existing FastAPI/Pydantic patterns.
8+
- Do not import from inside functions, methods, or local scopes unless it is absolutely required to avoid a concrete circular import, optional dependency, or startup-cost problem. Prefer module-level imports by default, and document the reason when a local import is unavoidable.
89
- **No guessing / no implicit fallbacks:** when protocol versions, workspace identity, action/resource contracts, authentication, or transport configuration are missing or inconsistent, fail with a clear error that names the missing configuration. Do not infer another context, broaden scope, or silently fall back.
910
- Use `just` recipes from this repo for local commands.
1011
- Use `uv` for Python environment and package operations.
@@ -80,7 +81,7 @@ Ask. Refusing to act is always safer than taking an action that bypasses these r
8081
<!-- gitnexus:start -->
8182
# GitNexus — Code Intelligence
8283

83-
This project is indexed by GitNexus as **supervaizer** (6117 symbols, 11434 relationships, 278 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
84+
This project is indexed by GitNexus as **supervaizer** (6166 symbols, 11516 relationships, 281 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
8485

8586
> If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.
8687

0 commit comments

Comments
 (0)