feat: Agent Orchestrator — multi-project agent dashboard
Tauri + Svelte 5 + Rust application for orchestrating multiple AI coding agents. Includes Claude, Aider, Codex, and Ollama provider support, multi-agent communication (btmsg/bttask), session anchors, plugin sandbox, FTS5 search, Landlock sandboxing, and 507 vitest + 110 cargo tests.
This commit is contained in:
commit
3672e92b7e
272 changed files with 68600 additions and 0 deletions
26
.claude/rules/12-performance-awareness.md
Normal file
26
.claude/rules/12-performance-awareness.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
paths:
|
||||
- "src/**/*.{ts,js,py,go,rs,dart,kt,java}"
|
||||
- "lib/**/*.{ts,js,py,go,rs,dart,kt,java}"
|
||||
- "app/**/*.{ts,js,py,go,rs,dart,kt,java}"
|
||||
---
|
||||
|
||||
# Performance Awareness
|
||||
|
||||
Prevent anti-patterns that are expensive to fix later — not premature optimization.
|
||||
|
||||
## Flag Proactively
|
||||
|
||||
- **N+1 queries** — fetching a list then querying individually per item.
|
||||
- **Unbounded fetches** — no pagination or limits.
|
||||
- **O(n^2) when O(n) exists** — nested loops, repeated scans, quadratic string building.
|
||||
- **Loading into memory** — entire files/datasets when streaming is possible.
|
||||
- **Missing indexes** — unindexed columns in tables expected to grow beyond 10k rows.
|
||||
- **Synchronous blocking** — blocking event loop/main thread during I/O.
|
||||
- **Connection pool exhaustion** — new connections per request instead of pooling.
|
||||
- **Unverified slow queries** — use EXPLAIN/EXPLAIN ANALYZE; don't guess about indexes.
|
||||
|
||||
## Rules
|
||||
|
||||
- Flag anti-patterns and offer to fix or create a TODO.
|
||||
- Quantify: "loads ~10MB per request" not "might use a lot of memory."
|
||||
Loading…
Add table
Add a link
Reference in a new issue