Conversation
ctawiah
added this pull request to stack #799
September 12, 2026 00:33
…44/interactive-bootstrap
…44/interactive-bootstrap
ctawiah
force-pushed
the
ctawiah/AIC-3344/interactive-bootstrap
branch
from
September 14, 2026 21:14
466477d to
eb2aab0
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3344/interactive-bootstrap
branch
from
September 16, 2026 16:52
de743af to
4c03a67
Compare
ctawiah
force-pushed
the
ctawiah/AIC-3344/interactive-bootstrap
branch
from
September 16, 2026 17:03
4c03a67 to
0bd5840
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 PR adds the first user-facing LaunchDarkly-to-local workflow for Phase 1 prompt variation sync. It is intended for initial setup when
.launchdarklydoes not exist and for explicitly adding more server variations later withldcli sync prompt --add.The interactive flow discovers projects, AI Configs, and variations through the API, then delegates file creation to the atomic local store from the preceding PR. Existing local variations are unavailable for selection, so bootstrap and add cannot overwrite local work. This PR does not update existing files or apply local changes back to LaunchDarkly.
Summary
.launchdarklywhen it is missing and supports adding variations withldcli sync prompt --add.--dry-run, printing each target path and exact file content without creating or changing local files.Verification
go test ./internal/sync/... ./cmd/sync -count=1