Skip to content

feat(sprint03): export, Labs UI, metrics, guardrail graph, LangFuse instrumentation - #53

Merged
nicolas344 merged 7 commits into
mainfrom
feat/sprint03-export-labs-ui
May 20, 2026
Merged

nicolas344 merged 7 commits into
mainfrom
feat/sprint03-export-labs-ui

Conversation

@nicolas344

Copy link
Copy Markdown
Owner

Summary

  • US-20 + US-17: Labs architecture view and system metrics tab in Setup page (tabs redesign — no more vertical scrolling)
  • US-19 + US-14: Incident export (JSON/Markdown) and post-mortem — removed broken jspdf dependency, markdown-only export
  • Guardrail graph: LangGraph-based hybrid guardrail (rules → LLM judge) for input/output validation, with LangFuse spans per node
  • LangFuse instrumentation: spans per Lab (Alert Intake, Investigation, Decision & Planning, Guardrail Input/Output), LLM generation tracking with token counts and cost
  • Fix: false positive guardrail pattern for "política" (collided with DevOps terms like "política de reinicio")
  • SoftServe branding: logo and link in Dashboard header and Login page

Test plan

  • Create manual incident → agent completes full triage cycle (detected → awaiting_approval)
  • PostgreSQL alert via Alertmanager webhook → PostgresAgent classifies and proposes pg_cancel_backend
  • LangFuse traces show: Guardrail Input span → Lab 1 (with classify-llm generation) → Lab 2 → Guardrail Output span → Lab 3
  • Setup page tabs work without scrolling (Integrations, Labs, Metrics, Guide)
  • Export incident button downloads JSON and Markdown correctly
  • Guardrail graph blocks prompt injection (rules layer) and semantic drift (LLM judge, fail-open)

nicolas344 and others added 7 commits May 20, 2026 08:10
… in Setup page

- Add LabsPanel: 5-step sequential view of agent Labs with agent name,
  duration, outputs and runtime context for each Lab
- Add SystemMetrics: pulls /api/incidents, computes total, resolved,
  MTTR avg, active count, severity breakdown bar chart and top incident type
- Reorder Setup sections: What is Sentinel → Labs → Integrations → Metrics → Guide
@nicolas344
nicolas344 merged commit d4fcb69 into main May 20, 2026
2 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.

2 participants