Skip to content

feat(observability): Langfuse → portable canonical evidence (GT-530)#175

Merged
beyondnetPeru merged 1 commit into
mainfrom
develop
Jul 13, 2026
Merged

feat(observability): Langfuse → portable canonical evidence (GT-530)#175
beyondnetPeru merged 1 commit into
mainfrom
develop

Conversation

@beyondnetPeru

Copy link
Copy Markdown
Contributor

Lleva evidencia de ejecución de IA a los gates de gobernanza sin reconstruir una plataforma de telemetría LLM (§8.1/§9-5).

  • domain/observability-evidence.ts: ObservabilityEvidence provider-neutral (traceId, model, promptVersion, costUsd, latencyMs, totalTokens, toolCalls, evaluations, url); mapLangfuseTrace agrega costo/tokens/latencia de las observaciones, toma model/prompt de la 1ª GENERATION, colecta tool-calls distintos, mapea scores→evaluations, devuelve null para un trace sin id; puerto IObservabilityEvidenceSource para el conector (follow-on).

Estado

Verificado: core-domain 945/945 (+6), tsc limpio, guard 532/478. GT-530 IN-PROGRESS; resta el fetch read-only de la Langfuse API detrás del puerto.

🤖 Generated with Claude Code

Bring AI-execution evidence to governance gates without rebuilding an LLM telemetry
platform (§8.1/§9-5).

- domain/observability-evidence.ts: provider-neutral ObservabilityEvidence (traceId, model,
  promptVersion, costUsd, latencyMs, totalTokens, toolCalls, evaluations, url); mapLangfuseTrace
  aggregates cost/tokens/latency across observations, takes model/prompt from the first
  GENERATION, collects distinct tool-calls, maps scores→evaluations, returns null for an
  id-less trace; IObservabilityEvidenceSource port for the (follow-on) connector.

Verified: core-domain 945/945 (+6), tsc clean, tracking guard green. GT-530 IN-PROGRESS;
remaining is the read-only Langfuse API fetch behind the port.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📊 Bilingual Coverage Impact

PR Changes

  • Paired EN/ES files modified: 2
  • New EN files needing ES translation: 0

Repository Coverage

Metric Value
Total EN files 541
Total ES files 505
Paired files 0
Coverage 0%

Good: All EN changes have ES counterparts.


Generated by GitHub Actions

@beyondnetPeru beyondnetPeru merged commit 7fcd335 into main Jul 13, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant