Skip to content

release: Task 1D (engineConfig) + Task 1E (review dashboard) → main#667

Merged
codercatdev merged 11 commits intomainfrom
dev
Mar 14, 2026
Merged

release: Task 1D (engineConfig) + Task 1E (review dashboard) → main#667
codercatdev merged 11 commits intomainfrom
dev

Conversation

@codercatdev
Copy link
Contributor

dev → main: Task 1D + Task 1E

Commits:

What's included:

  • engineConfig singleton — consolidates 6 config singletons into one, with backward compat wrappers
  • mediaAsset schema — new document type for pipeline media
  • automatedVideo v2 — updated schema with v2 fields + legacy compat
  • Review dashboard — review queue, detail page, config panel, pipeline status, server actions with fail-closed auth

All code reviewed by @pm + workers. Auth verified on all routes and server actions.

Miriad and others added 11 commits March 13, 2026 15:54
…ault

Adds Sanity pipelineConfig toggle to control horizontal (16:9) generation.
Default: false (vertical only). Halves Imagen API calls and generation time.
- Schema: enableHorizontalInfographics boolean on pipelineConfig singleton
- Type: enableHorizontalInfographics?: boolean on PipelineConfig
- gemini-infographics.ts: skipHorizontal option on generateFromScenePrompts
- check-research: reads config, passes to generator, adjusts total count
Gemini generateContent was ignoring color instructions in prompts.
- Prepend CRITICAL COLOR RULE to every prompt before API call
- Explicitly ban teal/cyan/green/blue accents
- Fix 'purple and teal' in buildInfographicPrompt to 'purple only'
- Color enforcement at API boundary, not just in prompt templates
… video pipeline

When enableHorizontalInfographics is false, horizontalRefs is empty and
the 'infographics' field (which video-pipeline reads) was never written.
Videos rendered with zero infographic URLs, falling back to B-roll.

Fix: write verticalRefs to 'infographics' when no horizontal refs exist.
Also use vertical CDN URLs for scene-level distribution as fallback.
Consolidates 6+1 config singletons into single engineConfig singleton.
Adds mediaAsset document type for shared media (logos, screenshots, etc).
Extends automatedVideo with v2 fields (quality gate, review, shorts, thumbnails, social posts, workflow tracking).

Fixes applied:
- Legacy v1 status values preserved with 'Legacy:' prefix for backward compat
- URL fields use string type (R2/CDN paths may include query params)
- Real backward compat wrappers for getConfig/getConfigValue (not just alias)

PR #665
Review queue, detail page, config panel, pipeline status, server actions with fail-closed auth, field whitelists, bounded GROQ queries. 10 files, +1,686 lines.
@vercel
Copy link

vercel bot commented Mar 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
codingcat-dev Ignored Ignored Mar 14, 2026 2:46pm

@codercatdev codercatdev merged commit 7428f34 into main Mar 14, 2026
1 check 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