Skip to content

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.

The assigned path slice, weighted to hot paths and data access.

  • the repository’s .codearbiter/tech-stack.md — data layer, ORM, and cache conventions.
  • 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.

Count of hot-path/data-access sites inspected.

Correctness of the logic itself (reliability).