feat(tickets): support explicit batch creation - #240
Merged
Merged
Conversation
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.
Why
Closes #222. The ticket skill previously capped one invocation at one ticket, even when the caller explicitly requested a finite set of distinct tickets.
What changed
The darrow-tickets skill now processes each explicitly named item in order: classify it, search for duplicates, draft and create it, read back caller-named relations, and report its outcome. A backend or relation failure stops later creations while preserving completed effects; singular requests still create at most one ticket. The specification, plugin guidance, stateful GitHub eval fixture, and colocated evals cover these boundaries. The plugin version is 0.6.0 on both hosts. The read-ticket description now puts the explicit provider boundary first, and its evals accept the CLI's valid
--provider githubflag.Verification
create-ticket-,read-ticket-,list-tickets-,update-ticket-) passed with--trials 1 --jobs 1on both--harness codexand--harness claude(33/33 per host). The explicit batch case also passed three consecutive Claude trials; independent static review verified the final duplicate-search and relation-readback assertions.bun run check:python(including 162 darrow-tickets tests),bun run check:docs,bun run lint,bun run lint:ts,bun run lint:shell,bun run typecheck,bun run check:decisions,bun run eval:coverage(valid), andgit diff --check.bun test: 621 passed, 20 failed inreview-outcome-eval-checks.test.tsandreview-route-eval-checks.test.ts. Both affected files reproduce the same 20 failures on the originalmaincheckout. Bash script tests are not applicable; no Bash scripts changed.Review notes
Focus on the per-item search/create/readback order and the report after a partial relation failure. The CLI still creates one issue per
createcommand; the skill coordinates the caller-authorized batch. No runtime migration is required.Checklist
CONTRIBUTING.md, including the contributionlicensing terms.
this change does not affect a capability invariant.
behavior.
change does not affect plugin content.
bun run check:python, or this change does not affect registeredPython packages or their repository quality infrastructure.