Skip to content

refactor: share placeholder-aware prompt refinement extraction - #6802

Merged
atomantic merged 1 commit into
mainfrom
claim/issue-6794
Sep 10, 2026
Merged

refactor: share placeholder-aware prompt refinement extraction#6802
atomantic merged 1 commit into
mainfrom
claim/issue-6794

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Media and Universe Builder prompt refinement now share the same placeholder-aware JSON extractor. Both retain the existing fence handling, repair passes, and distinct placeholder-only and parse failures; the general extractJson fallback behavior is unchanged.

Moved the existing refinement parser cases into the shared library suite. Existing media workflow tests still cover schema echoes and placeholder rejection.

Validation: 103 tests passed across jsonExtract, universeBuilderRefine, and mediaPromptRefiner.

Review: self-review complete. Configured optional reviewer opencodeoptmax=1 was unavailable because the generic CLI has no maintained enforced public-content sandbox; no unrestricted reviewer was run.

Closes #6794

@atomantic
atomantic merged commit e014561 into main Sep 10, 2026
7 checks passed
@atomantic
atomantic deleted the claim/issue-6794 branch September 10, 2026 04:45
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.

[simplify-refinement-json-extractor] Share the placeholder-aware JSON walker used by media and universe refine

1 participant