Skip to content

feat(loop): related findings share a ticket - #187

Merged
Ardnived merged 3 commits into
mainfrom
claude/feat-join-related-tickets
Oct 13, 2026
Merged

Ardnived merged 3 commits into
mainfrom
claude/feat-join-related-tickets

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

The loop files one ticket per incidental finding, even when two findings are plainly one review's
worth of work. SahajAtlasWeb#285 and SahajAtlasWeb#286 came from the same address-review run on
SahajAtlasWeb#284, 18 seconds apart. Each names the other as its sibling, and they share a
verification step. They now cost two verbs, two PRs, two critic rounds and two reviews.

The failure this prevents: the loop files related, separable changes as separate tickets,
which doubles the human review load.

Change outline

Commit Behaviour
feat(loop): related work joins one ticket… format-ticket gets a join rule ahead of the split rule: work one reviewer would judge together shares a ticket. write-ticket create takes several intents and groups them, and looks for a home (an open, unapproved, unlocked ticket with no PR) as well as a duplicate. revise absorb #N merges an existing ticket and closes it as a duplicate. The story is docs/why.md#related-findings-share-a-ticket. run-audit's "filing costs nothing" is corrected.
feat(loop): a run passes its ticket-bound findings… One sentence in start-run's incidental-finding table: batch the "Anything else" row into one write-ticket call, so the grouping has something to group.
chore(loop): bump the plugin cache key to 3.4.0 Lets installed plugins pick up the change.

These are separate commits so each one can be reverted alone. They ship together because the
batching only does anything with the grouping in place.

Not changed: findings are still never capped or dropped, and no ceiling moves. An approved or
in-flight ticket is never widened, because its scope is what the human authorised.

Verification

  • claude plugin validate ./workflow --strict passed
  • node --test workflow/lib/*.test.mjs: 89 pass, 0 fail
  • rule-delta.mjs --base origin/main workflow/skills: 90 → 90 directives, none removed
  • Each new (why: …) anchor resolves to a docs/why.md heading
  • Supervised dispatch: run @sydevs-bot revise absorb #N on a scratch ticket. Expect one rewritten body and the other ticket closed as a duplicate.
  • After merge: the next address-review or review-pr run that finds two related issues should file one ticket, or add to an unapproved one.

🤖 Generated with Claude Code

Ardnived and others added 3 commits October 12, 2026 22:06
The split rule said where a split is allowed, and nothing said when to
join, so "separable" became a reason to file two tickets.
SahajAtlasWeb#285 and #286 were filed 18 seconds apart by one
address-review run. Each named the other as its sibling, and they shared
a verification step, but write-ticket's create searched only for a
duplicate.

- format-ticket: a join rule ahead of the split rule. Work one reviewer
  would judge together shares a ticket, and each change keeps its own
  Approach part and criteria.
- write-ticket create: takes several intents and groups them. Step 1
  now looks for a home as well as a duplicate: an open, unapproved,
  unlocked ticket with no PR. An approved ticket is never widened.
- write-ticket revise: `absorb #N` folds an existing ticket in and
  closes it as a duplicate.
- run-audit: "filing costs nothing" was wrong for the reviewer.

No finding is capped or dropped. Findings land in fewer tickets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… once

Every incidental finding used to go to write-ticket separately, so the
grouping step had nothing to group. One sentence on the start-run
table, because start-run is read on every dispatch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Ardnived
Ardnived merged commit 44a28c7 into main Oct 13, 2026
6 checks passed
@Ardnived
Ardnived deleted the claude/feat-join-related-tickets branch October 13, 2026 13:39
@sydevs-bot sydevs-bot moved this from Revising to Done in SYDevelopers Technical Roadmap Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant