Conversation
ctawiah
force-pushed
the
ctawiah/AIC-3485/prompt-fingerprint-round-trips
branch
3 times, most recently
from
October 1, 2026 03:50
0f595e5 to
b72f419
Compare
ctawiah
marked this pull request as ready for review
October 1, 2026 03:53
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ 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 b72f419. Configure here.
ctawiah
force-pushed
the
ctawiah/AIC-3485/prompt-fingerprint-round-trips
branch
from
October 1, 2026 19:36
a3cefe4 to
87fa543
Compare
ctawiah
changed the base branch from
main
to
ctawiah/AIC-3487/confirm-destructive-watch-actions
October 1, 2026 19:36
ctawiah
added this pull request to stack #844
October 2, 2026 20:40
This was referenced Oct 2, 2026
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
Prompt sync uses fingerprints to decide whether local and LaunchDarkly variations still represent the same state. Equivalent API defaults could produce different fingerprints, and an omitted custom model version previously could not converge with the concrete version stored by LaunchDarkly.
What changes
parametersandcustommaps.For example, this authored intent remains unchanged:
If the current version is
4, sync plans and applies the effective variation withmodelConfigVersion: 4. A later model-config release is picked up by the next sync.Verification
go test ./internal/sync/...go test ./...go vet ./internal/sync/... ./cmd/syncgit diff --checkRelated changes
Review the stack in this order:
Note
Overview
Fixes prompt sync so equivalent LaunchDarkly API shapes and “follow latest” model configs stop causing endless drift.
Fingerprinting now strips only API-noise defaults—empty
parametersandcustommaps—while still treating other empty model fields (e.g.metadata) as meaningful.Model config intent: omitted
modelConfigVersionmeans follow latest. Planning calls the newModelConfigGET-by-key, resolves version and mergedmodelin memory, and pushes the resolved version on create/update to the server. Local files keep version0on pull when follow-latest is intended;LocalFollowsLatestModelConfigdrives that behavior and local verification fingerprints.Concurrency: per-write
verifyResourceUnchangedis removed; the runner still re-plans once after confirmation viasamePlanState. Uncertain server writes still verify with a read.Watch mode: non-destructive plans auto-apply without
--yes; archives/deletes still prompt (or need--yes). Confirmation respects cancel via context; watch no longer forcesYes: trueon each tick.Reviewed by Cursor Bugbot for commit 87fa543. Bugbot is set up for automated code reviews on this repo. Configure here.