Skip to content

feat(diff): programmatic diff engine + sub-agent pipeline redesign#9

Merged
PresenceWith merged 1 commit into
developfrom
feat/diff-pipeline
Mar 11, 2026
Merged

feat(diff): programmatic diff engine + sub-agent pipeline redesign#9
PresenceWith merged 1 commit into
developfrom
feat/diff-pipeline

Conversation

@PresenceWith

Copy link
Copy Markdown
Owner

Summary

  • Phase A: Programmatic diff engine (tools/cli/diff.ts) — ID-based structural diff with tree output, layout field filtering, --no-snapshot option
  • Phase C: Sub-agent prompt redesign — vync-translator identity changed to "시각화 전문가" (context-aware visualization expert), Read/Create/Update flows redesigned with 대화 맥락 + 유저 피드백 (diff) protocol
  • Implements D-015 (Hybrid Diff Architecture) and D-016 (Sub-agent role expansion) from PoC results (3/3 PASS)

Test plan

  • 15 new unit tests for diff engine (computeDiff, vyncDiff, formatDiffResult)
  • Full test suite: 66 tests pass (13 files)
  • Manual CLI test: vync diff .vync/project-status.vync — correct tree + change detection
  • Plugin cache synced via install.sh
  • E2E: create → browser edit → diff → read → update (full integration, next session)

🤖 Generated with Claude Code

Implement D-015 (Hybrid Diff Architecture) and D-016 (Sub-agent as visualization expert):

- Add `tools/cli/diff.ts`: ID-based structural diff (.lastread vs .vync),
  tree output, layout field filtering, --no-snapshot option
- Register `vync diff` subcommand in CLI
- Redesign vync-translator agent: "통역가" → "시각화 전문가" with context-aware
  visualization judgment and programmatic diff input
- Redesign vync command flows: Read/Create/Update now include conversation
  context + programmatic diff in sub-agent prompts
- Add 15 unit tests for diff engine (computeDiff, vyncDiff, formatDiffResult)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@PresenceWith PresenceWith merged commit 1838520 into develop Mar 11, 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