feat(sync): add the prompt sync command - #814
Merged
Merged
Conversation
This was referenced Sep 24, 2026
ctawiah
added this pull request to stack #815
September 24, 2026 04:16
ctawiah
marked this pull request as ready for review
September 24, 2026 04:28
ctawiah
marked this pull request as draft
September 24, 2026 04:33
ctawiah
marked this pull request as ready for review
September 24, 2026 14:50
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
from
September 24, 2026 17:19
2245b14 to
40dfa94
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
from
September 24, 2026 17:32
40dfa94 to
794e08b
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
from
September 24, 2026 17:40
794e08b to
40702cc
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 40702cc. Configure here.
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
from
September 24, 2026 17:57
40702cc to
71af602
Compare
ctawiah
removed this pull request from stack #815
September 24, 2026 17:59
ctawiah
changed the base branch from
ctawiah/AIC-3446/prompt-reconciliation
to
ctawiah/AIC-3448/prompt-sync-orchestration
September 24, 2026 17:59
ctawiah
added this pull request to stack #821
September 24, 2026 17:59
This was referenced Sep 24, 2026
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
from
September 25, 2026 16:11
94eccc0 to
217d373
Compare
nieblara
approved these changes
Sep 28, 2026
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
2 times, most recently
from
September 28, 2026 21:38
d773bd0 to
3596aa2
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
from
September 28, 2026 21:44
3596aa2 to
e3e37de
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
3 times, most recently
from
September 29, 2026 00:04
ebff684 to
60c2f6f
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
2 times, most recently
from
September 29, 2026 00:17
9257261 to
6707995
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
2 times, most recently
from
September 29, 2026 00:30
6aaa428 to
add2cf0
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
2 times, most recently
from
September 29, 2026 00:38
53968ca to
d182c8a
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
2 times, most recently
from
September 29, 2026 00:49
9c651b5 to
b2a61e4
Compare
Base automatically changed from
ctawiah/AIC-3448/prompt-sync-orchestration
to
main
September 29, 2026 00:53
ctawiah
force-pushed
the
ctawiah/AIC-3448/prompt-sync-command
branch
from
September 29, 2026 00:53
b2a61e4 to
226e645
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Context
This final layer exposes the redesigned workflow through
ldcli. The Cobra package stays thin: it parses command options and delegates all sync behavior tointernal/sync/prompt.What changes
ldcli sync prompt.--add,--detach,--link,--format,--dry-run,--yes,--watch, and output selection.Review focus
Verification
go test ./...go test -race ./internal/sync/... ./cmd/syncgo vet ./internal/sync/... ./cmd/syncmake buildgit diff --checkRelated changes
Review the stack in this order:
Note
Overview
Adds a top-level
ldcli synccommand (with analytics) andldcli sync prompt, which wires CLI flags intointernal/sync/promptfor bidirectional prompt-variation sync against LaunchDarkly.The prompt subcommand exposes
--add,--detach,--link,--format,--dry-run,--yes, and--watch, plus standard output/auth from the root command. Root help and registration tests listsync.Also updates sync interactive forms to use adaptive blue accent/button colors for light and dark terminals, tightens plaintext plan output (no raw variation JSON), and adds end-to-end acceptance tests for dry-run, first sync, push/pull, linked files, deletions, conflicts, revalidation, partial failure, and ambiguous writes.
Reviewed by Cursor Bugbot for commit 226e645. Bugbot is set up for automated code reviews on this repo. Configure here.