📈 PERFORMANCE

  • Trace Startup Latency: 0ms -> ~15ms — Interactive setup configuration check & environment resolution overhead on initialization.
  • OTel Span Fallback: REST fallback pipeline enabled for self-hosted instances when OTel traces fail to materialize.

📦 FOOTPRINT

  • pi-langfuse: 0 KB -> 18.5 KB (+100.0%) — Initial extension baseline bundling OpenTelemetry telemetry, privacy filters, and REST fallbacks.
  • Dependencies: Minimal footprint relying on the host Pi Coding Agent runtime context.

💥 STABILITY

  • Uncaught Exceptions: Redacted gracefully. Wrapped core handlers in Try-Catch loops to prevent telemetry failures from interrupting the host CLI/TUI.
  • Data Leakage Rate: 0% — Automatic regex scrubbing on absolute paths, Git remote tokens, API keys, passwords, and system prompts.

🚨 GOTCHAS

  • Node v22+ Required: The extension runtime leverages modern shims and APIs requiring Node 22 or higher.
  • Metadata Whitelist: Repo-local config .pi-langfuse.metadata.json is strictly whitelisted; unauthorized custom keys are silently dropped.
  • Git Boundary Enforcement: If Git detection fails, source metadata automatically falls back to non-git to prevent leaking local folder hierarchies.