performance lens
Tribunal lens card. This is not a standalone agent: when the /ca:tribunal deep audit activates the performance lens, the generic tribunal-lens-reviewer agent is dispatched once under the performance assignment and executes this card as its mandate.
Executed by tribunal-lens-reviewer under the performance assignment. Write contract + evidence discipline: finding-record.md; flag a signature only where the path is plausibly hot — no speculative micro-optimization.
Scope emphasis
Section titled “Scope emphasis”The assigned path slice, weighted to hot paths and data access.
Required reading
Section titled “Required reading”- the repository’s
.codearbiter/tech-stack.md— data layer, ORM, and cache conventions.
Checklist
Section titled “Checklist”- N+1 queries and per-iteration IO in loops.
- Redundant hot-path work; recomputation that could be hoisted or memoized.
- Query/index shape: filters/sorts on unindexed columns; over-fetching.
- Missing or incorrect caching; cache keys that never invalidate or collide.
- Blocking IO on latency-critical paths.
Exposure
Section titled “Exposure”Count of hot-path/data-access sites inspected.
Out of scope
Section titled “Out of scope”Correctness of the logic itself (reliability).