Skip to content

fix(sync): [TBD] attach a tool or skill to a variation linked to code - #1049

Draft
nkester-ld wants to merge 5 commits into
mainfrom
TBD/nkester/attach-linked-variation
Draft

nkester-ld wants to merge 5 commits into
mainfrom
TBD/nkester/attach-linked-variation

Conversation

@nkester-ld

Copy link
Copy Markdown
Contributor

Human

TBD

Description pending your review

nkester-ld and others added 5 commits November 19, 2026 15:40
A variation made by sync prompts link has only a .ref.yaml descriptor, so
attach failed reading the missing .prompt.md. Attach now adds the key to
the descriptor's top-level tools or skills list, keeping the rest of the
descriptor, and writes the attachment file in the same transaction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Attaching a key the descriptor already lists no longer re-renders the
list, and the attachment file's display path is repository-relative like
the descriptor's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s a list

A linked descriptor without a tools or skills list leaves that list in
LaunchDarkly alone. The list that attach writes makes sync own it, so it
now starts with the keys the variation has in LaunchDarkly, and writes a
file for each one the repository has no file for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A seeded tool or skill that already has a local file is only listed in
the descriptor, a key LaunchDarkly lists twice is attached once, and a
variation that its config does not have seeds nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ew tool

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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