Make repository imports fast and observable
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
config/runtime.exs -
modified
docs/openagents-cli/command-reference.md -
modified
docs/openagents-cli/create-repository.md -
modified
docs/openagents-cli/import-github.md -
modified
docs/repository-creation-and-openagents-cli-spec.md -
modified
docs/repository-creation-cli-implementation-roadmap.md -
modified
lib/openagents/forge/sync.ex -
modified
lib/openagents/repositories/importer.ex -
modified
priv/docs/cli-command-reference.md -
modified
priv/docs/create-repository.md -
modified
priv/docs/import-github.md -
modified
test/openagents/repositories/provisioner_test.exs
Diff
12 files changed, +215 -78
config/runtime.exs modified +1 -1
@@ -360,7 +360,7 @@ if config_env() == :prod and runtime_role == :web do
| 360 | 360 |
|
| 361 | 361 |
|
| 362 | 362 |
|
| 363 |
|
|
| 363 |
|
|
| 364 | 364 |
|
| 365 | 365 |
|
| 366 | 366 |
|
docs/openagents-cli/command-reference.md modified +4 -1
@@ -85,7 +85,10 @@ openagents repo import [flags] <github-owner/repository>
| 85 | 85 |
|
| 86 | 86 |
|
| 87 | 87 |
|
| 88 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
|
| 91 |
|
|
| 89 | 92 |
|
| 90 | 93 |
|
| 91 | 94 |
|
docs/openagents-cli/create-repository.md modified +3 -1
@@ -42,7 +42,9 @@ openagents repo create my-project \
| 42 | 42 |
|
| 43 | 43 |
|
| 44 | 44 |
|
| 45 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 46 | 48 |
|
| 47 | 49 |
|
| 48 | 50 |
|
docs/openagents-cli/import-github.md modified +26 -19
@@ -62,9 +62,10 @@ openagents repo import OpenAgentsInc/example --namespace OpenAgentsInc
| 62 | 62 |
|
| 63 | 63 |
|
| 64 | 64 |
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 68 | 69 |
|
| 69 | 70 |
|
| 70 | 71 |
|
@@ -75,7 +76,7 @@ npx --yes @openagentsinc/cli@latest repo import OWNER/REPOSITORY
| 75 | 76 |
|
| 76 | 77 |
|
| 77 | 78 |
|
| 78 |
|
|
| 79 |
|
|
| 79 | 80 |
|
| 80 | 81 |
|
| 81 | 82 |
|
@@ -96,10 +97,16 @@ Git helper cannot call the temporary executable after `npx` exits.
| 96 | 97 |
|
| 97 | 98 |
|
| 98 | 99 |
|
| 99 |
|
|
| 100 |
|
|
| 101 |
|
|
| 102 |
|
|
| 100 |
|
|
| 101 |
|
|
| 102 |
|
|
| 103 |
|
|
| 104 |
|
|
| 105 |
|
|
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
| 109 |
|
|
| 103 | 110 |
|
| 104 | 111 |
|
| 105 | 112 |
|
@@ -115,11 +122,8 @@ Server logs record every stage and the bundle byte count. A bundle over the
| 115 | 122 |
|
| 116 | 123 |
|
| 117 | 124 |
|
| 118 |
|
|
| 119 |
|
|
| 120 |
|
|
| 121 |
|
|
| 122 |
|
|
| 125 |
|
|
| 126 |
|
|
| 123 | 127 |
|
| 124 | 128 |
|
| 125 | 129 |
|
@@ -131,7 +135,7 @@ pointer files without copying the LFS objects.
| 131 | 135 |
|
| 132 | 136 |
|
| 133 | 137 |
|
| 134 |
|
|
| 138 |
|
|
| 135 | 139 |
|
| 136 | 140 |
|
| 137 | 141 |
|
@@ -154,8 +158,9 @@ pointer files without copying the LFS objects.
| 154 | 158 |
|
| 155 | 159 |
|
| 156 | 160 |
|
| 157 |
|
|
| 158 |
|
|
| 161 |
|
|
| 162 |
|
|
| 163 |
|
|
| 159 | 164 |
|
| 160 | 165 |
|
| 161 | 166 |
|
@@ -164,15 +169,17 @@ An authenticated operator starts the first production import explicitly.
| 164 | 169 |
|
| 165 | 170 |
|
| 166 | 171 |
|
| 167 |
|
|
| 172 |
|
|
| 168 | 173 |
|
| 169 | 174 |
|
| 170 | 175 |
|
| 171 | 176 |
|
| 172 | 177 |
|
| 173 | 178 |
|
| 174 |
|
|
| 175 |
|
|
| 179 |
|
|
| 180 |
|
|
| 181 |
|
|
| 182 |
|
|
| 176 | 183 |
|
| 177 | 184 |
|
| 178 | 185 |
|
docs/repository-creation-and-openagents-cli-spec.md modified +22 -19
@@ -99,8 +99,9 @@ The first release follows these decisions:
| 99 | 99 |
|
| 100 | 100 |
|
| 101 | 101 |
|
| 102 |
|
|
| 103 |
|
|
| 102 |
|
|
| 103 |
|
|
| 104 |
|
|
| 104 | 105 |
|
| 105 | 106 |
|
| 106 | 107 |
|
@@ -305,16 +306,17 @@ The record never stores a GitHub access token, authenticated clone URL, local
| 305 | 306 |
|
| 306 | 307 |
|
| 307 | 308 |
|
| 308 |
|
|
| 309 |
|
|
| 310 |
|
|
| 311 |
|
|
| 312 |
|
|
| 313 |
|
|
| 314 |
|
|
| 315 |
|
|
| 316 |
|
|
| 317 |
|
|
| 309 |
|
|
| 310 |
|
|
| 311 |
|
|
| 312 |
|
|
| 313 |
|
|
| 314 |
|
|
| 315 |
|
|
| 316 |
|
|
| 317 |
|
|
| 318 |
|
|
| 319 |
|
|
| 318 | 320 |
|
| 319 | 321 |
|
| 320 | 322 |
|
@@ -352,11 +354,11 @@ a transactional outbox and an idempotent provisioner.
| 352 | 354 |
|
| 353 | 355 |
|
| 354 | 356 |
|
| 355 |
|
|
| 356 |
|
|
| 357 |
|
|
| 358 |
|
|
| 359 |
|
|
| 357 |
|
|
| 358 |
|
|
| 359 |
|
|
| 360 |
|
|
| 361 |
|
|
| 360 | 362 |
|
| 361 | 363 |
|
| 362 | 364 |
|
@@ -1250,7 +1252,7 @@ The first repository and import slice is complete when:
| 1250 | 1252 |
|
| 1251 | 1253 |
|
| 1252 | 1254 |
|
| 1253 |
|
|
| 1255 |
|
|
| 1254 | 1256 |
|
| 1255 | 1257 |
|
| 1256 | 1258 |
|
@@ -1258,7 +1260,8 @@ The first repository and import slice is complete when:
| 1258 | 1260 |
|
| 1259 | 1261 |
|
| 1260 | 1262 |
|
| 1261 |
|
|
| 1263 |
|
|
| 1264 |
|
|
| 1262 | 1265 |
|
| 1263 | 1266 |
|
| 1264 | 1267 |
|
docs/repository-creation-cli-implementation-roadmap.md modified +5 -5
@@ -54,7 +54,7 @@ All of these statements require direct evidence before this roadmap can move to
| 54 | 54 |
|
| 55 | 55 |
|
| 56 | 56 |
|
| 57 |
|
|
| 57 |
|
|
| 58 | 58 |
|
| 59 | 59 |
|
| 60 | 60 |
|
@@ -251,14 +251,14 @@ does not change deployment targets.
| 251 | 251 |
|
| 252 | 252 |
|
| 253 | 253 |
|
| 254 |
|
|
| 254 |
|
|
| 255 | 255 |
|
| 256 | 256 |
|
| 257 | 257 |
|
| 258 | 258 |
|
| 259 | 259 |
|
| 260 |
|
|
| 261 |
|
|
| 260 |
|
|
| 261 |
|
|
| 262 | 262 |
|
| 263 | 263 |
|
| 264 | 264 |
|
@@ -460,7 +460,7 @@ result. Do not store tokens, local absolute paths, or repository content.
| 460 | 460 |
|
| 461 | 461 |
|
| 462 | 462 |
|
| 463 |
|
|
| 463 |
|
|
| 464 | 464 |
|
| 465 | 465 |
|
| 466 | 466 |
|
lib/openagents/forge/sync.ex modified +31 -3
@@ -57,7 +57,7 @@ defmodule OpenAgents.Forge.Sync do
| 57 | 57 |
|
| 58 | 58 |
|
| 59 | 59 |
|
| 60 |
|
|
| 60 |
|
|
| 61 | 61 |
|
| 62 | 62 |
|
| 63 | 63 |
|
@@ -77,7 +77,7 @@ defmodule OpenAgents.Forge.Sync do
| 77 | 77 |
|
| 78 | 78 |
|
| 79 | 79 |
|
| 80 |
|
|
| 80 |
|
|
| 81 | 81 |
|
| 82 | 82 |
|
| 83 | 83 |
|
@@ -88,7 +88,7 @@ defmodule OpenAgents.Forge.Sync do
| 88 | 88 |
|
| 89 | 89 |
|
| 90 | 90 |
|
| 91 |
|
|
| 91 |
|
|
| 92 | 92 |
|
| 93 | 93 |
|
| 94 | 94 |
|
@@ -97,6 +97,34 @@ defmodule OpenAgents.Forge.Sync do
| 97 | 97 |
|
| 98 | 98 |
|
| 99 | 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 |
|
|
| 100 | 128 |
|
| 101 | 129 |
|
| 102 | 130 |
|
lib/openagents/repositories/importer.ex modified +78 -8
@@ -146,14 +146,22 @@ defmodule OpenAgents.Repositories.Importer do
| 146 | 146 |
|
| 147 | 147 |
|
| 148 | 148 |
|
| 149 |
|
|
| 149 |
|
|
| 150 | 150 |
|
| 151 | 151 |
|
| 152 | 152 |
|
| 153 | 153 |
|
| 154 | 154 |
|
| 155 | 155 |
|
| 156 |
|
|
| 156 |
|
|
| 157 |
|
|
| 158 |
|
|
| 159 |
|
|
| 160 |
|
|
| 161 |
|
|
| 162 |
|
|
| 163 |
|
|
| 164 |
|
|
| 157 | 165 |
|
| 158 | 166 |
|
| 159 | 167 |
|
@@ -203,6 +211,8 @@ defmodule OpenAgents.Repositories.Importer do
| 203 | 211 |
|
| 204 | 212 |
|
| 205 | 213 |
|
| 214 |
|
|
| 215 |
|
|
| 206 | 216 |
|
| 207 | 217 |
|
| 208 | 218 |
|
@@ -286,7 +296,7 @@ defmodule OpenAgents.Repositories.Importer do
| 286 | 296 |
|
| 287 | 297 |
|
| 288 | 298 |
|
| 289 |
|
|
| 299 |
|
|
| 290 | 300 |
|
| 291 | 301 |
|
| 292 | 302 |
|
@@ -296,7 +306,8 @@ defmodule OpenAgents.Repositories.Importer do
| 296 | 306 |
|
| 297 | 307 |
|
| 298 | 308 |
|
| 299 |
|
|
| 309 |
|
|
| 310 |
|
|
| 300 | 311 |
|
| 301 | 312 |
|
| 302 | 313 |
|
@@ -319,27 +330,58 @@ defmodule OpenAgents.Repositories.Importer do
| 319 | 330 |
|
| 320 | 331 |
|
| 321 | 332 |
|
| 333 |
|
|
| 322 | 334 |
|
| 323 | 335 |
|
| 324 | 336 |
|
| 325 | 337 |
|
| 326 | 338 |
|
| 327 |
|
|
| 339 |
|
|
| 340 |
|
|
| 341 |
|
|
| 342 |
|
|
| 343 |
|
|
| 344 |
|
|
| 345 |
|
|
| 346 |
|
|
| 347 |
|
|
| 328 | 348 |
|
| 329 | 349 |
|
| 330 |
|
|
| 350 |
|
|
| 351 |
|
|
| 352 |
|
|
| 353 |
|
|
| 354 |
|
|
| 355 |
|
|
| 356 |
|
|
| 357 |
|
|
| 331 | 358 |
|
| 332 | 359 |
|
| 333 | 360 |
|
| 334 | 361 |
|
| 335 |
|
|
| 362 |
|
|
| 363 |
|
|
| 364 |
|
|
| 365 |
|
|
| 366 |
|
|
| 367 |
|
|
| 368 |
|
|
| 369 |
|
|
| 370 |
|
|
| 336 | 371 |
|
| 337 | 372 |
|
| 338 | 373 |
|
| 339 | 374 |
|
| 340 | 375 |
|
| 341 | 376 |
|
| 342 |
|
|
| 377 |
|
|
| 378 |
|
|
| 379 |
|
|
| 380 |
|
|
| 381 |
|
|
| 382 |
|
|
| 383 |
|
|
| 384 |
|
|
| 343 | 385 |
|
| 344 | 386 |
|
| 345 | 387 |
|
@@ -351,6 +393,7 @@ defmodule OpenAgents.Repositories.Importer do
| 351 | 393 |
|
| 352 | 394 |
|
| 353 | 395 |
|
| 396 |
|
|
| 354 | 397 |
|
| 355 | 398 |
|
| 356 | 399 |
|
@@ -511,6 +554,10 @@ defmodule OpenAgents.Repositories.Importer do
| 511 | 554 |
|
| 512 | 555 |
|
| 513 | 556 |
|
| 557 |
|
|
| 558 |
|
|
| 559 |
|
|
| 560 |
|
|
| 514 | 561 |
|
| 515 | 562 |
|
| 516 | 563 |
|
@@ -565,6 +612,29 @@ defmodule OpenAgents.Repositories.Importer do
| 565 | 612 |
|
| 566 | 613 |
|
| 567 | 614 |
|
| 615 |
|
|
| 616 |
|
|
| 617 |
|
|
| 618 |
|
|
| 619 |
|
|
| 620 |
|
|
| 621 |
|
|
| 622 |
|
|
| 623 |
|
|
| 624 |
|
|
| 625 |
|
|
| 626 |
|
|
| 627 |
|
|
| 628 |
|
|
| 629 |
|
|
| 630 |
|
|
| 631 |
|
|
| 632 |
|
|
| 633 |
|
|
| 634 |
|
|
| 635 |
|
|
| 636 |
|
|
| 637 |
|
|
| 568 | 638 |
|
| 569 | 639 |
|
| 570 | 640 |
|
priv/docs/cli-command-reference.md modified +5 -2
@@ -84,8 +84,11 @@ openagents repo import [flags] <github-owner/repository>
| 84 | 84 |
|
| 85 | 85 |
|
| 86 | 86 |
|
| 87 |
|
|
| 88 |
|
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
|
| 91 |
|
|
| 89 | 92 |
|
| 90 | 93 |
|
| 91 | 94 |
|
priv/docs/create-repository.md modified +3 -1
@@ -42,7 +42,9 @@ openagents repo create my-project \
| 42 | 42 |
|
| 43 | 43 |
|
| 44 | 44 |
|
| 45 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 46 | 48 |
|
| 47 | 49 |
|
| 48 | 50 |
|
priv/docs/import-github.md modified +24 -17
@@ -63,9 +63,10 @@ openagents repo import OpenAgentsInc/example --namespace OpenAgentsInc
| 63 | 63 |
|
| 64 | 64 |
|
| 65 | 65 |
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 69 | 70 |
|
| 70 | 71 |
|
| 71 | 72 |
|
@@ -78,7 +79,7 @@ npx --yes @openagentsinc/cli@latest repo import OWNER/REPOSITORY
| 78 | 79 |
|
| 79 | 80 |
|
| 80 | 81 |
|
| 81 |
|
|
| 82 |
|
|
| 82 | 83 |
|
| 83 | 84 |
|
| 84 | 85 |
|
@@ -102,10 +103,16 @@ shell output.
| 102 | 103 |
|
| 103 | 104 |
|
| 104 | 105 |
|
| 105 |
|
|
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
| 109 |
|
|
| 110 |
|
|
| 111 |
|
|
| 112 |
|
|
| 113 |
|
|
| 114 |
|
|
| 115 |
|
|
| 109 | 116 |
|
| 110 | 117 |
|
| 111 | 118 |
|
@@ -121,11 +128,8 @@ Server logs record every stage and the bundle byte count. A bundle over the
| 121 | 128 |
|
| 122 | 129 |
|
| 123 | 130 |
|
| 124 |
|
|
| 125 |
|
|
| 126 |
|
|
| 127 |
|
|
| 128 |
|
|
| 131 |
|
|
| 132 |
|
|
| 129 | 133 |
|
| 130 | 134 |
|
| 131 | 135 |
|
@@ -154,7 +158,8 @@ files without copying LFS objects.
| 154 | 158 |
|
| 155 | 159 |
|
| 156 | 160 |
|
| 157 |
|
|
| 161 |
|
|
| 162 |
|
|
| 158 | 163 |
|
| 159 | 164 |
|
| 160 | 165 |
|
@@ -165,15 +170,17 @@ must start each import explicitly.
| 165 | 170 |
|
| 166 | 171 |
|
| 167 | 172 |
|
| 168 |
|
|
| 173 |
|
|
| 169 | 174 |
|
| 170 | 175 |
|
| 171 | 176 |
|
| 172 | 177 |
|
| 173 | 178 |
|
| 174 | 179 |
|
| 175 |
|
|
| 176 |
|
|
| 180 |
|
|
| 181 |
|
|
| 182 |
|
|
| 183 |
|
|
| 177 | 184 |
|
| 178 | 185 |
|
| 179 | 186 |
|
test/openagents/repositories/provisioner_test.exs modified +13 -1
@@ -152,6 +152,9 @@ defmodule OpenAgents.Repositories.ProvisionerTest do
| 152 | 152 |
|
| 153 | 153 |
|
| 154 | 154 |
|
| 155 |
|
|
| 156 |
|
|
| 157 |
|
|
| 155 | 158 |
|
| 156 | 159 |
|
| 157 | 160 |
|
@@ -208,13 +211,22 @@ defmodule OpenAgents.Repositories.ProvisionerTest do
| 208 | 211 |
|
| 209 | 212 |
|
| 210 | 213 |
|
| 211 |
|
|
| 214 |
|
|
| 215 |
|
|
| 216 |
|
|
| 217 |
|
|
| 218 |
|
|
| 219 |
|
|
| 220 |
|
|
| 221 |
|
|
| 222 |
|
|
| 212 | 223 |
|
| 213 | 224 |
|
| 214 | 225 |
|
| 215 | 226 |
|
| 216 | 227 |
|
| 217 | 228 |
|
| 229 |
|
|
| 218 | 230 |
|
| 219 | 231 |
|
| 220 | 232 |
|