Skip to content

feat(sync): load local prompt variations - #788

Draft
ctawiah wants to merge 3 commits into
mainfrom
ctawiah/AIC-3335/parse-local-synced-resources
Draft

feat(sync): load local prompt variations#788
ctawiah wants to merge 3 commits into
mainfrom
ctawiah/AIC-3335/parse-local-synced-resources

Conversation

@ctawiah

@ctawiah ctawiah commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Defines, parses, and compiles the Phase 1 local representation for AI Config prompt variations.

  • Supports agent instructions and completion messages in an editor-friendly .prompt.md format.
  • Includes variation identity, description, model configuration, model values, and output format.
  • Walks project directories and sorts variations by project and lookup key for stable request construction.
  • Rejects malformed or unsupported files with errors that identify the failing path.
  • Leaves fingerprint generation to Gonfalon.

Verification

  • go test ./internal/sync/... -count=1
  • Focused lint for the changed sync packages

Walk .launchdarkly and compile prompt variations and versioned tools into a
common resource with a stable fingerprint. Top-level system, user, and
assistant tags become messages; nested tags stay in the prompt body.
@ctawiah ctawiah changed the title feat(sync): parse local Agent Control files into SyncedResource feat(sync): parse local prompt variation files Sep 11, 2026
@ctawiah
ctawiah removed this pull request from stack #790 September 11, 2026 23:01
@ctawiah
ctawiah added this pull request to stack #795 September 11, 2026 23:01
@ctawiah
ctawiah removed this pull request from stack #795 September 11, 2026 23:51
@ctawiah ctawiah changed the title feat(sync): parse local prompt variation files feat(sync): load local prompt variations 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