Skip to content

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

Draft
ctawiah wants to merge 7 commits into
ctawiah/AIC-3336/git-repo-identityfrom
ctawiah/AIC-3340/sync-prompt-status
Draft

feat(sync): preview prompt variation plans#791
ctawiah wants to merge 7 commits into
ctawiah/AIC-3336/git-repo-identityfrom
ctawiah/AIC-3340/sync-prompt-status

Conversation

@ctawiah

@ctawiah ctawiah commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the variation planning client and a testable ldcli sync prompt preview flow. Preview analyzes changes without creating a durable plan or applying updates.

  • Sends the automatically resolved source and complete variation payloads with dryRun enabled.
  • Groups requests by project and decodes statuses, directions, conflicts, diffs, and resource errors.
  • Uses status as the sole planning result without a separate action field.
  • Displays plan results in JSON, plaintext, or Markdown output.
  • Registers the sync command and analytics instrumentation consistently with other top-level commands.
  • Keeps repository identifiers and CLI-generated fingerprints out of the transport contract.

Verification

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

Validate the repository, compile local resources, and check their status per
project through a typed sync API client. Keep request debugging isolated behind
a temporary flag.
@ctawiah
ctawiah added this pull request to stack #790 September 10, 2026 00:08
@ctawiah
ctawiah removed this pull request from stack #790 September 11, 2026 23:01
@ctawiah ctawiah changed the title feat(sync): add prompt status command feat(sync): add prompt variation planning client Sep 11, 2026
@ctawiah
ctawiah changed the base branch from ctawiah/AIC-3336/git-repo-identity to ctawiah/AIC-3336/local-source-identity September 11, 2026 23:14
@ctawiah
ctawiah added this pull request to stack #795 September 11, 2026 23:15
Base automatically changed from ctawiah/AIC-3336/local-source-identity to ctawiah/AIC-3336/git-repo-identity September 11, 2026 23:50
@ctawiah
ctawiah removed this pull request from stack #795 September 11, 2026 23:51
@ctawiah ctawiah changed the title feat(sync): add prompt variation planning client feat(sync): preview prompt variation plans Sep 11, 2026
@ctawiah
ctawiah added this pull request to stack #799 September 11, 2026 23:51
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