feat(prompts): reinforce side-on flatness and user prompt priority in tileset - #357
Merged
cqhasy merged 5 commits intoAug 28, 2026
Merged
Conversation
… tileset When generating tilesets under side-on perspective, models could introduce pseudo-3D or pseudo-top-down top surfaces on blocks. Add strict side-on flatness rules requiring pure 2D orthographic side elevation, and enforce top priority for explicit user perspective instructions. Ensures side-on tilesets remain strictly flat and user creative requirements always override default perspective assumptions.
Verify real end-to-end model generation under side-on perspective with prompt flatness rules. Saves generated composite and raw image artifacts for visual verification. Ensures side-on live generation completes without errors.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
The prompt changes consistently carry the explicit user brief through creation and edit flows, and the focused generator test suite passes. The new live test has one portability issue noted inline.
Verification: go test ./internal/module/generator/... and git diff --check passed.
The side-on live test wrote artifacts to an author-specific path and ignored failures. Use a test-owned temporary directory and fail on preview encoding, decoding, or file writes. Keep the live test portable and prevent false success when artifacts cannot be saved.
cqhasy
approved these changes
Aug 28, 2026
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.
Change Description (Required)
Implementation Approach (Required)
tileSetItemTemplate,tileSetEditTemplate, andtileSetItemEditTemplateinprompts/tileset.go:USER REQUIREMENT PRIORITYsection establishing that explicit user creative briefs and item descriptions have top priority over default perspective interpretations.PERSPECTIVE & CAMERA RULESwith strictSIDE-ON / FLAT PERSPECTIVE RULESforbidding visible top planes, pseudo-3D slopes, or angled tilt.prompts/tileset_test.gocovering Side-On flatness and user requirement priority across item creation, tile editing, and item editing prompts.executor_tileset_live_test.go(TestLiveSideOnFlatTilesetGeneration) verifying actual model generation output under Side-On perspective.Related Issue (Required)
None
Testing (Required)
go test -v ./internal/module/generator/prompts/... -run "TestTileSet"- PASSgo test -v ./internal/module/generator -run "TestProcessTileSet|TestTileSet"- PASSHOLONIC_LLM_INTEGRATION=1 go test -v ./internal/module/generator -run TestLiveSideOnFlatTilesetGeneration -timeout 10m- PASS (real generation succeeded in 25.89s)Screenshots or Recordings (Optional)
Not included.
Risks and Follow-ups (Optional)
None identified.
Checklist (Required)