feat(agentic): add subtitle enrichment workflow backend#886
Draft
lumberman wants to merge 16 commits into
Draft
Conversation
…app' into feat/115-mastra-agentic-runtime-app
|
🚅 Deployed to the forge-pr-886 environment in forge
|
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.
Summary
todos/016-pending-p1-complete-agentic-subtitle-execution-and-smoke.mdStatus
Draft PR. This branch implements the backend bridge and prototype workflow events. Real subtitle transcription, translation artifact generation, Mux subtitle publication, Manager Coverage browser proof, and Studio run visibility proof are intentionally tracked as follow-up before this should be treated as production-complete.
Red / Green TDD
Red captured before implementation:
Green validation run:
pnpm --filter @forge/agentic lintpnpm --filter @forge/agentic typecheckpnpm --filter @forge/agentic testpnpm --filter @forge/agentic buildpnpm --filter @forge/manager lintpnpm --filter @forge/manager typecheckpnpm --filter @forge/manager testpnpm run format:checkgit diff --checkSmoke Proof
/health./api/agentsreturned 401./api/agents.POST /forge/subtitle-enrichment-runsand emitted prototype callback events to a local Manager stub.output/playwright/agentic-subtitle-health-smoke.pngandoutput/playwright/agentic-subtitle-unauthorized-smoke.png.Post-Deploy Monitoring & Validation
Validation window: first staging deploy and first 24h after enabling
AGENTIC_SUBTITLE_ENRICHMENT_ENABLED=true; owner: Manager/Agentic operator.Logs/search terms:
subtitle-enrichment,manager_unavailable,mastra_runtime_error,/forge/subtitle-enrichment-runsapi/agentic/subtitle-enrichment/events,Failed to launch Agentic subtitle enrichment workflow,event_ingest_failedHealthy signals:
/healthstays public on theagenticRailway service.POST /forge/subtitle-enrichment-runsreturns 202 only withAGENTIC_SERVICE_API_KEY./api/*remain 401.Failure signals / rollback:
manager_unavailable, callback 5xx, or Manager job creation failures.Rollback/mitigation: set
AGENTIC_SUBTITLE_ENRICHMENT_ENABLED=falsein Manager; keep local Manager workflow path active until the follow-up real execution todo is complete.