- Co-Authored-By
- Claude Fable 5 <noreply@anthropic.com>
- Claude-Session
- https://claude.ai/code/session_01GoYpb8FEmdxVErsv7ABCYi
Record the repository on a thread
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 307 · 2026-08-24T20:39:21.651022Z
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/thread_controller.ex -
modified
lib/openagents_web/live/thread_index_live.ex -
added
priv/repo/migrations/20260824203139_add_repository_to_threads.exs -
modified
test/openagents_web/controllers/thread_controller_test.exs -
modified
test/openagents_web/live/thread_index_live_test.exs
Diff
8 files changed, +210 -4
lib/openagents/threads.ex modified +14 -1
@@ -136,6 +136,7 @@ defmodule OpenAgents.Threads do
| 136 | 136 |
|
| 137 | 137 |
|
| 138 | 138 |
|
| 139 |
|
|
| 139 | 140 |
|
| 140 | 141 |
|
| 141 | 142 |
|
@@ -191,7 +192,13 @@ defmodule OpenAgents.Threads do
| 191 | 192 |
|
| 192 | 193 |
|
| 193 | 194 |
|
| 194 |
|
|
| 195 |
|
|
| 196 |
|
|
| 197 |
|
|
| 198 |
|
|
| 199 |
|
|
| 200 |
|
|
| 201 |
|
|
| 195 | 202 |
|
| 196 | 203 |
|
| 197 | 204 |
|
@@ -203,9 +210,15 @@ defmodule OpenAgents.Threads do
| 203 | 210 |
|
| 204 | 211 |
|
| 205 | 212 |
|
| 213 |
|
|
| 206 | 214 |
|
| 207 | 215 |
|
| 208 | 216 |
|
| 217 |
|
|
| 218 |
|
|
| 219 |
|
|
| 220 |
|
|
| 221 |
|
|
| 209 | 222 |
|
| 210 | 223 |
|
| 211 | 224 |
|
lib/openagents/threads/thread.ex modified +10 -1
@@ -30,10 +30,12 @@ defmodule OpenAgents.Threads.Thread do
| 30 | 30 |
|
| 31 | 31 |
|
| 32 | 32 |
|
| 33 |
|
|
| 33 | 34 |
|
| 34 | 35 |
|
| 35 | 36 |
|
| 36 | 37 |
|
| 38 |
|
|
| 37 | 39 |
|
| 38 | 40 |
|
| 39 | 41 |
|
@@ -65,10 +67,15 @@ defmodule OpenAgents.Threads.Thread do
| 65 | 67 |
|
| 66 | 68 |
|
| 67 | 69 |
|
| 70 |
|
|
| 71 |
|
|
| 72 |
|
|
| 73 |
|
|
| 74 |
|
|
| 68 | 75 |
|
| 69 | 76 |
|
| 70 | 77 |
|
| 71 |
|
|
| 78 |
|
|
| 72 | 79 |
|
| 73 | 80 |
|
| 74 | 81 |
|
@@ -76,11 +83,13 @@ defmodule OpenAgents.Threads.Thread do
| 76 | 83 |
|
| 77 | 84 |
|
| 78 | 85 |
|
| 86 |
|
|
| 79 | 87 |
|
| 80 | 88 |
|
| 81 | 89 |
|
| 82 | 90 |
|
| 83 | 91 |
|
| 92 |
|
|
| 84 | 93 |
|
| 85 | 94 |
|
| 86 | 95 |
|
lib/openagents_web/controllers/api_extension_controller.ex modified +13
@@ -436,6 +436,19 @@ defmodule OpenAgentsWeb.ApiExtensionController do
| 436 | 436 |
|
| 437 | 437 |
|
| 438 | 438 |
|
| 439 |
|
|
| 440 |
|
|
| 441 |
|
|
| 442 |
|
|
| 443 |
|
|
| 444 |
|
|
| 445 |
|
|
| 446 |
|
|
| 447 |
|
|
| 448 |
|
|
| 449 |
|
|
| 450 |
|
|
| 451 |
|
|
| 439 | 452 |
|
| 440 | 453 |
|
| 441 | 454 |
|
lib/openagents_web/controllers/thread_controller.ex modified +43 -2
@@ -40,8 +40,9 @@ defmodule OpenAgentsWeb.ThreadController do
| 40 | 40 |
|
| 41 | 41 |
|
| 42 | 42 |
|
| 43 |
|
|
| 43 | 44 |
|
| 44 |
|
|
| 45 |
|
|
| 45 | 46 |
|
| 46 | 47 |
|
| 47 | 48 |
|
@@ -59,7 +60,8 @@ defmodule OpenAgentsWeb.ThreadController do
| 59 | 60 |
|
| 60 | 61 |
|
| 61 | 62 |
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 63 | 65 |
|
| 64 | 66 |
|
| 65 | 67 |
|
@@ -366,6 +368,23 @@ defmodule OpenAgentsWeb.ThreadController do
| 366 | 368 |
|
| 367 | 369 |
|
| 368 | 370 |
|
| 371 |
|
|
| 372 |
|
|
| 373 |
|
|
| 374 |
|
|
| 375 |
|
|
| 376 |
|
|
| 377 |
|
|
| 378 |
|
|
| 379 |
|
|
| 380 |
|
|
| 381 |
|
|
| 382 |
|
|
| 383 |
|
|
| 384 |
|
|
| 385 |
|
|
| 386 |
|
|
| 387 |
|
|
| 369 | 388 |
|
| 370 | 389 |
|
| 371 | 390 |
|
@@ -453,6 +472,27 @@ defmodule OpenAgentsWeb.ThreadController do
| 453 | 472 |
|
| 454 | 473 |
|
| 455 | 474 |
|
| 475 |
|
|
| 476 |
|
|
| 477 |
|
|
| 478 |
|
|
| 479 |
|
|
| 480 |
|
|
| 481 |
|
|
| 482 |
|
|
| 483 |
|
|
| 484 |
|
|
| 485 |
|
|
| 486 |
|
|
| 487 |
|
|
| 488 |
|
|
| 489 |
|
|
| 490 |
|
|
| 491 |
|
|
| 492 |
|
|
| 493 |
|
|
| 494 |
|
|
| 495 |
|
|
| 456 | 496 |
|
| 457 | 497 |
|
| 458 | 498 |
|
@@ -542,6 +582,7 @@ defmodule OpenAgentsWeb.ThreadController do
| 542 | 582 |
|
| 543 | 583 |
|
| 544 | 584 |
|
| 585 |
|
|
| 545 | 586 |
|
| 546 | 587 |
|
| 547 | 588 |
|
lib/openagents_web/live/thread_index_live.ex modified +7
@@ -60,6 +60,13 @@ defmodule OpenAgentsWeb.ThreadIndexLive do
| 60 | 60 |
|
| 61 | 61 |
|
| 62 | 62 |
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 63 | 70 |
|
| 64 | 71 |
|
| 65 | 72 |
|
priv/repo/migrations/20260824203139_add_repository_to_threads.exs added +23
@@ -0,0 +1,23 @@
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 22 |
|
|
| 23 |
|
test/openagents_web/controllers/thread_controller_test.exs modified +84
@@ -76,6 +76,59 @@ defmodule OpenAgentsWeb.ThreadControllerTest do
| 76 | 76 |
|
| 77 | 77 |
|
| 78 | 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 |
|
|
| 79 | 132 |
|
| 80 | 133 |
|
| 81 | 134 |
|
@@ -838,6 +891,37 @@ defmodule OpenAgentsWeb.ThreadControllerTest do
| 838 | 891 |
|
| 839 | 892 |
|
| 840 | 893 |
|
| 894 |
|
|
| 895 |
|
|
| 896 |
|
|
| 897 |
|
|
| 898 |
|
|
| 899 |
|
|
| 900 |
|
|
| 901 |
|
|
| 902 |
|
|
| 903 |
|
|
| 904 |
|
|
| 905 |
|
|
| 906 |
|
|
| 907 |
|
|
| 908 |
|
|
| 909 |
|
|
| 910 |
|
|
| 911 |
|
|
| 912 |
|
|
| 913 |
|
|
| 914 |
|
|
| 915 |
|
|
| 916 |
|
|
| 917 |
|
|
| 918 |
|
|
| 919 |
|
|
| 920 |
|
|
| 921 |
|
|
| 922 |
|
|
| 923 |
|
|
| 924 |
|
|
| 841 | 925 |
|
| 842 | 926 |
|
| 843 | 927 |
|
test/openagents_web/live/thread_index_live_test.exs modified +16
@@ -32,6 +32,22 @@ defmodule OpenAgentsWeb.ThreadIndexLiveTest do
| 32 | 32 |
|
| 33 | 33 |
|
| 34 | 34 |
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 48 |
|
|
| 49 |
|
|
| 50 |
|
|
| 35 | 51 |
|
| 36 | 52 |
|
| 37 | 53 |
|