Add POST /api/semantic-diff endpoint for AI-powered code change explanations #11

Open
iswa wants to merge 1 commits from feature/semantic-diff-explainer into master
Owner

Uses Anthropic claude-sonnet-4-6 server-side to explain the semantic meaning
of code diffs in the budget app domain (paychecks, bills, financing, actuals).
Input validation rejects empty or oversized (>50KB) diffs. Tests mock the
Anthropic client via direct method replacement (same pattern as db.pool.query).

Nightshift-Task: semantic-diff
Nightshift-Ref: https://github.com/marcus/nightshift

Uses Anthropic claude-sonnet-4-6 server-side to explain the semantic meaning of code diffs in the budget app domain (paychecks, bills, financing, actuals). Input validation rejects empty or oversized (>50KB) diffs. Tests mock the Anthropic client via direct method replacement (same pattern as db.pool.query). Nightshift-Task: semantic-diff Nightshift-Ref: https://github.com/marcus/nightshift
iswa added 1 commit 2026-03-20 08:26:48 -07:00
Uses Anthropic claude-sonnet-4-6 server-side to explain the semantic meaning
of code diffs in the budget app domain (paychecks, bills, financing, actuals).
Input validation rejects empty or oversized (>50KB) diffs. Tests mock the
Anthropic client via direct method replacement (same pattern as db.pool.query).

Nightshift-Task: semantic-diff
Nightshift-Ref: https://github.com/marcus/nightshift
This pull request has changes conflicting with the target branch.
  • CLAUDE.md
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/semantic-diff-explainer:feature/semantic-diff-explainer
git checkout feature/semantic-diff-explainer
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iswa/budget-app#11