feat(observability): Langfuse → portable canonical evidence (GT-530)#175
Merged
Conversation
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>
📊 Bilingual Coverage ImpactPR Changes
Repository Coverage
✅ Good: All EN changes have ES counterparts. Generated by GitHub Actions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:ObservabilityEvidenceprovider-neutral (traceId, model, promptVersion, costUsd, latencyMs, totalTokens, toolCalls, evaluations, url);mapLangfuseTraceagrega 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; puertoIObservabilityEvidenceSourcepara 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