Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

WIP Agentic Corrector#19

Merged
beveradb merged 27 commits intomainfrom
001-agentic-ai-corrector
Dec 8, 2025
Merged

WIP Agentic Corrector#19
beveradb merged 27 commits intomainfrom
001-agentic-ai-corrector

Conversation

@beveradb
Copy link
Collaborator

@beveradb beveradb commented Dec 8, 2025

No description provided.

- Add langgraph, litellm, langfuse, instructor deps to pyproject
- Scaffold agentic module dirs: providers, models, workflows, observability
- Add provider config and Ollama health checks
- Add Langfuse initialization helper
- Add failing integration test skeleton for basic AI workflow
- Mark completed tasks in specs/001-agentic-ai-corrector/tasks.md
… tests done

feat(models): implement agentic data models and enums (T017–T023 groundwork)

chore(dev): add jiwer and promptfoo dev deps
…er scaffolds

- Base provider interface and LiteLLM-based bridge
- Pydantic schemas for CorrectionProposal (+list)
- Agent and rules-based router scaffolds
- Correction workflow scaffold
- Update tasks to reflect completed items
…stores

- POST /api/v1/correction/agentic
- GET /api/v1/correction/session/{id}
- POST /api/v1/feedback
- GET/PUT /api/v1/models
- GET /api/v1/metrics

Update tasks to mark API endpoints completed.
…path in v1

- Add USE_AGENTIC_AI flag metadata in correction results
- Return fallback response when preferred model unavailable
…sponse

- Export env flags for downstream usage
- Return JSONResponse 503 for unavailable model
- Mark CLI task T064 complete
- FeedbackStore with minimal sessions/feedback tables
- Persist v1 session and feedback records when available
- Mark T069 and T070 complete
…hecks

- Stub agent proposal test
- Skip API-dependent tests when server not running
- Validate models and metrics endpoints shape
…tests

- Session-scoped fixture spins up server if possible
- Keeps API tests from skipping when frontend assets available
…1/metrics

feat(agent): optional Instructor schema enforcement path

docs(tasks): mark T043, T068 complete
…r bridge

feat(workflows): minimal LangGraph correction graph and agent hook

docs(tasks): mark T066, T077, T029 complete
…rappers

docs(tasks): mark T025–T028 complete
- Record fallback and success events with minimal metadata
- Build linear position map; prompt agent and adapt proposals to WordCorrection
- Controlled by USE_AGENTIC_AI and AGENTIC_AI_MODEL
…ard components

docs(tasks): mark T048–T050 complete
…ocs tasks

- README Agentic AI usage, provider keys, observability
- Provider config environment validation helper
- Mark T057, T058, T074 complete
…angGraph, with working LangFuse observability
…make frontend compatible but needs rework to make UX actually good and mobile friendly
@codecov
Copy link

codecov bot commented Dec 8, 2025

Codecov Report

❌ Patch coverage is 61.50203% with 569 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lyrics_transcriber/correction/corrector.py 11.41% 163 Missing ⚠️
lyrics_transcriber/review/server.py 28.49% 128 Missing ⚠️
...ber/correction/agentic/providers/response_cache.py 38.63% 54 Missing ⚠️
...er/correction/agentic/providers/response_parser.py 27.02% 27 Missing ⚠️
...iber/correction/agentic/providers/model_factory.py 60.93% 25 Missing ⚠️
...ber/correction/agentic/providers/retry_executor.py 46.51% 23 Missing ⚠️
...r/correction/agentic/providers/langchain_bridge.py 67.21% 20 Missing ⚠️
...scriber/correction/agentic/handlers/sound_alike.py 72.72% 12 Missing ⚠️
...tion/agentic/observability/langfuse_integration.py 45.45% 12 Missing ⚠️
...transcriber/correction/agentic/providers/health.py 20.00% 12 Missing ⚠️
... and 20 more
Flag Coverage Δ
unittests 64.50% <61.50%> (-0.55%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
lyrics_transcriber/core/controller.py 82.87% <100.00%> (+0.20%) ⬆️
lyrics_transcriber/correction/agentic/__init__.py 100.00% <100.00%> (ø)
...anscriber/correction/agentic/feedback/retention.py 100.00% <100.00%> (ø)
...ranscriber/correction/agentic/handlers/__init__.py 100.00% <100.00%> (ø)
..._transcriber/correction/agentic/models/__init__.py 100.00% <100.00%> (ø)
...s_transcriber/correction/agentic/models/schemas.py 100.00% <100.00%> (ø)
...riber/correction/agentic/observability/__init__.py 100.00% <100.00%> (ø)
...criber/correction/agentic/observability/metrics.py 100.00% <100.00%> (ø)
...anscriber/correction/agentic/providers/__init__.py 100.00% <100.00%> (ø)
...nscriber/correction/agentic/providers/constants.py 100.00% <100.00%> (ø)
... and 32 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@beveradb beveradb merged commit e54d9c0 into main Dec 8, 2025
0 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant