LLMフィードバックループのためのバリデーション強化 - #2
Open
4kk11 wants to merge 2 commits into
Open
Conversation
Pivot from Graph-CAD graph-to-yaml approach to direct LLM YAML generation with validate feedback loop. Plan covers 4 phases: auto-fix expansion (2→7 rules), fix-hints enhancement for LLM, JSON output enrichment, and skill integration. https://claude.ai/code/session_017rppwCngGYq9Q2C9Hqypbm
auto-fix: expand from 2 to 7 rules - OPENING_OVERLAP: adjust offset to eliminate overlap - EQUIPMENT_OVERLAP: sequential offset placement - EQUIPMENT_OPENING_WALL_OVERLAP: shift away from door/window - EQUIPMENT_DOOR_CLEARANCE_BLOCKED: move outside clearance zone - EQUIPMENT_OUT_OF_BOUNDS: clamp within room bounds fix-hints: LLM-oriented enhancement - UNREACHABLE_ROOM: BFS shortest path to entrance with missing door list - SKIPPED_OPENING: list adjacent rooms with shared wall info - UNKNOWN_ROOM_REF: include valid room IDs - All hints include structured `details` for programmatic consumption validate JSON: add context block - rooms with grid_rect and adjacent_to list - adjacency_graph (wall-based physical adjacency) https://claude.ai/code/session_017rppwCngGYq9Q2C9Hqypbm
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.
Background
Summary
OPENING_OVERLAP: 重なる開口部のoffsetを自動調整EQUIPMENT_OVERLAP: 同一壁の設備をoffset連番で再配置EQUIPMENT_OPENING_WALL_OVERLAP: 設備をドア/窓から離すEQUIPMENT_DOOR_CLEARANCE_BLOCKED: クリアランスゾーン外に移動EQUIPMENT_OUT_OF_BOUNDS: 部屋bounding rect内にクランプUNREACHABLE_ROOM: BFS最短到達パス+不足ドア一覧を提示SKIPPED_OPENING: 各部屋の隣接部屋+共有壁情報を提示UNKNOWN_ROOM_REF: 有効room IDリストを提示detailsフィールド追加grid_rect+adjacent_toリストadjacency_graph(壁共有ベースの物理的隣接グラフ)docs/plan-llm-validation-loop.md