feat(diff): semantic annotation for diff pipeline (D-017)#14
Merged
PresenceWith merged 2 commits intodevelopfrom Mar 13, 2026
Merged
feat(diff): semantic annotation for diff pipeline (D-017)#14PresenceWith merged 2 commits intodevelopfrom
PresenceWith merged 2 commits intodevelopfrom
Conversation
Add visualization-type-aware semantic hints to structural diffs, enabling the translator sub-agent to infer user intent more reliably. - DiffChange.semanticHint field + VizType type - detectVizType(): file-level viz type detection (S-1) - enrichWithSemanticHints(): separated from computeDiff (S-4) - Multi-moved grouping pattern detection (S-2) - formatDiffResult includes hint lines (→ prefix) - Translator Read returns 4-field structured format (요약/의도/확신/제안) - vync.md Read procedure: confidence-level behavior guide (S-3) - D-018: one file = one viz type policy 15 new tests (31 total diff tests), 93 total tests pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Semantic Sync section to PLAN.md (SS.1-SS.10 checklist, all complete). Update ARCHITECTURE.md diff test count (15→31, D-017 semantic hints). Include semantic sync E2E test plan. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
detectVizType()(file-level, S-1) +enrichWithSemanticHints()(separated from computeDiff, S-4) — mindmap semantic hints (위계 변경/독립화/재분류/개념 추가·제거/재정의) + multi-moved grouping (S-2)Design Decisions
enrichWithSemanticHints()separated fromcomputeDiff()(test isolation)Test Plan
detectVizType+enrichWithSemanticHints+ formatted outputcomputeDifftests unchanged (S-4 verified)/vync readwith mindmap node move → verify semantic hint in diff output🤖 Generated with Claude Code