Skip to content

feat(sync): preview prompt variation plans - #798

Merged
ctawiah merged 2 commits into
ctawiah/AIC-3340/sync-prompt-statusfrom
ctawiah/AIC-3340/preview-sync-plan
Sep 11, 2026
Merged

feat(sync): preview prompt variation plans#798
ctawiah merged 2 commits into
ctawiah/AIC-3340/sync-prompt-statusfrom
ctawiah/AIC-3340/preview-sync-plan

Conversation

@ctawiah

@ctawiah ctawiah commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a testable ldcli sync prompt preview flow on top of the variation planning client. The command analyzes changes without creating a durable plan or applying updates.

  • Resolves Git or local source identity automatically with no source-selection flag.
  • Compiles local prompt variations and sends dry-run plan requests by project.
  • Displays project, variation, status, sync direction, proposed action, diff, and resource errors in JSON, plaintext, or Markdown output.
  • Registers the sync command and adds analytics instrumentation consistent with other top-level commands.

Verification

  • go test ./cmd/sync -count=1
  • Focused root command and usage-template tests
  • Focused lint for ./cmd/sync

@ctawiah
ctawiah added this pull request to stack #795 September 11, 2026 23:15
@ctawiah
ctawiah merged commit 1944254 into main Sep 11, 2026
7 checks passed
@ctawiah
ctawiah deleted the ctawiah/AIC-3340/preview-sync-plan branch September 11, 2026 23:50
@ctawiah

ctawiah commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

Consolidated with the planning client in #791 so the preview flow can be reviewed end to end.

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