Repository navigation
Commit 42de9c2
feat: link issue-tracker tickets to threads (#12)
* feat: link issue-tracker tickets to threads
Threads can now carry links to the tickets they work on (Jira, Linear,
GitHub/GitLab/Forgejo/Bitbucket issues, Azure DevOps work items, and any
tracker whose URLs name a PROJ-123 style ID). A link is the ticket URL plus
its displayed ID; no tracker is contacted.
- Agents link tickets through new link_ticket / unlink_ticket /
list_thread_tickets MCP tools, prompted by the runtime instructions.
- Users link and unlink from the command palette's ticket dialog.
- Tickets show beside the branch under the composer and on sidebar rows,
with Settings toggles for the pull request and ticket sidebar badges.
- Sidebar and command palette search match ticket IDs and URLs.
Fork-only: events, commands and the capability carry a `j` marker, the
projection lives in a `j_` table on the fork migration track, and tickets
are attached to snapshot reads by a wrapper around the upstream query.
Resolves #11.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* fix(shared): keep an unknown tracker's ticket URL as given
The generic KEY-123 fallback rebuilt the stored URL from the path up to the
key, uppercased it, and dropped later segments and the query, so links on
unknown hosts could open a different or broken page. It now derives only the
label and keeps the URL minus the fragment.
Addresses review comment from @Jardo-51 on packages/shared/src/threadTickets.ts:102.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* fix(server): reject non-canonical ticket URLs in the decider
Only the MCP handler and the web dialog canonicalized ticket URLs, so any other
dispatcher could store a duplicate under a raw form or a non-http(s) URL that
the badge hands to the OS. The decider now requires the canonical http(s) form
on link. Unlink already requires the URL to be linked.
Addresses review comment from @Jardo-51 on apps/server/src/orchestration/decider.ts:1165.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* fix(web): ignore a hidden ticket ID when the URL names the ticket
A key typed for an unrecognised URL stayed in state after a recognised URL was
pasted over it, and relabelled that ticket while the key field was hidden.
Addresses review comment from @Jardo-51 on apps/web/src/components/tickets/ThreadTicketsDialog.tsx:74.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* docs(jardo): explain reverting a database that holds fork events
Fork-only event types break a plain upstream server's replay, so the claim that
reverting stays safe no longer held. The revert guidance now names fork events
as the exception and gives the procedure to delete them first, with the
reasons it is safe.
Addresses review comment from @Jardo-51 on docs/jardo/forking-strategy.md:362.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* fix(server): report a duplicate ticket link under its stored key
link_ticket echoed the caller's key for an already-linked ticket, while the UI
kept showing the key it was stored under.
Addresses review comment from @Jardo-51 on apps/server/src/mcp/toolkits/tickets/handlers.ts:91.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* test(server): fix ticket test typings
The decider rejection cases destructured a tuple into a possibly-undefined URL,
and the toolkit harness widened its capability set to Set<string>.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* feat(web): manage thread tickets by right-clicking a composer ticket
The command palette was the only way to reach the tickets dialog once a ticket
was linked. A right-click on a composer ticket badge now opens it, and the
badge tooltip says so. Sidebar badges keep the row's own context menu, and the
dialog is only mounted in the chat view.
Addresses review comment from @Jardo-51 on apps/web/src/components/tickets/ThreadTicketBadge.tsx:77.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* feat(client-runtime): label ticket MCP tools in the work log
link_ticket, unlink_ticket and list_thread_tickets showed up as raw MCP
tool names, unlike their pull request siblings.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* fix(web): ticket badge sits on the sidebar row's baseline
The ticket key was bare text in a display: contents span, so it took its
line box from the control, which inherits the row's size. Beside a
text-sm title (settled rows) it sat below the other meta text.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* fix(web): pull request badge sits on the sidebar row's baseline
Same cause as the ticket badge: the number was bare text in a
display: contents span, so beside a text-sm title (settled rows) it took
the row's line box and sat below the other meta text.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* Revise changelog for issue tracker link updates
Updated the changelog to reflect changes in issue tracking links and added conflict notes.
* Update CHANGELOG with new entries and fixes
Added a section for fixed issues and updated the changelog with new entries.
---------
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>1 parent 40fc4b8 commit 42de9c2
45 files changed
Lines changed: 2169 additions & 10 deletions
File tree
- apps
- server/src
- environment
- mcp
- toolkits/tickets
- orchestration
- Layers
- persistence
- JardoForkMigrations
- provider
- web/src/components
- settings
- tickets
- docs/jardo
- packages
- client-runtime/src
- operations
- state
- work-log
- contracts/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
650 | 656 | | |
651 | 657 | | |
652 | 658 | | |
| |||
670 | 676 | | |
671 | 677 | | |
672 | 678 | | |
| 679 | + | |
673 | 680 | | |
674 | 681 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
0 commit comments