- Co-Authored-By
- Claude Fable 5 <noreply@anthropic.com>
- Claude-Session
- https://claude.ai/code/session_01GoYpb8FEmdxVErsv7ABCYi
Let a thread name the issue it is working
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
- pushed
- by user · WAL seq 361 · 2026-08-25T10:44:29.774354Z
Changed files
-
modified
lib/openagents/threads.ex -
modified
lib/openagents/threads/thread.ex -
modified
lib/openagents_web/controllers/api_extension_controller.ex -
modified
lib/openagents_web/controllers/issue_controller.ex -
modified
lib/openagents_web/controllers/issue_json.ex -
modified
priv/migration_lineages/prior-2026-08-19.json -
added
priv/repo/migrations/20260825101934_add_issue_reference_to_threads.exs -
modified
test/openagents/threads/grant_token_reach_test.exs -
modified
test/openagents/threads/visibility_test.exs
Diff
9 files changed, +175 -12
lib/openagents/threads.ex modified +39 -10
@@ -76,6 +76,7 @@ defmodule OpenAgents.Threads do
| 76 | 76 |
|
| 77 | 77 |
|
| 78 | 78 |
|
| 79 |
|
|
| 79 | 80 |
|
| 80 | 81 |
|
| 81 | 82 |
|
@@ -164,7 +165,8 @@ defmodule OpenAgents.Threads do
| 164 | 165 |
|
| 165 | 166 |
|
| 166 | 167 |
|
| 167 |
|
|
| 168 |
|
|
| 169 |
|
|
| 168 | 170 |
|
| 169 | 171 |
|
| 170 | 172 |
|
@@ -325,9 +327,7 @@ defmodule OpenAgents.Threads do
| 325 | 327 |
|
| 326 | 328 |
|
| 327 | 329 |
|
| 328 |
|
|
| 329 |
|
|
| 330 |
|
|
| 330 |
|
|
| 331 | 331 |
|
| 332 | 332 |
|
| 333 | 333 |
|
@@ -335,11 +335,11 @@ defmodule OpenAgents.Threads do
| 335 | 335 |
|
| 336 | 336 |
|
| 337 | 337 |
|
| 338 |
|
|
| 339 | 338 |
|
| 340 | 339 |
|
| 340 |
|
|
| 341 | 341 |
|
| 342 |
|
|
| 342 |
|
|
| 343 | 343 |
|
| 344 | 344 |
|
| 345 | 345 |
|
@@ -369,6 +369,32 @@ defmodule OpenAgents.Threads do
| 369 | 369 |
|
| 370 | 370 |
|
| 371 | 371 |
|
| 372 |
|
|
| 373 |
|
|
| 374 |
|
|
| 375 |
|
|
| 376 |
|
|
| 377 |
|
|
| 378 |
|
|
| 379 |
|
|
| 380 |
|
|
| 381 |
|
|
| 382 |
|
|
| 383 |
|
|
| 384 |
|
|
| 385 |
|
|
| 386 |
|
|
| 387 |
|
|
| 388 |
|
|
| 389 |
|
|
| 390 |
|
|
| 391 |
|
|
| 392 |
|
|
| 393 |
|
|
| 394 |
|
|
| 395 |
|
|
| 396 |
|
|
| 397 |
|
|
| 372 | 398 |
|
| 373 | 399 |
|
| 374 | 400 |
|
@@ -677,8 +703,6 @@ defmodule OpenAgents.Threads do
| 677 | 703 |
|
| 678 | 704 |
|
| 679 | 705 |
|
| 680 |
|
|
| 681 |
|
|
| 682 | 706 |
|
| 683 | 707 |
|
| 684 | 708 |
|
@@ -710,8 +734,11 @@ defmodule OpenAgents.Threads do
| 710 | 734 |
|
| 711 | 735 |
|
| 712 | 736 |
|
| 713 |
|
|
| 714 |
|
|
| 737 |
|
|
| 738 |
|
|
| 739 |
|
|
| 740 |
|
|
| 741 |
|
|
| 715 | 742 |
|
| 716 | 743 |
|
| 717 | 744 |
|
@@ -722,6 +749,8 @@ defmodule OpenAgents.Threads do
| 722 | 749 |
|
| 723 | 750 |
|
| 724 | 751 |
|
| 752 |
|
|
| 753 |
|
|
| 725 | 754 |
|
| 726 | 755 |
|
| 727 | 756 |
|
lib/openagents/threads/thread.ex modified +5 -1
@@ -19,6 +19,7 @@ defmodule OpenAgents.Threads.Thread do
| 19 | 19 |
|
| 20 | 20 |
|
| 21 | 21 |
|
| 22 |
|
|
| 22 | 23 |
|
| 23 | 24 |
|
| 24 | 25 |
|
@@ -59,6 +60,7 @@ defmodule OpenAgents.Threads.Thread do
| 59 | 60 |
|
| 60 | 61 |
|
| 61 | 62 |
|
| 63 |
|
|
| 62 | 64 |
|
| 63 | 65 |
|
| 64 | 66 |
|
@@ -122,7 +124,8 @@ defmodule OpenAgents.Threads.Thread do
| 122 | 124 |
|
| 123 | 125 |
|
| 124 | 126 |
|
| 125 |
|
|
| 127 |
|
|
| 128 |
|
|
| 126 | 129 |
|
| 127 | 130 |
|
| 128 | 131 |
|
@@ -143,6 +146,7 @@ defmodule OpenAgents.Threads.Thread do
| 143 | 146 |
|
| 144 | 147 |
|
| 145 | 148 |
|
| 149 |
|
|
| 146 | 150 |
|
| 147 | 151 |
|
| 148 | 152 |
|
lib/openagents_web/controllers/api_extension_controller.ex modified +29
@@ -54,6 +54,27 @@ defmodule OpenAgentsWeb.ApiExtensionController do
| 54 | 54 |
|
| 55 | 55 |
|
| 56 | 56 |
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 70 |
|
|
| 71 |
|
|
| 72 |
|
|
| 73 |
|
|
| 74 |
|
|
| 75 |
|
|
| 76 |
|
|
| 77 |
|
|
| 57 | 78 |
|
| 58 | 79 |
|
| 59 | 80 |
|
@@ -296,6 +317,14 @@ defmodule OpenAgentsWeb.ApiExtensionController do
| 296 | 317 |
|
| 297 | 318 |
|
| 298 | 319 |
|
| 320 |
|
|
| 321 |
|
|
| 322 |
|
|
| 323 |
|
|
| 324 |
|
|
| 325 |
|
|
| 326 |
|
|
| 327 |
|
|
| 299 | 328 |
|
| 300 | 329 |
|
| 301 | 330 |
|
lib/openagents_web/controllers/issue_controller.ex modified +12 -1
@@ -12,6 +12,7 @@ defmodule OpenAgentsWeb.IssueController do
| 12 | 12 |
|
| 13 | 13 |
|
| 14 | 14 |
|
| 15 |
|
|
| 15 | 16 |
|
| 16 | 17 |
|
| 17 | 18 |
|
@@ -37,6 +38,7 @@ defmodule OpenAgentsWeb.IssueController do
| 37 | 38 |
|
| 38 | 39 |
|
| 39 | 40 |
|
| 41 |
|
|
| 40 | 42 |
|
| 41 | 43 |
|
| 42 | 44 |
|
@@ -295,7 +297,8 @@ defmodule OpenAgentsWeb.IssueController do
| 295 | 297 |
|
| 296 | 298 |
|
| 297 | 299 |
|
| 298 |
|
|
| 300 |
|
|
| 301 |
|
|
| 299 | 302 |
|
| 300 | 303 |
|
| 301 | 304 |
|
@@ -375,6 +378,14 @@ defmodule OpenAgentsWeb.IssueController do
| 375 | 378 |
|
| 376 | 379 |
|
| 377 | 380 |
|
| 381 |
|
|
| 382 |
|
|
| 383 |
|
|
| 384 |
|
|
| 385 |
|
|
| 386 |
|
|
| 387 |
|
|
| 388 |
|
|
| 378 | 389 |
|
| 379 | 390 |
|
| 380 | 391 |
|
lib/openagents_web/controllers/issue_json.ex modified +24
@@ -97,11 +97,14 @@ defmodule OpenAgentsWeb.IssueJSON do
| 97 | 97 |
|
| 98 | 98 |
|
| 99 | 99 |
|
| 100 |
|
|
| 101 |
|
|
| 100 | 102 |
|
| 101 | 103 |
|
| 102 | 104 |
|
| 103 | 105 |
|
| 104 | 106 |
|
| 107 |
|
|
| 105 | 108 |
|
| 106 | 109 |
|
| 107 | 110 |
|
@@ -131,6 +134,27 @@ defmodule OpenAgentsWeb.IssueJSON do
| 131 | 134 |
|
| 132 | 135 |
|
| 133 | 136 |
|
| 137 |
|
|
| 138 |
|
|
| 139 |
|
|
| 140 |
|
|
| 141 |
|
|
| 142 |
|
|
| 143 |
|
|
| 144 |
|
|
| 145 |
|
|
| 146 |
|
|
| 147 |
|
|
| 148 |
|
|
| 149 |
|
|
| 150 |
|
|
| 151 |
|
|
| 152 |
|
|
| 153 |
|
|
| 154 |
|
|
| 155 |
|
|
| 156 |
|
|
| 157 |
|
|
| 134 | 158 |
|
| 135 | 159 |
|
| 136 | 160 |
|
priv/migration_lineages/prior-2026-08-19.json modified +1
priv/repo/migrations/20260825101934_add_issue_reference_to_threads.exs added +20
@@ -0,0 +1,20 @@
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
test/openagents/threads/grant_token_reach_test.exs modified +1
@@ -61,6 +61,7 @@ defmodule OpenAgents.Threads.GrantTokenReachTest do
| 61 | 61 |
|
| 62 | 62 |
|
| 63 | 63 |
|
| 64 |
|
|
| 64 | 65 |
|
| 65 | 66 |
|
| 66 | 67 |
|
test/openagents/threads/visibility_test.exs modified +44
@@ -17,6 +17,8 @@ defmodule OpenAgents.Threads.VisibilityTest do
| 17 | 17 |
|
| 18 | 18 |
|
| 19 | 19 |
|
| 20 |
|
|
| 21 |
|
|
| 20 | 22 |
|
| 21 | 23 |
|
| 22 | 24 |
|
@@ -173,4 +175,46 @@ defmodule OpenAgents.Threads.VisibilityTest do
| 173 | 175 |
|
| 174 | 176 |
|
| 175 | 177 |
|
| 178 |
|
|
| 179 |
|
|
| 180 |
|
|
| 181 |
|
|
| 182 |
|
|
| 183 |
|
|
| 184 |
|
|
| 185 |
|
|
| 186 |
|
|
| 187 |
|
|
| 188 |
|
|
| 189 |
|
|
| 190 |
|
|
| 191 |
|
|
| 192 |
|
|
| 193 |
|
|
| 194 |
|
|
| 195 |
|
|
| 196 |
|
|
| 197 |
|
|
| 198 |
|
|
| 199 |
|
|
| 200 |
|
|
| 201 |
|
|
| 202 |
|
|
| 203 |
|
|
| 204 |
|
|
| 205 |
|
|
| 206 |
|
|
| 207 |
|
|
| 208 |
|
|
| 209 |
|
|
| 210 |
|
|
| 211 |
|
|
| 212 |
|
|
| 213 |
|
|
| 214 |
|
|
| 215 |
|
|
| 216 |
|
|
| 217 |
|
|
| 218 |
|
|
| 219 |
|
|
| 176 | 220 |
|