Repository navigation
Label new tickets from the labels a project already uses - #22
Merged
Merged
Conversation
The fold now labels the tickets it creates, choosing only from the labels live tickets carry (shown to it as "Labels in use"); anything else is dropped, since an unattended run has nobody to ask before coining one. The MCP ticket tools tell an agent to reuse existing labels, and their reply says so when a write created a new label, listing the ones in use. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
What
applyFoldCreationsenforces it: a label the project does not already use is dropped, and a known one takes the existing spelling.lore_work_add,lore_work_setandlore_work_labeldescribe the rule (reuse an existing label; add a new one only when a person asked or agreed). When a write does create a new label, the reply says so and lists the labels in use. A project with no labels yet gets no note.Checked
Slack-reaction tickets and fold-created tickets were both created with
labels: []; neither path could invent a label before this change.Testing
npm test: 485 pass, with new tests for the fold rule and the MCP note. The fold prompt change has not been run against a live fold.🤖 Generated with Claude Code