Conversation
ctawiah
added this pull request to stack #790
September 10, 2026 20:26
ctawiah
removed this pull request from stack #790
September 11, 2026 23:01
ctawiah
changed the base branch from
ctawiah/AIC-3340/sync-prompt-status
to
ctawiah/AIC-3340/preview-sync-plan
September 11, 2026 23:17
ctawiah
added this pull request to stack #795
September 11, 2026 23:17
…44/bootstrap-rewrite
Base automatically changed from
ctawiah/AIC-3340/preview-sync-plan
to
ctawiah/AIC-3340/sync-prompt-status
September 11, 2026 23:50
ctawiah
removed this pull request from stack #795
September 11, 2026 23:51
ctawiah
added this pull request to stack #799
September 11, 2026 23:51
…tus' into ctawiah/AIC-3344/bootstrap-rewrite
…44/bootstrap-rewrite
ctawiah
force-pushed
the
ctawiah/AIC-3344/bootstrap-add-flow
branch
from
September 14, 2026 21:14
873f1d1 to
a6cb831
Compare
…AIC-3344/bootstrap-rewrite
…344/bootstrap-rewrite
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
The sync flow also needs a safe way to materialize LaunchDarkly prompt variations in a local
.launchdarklyworkspace. This storage layer is shared by first-time interactive bootstrap and future server-to-local operations, while keeping file generation separate from API selection and terminal UI concerns.The main safety requirement is that existing local work is never overwritten. New files are rendered in the same format accepted by the local parser, and multi-file writes are rolled back if any file cannot be created. This PR does not fetch or select remote variations.
Summary
.prompt.mdfiles that round-trip through the local parser..launchdarklyworkspace atomically for first-time bootstrap.Verification
go test ./internal/sync/local -count=1./internal/sync/local