Skip to content

Optional DIF review when snapshots exist - #209

Merged
jmjava merged 1 commit into
mainfrom
cursor/az-review-attach-148e
Aug 28, 2026
Merged

jmjava merged 1 commit into
mainfrom
cursor/az-review-attach-148e

Conversation

@jmjava

@jmjava jmjava commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary

Optional DIF on /sdlc-spdd-review, same shape as architect: useful when present, ignored when not.

  • Run review --quiet only if the sibling CLI and spdd/snapshots/<WORK-ID>-before.json + -after.json exist.
  • Exit 1: do not set Reviewed / Approved.
  • Missing CLI or snapshots is skip — not a new ritual.
  • Do not use login fixtures. Paths come from canvas safeguards (embabel-dif order-status-*.json).
  • tests/test-optional-dif.sh proves detect-and-skip and fail-closed without Maven.

Companion: embabel-dif scripted day + safeguard review.

REASONS Canvas

  • Work ID: n/a (command-spec attach)
  • Canvas path: n/a

Checklist

  • Canvas updated or synced (n/a)
  • One operation per coding session respected
  • Tests added or updated
  • Review completed
  • Safeguards respected
  • CI gates pass
  • If command/prompt adapter files changed, ran adapter parity validation

Manual Smoke

Template-only. Process gates unchanged when DIF or snapshots are absent.

Test Plan

  • ./tests/test-command-specs.sh
  • ./tests/test-optional-dif.sh
  • ./scripts/generate-command-adapters.sh --check

Review templates call review --quiet only if before/after snapshots
are present. Missing CLI or files is skip. Login fixtures are banned.
Orch CI covers detect-and-skip and exit 1 without Maven.
@jmjava
jmjava marked this pull request as ready for review August 28, 2026 21:55
@jmjava
jmjava merged commit 80935d4 into main Aug 28, 2026
11 checks passed
@cursor
cursor Bot deleted the cursor/az-review-attach-148e branch September 13, 2026 23:45
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.

2 participants