File size: 159,001 Bytes
549e098 eb748c7 549e098 94fae0e 549e098 a18530e 783a490 549e098 eb748c7 549e098 eb748c7 d4df290 783a490 549e098 eb748c7 dfc4eed 549e098 783a490 549e098 783a490 549e098 783a490 7d6e4e0 783a490 549e098 56643fc 7d6e4e0 783a490 dfc4eed 7d6e4e0 7fe5ccd 5a51665 7fe5ccd 5a51665 549e098 783a490 7fe5ccd 783a490 7c666e6 783a490 7c666e6 783a490 5a51665 783a490 7fe5ccd 783a490 7fe5ccd 783a490 5a51665 783a490 7fe5ccd 1926a97 549e098 783a490 3181a66 62ab69d 7c666e6 4cbad6c 36745fe 3181a66 4cbad6c 90fde40 4cbad6c 36745fe 4cbad6c ed9840f 4cbad6c 90fde40 4cbad6c 7c666e6 36745fe 79fb87d 3181a66 79fb87d 36745fe 3181a66 36745fe 3181a66 36745fe 7c666e6 783a490 5a51665 783a490 7fe5ccd 783a490 7fe5ccd 783a490 7c666e6 4cbad6c 36745fe 4cbad6c 36745fe 4cbad6c 36745fe 4cbad6c 36745fe 4cbad6c 36745fe 4cbad6c 783a490 90fde40 783a490 5a51665 7fe5ccd 783a490 7c666e6 783a490 549e098 7fe5ccd ed9840f 7fe5ccd 783a490 318f189 409cbb4 7fe5ccd 783a490 9c997d7 549e098 96a88e7 1926a97 783a490 318f189 783a490 7fe5ccd 783a490 647ce3b 783a490 647ce3b 783a490 647ce3b 783a490 647ce3b 783a490 647ce3b 783a490 549e098 783a490 1ab3545 da2a2ef 7c4b199 da2a2ef 75874df 783a490 dfc4eed 28f9cdb 783a490 28f9cdb 549e098 7d6e4e0 409cbb4 7d6e4e0 7fe5ccd 7d6e4e0 7fe5ccd 7d6e4e0 5a51665 7d6e4e0 7fe5ccd 7d6e4e0 37ae1e2 7d6e4e0 37ae1e2 7d6e4e0 37ae1e2 79fb87d 37ae1e2 7d6e4e0 37ae1e2 7d6e4e0 783a490 549e098 783a490 9c997d7 783a490 549e098 1ab3545 783a490 549e098 56643fc 783a490 1926a97 783a490 7fe5ccd 7c666e6 d4df290 4cbad6c 36745fe 4cbad6c ed9840f 36745fe 4cbad6c 783a490 307d887 783a490 36745fe ed9840f 1926a97 36745fe 783a490 96a88e7 d4df290 783a490 7d6e4e0 647ce3b da2a2ef 7c4b199 da2a2ef 75874df 28f9cdb 7d6e4e0 37ae1e2 783a490 7c666e6 549e098 61ee9b6 549e098 35abd95 7fe5ccd 35abd95 7fe5ccd 35abd95 36745fe 1926a97 7fe5ccd 1926a97 96a88e7 3181a66 7fe5ccd 36745fe 3181a66 1926a97 7fe5ccd 3181a66 36745fe ed9840f 1926a97 3181a66 35abd95 79fb87d 3181a66 35abd95 36745fe 3181a66 1926a97 36745fe 35abd95 1926a97 3181a66 35abd95 1926a97 7fe5ccd ed9840f 7fe5ccd 35abd95 1926a97 35abd95 1926a97 7d6e4e0 783a490 1926a97 647ce3b 409cbb4 647ce3b 7c4b199 75874df 7d6e4e0 1926a97 7d6e4e0 7fe5ccd 7d6e4e0 37ae1e2 79fb87d 37ae1e2 783a490 28f9cdb 1926a97 35abd95 36745fe 79fb87d 36745fe 1926a97 7fe5ccd 1926a97 549e098 318f189 549e098 62ab69d dfc4eed 7d6e4e0 783a490 dfc4eed 549e098 3181a66 549e098 d4df290 eb748c7 d4df290 549e098 eb748c7 a18530e 783a490 549e098 94fae0e 6ebc472 94fae0e 783a490 94fae0e 647ce3b 94fae0e 96a88e7 94fae0e 28f9cdb 94fae0e 783a490 94fae0e dfc4eed eb748c7 dfc4eed e4297b2 dfc4eed eb748c7 318f189 dfc4eed 549e098 dfc4eed 783a490 dfc4eed a3f0086 549e098 783a490 a18530e 783a490 56643fc 783a490 549e098 56643fc 549e098 783a490 549e098 da2a2ef 94fae0e 7fe5ccd 549e098 7fe5ccd 783a490 7fe5ccd a3f0086 549e098 a3f0086 549e098 7c666e6 7fe5ccd 7c666e6 eb748c7 7c666e6 30cda2b 7fe5ccd 7c666e6 549e098 4cbad6c 36745fe ed9840f 79fb87d ed9840f 36745fe 79fb87d ed9840f 36745fe 4cbad6c 36745fe 4cbad6c 36745fe 4cbad6c 36745fe 4cbad6c 7c666e6 783a490 549e098 783a490 1926a97 783a490 ed9840f 7fe5ccd 783a490 30cda2b eb748c7 1ab3545 7fe5ccd 549e098 783a490 549e098 783a490 7fe5ccd 96a88e7 783a490 96a88e7 783a490 1926a97 783a490 96a88e7 783a490 1926a97 96a88e7 783a490 7fe5ccd 549e098 783a490 7fe5ccd 783a490 6ebc472 549e098 1926a97 783a490 1926a97 549e098 783a490 7fe5ccd 647ce3b 783a490 647ce3b 549e098 3181a66 783a490 647ce3b 549e098 783a490 647ce3b 549e098 783a490 7fe5ccd 783a490 1ab3545 783a490 9c997d7 783a490 1ab3545 647ce3b 549e098 783a490 7fe5ccd 28f9cdb 783a490 9c997d7 28f9cdb 9c997d7 28f9cdb 549e098 783a490 7fe5ccd 6ebc472 783a490 eb748c7 409cbb4 eb748c7 409cbb4 7d6e4e0 6ebc472 7d6e4e0 6ebc472 7d6e4e0 3181a66 7d6e4e0 409cbb4 7d6e4e0 409cbb4 7d6e4e0 7fe5ccd 7d6e4e0 7fe5ccd 7d6e4e0 eb748c7 7d6e4e0 3181a66 37ae1e2 7d6e4e0 37ae1e2 318f189 3181a66 7d6e4e0 549e098 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 7c4b199 da2a2ef 549e098 783a490 da2a2ef 6ebc472 783a490 3181a66 783a490 318f189 3181a66 26ce0ff 7fe5ccd 549e098 94fae0e 783a490 da2a2ef 6ebc472 94fae0e 6ebc472 94fae0e 783a490 6ebc472 783a490 647ce3b 783a490 96a88e7 783a490 28f9cdb 783a490 94fae0e 75874df 61ee9b6 75874df 56643fc 783a490 30cda2b 783a490 549e098 318f189 19d27ac 549e098 a3f0086 549e098 783a490 7fe5ccd 3181a66 783a490 da2a2ef 3181a66 783a490 7fe5ccd 783a490 7c666e6 783a490 0cff2b8 783a490 7fe5ccd 783a490 549e098 30cda2b 783a490 549e098 7fe5ccd 549e098 56643fc 783a490 56643fc 5a51665 783a490 1926a97 783a490 1926a97 5a51665 1926a97 56643fc 783a490 1926a97 56643fc 783a490 1926a97 783a490 a3f0086 56643fc 7c666e6 ce7f1a8 783a490 ce7f1a8 783a490 ce7f1a8 783a490 ce7f1a8 7d6e4e0 409cbb4 7d6e4e0 1926a97 7d6e4e0 318f189 7d6e4e0 409cbb4 3181a66 409cbb4 3181a66 409cbb4 7d6e4e0 37ae1e2 affaa54 37ae1e2 3181a66 37ae1e2 7d6e4e0 409cbb4 37ae1e2 409cbb4 37ae1e2 7d6e4e0 409cbb4 7d6e4e0 37ae1e2 7d6e4e0 37ae1e2 7d6e4e0 409cbb4 7d6e4e0 37ae1e2 409cbb4 7d6e4e0 37ae1e2 affaa54 37ae1e2 79fb87d affaa54 37ae1e2 7d6e4e0 37ae1e2 79fb87d 37ae1e2 affaa54 37ae1e2 409cbb4 37ae1e2 409cbb4 37ae1e2 409cbb4 37ae1e2 7d6e4e0 1926a97 7d6e4e0 1926a97 318f189 7d6e4e0 1926a97 7d6e4e0 409cbb4 7d6e4e0 1926a97 7d6e4e0 409cbb4 7d6e4e0 318f189 eb748c7 3181a66 318f189 da2a2ef 318f189 7d6e4e0 318f189 da2a2ef 318f189 7d6e4e0 783a490 dfc4eed 783a490 dfc4eed 783a490 a3f0086 783a490 549e098 ed9840f 549e098 | 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 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 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 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 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 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 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Awesome Loop Engineering</title>
<meta name="description" content="Explore 937 resources from model recurrence to governed agent operations, then build with 22 patterns, 22 contracts, and 8 runtime starters.">
<meta name="robots" content="index,follow">
<meta name="author" content="Chaoyue He">
<link rel="canonical" href="https://chaoyue0307.github.io/awesome-loop-engineering/">
<link rel="icon" href="assets/favicon-32.png" type="image/png" sizes="32x32">
<link rel="apple-touch-icon" href="assets/apple-touch-icon.png" sizes="180x180">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<meta property="og:type" content="website">
<meta property="og:title" content="Awesome Loop Engineering">
<meta property="og:description" content="Explore 937 papers, docs, tools, benchmarks, and guides, then build recurring agent systems with 22 patterns, 22 contracts, and 8 starters.">
<meta property="og:url" content="https://chaoyue0307.github.io/awesome-loop-engineering/">
<meta property="og:image" content="https://chaoyue0307.github.io/awesome-loop-engineering/assets/social-preview-937-v10.png">
<meta property="og:image:width" content="1280">
<meta property="og:image:height" content="640">
<meta property="og:image:alt" content="Awesome Loop Engineering: design loops, not just prompts.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Awesome Loop Engineering">
<meta name="twitter:description" content="937 resources from model recurrence to agent operations, plus 22 patterns, 22 contracts, and 8 starters for building reliable loops.">
<meta name="twitter:image" content="https://chaoyue0307.github.io/awesome-loop-engineering/assets/social-preview-937-v10.png">
<link rel="alternate" type="application/atom+xml" title="Awesome Loop Engineering releases" href="https://github.com/ChaoYue0307/awesome-loop-engineering/releases.atom">
<link rel="alternate" type="application/atom+xml" title="Awesome Loop Engineering commits" href="https://github.com/ChaoYue0307/awesome-loop-engineering/commits/main.atom">
<style>
:root {
color-scheme: light;
--paper: #f7f9fc;
--surface: #ffffff;
--ink: #121722;
--muted: #5c6678;
--quiet: #7c8799;
--line: #cfd7e5;
--line-strong: #9eabc0;
--blue: #155eef;
--cyan: #08a9c4;
--green: #0c9b68;
--violet: #7055d9;
--maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.62;
-webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #0f49bd; }
button, input, select { font: inherit; }
.wrap { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }
.skip {
position: absolute;
left: -9999px;
top: 0;
z-index: 100;
background: var(--ink);
color: #fff;
padding: 10px 16px;
}
.skip:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
outline: 3px solid rgba(21, 94, 239, 0.32);
outline-offset: 3px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon {
display: block;
width: 1em;
height: 1em;
flex: 0 0 auto;
color: currentColor;
stroke-width: 2;
}
header.site {
position: sticky;
top: 0;
z-index: 50;
background: rgba(247, 249, 252, 0.94);
border-bottom: 1px solid var(--line);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
}
.nav { display: flex; align-items: center; min-height: 66px; gap: 22px; }
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--ink);
font-weight: 800;
text-decoration: none;
white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .logo { display: block; width: 32px; height: 32px; flex: 0 0 auto; object-fit: contain; }
.links { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
.links a { position: relative; color: var(--muted); font-size: 0.84rem; font-weight: 600; text-decoration: none; }
.links a:hover { color: var(--ink); }
.links a[aria-current="location"] { color: var(--blue); }
.links a[aria-current="location"]::after {
position: absolute;
right: 0;
bottom: -8px;
left: 0;
height: 2px;
background: var(--blue);
content: "";
}
.spacer { flex: 1; }
.project-links { display: flex; gap: 8px; }
.nav-link, .button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 40px;
border: 1px solid var(--line-strong);
border-radius: 6px;
padding: 8px 14px;
color: var(--ink);
background: var(--surface);
font-size: 0.86rem;
font-weight: 700;
line-height: 1.2;
text-decoration: none;
}
.nav-link .icon, .button .icon, .menu-btn .icon { width: 17px; height: 17px; }
.nav-link:hover, .button:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.nav-link.primary, .button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.nav-link.primary:hover, .button.primary:hover { background: #0f49bd; border-color: #0f49bd; color: #fff; }
.menu-btn {
display: none;
align-items: center;
gap: 7px;
min-height: 40px;
border: 1px solid var(--line-strong);
border-radius: 6px;
padding: 7px 12px;
color: var(--ink);
background: var(--surface);
font-size: 0.82rem;
font-weight: 700;
cursor: pointer;
}
.menu-icon-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-icon-close { display: block; }
.mobile-nav-only, .definition-compact, .mobile-diagram { display: none; }
main { overflow: hidden; }
section { padding: 86px 0; border-top: 1px solid var(--line); }
.hero { position: relative; isolation: isolate; min-height: 0; overflow: hidden; padding: 52px 0 16px; border-top: 0; text-align: center; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; }
.hero-system {
width: min(100%, 1120px);
margin: 28px auto 0;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
background: var(--surface);
}
.scene-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
min-height: 42px;
border-bottom: 1px solid var(--line);
padding: 9px 2px;
color: var(--quiet);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.66rem;
text-transform: uppercase;
}
.scene-head strong { color: var(--blue); }
.scene-flow { text-align: right; }
.scene-flow span { color: var(--ink); font-weight: 700; }
.scene-flow i { padding: 0 6px; color: var(--blue); font-style: normal; }
.hero-scene {
position: relative;
z-index: 0;
min-width: 0;
width: 100%;
height: 330px;
overflow: hidden;
background: #f4f7fc;
pointer-events: none;
}
.hero-scene canvas { display: block; width: 100%; height: 100%; opacity: 0.96; }
.scene-fallback { display: none; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: 0.82rem; }
.hero-scene[data-scene-state="fallback"] canvas { display: none; }
.hero-scene[data-scene-state="fallback"] .scene-fallback { display: flex; }
.scene-key {
display: flex;
align-items: center;
justify-content: center;
gap: 26px;
min-height: 34px;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 0.68rem;
}
.scene-key-item { display: inline-flex; align-items: center; gap: 7px; }
.scene-key-item::before {
width: 16px;
height: 5px;
border-radius: 2px;
background: var(--blue);
content: "";
}
.scene-key-item.packet::before { background: var(--cyan); }
.scene-key-item.agents::before { background: var(--blue); }
.scene-key-item.evidence::before { background: var(--green); }
.scene-key-item.state::before { background: var(--violet); }
.scene-outcomes {
display: flex;
align-items: center;
justify-content: center;
gap: 26px;
min-height: 34px;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 0.7rem;
}
.scene-outcome { display: inline-flex; align-items: center; gap: 7px; }
.scene-outcome::before { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); content: ""; }
.scene-outcome.retry::before { background: var(--violet); }
.scene-outcome.escalate::before { background: #d97706; }
.scene-outcome.exit::before { background: var(--green); }
.hero-inspector {
display: grid;
grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
gap: 24px;
align-items: center;
min-width: 0;
border-top: 1px solid var(--line);
padding: 12px 0;
}
.mental-model { padding: 18px 0 52px; }
.section-label {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 12px;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.74rem;
font-weight: 600;
text-transform: uppercase;
}
.section-label .icon { width: 15px; height: 15px; margin-top: 1px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 900px; margin: 0 auto; font-size: 3.85rem; line-height: 1.04; font-weight: 800; }
h2 { margin: 0; font-size: 2.45rem; line-height: 1.14; font-weight: 800; }
h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.hero-kicker { width: fit-content; max-width: 100%; justify-content: center; margin: 0 auto 14px; }
.tagline { margin: 18px auto 0; color: var(--blue); font-size: 1.5rem; font-weight: 700; }
.lead { max-width: 780px; margin: 14px auto 0; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.loop-stage-rail {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
max-width: 880px;
margin: 28px auto 0;
border: 1px solid var(--line-strong);
border-radius: 6px;
background: rgba(247, 249, 252, 0.94);
overflow: hidden;
}
.loop-stage {
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
min-width: 0;
min-height: 46px;
border: 0;
padding: 8px 9px;
color: var(--muted);
background: transparent;
font-size: 0.76rem;
font-weight: 700;
cursor: pointer;
}
.loop-stage + .loop-stage { border-left: 1px solid var(--line); }
.loop-stage:hover { color: var(--ink); background: rgba(255, 255, 255, 0.72); }
.loop-stage[aria-pressed="true"] { color: #fff; background: var(--blue); }
.loop-stage-number { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.66rem; }
.loop-stage-detail {
min-height: 24px;
max-width: 820px;
margin: 10px auto 0;
color: var(--muted);
font-size: 0.82rem;
}
.loop-stage-detail strong { color: var(--ink); }
.hero-system .loop-stage-rail {
grid-template-columns: repeat(6, minmax(0, 1fr));
width: 100%;
max-width: none;
margin: 0;
}
.hero-system .loop-stage:nth-child(n) { border-top: 0; }
.hero-system .loop-stage:first-child { border-left: 0; }
.hero-inspector .loop-stage-detail {
min-height: 54px;
max-width: none;
margin: 0;
border-left: 3px solid var(--blue);
padding: 7px 0 0 14px;
text-align: left;
}
.hero-visual { max-width: 780px; margin: 0 auto; }
.hero-visual picture, .hero-visual img, .diagram img { display: block; width: 100%; height: auto; }
.hero-visual picture, .diagram-scroll {
width: 100%;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface);
}
.stats {
display: grid;
grid-template-columns: repeat(5, 1fr);
max-width: 1000px;
margin: 34px auto 0;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
}
.stat { position: relative; padding: 17px 12px; text-align: left; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 1.35rem; line-height: 1.2; }
.stat b .icon { width: 18px; height: 18px; color: var(--blue); }
.stat span { color: var(--quiet); font-size: 0.76rem; font-weight: 600; text-transform: uppercase; }
.definition { max-width: 900px; margin: 0 auto 28px; color: var(--muted); font-size: 0.92rem; text-align: center; }
.definition strong { color: var(--ink); }
.mobile-stack { display: none; }
.desktop-stack-scene {
position: relative;
width: 100%;
height: 442px;
border: 1px solid var(--line-strong);
border-radius: 6px 6px 0 0;
background: #f4f7fc;
overflow: hidden;
}
.desktop-stack-scene canvas,
.desktop-stack-scene .desktop-stack-visual {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
}
.desktop-stack-scene canvas { opacity: 0.98; }
.desktop-stack-scene .desktop-stack-visual { object-fit: cover; transition: opacity 180ms ease; }
.desktop-stack-scene[data-scene-ready="true"] .desktop-stack-visual { opacity: 0; pointer-events: none; }
.desktop-stack-scene[data-scene-state="fallback"] canvas { display: none; }
.desktop-stack-key {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
border: 1px solid var(--line-strong);
border-top: 0;
border-radius: 0 0 6px 6px;
background: var(--surface);
color: var(--muted);
font-size: 0.73rem;
line-height: 1.45;
text-align: left;
}
.desktop-stack-key span { min-width: 0; padding: 11px 14px; }
.desktop-stack-key span + span { border-left: 1px solid var(--line); }
.desktop-stack-key strong { color: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(250px, 0.78fr) minmax(360px, 1.22fr); gap: 64px; align-items: end; margin-bottom: 36px; }
.section-intro { max-width: 720px; margin: 0; color: var(--muted); }
.audit-note { margin: -17px 0 28px; border-top: 1px solid var(--line); padding-top: 13px; color: var(--muted); font-size: 0.8rem; }
.audit-note strong { color: var(--ink); }
.loop-layer-map {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin: 0 0 28px;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
}
.loop-layer-item { min-width: 0; padding: 18px 20px 18px 0; }
.loop-layer-item + .loop-layer-item { border-left: 1px solid var(--line); padding-left: 20px; }
.loop-layer-item span { display: block; color: var(--blue); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.64rem; font-weight: 700; text-transform: uppercase; }
.loop-layer-item strong { display: block; margin-top: 6px; color: var(--ink); font-size: 0.92rem; }
.loop-layer-item p { margin: 6px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.diagram { width: 100%; margin: 0; }
.caption { margin: 13px 0 0; color: var(--quiet); font-size: 0.78rem; text-align: right; }
.supporting-visual { margin: 0 0 34px; }
.contract-need {
display: grid;
grid-template-columns: 210px minmax(0, 1fr);
gap: 34px;
margin-bottom: 30px;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line);
padding: 22px 0;
}
.contract-need h3 { margin: 0; font-size: 0.96rem; }
.contract-need p { max-width: 870px; margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.contract-layers-head {
display: grid;
grid-template-columns: 210px minmax(0, 1fr);
gap: 34px;
align-items: baseline;
margin-bottom: 12px;
}
.contract-layers-head h3 { margin: 0; font-size: 0.96rem; }
.contract-layers-head p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.contract-layers {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin-bottom: 36px;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
}
.contract-layer { min-width: 0; padding: 18px 20px 18px 0; }
.contract-layer + .contract-layer { border-left: 1px solid var(--line); padding-left: 20px; }
.contract-layer strong { display: block; color: var(--ink); font-size: 0.88rem; }
.contract-layer span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.contract-layer.contract-policy strong { color: var(--blue); }
.contract-phases {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-top: 30px;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
}
.contract-phase { min-width: 0; padding: 20px 22px 20px 0; }
.contract-phase + .contract-phase { border-left: 1px solid var(--line); padding-left: 22px; }
.contract-phase-label {
display: block;
margin-bottom: 8px;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.65rem;
font-weight: 650;
text-transform: uppercase;
}
.contract-phase h3 { margin: 0; font-size: 0.94rem; }
.contract-phase p { margin: 7px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.contract-phase small { display: block; margin-top: 10px; color: var(--quiet); font-size: 0.7rem; line-height: 1.45; }
.contract-example { margin-top: 38px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.contract-example-head {
display: grid;
grid-template-columns: 210px minmax(0, 1fr);
gap: 34px;
padding: 22px 0;
border-bottom: 1px solid var(--line);
}
.contract-example-head h3 { margin: 0; font-size: 1rem; }
.contract-example-head p { max-width: 820px; margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.contract-example-row {
display: grid;
grid-template-columns: 180px minmax(0, 1fr);
gap: 34px;
padding: 14px 0;
border-bottom: 1px solid var(--line);
}
.contract-example-row strong { color: var(--ink); font-size: 0.8rem; }
.contract-example-row p { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.contract-example-result {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 16px 0;
}
.contract-example-result p { margin: 0; color: var(--ink); font-size: 0.82rem; font-weight: 700; line-height: 1.5; }
.contract-example-result a { flex: 0 0 auto; font-size: 0.8rem; font-weight: 700; }
.mobile-contract-summary, .mobile-lifecycle-summary { border-top: 1px solid var(--line-strong); }
.mobile-contract-group { padding: 15px 0 0; }
.mobile-contract-group + .mobile-contract-group { margin-top: 4px; }
.mobile-contract-group > p {
margin: 0 0 7px;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.68rem;
font-weight: 600;
text-transform: uppercase;
}
.mobile-contract-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mobile-contract-part {
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
gap: 7px;
align-items: baseline;
min-width: 0;
padding: 10px 8px 10px 0;
border-top: 1px solid var(--line);
}
.mobile-contract-part:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--line); }
.mobile-contract-part span {
color: var(--quiet);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.65rem;
font-weight: 600;
}
.mobile-contract-part strong { font-size: 0.86rem; line-height: 1.3; }
.mobile-next-action {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 16px;
margin: 15px 0 0;
padding: 13px 0;
border-top: 1px solid var(--blue);
border-bottom: 1px solid var(--line-strong);
}
.mobile-next-action strong { color: var(--blue); font-size: 0.86rem; }
.mobile-next-action span { color: var(--muted); font-size: 0.76rem; text-align: right; }
.mobile-lifecycle-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 0;
padding: 0;
list-style: none;
}
.mobile-lifecycle-list li {
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
gap: 7px;
min-width: 0;
padding: 13px 8px 13px 0;
border-bottom: 1px solid var(--line);
}
.mobile-lifecycle-list li:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--line); }
.mobile-lifecycle-list span {
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.65rem;
font-weight: 600;
}
.mobile-lifecycle-list strong { display: block; font-size: 0.88rem; line-height: 1.25; }
.mobile-lifecycle-list small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.7rem; line-height: 1.4; }
.mobile-lifecycle-outcomes {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
border-bottom: 1px solid var(--line-strong);
}
.mobile-lifecycle-outcomes div { min-width: 0; padding: 12px 8px 13px 0; }
.mobile-lifecycle-outcomes div + div { padding-left: 9px; border-left: 1px solid var(--line); }
.mobile-lifecycle-outcomes strong { display: block; color: var(--blue); font-size: 0.78rem; }
.mobile-lifecycle-outcomes span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.66rem; line-height: 1.35; }
.principles, .link-grid, .pattern-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contribute-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.principle, .card, .pattern {
min-width: 0;
border-top: 1px solid var(--line-strong);
padding: 18px 22px 18px 0;
}
.principle + .principle, .card + .card, .pattern + .pattern { padding-left: 22px; }
.principle p, .card p { margin: 7px 0 0; color: var(--muted); font-size: 0.9rem; }
.principle h3, .card h3, footer h4 { display: flex; align-items: flex-start; gap: 8px; }
.principle h3 .icon, .card h3 .icon, footer h4 .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.principles { margin-top: 34px; }
.choice-why {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
gap: 34px;
margin-bottom: 0;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line);
padding: 22px 0;
}
.choice-why h3 { margin: 0; font-size: 0.96rem; }
.choice-why p { max-width: 850px; margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.choice-fit {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-bottom: 30px;
border-bottom: 1px solid var(--line-strong);
}
.choice-fit-column { min-width: 0; padding: 22px 24px 22px 0; }
.choice-fit-column + .choice-fit-column { border-left: 1px solid var(--line); padding-left: 24px; }
.choice-fit-label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 0.88rem; }
.choice-fit-label .icon { width: 17px; height: 17px; color: var(--green); }
.choice-fit-column:last-child .choice-fit-label .icon { color: var(--violet); }
.choice-fit ul { margin: 12px 0 0; padding-left: 18px; }
.choice-fit li { margin-top: 7px; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.choice-fit li::marker { color: var(--blue); }
.choice-steps {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
}
.choice-step { min-width: 0; padding: 20px 20px 20px 0; }
.choice-step + .choice-step { border-left: 1px solid var(--line); padding-left: 20px; }
.choice-step .number {
display: block;
margin-bottom: 8px;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.67rem;
font-weight: 700;
}
.choice-step strong { display: block; font-size: 0.9rem; }
.choice-step p { margin: 6px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.choice-sequence { margin: 16px 0 28px; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.choice-sequence strong { color: var(--ink); }
.pattern-grid { gap: 0; border-top: 1px solid var(--line-strong); }
.pattern {
display: flex;
min-height: 178px;
flex-direction: column;
color: var(--ink);
text-decoration: none;
transition: color 140ms ease, border-color 140ms ease;
}
.pattern-grid .pattern:nth-child(n) { border-top: 0; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); padding: 20px 22px; }
.pattern-grid .pattern:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.pattern-grid .pattern:nth-child(3n) { padding-right: 0; }
.pattern:hover { color: var(--blue); border-color: var(--blue); text-decoration: none; }
.pattern .category {
display: block;
margin-bottom: 8px;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.62rem;
font-weight: 650;
text-transform: uppercase;
}
.pattern .sym { display: block; color: var(--quiet); font-size: 0.76rem; line-height: 1.4; }
.pattern .name { display: block; margin-top: 6px; font-weight: 760; line-height: 1.35; }
.pattern .outcome { display: block; margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.pattern .outcome strong { color: var(--ink); }
.filter-row { display: flex; align-items: center; gap: 18px; margin: 0 0 16px; }
.pattern-filter {
width: min(100%, 460px);
min-height: 44px;
border: 1px solid var(--line-strong);
border-radius: 6px;
padding: 10px 13px;
color: var(--ink);
background: var(--surface);
}
.pattern-filter::placeholder { color: var(--quiet); }
.filter-row > a { margin-left: auto; font-size: 0.8rem; font-weight: 700; }
.filter-empty { margin: 0 0 18px; color: var(--muted); }
.card { display: block; color: var(--ink); text-decoration: none; }
a.card:hover { color: var(--blue); border-color: var(--blue); text-decoration: none; }
.runtime-kind {
display: block;
margin-bottom: 8px;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.64rem;
font-weight: 650;
line-height: 1.2;
text-transform: uppercase;
}
.runtime-kind.executable { color: var(--green); }
.future-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line-strong);
}
.future-track {
display: flex;
min-width: 0;
flex-direction: column;
padding: 24px 24px 24px 0;
}
.future-track + .future-track { border-left: 1px solid var(--line); padding-left: 24px; }
.future-track h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 1rem; }
.future-track h3 .icon { width: 18px; height: 18px; color: var(--blue); }
.future-track ul { margin: 16px 0 22px; padding-left: 19px; }
.future-track li { margin-top: 9px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.future-track li::marker { color: var(--blue); }
.future-output { margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 14px; color: var(--quiet); font-size: 0.76rem; line-height: 1.5; }
.future-output strong { display: block; margin-bottom: 3px; color: var(--ink); }
.future-steps {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
border-bottom: 1px solid var(--line-strong);
}
.future-step { min-width: 0; padding: 20px 20px 20px 0; }
.future-step + .future-step { border-left: 1px solid var(--line); padding-left: 20px; }
.future-step span {
display: block;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.63rem;
font-weight: 700;
text-transform: uppercase;
}
.future-step strong { display: block; margin-top: 6px; font-size: 0.88rem; }
.future-step p { margin: 5px 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.future-shared {
display: grid;
grid-template-columns: 180px minmax(0, 1fr) auto;
gap: 22px;
align-items: center;
border-bottom: 1px solid var(--line-strong);
padding: 20px 0;
}
.future-shared strong { font-size: 0.92rem; }
.future-shared p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.star-history-chart {
display: block;
width: 100%;
color: inherit;
line-height: 0;
text-decoration: none;
}
.star-history-chart img { display: block; width: 100%; height: auto; }
.growth-note {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
border-bottom: 1px solid var(--line-strong);
padding: 20px 0;
}
.growth-note p { max-width: 760px; margin: 0; color: var(--muted); font-size: 0.88rem; }
.growth-note .button { flex: 0 0 auto; }
code {
border: 1px solid var(--line);
border-radius: 4px;
padding: 1px 5px;
background: #eef2f8;
color: var(--ink);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.84em;
}
.maturity-guide {
display: grid;
grid-template-columns: 180px minmax(0, 1fr);
gap: 30px;
align-items: start;
margin: 0 0 30px;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line);
padding: 20px 0;
}
.maturity-guide h3 { margin: 0; font-size: 0.96rem; line-height: 1.35; }
.maturity-guide p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.62; }
.maturity-guide p + p { margin-top: 8px; }
.maturity-guide strong { color: var(--ink); }
.levels { border-top: 1px solid var(--line-strong); }
.level {
display: grid;
grid-template-columns: 64px minmax(190px, 0.72fr) minmax(0, 2.2fr);
gap: 24px;
align-items: start;
padding: 25px 0;
border-bottom: 1px solid var(--line);
}
.level .number { padding-top: 2px; color: var(--blue); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.76rem; font-weight: 700; }
.level-intro h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.level-intro p { margin: 6px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.level-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; }
.level-facts > div { min-width: 0; }
.level-facts dt { color: var(--quiet); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.62rem; font-weight: 650; letter-spacing: 0; text-transform: uppercase; }
.level-facts dd { margin: 6px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.52; }
.resource-explorer { border-top: 1px solid var(--line-strong); }
.resource-toolbar {
display: grid;
grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(132px, 0.66fr)) auto;
gap: 10px;
padding: 16px 0;
border-bottom: 1px solid var(--line);
}
.resource-input, .resource-select {
width: 100%;
min-height: 44px;
border: 1px solid var(--line-strong);
border-radius: 6px;
padding: 9px 12px;
color: var(--ink);
background: var(--surface);
}
.resource-input::placeholder { color: var(--quiet); }
.resource-reset, .resource-more {
align-items: center;
justify-content: center;
gap: 7px;
min-height: 44px;
border: 1px solid var(--line-strong);
border-radius: 6px;
padding: 9px 13px;
color: var(--ink);
background: var(--surface);
font-weight: 700;
cursor: pointer;
}
.resource-reset { display: inline-flex; }
.resource-reset .icon { width: 15px; height: 15px; }
.resource-reset:hover, .resource-more:hover { border-color: var(--blue); color: var(--blue); }
.resource-collections { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.resource-collection {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 42px;
border: 0;
border-bottom: 2px solid transparent;
padding: 9px 14px;
color: var(--muted);
background: transparent;
font-size: 0.82rem;
font-weight: 700;
cursor: pointer;
}
.resource-collection:hover { color: var(--ink); }
.resource-collection[aria-pressed="true"] { border-bottom-color: var(--blue); color: var(--blue); }
.resource-collection .icon { width: 15px; height: 15px; }
.resource-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; border-bottom: 1px solid var(--line-strong); }
.resource-count { margin: 0; color: var(--muted); font-size: 0.86rem; }
.resource-sort { width: auto; min-width: 176px; }
.resource-list { min-height: 180px; }
.resource-row-head {
display: grid;
grid-template-columns: minmax(0, 1.5fr) 72px minmax(170px, 0.55fr) minmax(130px, 0.4fr);
gap: 22px;
padding: 11px 0;
border-bottom: 1px solid var(--line-strong);
color: var(--quiet);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.66rem;
font-weight: 650;
text-transform: uppercase;
}
.resource-item {
display: grid;
grid-template-columns: minmax(0, 1.5fr) 72px minmax(170px, 0.55fr) minmax(130px, 0.4fr);
gap: 12px 22px;
align-items: start;
padding: 18px 0 16px;
border-bottom: 1px solid var(--line);
}
.resource-work, .resource-publication, .resource-evidence { min-width: 0; }
.resource-title { color: var(--ink); font-weight: 760; line-height: 1.35; text-decoration: none; }
.resource-title:hover { color: var(--blue); }
.resource-item p { margin: 0; }
.resource-contribution { margin-top: 6px !important; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.resource-authors { margin-top: 7px !important; color: var(--quiet); font-size: 0.76rem; line-height: 1.45; }
.resource-meta { margin-top: 7px; color: var(--quiet); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.68rem; overflow-wrap: anywhere; }
.resource-cell-label { display: none; margin-bottom: 5px; color: var(--quiet); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.62rem; font-weight: 650; text-transform: uppercase; }
.resource-year-value { color: var(--ink); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.9rem; font-weight: 700; }
.resource-year.is-empty { min-height: 1px; }
.resource-venue { display: block; color: var(--ink); font-size: 0.82rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.resource-publisher, .resource-date, .resource-identifier { display: block; margin-top: 4px; color: var(--quiet); font-size: 0.72rem; line-height: 1.4; overflow-wrap: anywhere; }
.resource-type-label { display: block; color: var(--ink); font-size: 0.78rem; font-weight: 700; }
.resource-signal { display: block; margin-top: 5px; color: var(--green); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.resource-signal.contextual { color: var(--violet); }
.resource-signal.medium { color: var(--blue); }
.resource-signal.unverified { color: var(--quiet); }
.resource-source-status { display: block; margin-top: 4px; color: var(--quiet); font-size: 0.7rem; line-height: 1.4; }
.resource-details, .resource-details:last-child { grid-column: 1 / -1; margin-top: 2px; border: 0; border-top: 1px dashed var(--line); border-bottom: 0; padding: 9px 0 0; }
.resource-details summary { width: fit-content; color: var(--blue); font-size: 0.72rem; font-weight: 700; }
.resource-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; padding: 14px 0 4px; }
.resource-detail h4 { margin: 0 0 5px; color: var(--quiet); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.64rem; text-transform: uppercase; }
.resource-detail p { color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.resource-bibliography + .resource-bibliography { margin-top: 5px; }
.resource-actions { display: flex; justify-content: center; padding-top: 18px; }
.resource-empty, .resource-loading { margin: 0; padding: 28px 0; color: var(--muted); }
details { border-top: 1px solid var(--line-strong); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line-strong); }
summary { cursor: pointer; font-weight: 750; }
details p { max-width: 850px; margin: 10px 0 0; color: var(--muted); }
footer { padding: 58px 0 48px; border-top: 1px solid var(--line-strong); background: #eef2f8; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 0.8fr 0.8fr 0.8fr; gap: 32px; }
.footer-grid > * { min-width: 0; }
footer h4 { margin: 0 0 10px; font-size: 0.9rem; }
footer a { display: block; padding: 3px 0; color: var(--muted); font-size: 0.84rem; text-decoration: none; }
footer a:hover { color: var(--blue); }
.cite { position: relative; margin-top: 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); overflow: auto; }
.cite pre { min-width: 460px; margin: 0; padding: 16px; color: #344054; font: 0.74rem/1.55 "IBM Plex Mono", ui-monospace, monospace; }
.copy { position: absolute; top: 8px; right: 8px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 4px 9px; background: var(--surface); color: var(--ink); font-size: 0.72rem; font-weight: 700; cursor: pointer; }
.legal { margin: 30px 0 0; color: var(--quiet); font-size: 0.8rem; }
@media (min-width: 1041px) {
#runtimes .link-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#runtimes .card { padding-left: 22px; }
#runtimes .card:nth-child(4n+1) { padding-left: 0; }
}
@media (max-width: 1040px) {
.links { display: none; }
.menu-btn { display: inline-flex; }
.nav { position: relative; }
.links.open {
position: absolute;
top: 66px;
left: -24px;
right: -24px;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
margin: 0;
padding: 10px 24px 14px;
border-bottom: 1px solid var(--line);
background: var(--paper);
box-shadow: 0 14px 30px rgba(18, 23, 34, 0.09);
max-height: calc(100vh - 66px);
overflow-y: auto;
}
.links.open a { padding: 9px 0; }
.links.open .mobile-nav-only { display: flex; align-items: center; gap: 8px; }
.links.open a[aria-current="location"]::after { display: none; }
}
@media (max-width: 920px) {
.hero-system {
width: 100%;
margin-top: 28px;
}
.hero-scene { height: 316px; }
.hero-inspector { grid-template-columns: 1fr; gap: 12px; padding: 14px 0; }
.hero-system .loop-stage-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hero-inspector .loop-stage-detail { min-height: 42px; }
}
@media (max-width: 820px) {
.wrap { width: min(var(--maxw), calc(100% - 32px)); }
.links.open { left: -16px; right: -16px; padding-inline: 16px; }
section { padding: 68px 0; }
.hero { min-height: 0; padding: 40px 0 24px; }
.hero-system { margin-top: 24px; }
.hero-scene { width: 100%; height: 286px; }
.hero-scene canvas { opacity: 1; }
.hero-system .loop-stage-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-system .loop-stage:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); }
.hero-system .loop-stage:nth-child(3n+1) { border-left: 0; }
.hero-system .loop-stage:nth-child(n+4) { border-top: 1px solid var(--line); }
h1 { font-size: 2.7rem; }
h2 { font-size: 2rem; }
.section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
.contract-need, .contract-layers-head, .contract-example-head { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.contract-layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contract-layer:nth-child(n) { border-left: 1px solid var(--line); padding: 18px; }
.contract-layer:nth-child(2n+1) { border-left: 0; padding-left: 0; }
.contract-layer:nth-child(n+3) { border-top: 1px solid var(--line); }
.contract-phase { padding-right: 18px; }
.contract-phase + .contract-phase { padding-left: 18px; }
.contract-example-row { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
.stats { grid-template-columns: repeat(2, 1fr); }
.stat + .stat { border-left: 0; }
.stat:nth-child(even) { border-left: 1px solid var(--line); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat:last-child { grid-column: 1 / -1; border-left: 0; }
.principles, .link-grid, .pattern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-why { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.choice-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-step:nth-child(n) { border-left: 1px solid var(--line); padding: 18px; }
.choice-step:nth-child(2n+1) { border-left: 0; padding-left: 0; }
.choice-step:nth-child(n+3) { border-top: 1px solid var(--line); }
.pattern-grid .pattern:nth-child(n) { border-left: 1px solid var(--line); padding: 20px; }
.pattern-grid .pattern:nth-child(2n+1) { border-left: 0; padding-left: 0; }
.pattern-grid .pattern:nth-child(2n) { padding-right: 0; }
.future-grid { grid-template-columns: 1fr; }
.future-track { padding: 20px 0; }
.future-track + .future-track { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
.future-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.future-step:nth-child(n) { border-left: 1px solid var(--line); padding: 18px; }
.future-step:nth-child(2n+1) { border-left: 0; padding-left: 0; }
.future-step:nth-child(n+3) { border-top: 1px solid var(--line); }
.future-shared { grid-template-columns: 1fr; gap: 10px; align-items: start; }
.growth-note { align-items: flex-start; flex-direction: column; gap: 14px; }
.maturity-guide { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
.level { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
.level .number { grid-row: 1 / 3; }
.level-intro, .level-facts { grid-column: 2; }
.level-facts { grid-template-columns: 1fr; gap: 12px; }
.level-facts > div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; }
.level-facts dd { margin-top: 0; }
.resource-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-toolbar label:first-child { grid-column: 1 / -1; }
.resource-reset { width: 100%; }
.resource-row-head { display: none; }
.resource-item { grid-template-columns: 72px minmax(0, 1fr) minmax(120px, 0.72fr); gap: 14px 18px; }
.resource-work, .resource-details { grid-column: 1 / -1; }
.resource-cell-label { display: block; }
.resource-detail-grid { gap: 14px 22px; }
.footer-grid { grid-template-columns: 1fr 1fr; }
.loop-stage-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.loop-stage:nth-child(4) { border-left: 0; }
.loop-stage:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (min-width: 561px) and (max-width: 768px) {
.star-history-chart { max-width: 680px; margin-inline: auto; }
}
@media (max-width: 600px) {
.project-links .nav-link:first-child { display: none; }
.project-links { gap: 6px; }
}
@media (max-width: 560px) {
html { scroll-padding-top: 74px; }
.nav { min-height: 64px; gap: 8px; }
.links.open { top: 64px; max-height: calc(100vh - 64px); }
.nav-link { min-height: 44px; padding-inline: 12px; }
.brand { min-width: 0; gap: 8px; }
.brand .logo { width: 28px; height: 28px; }
.brand .brand-text { display: block; font-size: 0.78rem; line-height: 1.1; }
.menu-btn { width: 44px; min-height: 44px; justify-content: center; padding: 0; }
.menu-label { display: none; }
.menu-btn .icon { width: 18px; height: 18px; }
section { padding: 56px 0; }
h1 { font-size: 2.25rem; line-height: 1.08; }
h2 { font-size: 1.85rem; line-height: 1.16; }
.section-label { align-items: flex-start; margin-bottom: 9px; font-size: 0.68rem; line-height: 1.4; }
.section-label .icon { width: 14px; height: 14px; margin-top: 1px; }
.section-head { gap: 12px; margin-bottom: 24px; }
.section-intro { font-size: 0.95rem; }
.contract-need, .contract-layers-head, .contract-example-head { grid-template-columns: 1fr; gap: 8px; }
.contract-need { margin-bottom: 24px; padding: 18px 0; }
.contract-need p { font-size: 0.84rem; line-height: 1.55; }
.contract-layers-head { margin-bottom: 10px; }
.contract-layers { grid-template-columns: 1fr; margin-bottom: 28px; }
.contract-layer:nth-child(n) { border-top: 1px solid var(--line); border-left: 0; padding: 14px 0; }
.contract-layer:first-child { border-top: 0; }
.contract-layer span { margin-top: 4px; }
.contract-phases { grid-template-columns: 1fr; margin-top: 24px; }
.contract-phase:nth-child(n) { border-top: 1px solid var(--line); border-left: 0; padding: 16px 0; }
.contract-phase:first-child { border-top: 0; }
.contract-example { margin-top: 30px; }
.contract-example-head { padding: 18px 0; }
.contract-example-row { grid-template-columns: 1fr; gap: 5px; padding: 13px 0; }
.contract-example-result { align-items: flex-start; flex-direction: column; gap: 9px; padding: 15px 0; }
.hero { min-height: 0; padding: 20px 0 6px; }
.hero-kicker { max-width: 100%; align-items: center; margin: 0 auto 10px; line-height: 1.35; text-align: left; }
.tagline { margin-top: 11px; font-size: 1.18rem; }
.lead { margin-top: 6px; font-size: 0.95rem; line-height: 1.48; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 420px; gap: 8px; margin: 12px auto 0; }
.actions .button { min-width: 0; min-height: 44px; padding-inline: 8px; font-size: 0.82rem; }
.actions .button .icon { width: 16px; height: 16px; }
.hero-system { display: flex; flex-direction: column; margin-top: 8px; }
.scene-head { order: 1; justify-content: center; min-height: 24px; padding: 2px 0; }
.scene-flow { display: none; }
.hero-scene { order: 2; width: 100%; height: 224px; }
.hero-scene canvas { opacity: 1; }
.scene-key { display: none; }
.scene-key-item { justify-content: flex-start; min-width: 0; min-height: 34px; padding: 7px 8px; }
.scene-key-item:nth-child(even) { border-left: 1px solid var(--line); }
.scene-key-item:nth-child(n+3) { border-top: 1px solid var(--line); }
.scene-key-item::before { width: 13px; flex: 0 0 auto; }
.scene-outcomes { order: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; min-height: 34px; padding: 0; font-size: 0.62rem; line-height: 1.3; }
.scene-outcome { justify-content: flex-start; gap: 5px; min-width: 0; padding: 8px 6px; }
.scene-outcome + .scene-outcome { border-left: 1px solid var(--line); }
.scene-outcome::before { width: 6px; height: 6px; flex: 0 0 auto; }
.hero-inspector { order: 3; gap: 8px; padding: 0 0 6px; }
.loop-stage-rail { margin-top: 20px; }
.hero-system .loop-stage-rail { margin: 0; }
.loop-stage { min-height: 44px; padding-inline: 6px; font-size: 0.71rem; }
.loop-stage-number { font-size: 0.61rem; }
.loop-stage-detail { min-height: 40px; margin-top: 8px; font-size: 0.75rem; line-height: 1.45; }
.hero-inspector .loop-stage-detail { min-height: 36px; margin: 0; padding: 4px 8px 0 12px; line-height: 1.42; }
.mental-model { padding: 30px 0 46px; }
.definition { margin-bottom: 18px; font-size: 0.88rem; line-height: 1.55; text-align: left; }
.definition-full { display: none; }
.definition-compact { display: inline; }
.hero-visual { width: min(100%, 420px); }
.hero-visual .desktop-stack-visual { display: none; }
.desktop-stack-scene, .desktop-stack-key { display: none; }
.mobile-stack {
display: block;
border: 1px solid var(--line-strong);
border-radius: 6px;
background: var(--surface);
overflow: hidden;
text-align: left;
}
.mobile-stack-head { padding: 15px 15px 13px; border-bottom: 1px solid var(--line); }
.mobile-stack-eyebrow {
display: block;
color: var(--blue);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.62rem;
font-weight: 650;
text-transform: uppercase;
}
.mobile-stack-head strong { display: block; margin-top: 3px; font-size: 1.12rem; line-height: 1.25; }
.mobile-stack-list { margin: 0; padding: 0; list-style: none; }
.mobile-stack-layer {
display: grid;
grid-template-columns: 30px minmax(0, 1fr);
gap: 10px;
min-width: 0;
padding: 13px 14px 14px 12px;
border-left: 4px solid var(--ink);
}
.mobile-stack-layer + .mobile-stack-layer { border-top: 1px solid var(--line); }
.mobile-stack-layer.loop { border-left-color: var(--blue); background: #eef4ff; }
.mobile-stack-layer.harness { border-left-color: var(--cyan); }
.mobile-stack-layer.context { border-left-color: var(--green); }
.mobile-stack-number {
padding-top: 2px;
color: var(--quiet);
font-family: "IBM Plex Mono", ui-monospace, monospace;
font-size: 0.64rem;
font-weight: 700;
}
.mobile-stack-layer.loop .mobile-stack-number, .mobile-stack-layer.loop strong { color: var(--blue); }
.mobile-stack-layer.harness strong { color: #087f99; }
.mobile-stack-layer.context strong { color: #087b53; }
.mobile-stack-layer strong { display: block; font-size: 0.92rem; line-height: 1.3; }
.mobile-stack-layer p { margin: 3px 0 0; color: var(--muted); font-size: 0.74rem; line-height: 1.45; }
.mobile-stack-note {
margin: 0;
border-top: 1px solid var(--line-strong);
padding: 11px 14px 12px;
color: var(--muted);
font-size: 0.72rem;
line-height: 1.45;
}
.mobile-stack-note strong { color: var(--blue); }
.stats { margin-top: 20px; }
.stat { min-height: 76px; padding: 14px 11px; }
.stat b { font-size: 1.22rem; }
.stat span { font-size: 0.68rem; }
.desktop-diagram { display: none; }
.mobile-diagram { display: block; }
.supporting-visual { display: none; }
.mobile-contract-summary { border-bottom: 1px solid var(--line-strong); }
.mobile-contract-group { padding: 16px 0 0; }
.mobile-contract-group + .mobile-contract-group { margin-top: 14px; border-top: 1px solid var(--line); }
.mobile-contract-group > p { margin-bottom: 9px; border-left: 3px solid var(--blue); padding-left: 9px; }
.mobile-contract-grid { gap: 6px; }
.mobile-contract-part {
grid-template-columns: 28px minmax(0, 1fr);
gap: 7px;
min-height: 48px;
padding: 9px;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface);
}
.mobile-contract-part:nth-child(even) { padding-left: 9px; border-left: 1px solid var(--line); }
.mobile-contract-part span {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
border: 1px solid #b8ccf8;
border-radius: 50%;
color: var(--blue);
background: #eef4ff;
}
.mobile-next-action {
display: grid;
grid-template-columns: 96px minmax(0, 1fr);
gap: 10px;
margin-top: 16px;
border-top: 1px solid #b8ccf8;
border-bottom: 0;
border-left: 3px solid var(--blue);
padding: 13px 12px;
background: #eef4ff;
}
.mobile-next-action span { text-align: left; }
.mobile-lifecycle-summary { border-bottom: 1px solid var(--line-strong); }
.mobile-lifecycle-list { grid-template-columns: 1fr; }
.mobile-lifecycle-list li {
grid-template-columns: 34px minmax(0, 1fr);
gap: 10px;
align-items: center;
min-height: 58px;
padding: 10px 0;
}
.mobile-lifecycle-list li:nth-child(even) { padding-left: 0; border-left: 0; }
.mobile-lifecycle-list span {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border: 1px solid #b8ccf8;
border-radius: 50%;
background: #eef4ff;
}
.mobile-lifecycle-list strong { font-size: 0.91rem; }
.mobile-lifecycle-list small { margin-top: 2px; font-size: 0.73rem; }
.mobile-lifecycle-outcomes { gap: 6px; padding-top: 10px; }
.mobile-lifecycle-outcomes div { padding: 10px 8px 12px; border-top: 2px solid var(--violet); background: var(--surface); }
.mobile-lifecycle-outcomes div:nth-child(2) { border-top-color: #d97706; }
.mobile-lifecycle-outcomes div:nth-child(3) { border-top-color: var(--green); }
.mobile-lifecycle-outcomes div + div { padding-left: 8px; border-left: 1px solid var(--line); }
.mobile-lifecycle-outcomes strong { font-size: 0.76rem; }
.mobile-lifecycle-outcomes span { font-size: 0.67rem; }
.principles { margin-top: 24px; }
.principles, .link-grid, .pattern-grid, .footer-grid { grid-template-columns: 1fr; }
.principle + .principle, .card + .card, .pattern + .pattern { padding-left: 0; }
.principle, .card, .pattern { padding-top: 16px; padding-bottom: 16px; }
.choice-why { grid-template-columns: 1fr; gap: 7px; padding: 18px 0; }
.loop-layer-map { grid-template-columns: 1fr; }
.loop-layer-item { padding: 16px 0; }
.loop-layer-item + .loop-layer-item { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
.choice-why p { font-size: 0.84rem; line-height: 1.55; }
.choice-fit { grid-template-columns: 1fr; margin-bottom: 24px; }
.choice-fit-column { padding: 18px 0; }
.choice-fit-column + .choice-fit-column { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
.choice-steps { grid-template-columns: 1fr; }
.choice-step:nth-child(n) { border-top: 1px solid var(--line); border-left: 0; padding: 16px 0; }
.choice-step:first-child { border-top: 0; }
.choice-sequence { margin-bottom: 22px; }
.filter-row { align-items: stretch; flex-direction: column; gap: 10px; }
.filter-row > a { width: fit-content; margin-left: 0; }
.pattern-grid .pattern:nth-child(n) { min-height: 0; border-left: 0; padding: 17px 0; }
.pattern .outcome { margin-top: 12px; padding-top: 0; }
.future-steps { grid-template-columns: 1fr; }
.future-step:nth-child(n) { border-top: 1px solid var(--line); border-left: 0; padding: 15px 0; }
.future-step:first-child { border-top: 0; }
.growth-note .button { width: 100%; }
.resource-toolbar { grid-template-columns: 1fr; }
.resource-toolbar label:first-child { grid-column: auto; }
.resource-select { padding-inline: 10px; font-size: 0.86rem; }
.resource-reset { font-size: 0.86rem; }
.resource-collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.resource-collection { min-width: 0; min-height: 42px; padding-inline: 4px; font-size: 0.75rem; }
.resource-collection .icon { width: 14px; height: 14px; }
.resource-summary { align-items: stretch; flex-direction: column; gap: 10px; padding: 14px 0; }
.resource-sort { width: 100%; }
.resource-item { grid-template-columns: 1fr; gap: 12px; padding: 17px 0; }
.resource-work, .resource-details { grid-column: auto; }
.resource-year, .resource-publication, .resource-evidence { padding-top: 10px; border-top: 1px solid var(--line); }
.resource-year.is-empty { display: none; }
.resource-detail-grid { grid-template-columns: 1fr; gap: 14px; }
.resource-details summary { min-height: 34px; padding-top: 5px; }
.caption { text-align: left; }
.maturity-guide { grid-template-columns: 1fr; gap: 7px; margin-bottom: 24px; padding: 18px 0; }
.maturity-guide p { font-size: 0.84rem; line-height: 1.55; }
.level { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 20px 0; }
.level-facts { gap: 13px; }
.level-facts > div { grid-template-columns: 1fr; gap: 3px; }
.level-intro p, .level-facts dd { font-size: 0.78rem; }
footer { padding: 44px 0 40px; }
.footer-grid { gap: 26px; }
.cite { overflow: visible; }
.cite pre { min-width: 0; padding: 14px 12px 48px; font-size: 0.66rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.legal { margin-top: 26px; }
}
@media (min-width: 360px) and (max-width: 560px) {
.resource-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-toolbar label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 340px) {
h1 { font-size: 2.2rem; }
.brand .brand-text { display: none; }
.project-links .nav-label { display: none; }
.project-links .nav-link { width: 44px; padding: 0; }
.hero { padding-bottom: 8px; }
.hero-system { margin-top: 16px; }
.scene-head { min-height: 28px; padding-block: 4px; }
.hero-scene { height: 218px; }
.scene-key { min-height: 52px; font-size: 0.58rem; }
.scene-outcomes { min-height: 30px; padding-block: 3px; font-size: 0.56rem; }
.hero-inspector .loop-stage-detail { min-height: 34px; font-size: 0.72rem; }
.mental-model { padding-top: 8px; }
.actions .button { font-size: 0.78rem; }
.mobile-stack-layer { padding-right: 11px; padding-left: 9px; }
.mobile-stack-layer p { font-size: 0.71rem; }
.resource-collection { gap: 4px; font-size: 0.68rem; }
.resource-collection .icon { width: 13px; height: 13px; }
.menu-btn { padding-inline: 10px; }
.nav-link { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.pattern { transition: none; }
}
@media (forced-colors: active) {
.hero-scene { display: none; }
}
@media print {
header.site, .menu-btn, .actions, .copy, .pattern-filter, .resource-toolbar, .resource-collections, .resource-summary, .resource-actions, .hero-scene { display: none; }
body, footer { background: #fff; }
section { padding: 24pt 0; break-inside: avoid; }
.wrap { width: 100%; }
}
</style>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "CollectionPage",
"name": "Awesome Loop Engineering",
"url": "https://chaoyue0307.github.io/awesome-loop-engineering/",
"description": "A practical field guide and implementation kit for recurring, stateful, verified AI-agent systems.",
"keywords": ["Loop Engineering", "AI agents", "Coding agents", "Agent workflows", "Agentic loops"],
"datePublished": "2026-06-10",
"dateModified": "2026-08-07",
"sameAs": [
"https://github.com/ChaoYue0307/awesome-loop-engineering",
"https://huggingface.co/datasets/cy0307/awesome-loop-engineering"
],
"license": "https://creativecommons.org/publicdomain/zero/1.0/",
"image": "https://chaoyue0307.github.io/awesome-loop-engineering/assets/social-preview-937-v10.png",
"logo": "https://chaoyue0307.github.io/awesome-loop-engineering/assets/awesome-loop-engineering-logo.png",
"author": { "@type": "Person", "name": "Chaoyue He" }
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is loop engineering?",
"acceptedAnswer": { "@type": "Answer", "text": "Loop Engineering is the practice of designing recurring AI-agent and coding-agent systems that discover work, delegate it, verify results, persist state, decide next actions, and run again." }
},
{
"@type": "Question",
"name": "How is loop engineering different from prompt, context, and harness engineering?",
"acceptedAnswer": { "@type": "Answer", "text": "Prompt, context, and harness engineering improve one run. Loop engineering governs how agent work repeats, verifies, persists state, and escalates over time." }
},
{
"@type": "Question",
"name": "When should you use an agent loop?",
"acceptedAnswer": { "@type": "Answer", "text": "Use a loop when work recurs, external evidence can verify progress, useful state should persist, actions and budgets can be bounded, and a human owner can handle exceptions. Prefer a supervised run for one-off or mainly subjective work." }
},
{
"@type": "Question",
"name": "What is in a loop contract?",
"acceptedAnswer": { "@type": "Answer", "text": "A Loop Contract is a reviewable operating specification for one recurring agent job. It fixes the objective, trigger, intake, workspace and permissions, context, roles, external verification, durable state, budget, escalation path, and success or blocked exit so repeated runs do not rely on hidden defaults." }
},
{
"@type": "Question",
"name": "Does every agent loop need to reach the highest maturity level?",
"acceptedAnswer": { "@type": "Answer", "text": "No. Choose the lowest level that meets the job's continuity, evidence, and blast-radius requirements. Many useful workflows should stop at Level 2 or 3. Persist state before increasing autonomy, add external verification before more agents, and reserve production supervision for workflows with production impact." }
},
{
"@type": "Question",
"name": "Which runtimes can run agent loops?",
"acceptedAnswer": { "@type": "Answer", "text": "A loop can run as a Claude Code loop or scheduled task, a Codex automation, a GitHub agentic workflow, a shell or cron wrapper, or a durable-execution runtime." }
}
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dataset",
"name": "Awesome Loop Engineering resources",
"description": "Explore 937 resources across model, agent, harness, workflow, operations, and evaluation layers, with publication, contribution, novelty, impact, and evidence fields.",
"url": "https://chaoyue0307.github.io/awesome-loop-engineering/",
"sameAs": [
"https://huggingface.co/datasets/cy0307/awesome-loop-engineering",
"https://github.com/ChaoYue0307/awesome-loop-engineering"
],
"identifier": "https://huggingface.co/datasets/cy0307/awesome-loop-engineering",
"version": "0.10.0",
"license": "https://creativecommons.org/publicdomain/zero/1.0/",
"isAccessibleForFree": true,
"creator": { "@type": "Person", "name": "Chaoyue He" },
"datePublished": "2026-06-10",
"dateModified": "2026-08-07",
"keywords": ["Loop Engineering", "AI agents", "Coding agents", "Agent reliability", "Agent evaluation"],
"includedInDataCatalog": {
"@type": "DataCatalog",
"name": "Hugging Face Hub",
"url": "https://huggingface.co/datasets"
},
"distribution": [
{
"@type": "DataDownload",
"encodingFormat": "text/csv",
"contentUrl": "https://raw.githubusercontent.com/ChaoYue0307/awesome-loop-engineering/main/data/resources.csv"
},
{
"@type": "DataDownload",
"encodingFormat": "application/jsonlines",
"contentUrl": "https://raw.githubusercontent.com/ChaoYue0307/awesome-loop-engineering/main/data/resources.jsonl"
}
]
}
</script>
</head>
<body>
<noscript>
<style>
.links { display: flex !important; flex-wrap: wrap; }
.menu-btn, .copy, .pattern-filter { display: none !important; }
</style>
</noscript>
<a class="skip" href="#main">Skip to content</a>
<header class="site">
<div class="wrap nav">
<a class="brand" href="#top" aria-label="Awesome Loop Engineering, back to top">
<img class="logo" src="assets/awesome-loop-engineering-logo.png" alt="" width="32" height="32">
<span class="brand-text">Loop Engineering</span>
</a>
<nav class="links" id="primary-nav" aria-label="Primary">
<a href="#contract">Contract</a>
<a href="#lifecycle">Lifecycle</a>
<a href="#choose">Patterns</a>
<a href="#runtimes">Runtimes</a>
<a href="#maturity">Maturity</a>
<a href="#resources">Resources</a>
<a href="#future">Future</a>
<a href="#faq">FAQ</a>
<a class="mobile-nav-only" href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering"><i class="icon" data-lucide="database" aria-hidden="true"></i>Dataset</a>
</nav>
<span class="spacer"></span>
<button class="menu-btn" type="button" aria-expanded="false" aria-controls="primary-nav" aria-label="Open navigation"><i class="icon menu-icon-open" data-lucide="menu" aria-hidden="true"></i><i class="icon menu-icon-close" data-lucide="x" aria-hidden="true"></i><span class="menu-label">Menu</span></button>
<nav class="project-links" aria-label="Project links">
<a class="nav-link" href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering"><i class="icon" data-lucide="database" aria-hidden="true"></i>Dataset</a>
<a class="nav-link primary" href="https://github.com/ChaoYue0307/awesome-loop-engineering" aria-label="Open the GitHub repository"><i class="icon" data-lucide="code-2" aria-hidden="true"></i><span class="nav-label">GitHub</span></a>
</nav>
</div>
</header>
<main id="main" tabindex="-1">
<section class="hero" id="top">
<div class="wrap">
<div class="hero-copy">
<p class="section-label hero-kicker"><i class="icon" data-lucide="repeat-2" aria-hidden="true"></i><span>Field guide for recurring agent systems</span></p>
<h1>Awesome Loop Engineering</h1>
<p class="tagline">Design loops, not just prompts.</p>
<p class="lead">Explore 937 resources from model recurrence to agent operations, then build with 22 patterns, 22 adaptable contracts, and 8 runtime starters.</p>
<div class="actions">
<a class="button primary" href="https://github.com/ChaoYue0307/awesome-loop-engineering#readme"><i class="icon" data-lucide="book-open" aria-hidden="true"></i>Explore resources</a>
<a class="button" href="#choose"><i class="icon" data-lucide="compass" aria-hidden="true"></i>Choose a loop</a>
</div>
</div>
<div class="hero-system">
<div class="scene-head" aria-hidden="true">
<strong>Bounded agent loop</strong>
<span class="scene-flow"><span>Work</span><i>→</i><span>Scope</span><i>→</i><span>Agent + tools</span><i>→</i><span>Evidence</span><i>→</i><span>Memory</span><i>→</i><span>Decision</span></span>
</div>
<div class="hero-scene" data-loop-scene role="img" aria-label="Animated bounded agent loop. Work is scoped by an orchestrator, handled by an agent inside a controlled workspace with context and tools, checked by an independent verifier, saved to durable memory, and routed to retry, human handoff, or verified exit.">
<div class="scene-fallback">Work is scoped, handled by an agent with context and tools, independently verified, saved to durable memory, and routed to retry, human handoff, or verified exit.</div>
</div>
<div class="scene-key" aria-label="Agent runtime visual key">
<span class="scene-key-item packet">Scoped work</span>
<span class="scene-key-item agents">Agent workspace + tools</span>
<span class="scene-key-item evidence">Independent verifier</span>
<span class="scene-key-item state">Durable memory</span>
</div>
<div class="scene-outcomes" aria-label="Possible loop outcomes">
<span class="scene-outcome retry">Retry with evidence</span>
<span class="scene-outcome escalate">Escalate to a human</span>
<span class="scene-outcome exit">Exit on a verified goal</span>
</div>
<div class="hero-inspector">
<div class="loop-stage-rail" role="group" aria-label="Inspect the loop lifecycle">
<button class="loop-stage" type="button" data-loop-stage="0" aria-pressed="true"><span class="loop-stage-number">01</span><span>Intake</span></button>
<button class="loop-stage" type="button" data-loop-stage="1" aria-pressed="false"><span class="loop-stage-number">02</span><span>Delegate</span></button>
<button class="loop-stage" type="button" data-loop-stage="2" aria-pressed="false"><span class="loop-stage-number">03</span><span>Act</span></button>
<button class="loop-stage" type="button" data-loop-stage="3" aria-pressed="false"><span class="loop-stage-number">04</span><span>Verify</span></button>
<button class="loop-stage" type="button" data-loop-stage="4" aria-pressed="false"><span class="loop-stage-number">05</span><span>Persist</span></button>
<button class="loop-stage" type="button" data-loop-stage="5" aria-pressed="false"><span class="loop-stage-number">06</span><span>Decide</span></button>
</div>
<p class="loop-stage-detail" id="loop-stage-detail" aria-live="polite"><strong>Intake:</strong> turn a goal, event, or queue signal into a bounded work packet.</p>
</div>
</div>
</div>
</section>
<section class="mental-model" aria-label="Loop Engineering mental model">
<div class="wrap">
<p class="definition"><span class="definition-full"><strong>Loop Engineering</strong> is the practice of designing recurring systems that discover work, delegate it to agents, verify results, persist state, decide next actions, and run again on a cadence, event, or until a verifiable goal is reached.</span><span class="definition-compact"><strong>Loop Engineering</strong> designs recurring agent systems that discover work, delegate it, verify results, persist state, and decide what happens next.</span></p>
<figure class="hero-visual">
<div class="desktop-stack-scene" data-stack-scene role="img" aria-label="Interactive engineering stack. A prompt shapes a model call, context feeds the agent, a harness surrounds the run with tools and permissions, and Loop Engineering connects triggers, independent verification, durable state, budgets, and next actions over time.">
<img class="desktop-stack-visual" src="assets/loop-engineering-stack.svg?v=7" width="1200" height="680" loading="lazy" alt="">
</div>
<div class="desktop-stack-key" aria-hidden="true">
<span><strong>One agent run:</strong> prompt, context, and harness shape what the agent can understand and do.</span>
<span><strong>Work over time:</strong> the outer loop triggers work, verifies evidence, persists state, and chooses the next action.</span>
</div>
<div class="mobile-stack" role="img" aria-label="Four engineering layers. Prompt, context, and harness engineering improve one agent run. Loop Engineering governs recurring work over time.">
<div class="mobile-stack-head"><span class="mobile-stack-eyebrow">Mental model / four layers</span><strong>Loop Engineering Stack</strong></div>
<ol class="mobile-stack-list">
<li class="mobile-stack-layer loop"><span class="mobile-stack-number">04</span><div><strong>Loop Engineering</strong><p>Governs the recurring contract, verification, state, budget, and next action over time.</p></div></li>
<li class="mobile-stack-layer harness"><span class="mobile-stack-number">03</span><div><strong>Harness Engineering</strong><p>Provides tools, permissions, sandboxes, traces, and checks around one run.</p></div></li>
<li class="mobile-stack-layer context"><span class="mobile-stack-number">02</span><div><strong>Context Engineering</strong><p>Loads the state, memory, documents, and examples the agent can see.</p></div></li>
<li class="mobile-stack-layer prompt"><span class="mobile-stack-number">01</span><div><strong>Prompt Engineering</strong><p>Defines the instruction and interaction for one model call.</p></div></li>
</ol>
<p class="mobile-stack-note">The first three layers improve <strong>one run</strong>. Loop Engineering governs <strong>work over time</strong>.</p>
</div>
</figure>
<div class="stats" role="list" aria-label="Field guide at a glance">
<div class="stat" role="listitem"><b><i class="icon" data-lucide="library" aria-hidden="true"></i>937</b><span>resources</span></div>
<div class="stat" role="listitem"><b><i class="icon" data-lucide="blocks" aria-hidden="true"></i>20</b><span>operational patterns</span></div>
<div class="stat" role="listitem"><b><i class="icon" data-lucide="file-check-2" aria-hidden="true"></i>20</b><span>loop contracts</span></div>
<div class="stat" role="listitem"><b><i class="icon" data-lucide="play" aria-hidden="true"></i>8</b><span>runtime starters</span></div>
<div class="stat" role="listitem"><b><i class="icon" data-lucide="languages" aria-hidden="true"></i>8</b><span>languages</span></div>
</div>
</div>
</section>
<section id="contract">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="file-check-2" aria-hidden="true"></i><span>01 / The loop contract</span></p>
<h2>Make recurring agent work reviewable before it runs.</h2>
</div>
<p class="section-intro">A <strong>Loop Contract</strong> is the operating specification for one recurring agent job. It records what authorizes a run, what the agent may change, what evidence counts, what survives, and when a human takes over.</p>
</div>
<div class="contract-need">
<h3>Why it is necessary</h3>
<p>In a supervised session, a person supplies missing judgment as the work unfolds. Once a schedule, event, queue, or goal starts the agent, every unanswered question becomes a hidden default. The loop may select the wrong work, widen its scope, approve its own output, forget a failed attempt, or retry without a stopping rule. The contract turns those defaults into policy that builders, reviewers, security teams, and operators can inspect together.</p>
</div>
<div class="contract-layers-head">
<h3>Four layers, four jobs</h3>
<p>The contract connects run-level ingredients to a repeatable operating model.</p>
</div>
<div class="contract-layers" aria-label="Difference between prompts, patterns, contracts, and runtimes">
<div class="contract-layer"><strong>Prompt</strong><span>Instructs the model during one call or run.</span></div>
<div class="contract-layer"><strong>Pattern</strong><span>Describes how a class of recurring work should operate.</span></div>
<div class="contract-layer contract-policy"><strong>Contract</strong><span>Fixes the exact permissions, gates, memory, budget, and handoff.</span></div>
<div class="contract-layer"><strong>Runtime</strong><span>Executes that contract in a session, workflow, or durable worker.</span></div>
</div>
<figure class="diagram desktop-diagram">
<div class="diagram-scroll"><img src="assets/loop-contract-cards.svg" width="1200" height="720" loading="lazy" alt="Loop Contract: objective, trigger, intake, workspace, context, delegation, verification, state, budget, escalation, exit, and next action."></div>
<figcaption class="caption">Eleven explicit decisions replace hidden defaults; next action closes the control loop.</figcaption>
</figure>
<div class="mobile-diagram mobile-contract-summary" aria-label="Loop Contract parts grouped into setup, run, and govern">
<div class="mobile-contract-group">
<p>01 / Set up</p>
<div class="mobile-contract-grid">
<div class="mobile-contract-part"><span>01</span><strong>Objective</strong></div>
<div class="mobile-contract-part"><span>02</span><strong>Trigger</strong></div>
<div class="mobile-contract-part"><span>03</span><strong>Intake</strong></div>
<div class="mobile-contract-part"><span>04</span><strong>Workspace</strong></div>
</div>
</div>
<div class="mobile-contract-group">
<p>02 / Run</p>
<div class="mobile-contract-grid">
<div class="mobile-contract-part"><span>05</span><strong>Context</strong></div>
<div class="mobile-contract-part"><span>06</span><strong>Delegation</strong></div>
<div class="mobile-contract-part"><span>07</span><strong>Verification</strong></div>
<div class="mobile-contract-part"><span>08</span><strong>State</strong></div>
</div>
</div>
<div class="mobile-contract-group">
<p>03 / Govern + close</p>
<div class="mobile-contract-grid">
<div class="mobile-contract-part"><span>09</span><strong>Budget</strong></div>
<div class="mobile-contract-part"><span>10</span><strong>Escalation</strong></div>
<div class="mobile-contract-part"><span>11</span><strong>Exit</strong></div>
</div>
</div>
<p class="mobile-next-action"><strong>Next action</strong><span>Repeat, report, escalate, or stop.</span></p>
</div>
<div class="contract-phases" aria-label="How to read a Loop Contract">
<div class="contract-phase">
<span class="contract-phase-label">01 / Set up</span>
<h3>Authorize the right work</h3>
<p>Name the outcome, trigger, intake rule, and isolated workspace before any tool acts.</p>
<small>Objective · Trigger · Intake · Workspace</small>
</div>
<div class="contract-phase">
<span class="contract-phase-label">02 / Run</span>
<h3>Act, prove, and remember</h3>
<p>Load current evidence, separate acting from checking, verify externally, and persist receipts.</p>
<small>Context · Delegation · Verification · State</small>
</div>
<div class="contract-phase">
<span class="contract-phase-label">03 / Govern + close</span>
<h3>Bound autonomy</h3>
<p>Cap retries and spend, assign a human owner, and define success and blocked exits.</p>
<small>Budget · Escalation · Exit · Next action</small>
</div>
</div>
<div class="contract-example">
<div class="contract-example-head">
<h3>Worked example: PR babysitter</h3>
<p>“Keep this pull request moving” is only a goal. The contract below turns it into a bounded job that can run without someone polling CI and review threads all day.</p>
</div>
<div class="contract-example-row"><strong>Trigger + intake</strong><p>Run every two hours during working hours and after requested changes or failed checks. Select only explicit blockers on one pull request.</p></div>
<div class="contract-example-row"><strong>Permission boundary</strong><p>Use a dedicated branch or worktree. Allow narrow fixes, checks, and progress comments; prohibit force pushes, dependency upgrades, secrets, and production changes.</p></div>
<div class="contract-example-row"><strong>Team + context</strong><p>An explorer finds the smallest blocker, an implementer patches it, and a reviewer checks scope using the latest SHA, review threads, CI logs, and repository instructions.</p></div>
<div class="contract-example-row"><strong>Evidence + memory</strong><p>Required checks must pass, threads must be resolved, and the diff must stay narrow. Commands, check URLs, changed files, blockers, and the next action survive every run.</p></div>
<div class="contract-example-row"><strong>Budget + handoff</strong><p>Stop after three retries or 60 minutes. Escalate architecture, repeated failure, reviewer disagreement, or any force-push requirement to the human owner.</p></div>
<div class="contract-example-result">
<p>Done means merge-ready or waiting only on human review - not “the agent says it is done.”</p>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/pr-babysitter-loop.json">Open the full JSON contract →</a>
</div>
</div>
<div class="principles">
<div class="principle"><h3><i class="icon" data-lucide="badge-check" aria-hidden="true"></i>Verifiable by design</h3><p>Tests, typechecks, evals, traces, or reviewers decide done. The acting agent never approves itself.</p></div>
<div class="principle"><h3><i class="icon" data-lucide="database" aria-hidden="true"></i>State outside the model</h3><p>Progress files, issues, checkpoints, and traces survive context resets and the next run.</p></div>
<div class="principle"><h3><i class="icon" data-lucide="timer" aria-hidden="true"></i>Budgeted and bounded</h3><p>Retries, runtime, and concurrency are capped, with a clear path to human judgment.</p></div>
</div>
</div>
</section>
<section id="lifecycle">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="repeat-2" aria-hidden="true"></i><span>02 / The lifecycle</span></p>
<h2>Evidence moves the loop forward.</h2>
</div>
<p class="section-intro">Tests, evals, traces, or reviewers gate the work. Evidence and state persist outside the model, then drive retry, escalation, or exit.</p>
</div>
<figure class="diagram desktop-diagram">
<div class="diagram-scroll"><img src="assets/loop-lifecycle.svg" width="1240" height="560" loading="lazy" alt="Loop Engineering lifecycle: Intake, Delegate, Act, Verify, Persist, Decide; then retry with evidence, escalate to a human, or exit when the goal is met."></div>
<figcaption class="caption">One pass of a recurring, stateful, verified loop.</figcaption>
</figure>
<div class="mobile-diagram mobile-lifecycle-summary" aria-label="Six-stage Loop Engineering lifecycle">
<ol class="mobile-lifecycle-list">
<li><span>01</span><div><strong>Intake</strong><small>Capture bounded work.</small></div></li>
<li><span>02</span><div><strong>Delegate</strong><small>Route it to an agent.</small></div></li>
<li><span>03</span><div><strong>Act</strong><small>Work in isolation.</small></div></li>
<li><span>04</span><div><strong>Verify</strong><small>Gate with evidence.</small></div></li>
<li><span>05</span><div><strong>Persist</strong><small>Save state and receipts.</small></div></li>
<li><span>06</span><div><strong>Decide</strong><small>Choose the next action.</small></div></li>
</ol>
<div class="mobile-lifecycle-outcomes">
<div><strong>Retry</strong><span>Feed back evidence</span></div>
<div><strong>Escalate</strong><span>Hand off judgment</span></div>
<div><strong>Exit</strong><span>Close a verified goal</span></div>
</div>
</div>
</div>
</section>
<section id="choose">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="blocks" aria-hidden="true"></i><span>03 / Pattern library</span></p>
<h2>Choose the control policy, not the model.</h2>
</div>
<p class="section-intro">The same agent can repair CI, monitor a rollout, or test a system adversarially. The right loop defines the different trigger, permissions, proof, memory, budget, and human owner each job requires.</p>
</div>
<div class="choice-why">
<h3>Why selection matters</h3>
<p>A generic "keep trying" loop can retry a judgment call, let the acting model approve itself, forget evidence between runs, or take write actions where observation and escalation are safer. A pattern gives a recurring job a reviewable operating policy before you adapt the exact contract.</p>
</div>
<div class="choice-fit">
<div class="choice-fit-column">
<h3 class="choice-fit-label"><i class="icon" data-lucide="repeat-2" aria-hidden="true"></i>Use a loop when</h3>
<ul>
<li>Work returns through a schedule, event, queue, or recurring condition.</li>
<li>An external check can prove progress or completion.</li>
<li>State, permissions, retries, cost, and human handoff can be bounded.</li>
</ul>
</div>
<div class="choice-fit-column">
<h3 class="choice-fit-label"><i class="icon" data-lucide="timer" aria-hidden="true"></i>Use one supervised run when</h3>
<ul>
<li>The task is genuinely one-off.</li>
<li>Completion depends mainly on open-ended human judgment.</li>
<li>No safe permission boundary or useful persistent state can be defined.</li>
</ul>
</div>
</div>
<div class="choice-steps" aria-label="Four decisions for choosing an agent loop">
<div class="choice-step"><span class="number">01</span><strong>Name the recurring job</strong><p>Identify the signal that returns and the outcome that should improve.</p></div>
<div class="choice-step"><span class="number">02</span><strong>Define proof</strong><p>Name evidence a machine or reviewer can inspect to decide pass.</p></div>
<div class="choice-step"><span class="number">03</span><strong>Bound action</strong><p>Set readable and writable scope, non-goals, retries, time, and cost.</p></div>
<div class="choice-step"><span class="number">04</span><strong>Plan the next pass</strong><p>Decide what persists, retries, escalates, or exits after each result.</p></div>
</div>
<p class="choice-sequence"><strong>Pattern → contract → runtime.</strong> Select the operating model below, adapt its schema-checked contract to your environment, then choose where it runs based on persistence, isolation, and permissions.</p>
<div class="filter-row">
<input type="search" id="pattern-filter" class="pattern-filter" placeholder="Filter patterns by keyword..." aria-label="Filter patterns by keyword" autocomplete="off">
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/MATRIX.md">Compare every contract field →</a>
</div>
<p id="pattern-filter-empty" class="filter-empty" hidden>No pattern matches that keyword. <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/MATRIX.md">Browse the full matrix</a>.</p>
<div class="pattern-grid" id="pattern-grid">
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/pr-babysitter.md"><span class="category">Build & maintain</span><span class="sym">"My PR is stuck"</span><span class="name">PR babysitter</span><span class="outcome"><strong>Done when:</strong> checks pass, review threads resolve, and merge state is current.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/ci-repair-loop.md"><span class="category">Build & maintain</span><span class="sym">"CI keeps failing"</span><span class="name">CI repair loop</span><span class="outcome"><strong>Done when:</strong> the original failing command passes with a scoped patch.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/docs-drift-collector.md"><span class="category">Build & maintain</span><span class="sym">"The docs may be stale"</span><span class="name">Docs drift collector</span><span class="outcome"><strong>Done when:</strong> verified mismatches are patched and examples still run.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/dependency-triage-loop.md"><span class="category">Build & maintain</span><span class="sym">"Updates pile up"</span><span class="name">Dependency triage loop</span><span class="outcome"><strong>Done when:</strong> safe updates pass tests and risky upgrades have an owner.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/bug-hunting-loop.md"><span class="category">Build & maintain</span><span class="sym">"Bugs need systematic discovery"</span><span class="name">Bug hunting loop</span><span class="outcome"><strong>Done when:</strong> each accepted finding has a reproduction or failing test.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/release-note-loop.md"><span class="category">Build & maintain</span><span class="sym">"Release notes are a chore"</span><span class="name">Release-note loop</span><span class="outcome"><strong>Done when:</strong> every shipped change maps to a source and audience note.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/deploy-verifier.md"><span class="category">Operate & observe</span><span class="sym">"A deploy needs monitoring"</span><span class="name">Deploy verifier</span><span class="outcome"><strong>Done when:</strong> synthetic checks and rollout thresholds remain within policy.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/incident-response-loop.md"><span class="category">Operate & observe</span><span class="sym">"An incident just paged"</span><span class="name">Incident response loop</span><span class="outcome"><strong>Done when:</strong> impact, evidence, timeline, and accountable owner are recorded.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/data-quality-loop.md"><span class="category">Operate & observe</span><span class="sym">"A dataset keeps drifting"</span><span class="name">Data-quality loop</span><span class="outcome"><strong>Done when:</strong> hard quality rules pass before a version is promoted.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/cost-control-loop.md"><span class="category">Operate & observe</span><span class="sym">"Agent spend is rising"</span><span class="name">Cost-control loop</span><span class="outcome"><strong>Done when:</strong> spend falls on comparable work without quality regression.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/model-routing-loop.md"><span class="category">Operate & observe</span><span class="sym">"Model choice is ad hoc"</span><span class="name">Model-routing loop</span><span class="outcome"><strong>Done when:</strong> routing meets quality, latency, privacy, and cost tolerances.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/performance-regression-loop.md"><span class="category">Operate & observe</span><span class="sym">"Performance regressed"</span><span class="name">Performance regression loop</span><span class="outcome"><strong>Done when:</strong> a controlled benchmark confirms recovery and correctness.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/feedback-clusterer.md"><span class="category">Learn & optimize</span><span class="sym">"Feedback is noisy"</span><span class="name">Feedback clusterer</span><span class="outcome"><strong>Done when:</strong> themes cite sources and separate frequency from severity.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/evaluation-regression-loop.md"><span class="category">Learn & optimize</span><span class="sym">"Agent evals regressed"</span><span class="name">Evaluation regression loop</span><span class="outcome"><strong>Done when:</strong> targeted evals return to baseline without scorer changes.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/benchmark-optimization-loop.md"><span class="category">Learn & optimize</span><span class="sym">"A stable system should improve"</span><span class="name">Benchmark optimization loop</span><span class="outcome"><strong>Done when:</strong> repeated measurements improve with protected metrics intact.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/knowledge-freshness-loop.md"><span class="category">Learn & optimize</span><span class="sym">"The agent's knowledge is stale"</span><span class="name">Knowledge freshness loop</span><span class="outcome"><strong>Done when:</strong> the corpus passes provenance, freshness, retrieval, and leakage gates.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/security-review-loop.md"><span class="category">Govern & protect</span><span class="sym">"Sensitive changes need review"</span><span class="name">Security review loop</span><span class="outcome"><strong>Done when:</strong> findings cite evidence and approval boundaries stay intact.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/enterprise-approval-loop.md"><span class="category">Govern & protect</span><span class="sym">"A change needs sign-off"</span><span class="name">Enterprise approval loop</span><span class="outcome"><strong>Done when:</strong> every gate has a recorded human decision and audit trail.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/accessibility-regression-loop.md"><span class="category">Govern & protect</span><span class="sym">"Accessibility checks failed"</span><span class="name">Accessibility regression loop</span><span class="outcome"><strong>Done when:</strong> the exact regression is fixed and human criteria are approved.</span></a>
<a class="pattern" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/adversarial-red-team-loop.md"><span class="category">Govern & protect</span><span class="sym">"The agent needs adversarial testing"</span><span class="name">Adversarial red-team loop</span><span class="outcome"><strong>Done when:</strong> findings are reproduced, minimized, reported, and regression-tested.</span></a>
</div>
</div>
</section>
<section id="runtimes">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="wrench" aria-hidden="true"></i><span>04 / Where loops run</span></p>
<h2>Pick the runtime deliberately.</h2>
</div>
<p class="section-intro">Five adaptable templates cover sessions, schedules, worktrees, Actions, and cron. Three executables demonstrate test repair, threshold monitoring, and idempotent queue work. The <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/meta/RUNTIME_SELECTION.md">runtime selection guide</a> compares persistence, file access, isolation, and permissions.</p>
</div>
<figure class="diagram supporting-visual">
<div class="diagram-scroll"><img src="assets/loop-runtime-map.png" width="1666" height="944" loading="lazy" alt="Runtime map progressing from a nearby session to a local desktop schedule, isolated CI and cloud execution, and a recoverable durable worker."></div>
<figcaption class="caption">Keep the contract stable; change the trigger, isolation, and permission wiring.</figcaption>
</figure>
<div class="link-grid">
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/claude-loop.md"><span class="runtime-kind">Adaptable template</span><h3><i class="icon" data-lucide="keyboard" aria-hidden="true"></i>Claude Code <code>/loop</code></h3><p>Use while present in a coding session; repeat a bounded command and keep progress in a file.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/claude-desktop-scheduled-task.md"><span class="runtime-kind">Adaptable template</span><h3><i class="icon" data-lucide="clock-3" aria-hidden="true"></i>Desktop scheduled task</h3><p>Use when local files need a schedule, a last-run marker, and missed-run guardrails.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/codex-automation.md"><span class="runtime-kind">Adaptable template</span><h3><i class="icon" data-lucide="bot" aria-hidden="true"></i>Codex automation</h3><p>Use for isolated background repository work with declared checks and reviewable receipts.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/github-agentic-workflow.md"><span class="runtime-kind">Adaptable template</span><h3><i class="icon" data-lucide="badge-check" aria-hidden="true"></i>GitHub agentic workflow</h3><p>Use when GitHub events or cron should produce issues, artifacts, or pull requests.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/shell-cron-loop.md"><span class="runtime-kind">Adaptable template</span><h3><i class="icon" data-lucide="terminal" aria-hidden="true"></i>Shell / cron</h3><p>Use when an existing agent CLI only needs OS scheduling, locks, and a progress file.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/test-repair-loop.sh"><span class="runtime-kind executable">Executable</span><h3><i class="icon" data-lucide="play" aria-hidden="true"></i>Test repair</h3><p>Run a failing command, delegate its evidence, and stop only when that same external check passes.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/threshold-monitor-loop.sh"><span class="runtime-kind executable">Executable</span><h3><i class="icon" data-lucide="chart-no-axes-combined" aria-hidden="true"></i>Threshold monitor</h3><p>Poll a metric, persist samples, and escalate on a breached boundary without auto-remediation.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/queue-worker-loop.py"><span class="runtime-kind executable">Executable</span><h3><i class="icon" data-lucide="file-check-2" aria-hidden="true"></i>Queue worker</h3><p>Process bounded JSONL work items with external verification and durable receipts.</p></a>
</div>
</div>
</section>
<section id="maturity">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="chart-no-axes-combined" aria-hidden="true"></i><span>05 / Maturity model</span></p>
<h2>Use the smallest loop that can do the job.</h2>
</div>
<p class="section-intro">The level describes how one workflow is triggered, remembered, verified, divided, and supervised. It measures operating capability, not model intelligence or product prestige.</p>
</div>
<div class="maturity-guide">
<h3>Read capability, not ambition.</h3>
<div>
<p>Start with the recurring outcome, evidence, risk, and human owner. Move up only when the current level produces a repeated failure or cannot meet an operating requirement; every added level brings more code, permissions, observability, and maintenance.</p>
<p><strong>Build in order:</strong> durable state before longer unattended runs, external verification before more agents, and production controls before the loop can affect users or infrastructure.</p>
</div>
</div>
<figure class="diagram supporting-visual">
<div class="diagram-scroll"><img src="assets/loop-maturity-model.png" width="1667" height="944" loading="lazy" alt="Loop Maturity Model progressing from manual prompting through scripted retry, scheduled, stateful, self-verifying, multi-agent, and production-supervised loops."></div>
<figcaption class="caption">Levels are cumulative capabilities. Many useful workflows should stop at Level 2 or 3.</figcaption>
</figure>
<div class="levels" aria-label="Seven loop maturity levels">
<article class="level">
<span class="number">00</span>
<div class="level-intro"><h3>Manual prompting</h3><p>A person holds the state, supplies each next instruction, and judges the result.</p></div>
<dl class="level-facts"><div><dt>Why</dt><dd>Keeps one-off, ambiguous, or high-judgment work under direct supervision.</dd></div><div><dt>Example</dt><dd>A developer asks an agent to fix one failing test, reviews the diff, and decides whether to continue.</dd></div><div><dt>Progress signal</dt><dd>The same task and feedback sequence recur often enough to encode.</dd></div></dl>
</article>
<article class="level">
<span class="number">01</span>
<div class="level-intro"><h3>Scripted retry</h3><p>A bounded wrapper reruns one agent and feeds back an external failure.</p></div>
<dl class="level-facts"><div><dt>Why</dt><dd>Removes repetitive reprompting while preserving one objective and one feedback signal.</dd></div><div><dt>Example</dt><dd>Run <code>pytest</code> and return its failure output for at most three repair attempts.</dd></div><div><dt>Progress signal</dt><dd>The job should start from a schedule or event without a person launching it.</dd></div></dl>
</article>
<article class="level">
<span class="number">02</span>
<div class="level-intro"><h3>Scheduled loop</h3><p>A schedule or event triggers fresh intake, one bounded run, and a report or artifact.</p></div>
<dl class="level-facts"><div><dt>Why</dt><dd>Removes manual launch and makes cadence, idempotence, and no-work exits explicit.</dd></div><div><dt>Example</dt><dd>A nightly docs-drift scan reports only when code and documentation disagree.</dd></div><div><dt>Progress signal</dt><dd>Work spans runs, repeats items, or loses context between invocations.</dd></div></dl>
</article>
<article class="level">
<span class="number">03</span>
<div class="level-intro"><h3>Stateful loop</h3><p>Durable checkpoints and receipts record completed work, blockers, evidence, and the next action.</p></div>
<dl class="level-facts"><div><dt>Why</dt><dd>Survives restarts, avoids duplicate work, and makes every run resumable and inspectable.</dd></div><div><dt>Example</dt><dd>A feedback clusterer stores processed IDs, prior themes, and the last successful checkpoint.</dd></div><div><dt>Progress signal</dt><dd>Stable external evidence can decide whether a transition or completion is valid.</dd></div></dl>
</article>
<article class="level">
<span class="number">04</span>
<div class="level-intro"><h3>Self-verifying loop</h3><p>Tests, evals, policy checks, traces, or an independent evaluator gate progress and exit.</p></div>
<dl class="level-facts"><div><dt>Why</dt><dd>Replaces the agent's claim of success with reviewable evidence.</dd></div><div><dt>Example</dt><dd>A CI repair exits only when the original failing command passes and the diff remains in scope.</dd></div><div><dt>Progress signal</dt><dd>One role becomes a bottleneck, duties must be separated, or independent review is required.</dd></div></dl>
</article>
<article class="level">
<span class="number">05</span>
<div class="level-intro"><h3>Multi-agent loop</h3><p>Specialists divide discovery, action, review, and judgment through explicit handoffs and shared state.</p></div>
<dl class="level-facts"><div><dt>Why</dt><dd>Adds separation of duties and parallel expertise without letting the acting agent approve itself.</dd></div><div><dt>Example</dt><dd>A security loop uses an explorer, a reproducer, and an independent reviewer.</dd></div><div><dt>Progress signal</dt><dd>The loop can affect production, customers, money, credentials, or other high-impact systems.</dd></div></dl>
</article>
<article class="level">
<span class="number">06</span>
<div class="level-intro"><h3>Production-supervised loop</h3><p>Telemetry, least privilege, budgets, approvals, rollback, and human escalation govern every run.</p></div>
<dl class="level-facts"><div><dt>Why</dt><dd>Controls blast radius and makes production work observable, interruptible, and accountable.</dd></div><div><dt>Example</dt><dd>A deploy verifier pauses on a breached threshold and hands rollback approval to the release owner.</dd></div><div><dt>Harden next</dt><dd>Service objectives, replay, permission reviews, failure drills, and cost controls.</dd></div></dl>
</article>
</div>
</div>
</section>
<section id="resources">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="library" aria-hidden="true"></i><span>06 / Resource atlas</span></p>
<h2>Find evidence, not just links.</h2>
</div>
<p class="section-intro">Filter 937 resources by goal, loop layer, lifecycle, artifact type, and evidence class. Open any result to see its contribution, novelty, impact, scope, publication details, and original source.</p>
</div>
<p class="audit-note"><strong>Last source check, 2026-07-21 UTC:</strong> 880 public links opened successfully, 6 required access, 49 point to files in this repository, and none were broken or unreachable. <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/data/resource_source_audit.csv">View the results</a> or <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/issues/new?template=annotation-correction.yml">report a correction</a>.</p>
<div class="loop-layer-map" aria-label="Where different loop concepts live">
<div class="loop-layer-item"><span>Inner loop</span><strong>Model recurrence</strong><p>A learned block refines hidden or latent state inside one inference. Included as an adjacent foundation.</p></div>
<div class="loop-layer-item"><span>Task loop</span><strong>Agent execution</strong><p>The model reasons, calls tools, observes results, and updates working state while solving one task.</p></div>
<div class="loop-layer-item"><span>Outer loop</span><strong>Operational governance</strong><p>Triggers, evidence gates, durable state, budgets, handoff, and exit govern repeated work.</p></div>
</div>
<div class="resource-explorer" id="resource-explorer">
<div class="resource-toolbar" role="search" aria-label="Search resources">
<label>
<span class="sr-only">Search resources</span>
<input class="resource-input" id="resource-search" type="search" placeholder="Search title, author, or topic" autocomplete="off">
</label>
<label>
<span class="sr-only">Resource type</span>
<select class="resource-select" id="resource-type">
<option value="">All resource types</option>
<option value="Docs">Documentation</option>
<option value="Tool">Tools</option>
<option value="Paper">Papers</option>
<option value="Benchmark">Benchmarks</option>
<option value="Pattern">Patterns</option>
<option value="Template">Templates</option>
<option value="Blog">Practitioner writing</option>
<option value="Critique">Critiques</option>
<option value="List">Related lists</option>
</select>
</label>
<label>
<span class="sr-only">Lifecycle stage</span>
<select class="resource-select" id="resource-stage">
<option value="">All lifecycle stages</option>
<option value="act">Model / agent action</option>
<option value="objective">Objective</option>
<option value="trigger">Trigger</option>
<option value="intake">Intake</option>
<option value="workspace">Workspace</option>
<option value="context">Context</option>
<option value="delegation">Delegation</option>
<option value="verification">Verification</option>
<option value="state">State</option>
<option value="budget">Budget</option>
<option value="escalation">Escalation</option>
<option value="exit">Exit</option>
<option value="whole-loop">Whole loop</option>
</select>
</label>
<label>
<span class="sr-only">Loop layer</span>
<select class="resource-select" id="resource-layer">
<option value="">All loop layers</option>
<option value="model">Model</option>
<option value="agent">Agent</option>
<option value="harness">Harness</option>
<option value="workflow">Workflow</option>
<option value="operations">Operations</option>
<option value="evaluation">Evaluation</option>
<option value="cross-layer">Cross-layer</option>
</select>
</label>
<label>
<span class="sr-only">Evidence class</span>
<select class="resource-select" id="resource-evidence">
<option value="">All evidence classes</option>
<option value="official">Official documentation</option>
<option value="research">Research</option>
<option value="implementation">Implementations</option>
<option value="benchmark">Benchmarks</option>
<option value="practice">Practice and patterns</option>
<option value="risk">Risk and ecosystem maps</option>
</select>
</label>
<button class="resource-reset" id="resource-reset" type="button"><i class="icon" data-lucide="rotate-ccw" aria-hidden="true"></i>Reset</button>
</div>
<div class="resource-collections" role="group" aria-label="Filter by user goal">
<button class="resource-collection" type="button" data-collection="" aria-pressed="true"><i class="icon" data-lucide="layout-grid" aria-hidden="true"></i>All</button>
<button class="resource-collection" type="button" data-collection="Learn" aria-pressed="false"><i class="icon" data-lucide="compass" aria-hidden="true"></i>Learn</button>
<button class="resource-collection" type="button" data-collection="Design" aria-pressed="false"><i class="icon" data-lucide="pencil-ruler" aria-hidden="true"></i>Design</button>
<button class="resource-collection" type="button" data-collection="Build" aria-pressed="false"><i class="icon" data-lucide="hammer" aria-hidden="true"></i>Build</button>
<button class="resource-collection" type="button" data-collection="Persist" aria-pressed="false"><i class="icon" data-lucide="database" aria-hidden="true"></i>Persist</button>
<button class="resource-collection" type="button" data-collection="Verify" aria-pressed="false"><i class="icon" data-lucide="badge-check" aria-hidden="true"></i>Verify</button>
<button class="resource-collection" type="button" data-collection="Govern" aria-pressed="false"><i class="icon" data-lucide="shield-check" aria-hidden="true"></i>Govern</button>
<button class="resource-collection" type="button" data-collection="Apply" aria-pressed="false"><i class="icon" data-lucide="package-open" aria-hidden="true"></i>Apply</button>
</div>
<div class="resource-summary">
<p class="resource-count" id="resource-count" aria-live="polite">Preparing 937 resources...</p>
<label>
<span class="sr-only">Sort resources</span>
<select class="resource-select resource-sort" id="resource-sort">
<option value="curated">Guide order</option>
<option value="publication">Publication year</option>
<option value="stars">GitHub stars</option>
<option value="recent">Recently added</option>
</select>
</label>
</div>
<div class="resource-row-head" aria-hidden="true">
<span>Work and key contribution</span>
<span>Year</span>
<span>Published at</span>
<span>Evidence</span>
</div>
<div class="resource-list" id="resource-list" aria-busy="false">
<p class="resource-loading">Preparing the resource index...</p>
</div>
<p class="resource-empty" id="resource-empty" hidden>No resources match the current filters.</p>
<div class="resource-actions">
<button class="resource-more" id="resource-more" type="button" hidden>Show more</button>
</div>
<noscript>
<p class="resource-loading"><a href="https://github.com/ChaoYue0307/awesome-loop-engineering#start-here">Browse the full resource library on GitHub</a> or <a href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering">filter the dataset on Hugging Face</a>.</p>
</noscript>
</div>
</div>
</section>
<section id="future">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="compass" aria-hidden="true"></i><span>07 / Future directions</span></p>
<h2>Turn open problems into evidence.</h2>
</div>
<p class="section-intro">Fifteen workstreams define a decision, minimum artifact, metrics, starter slice, and completion gate. Build the foundations first, then prove scale and adoption.</p>
</div>
<div class="future-grid">
<article class="future-track">
<h3><i class="icon" data-lucide="shield-check" aria-hidden="true"></i>Foundation</h3>
<ul>
<li>Challenge verifiers with hard negatives and tampering.</li>
<li>Recover state and side effects after injected crashes.</li>
<li>Reconstruct every decision from receipts under least privilege.</li>
</ul>
<p class="future-output"><strong>Completion signal</strong>The loop can be interrupted, audited, attacked, recovered, and stopped without losing control of evidence or effects.</p>
</article>
<article class="future-track">
<h3><i class="icon" data-lucide="chart-no-axes-combined" aria-hidden="true"></i>Scale</h3>
<ul>
<li>Separate model, harness, verifier, and loop effects.</li>
<li>Test long horizons, stop rules, and runtime portability.</li>
<li>Compare quality, recovery, latency, cost, and human effort.</li>
</ul>
<p class="future-output"><strong>Completion signal</strong>Gains survive matched budgets, adverse conditions, multiple runtimes, and full cost accounting.</p>
</article>
<article class="future-track">
<h3><i class="icon" data-lucide="badge-check" aria-hidden="true"></i>Adoption</h3>
<ul>
<li>Baseline one frequent, verifiable, reversible domain job.</li>
<li>Shadow first, then promote through measured approval gates.</li>
<li>Rehearse handoff, rollback, incident response, and retirement.</li>
</ul>
<p class="future-output"><strong>Completion signal</strong>A named operator can understand, interrupt, update, and retire a useful loop from external evidence.</p>
</article>
</div>
<div class="future-steps" aria-label="Four steps from question to evidence">
<div class="future-step"><span>01 / Scope</span><strong>Choose one recurring task</strong><p>Name the operator, trigger, evidence gate, and consequence of error.</p></div>
<div class="future-step"><span>02 / Compare</span><strong>Freeze fair baselines</strong><p>Test current operation, single pass, fixed retry, and a cost-matched candidate.</p></div>
<div class="future-step"><span>03 / Stress</span><strong>Exercise failure paths</strong><p>Inject interruption, stale state, verifier conflict, attack, and budget exhaustion.</p></div>
<div class="future-step"><span>04 / Publish</span><strong>Release the whole result</strong><p>Share contracts, receipts, costs, unsuccessful runs, and rejection criteria.</p></div>
</div>
<div class="future-shared">
<strong>Start a 90-day project</strong>
<p>Choose the researcher, runtime, application, or security plan, then use the shared protocol and proposal template to make the result comparable.</p>
<a class="button" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/FUTURE-DIRECTIONS.md"><i class="icon" data-lucide="compass" aria-hidden="true"></i>Open 15 workstreams</a>
</div>
</div>
</section>
<section id="contribute">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="handshake" aria-hidden="true"></i><span>08 / Contribute</span></p>
<h2>Improve the evidence or share a loop.</h2>
</div>
<p class="section-intro">Share an original or official source, correct an entry with primary evidence, or document a loop you have run.</p>
</div>
<div class="link-grid contribute-grid">
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/issues/new?template=resource-suggestion.yml"><h3><i class="icon" data-lucide="plus" aria-hidden="true"></i>Suggest a resource</h3><p>Share one original or official source and a precise summary in under five minutes.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/issues/new?template=annotation-correction.yml"><h3><i class="icon" data-lucide="badge-check" aria-hidden="true"></i>Correct an entry</h3><p>Fix a summary, contribution, date, venue, identifier, or source link with primary evidence.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/issues/new?template=gallery-case-study.yml"><h3><i class="icon" data-lucide="repeat-2" aria-hidden="true"></i>Share a loop</h3><p>Submit a real or anonymized operating example with no pull request required.</p></a>
<a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/discussions/2"><h3><i class="icon" data-lucide="messages-square" aria-hidden="true"></i>Join the discussion</h3><p>Compare operating patterns with other loop builders.</p></a>
</div>
</div>
</section>
<section id="faq">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="message-circle-question-mark" aria-hidden="true"></i><span>09 / FAQ</span></p>
<h2>Questions that define the boundary.</h2>
</div>
<p class="section-intro">Use these tests to decide whether a recurring agent system needs a loop.</p>
</div>
<details open>
<summary>What is loop engineering?</summary>
<p>Loop Engineering is the practice of designing recurring AI-agent and coding-agent systems that discover work, delegate it, verify results, persist state outside the model, decide what happens next, and run again.</p>
</details>
<details>
<summary>How is it different from prompt, context, and harness engineering?</summary>
<p>Prompt, context, and harness engineering improve one agent run. Loop Engineering governs how agent work repeats, verifies, persists state, and escalates over time.</p>
</details>
<details>
<summary>When should you use an agent loop?</summary>
<p>Use a loop when work recurs, external evidence can verify progress, useful state should persist, actions and budgets can be bounded, and a human owner can handle exceptions. Prefer one supervised run when the task is one-off, completion is mainly subjective, or no safe permission boundary can be stated.</p>
</details>
<details>
<summary>What belongs in a loop contract?</summary>
<p>A Loop Contract is a reviewable operating specification for one recurring agent job. It fixes the objective, trigger, intake, workspace and permissions, context, roles, external verification, durable state, budget, escalation path, and success or blocked exit so repeated runs do not depend on hidden defaults.</p>
</details>
<details>
<summary>Does every loop need to reach the highest maturity level?</summary>
<p>No. Choose the lowest level that meets the job's continuity, evidence, and blast-radius requirements. Many useful workflows should stop at Level 2 or 3. Persist state before increasing autonomy, add external verification before more agents, and reserve production supervision for workflows with production impact.</p>
</details>
<details>
<summary>Which runtimes can run agent loops?</summary>
<p>The same loop can run as a Claude Code loop or scheduled task, a Codex automation, a GitHub agentic workflow, a shell or cron wrapper, or a durable-execution runtime.</p>
</details>
</div>
</section>
<section id="growth">
<div class="wrap">
<div class="section-head">
<div>
<p class="section-label"><i class="icon" data-lucide="chart-no-axes-combined" aria-hidden="true"></i><span>10 / Community momentum</span></p>
<h2>Follow the star trail.</h2>
</div>
<p class="section-intro">Each milestone marks more researchers and builders discovering the field guide, from the first save to the latest GitHub count.</p>
</div>
<a class="star-history-chart" href="https://github.com/ChaoYue0307/awesome-loop-engineering" aria-label="Open Awesome Loop Engineering on GitHub">
<picture>
<source media="(max-width: 768px)" srcset="assets/star-history-mobile.svg" width="640" height="640">
<img src="assets/star-history.svg" alt="GitHub star growth for Awesome Loop Engineering" width="1200" height="560" loading="lazy">
</picture>
</a>
<div class="growth-note">
<p>Star the repository to keep the field guide nearby and help more researchers, engineers, and developers find its resources and implementation kit.</p>
<a class="button primary" href="https://github.com/ChaoYue0307/awesome-loop-engineering"><i class="icon" data-lucide="sparkles" aria-hidden="true"></i>Star on GitHub</a>
</div>
</div>
</section>
</main>
<footer>
<div class="wrap">
<div class="footer-grid">
<div>
<h4><i class="icon" data-lucide="quote" aria-hidden="true"></i>Cite the field guide</h4>
<div class="cite">
<button class="copy" type="button" data-copy="cite-bib" aria-label="Copy BibTeX citation"><span aria-live="polite">Copy</span></button>
<pre id="cite-bib">@misc{chaoyue2026awesome_loop_engineering,
author = {He, Chaoyue},
title = {Awesome Loop Engineering},
year = {2026},
howpublished = {\url{https://github.com/ChaoYue0307/awesome-loop-engineering}},
note = {Version 0.9.0}
}</pre>
</div>
</div>
<div>
<h4><i class="icon" data-lucide="compass" aria-hidden="true"></i>Explore</h4>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/DEFINITION.md">Working definition</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/MANIFESTO.md">Manifesto</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/TAXONOMY.md">Taxonomy</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/ANTI-PATTERNS.md">Anti-patterns</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/FUTURE-DIRECTIONS.md">Future directions</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/meta/CURATION.md">How resources are chosen</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/data/resource_source_audit.csv">Source check</a>
</div>
<div>
<h4><i class="icon" data-lucide="wrench" aria-hidden="true"></i>Project</h4>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering">GitHub repository</a>
<a href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering">Hugging Face dataset</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/CONTRIBUTING.md">Contributing</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/fork">Fork and adapt</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/releases">Release notes</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/subscription">Watch releases + discussions</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/ROADMAP.md">Roadmap</a>
</div>
<div>
<h4><i class="icon" data-lucide="globe" aria-hidden="true"></i>Languages</h4>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.zh-CN.md" lang="zh">中文</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.es.md" lang="es">Español</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.fr.md" lang="fr">Français</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.de.md" lang="de">Deutsch</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.ja.md" lang="ja">日本語</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.ko.md" lang="ko">한국어</a>
<a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.pt-BR.md" lang="pt-BR">Português</a>
</div>
</div>
<p class="legal">Treat each annotation as a map to primary evidence, not as a final standard or endorsement. Original field-guide materials use <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/LICENSE">CC0-1.0</a>; linked resources retain their own licenses.</p>
</div>
</footer>
<script src="assets/vendor/lucide/loop-icons.min.js?v=1"></script>
<script>
(function () {
var button = document.querySelector('.menu-btn');
var links = document.getElementById('primary-nav');
var label = button && button.querySelector('.menu-label');
if (!button || !links) return;
function setMenuState(open) {
links.classList.toggle('open', open);
button.setAttribute('aria-expanded', open ? 'true' : 'false');
button.setAttribute('aria-label', open ? 'Close navigation' : 'Open navigation');
if (label) label.textContent = open ? 'Close' : 'Menu';
}
button.addEventListener('click', function () {
setMenuState(!links.classList.contains('open'));
});
Array.prototype.forEach.call(links.querySelectorAll('a'), function (link) {
link.addEventListener('click', function () {
setMenuState(false);
});
});
document.addEventListener('keydown', function (event) {
if (event.key === 'Escape' && links.classList.contains('open')) {
setMenuState(false);
button.focus();
}
});
})();
(function () {
if (!('IntersectionObserver' in window)) return;
var navLinks = Array.prototype.slice.call(document.querySelectorAll('#primary-nav a[href^="#"]'));
var linkById = {};
navLinks.forEach(function (link) {
linkById[link.getAttribute('href').slice(1)] = link;
});
var sections = Object.keys(linkById).map(function (id) { return document.getElementById(id); }).filter(Boolean);
var activeId = '';
var observer = new IntersectionObserver(function (entries) {
entries.forEach(function (entry) {
if (!entry.isIntersecting) return;
activeId = entry.target.id;
});
navLinks.forEach(function (link) {
if (link.getAttribute('href') === '#' + activeId) link.setAttribute('aria-current', 'location');
else link.removeAttribute('aria-current');
});
}, { rootMargin: '-24% 0px -66% 0px', threshold: 0 });
sections.forEach(function (section) { observer.observe(section); });
})();
(function () {
var input = document.getElementById('pattern-filter');
var grid = document.getElementById('pattern-grid');
var empty = document.getElementById('pattern-filter-empty');
if (!input || !grid) return;
var patterns = Array.prototype.slice.call(grid.querySelectorAll('.pattern'));
input.addEventListener('input', function () {
var query = input.value.trim().toLowerCase();
var shown = 0;
patterns.forEach(function (pattern) {
var text = pattern.textContent.toLowerCase();
var words = text.split(/[^a-z0-9]+/).filter(Boolean);
var match = query === '' || (query.length <= 2 ? words.indexOf(query) !== -1 : text.indexOf(query) !== -1);
pattern.style.display = match ? '' : 'none';
if (match) shown += 1;
});
if (empty) empty.hidden = shown !== 0;
});
})();
(function () {
var explorer = document.getElementById('resource-explorer');
if (!explorer || !window.fetch) return;
var search = document.getElementById('resource-search');
var type = document.getElementById('resource-type');
var stage = document.getElementById('resource-stage');
var layer = document.getElementById('resource-layer');
var evidence = document.getElementById('resource-evidence');
var sort = document.getElementById('resource-sort');
var reset = document.getElementById('resource-reset');
var more = document.getElementById('resource-more');
var list = document.getElementById('resource-list');
var count = document.getElementById('resource-count');
var empty = document.getElementById('resource-empty');
var collectionButtons = Array.prototype.slice.call(explorer.querySelectorAll('.resource-collection'));
var evidenceGroups = {
official: ['official-documentation'],
research: ['research-preprint', 'research-paper'],
implementation: ['source-implementation', 'implementation'],
benchmark: ['benchmark'],
practice: ['operational-pattern', 'practitioner-analysis', 'reusable-artifact', 'repository-native', 'technical-documentation'],
risk: ['risk-analysis', 'curated-index']
};
var compactResources = window.matchMedia('(max-width: 560px)');
var pageSize = compactResources.matches ? 8 : 24;
var state = { collection: '', limit: pageSize };
var resources = [];
var loading = false;
function words(value) {
return String(value || '').replace(/-/g, ' ');
}
function loopLayerLabel(value) {
if (!value) return '';
return value === 'cross-layer' ? 'cross-layer' : words(value) + ' layer';
}
function evidenceLabel(value) {
var labels = {
'research-paper': 'Research paper',
'research-preprint': 'Research preprint',
'official-documentation': 'Official documentation',
'technical-documentation': 'Technical documentation',
'source-implementation': 'Source implementation',
'implementation': 'Implementation',
'benchmark': 'Benchmark or evaluation',
'repository-native': 'Project artifact',
'reusable-artifact': 'Reusable artifact',
'operational-pattern': 'Operational pattern',
'practitioner-analysis': 'Practitioner analysis',
'risk-analysis': 'Risk analysis',
'curated-index': 'Discovery index'
};
return labels[value] || words(value);
}
function stages(value) {
return String(value || '').split(';').filter(Boolean);
}
function formatNumber(value) {
var number = Number(value || 0);
if (!number) return '';
return number.toLocaleString ? number.toLocaleString() : String(number);
}
function createText(tag, className, value) {
var element = document.createElement(tag);
if (className) element.className = className;
element.textContent = value;
return element;
}
function appendCellLabel(element, value) {
element.appendChild(createText('span', 'resource-cell-label', value));
}
function authorNames(value) {
return String(value || '').split(';').map(function (name) { return name.trim(); }).filter(Boolean);
}
function formattedAuthors(value) {
var names = authorNames(value);
if (names.length <= 4) return names.join(', ');
return names.slice(0, 4).join(', ') + ' +' + (names.length - 4) + ' more';
}
function identifier(resource) {
if (resource.doi) return 'DOI ' + resource.doi;
if (resource.arxiv_id) return 'arXiv ' + resource.arxiv_id;
if (String(resource.github_repo || '').toLowerCase() === 'chaoyue0307/awesome-loop-engineering') return '';
if (resource.github_repo) return resource.github_repo;
return '';
}
function sourceStatus(resource) {
if (resource.source_status === 'restricted') return 'Access restricted';
if (['broken', 'unreachable', 'local_missing'].indexOf(resource.source_status) !== -1) return 'Source unavailable';
if (String(resource.source_status || '').indexOf('local') === 0) return 'Repository file';
return 'Link checked';
}
function detailSection(title, values) {
var section = document.createElement('div');
section.className = 'resource-detail';
section.appendChild(createText('h4', '', title));
values.filter(Boolean).forEach(function (value) {
section.appendChild(createText('p', 'resource-bibliography', value));
});
return section;
}
function resourceMatches(resource) {
var query = search.value.trim().toLowerCase();
var haystack = [
resource.title,
resource.annotation,
resource.section,
resource.collection,
resource.user_goal,
resource.lifecycle_stages,
resource.audience,
resource.loop_layer,
resource.scope_fit,
resource.evidence_class,
resource.evidence_tier,
resource.authors,
resource.publication_year,
resource.publication_venue,
resource.publisher,
resource.doi,
resource.arxiv_id,
resource.key_contribution,
resource.novelty,
resource.impact
].join(' ').toLowerCase();
var evidenceSet = evidenceGroups[evidence.value] || [];
return (!query || haystack.indexOf(query) !== -1) &&
(!type.value || resource.resource_type === type.value) &&
(!stage.value || stages(resource.lifecycle_stages).indexOf(stage.value) !== -1) &&
(!layer.value || resource.loop_layer === layer.value) &&
(!evidence.value || evidenceSet.indexOf(resource.evidence_class) !== -1) &&
(!state.collection || resource.collection === state.collection);
}
function sortedResources(filtered) {
return filtered.slice().sort(function (a, b) {
if (sort.value === 'publication') {
return Number(b.publication_year || 0) - Number(a.publication_year || 0) ||
(Date.parse(b.publication_date || '') || 0) - (Date.parse(a.publication_date || '') || 0) ||
a._index - b._index;
}
if (sort.value === 'stars') {
return Number(b.github_stars || 0) - Number(a.github_stars || 0) || a._index - b._index;
}
if (sort.value === 'recent') {
return (Date.parse(b.date_added || '') || 0) - (Date.parse(a.date_added || '') || 0) || a._index - b._index;
}
return a._index - b._index;
});
}
function renderItem(resource) {
var item = document.createElement('article');
var work = document.createElement('div');
var year = document.createElement('div');
var publication = document.createElement('div');
var evidenceCell = document.createElement('div');
var details = document.createElement('details');
var detailGrid = document.createElement('div');
var link = createText('a', 'resource-title', resource.title);
var authors = formattedAuthors(resource.authors);
var fullAuthors = authorNames(resource.authors).join(', ');
var meta = [
resource.resource_type,
resource.collection,
resource.section,
loopLayerLabel(resource.loop_layer),
resource.scope_fit ? words(resource.scope_fit) + ' scope' : '',
stages(resource.lifecycle_stages).map(words).join(' / ')
].filter(Boolean).join(' | ');
var signalClass = 'resource-signal ' + String(resource.signal_strength || 'unverified').toLowerCase();
var signal = createText('span', signalClass, words(resource.signal_strength || 'unverified') + ' signal');
var starCount = formatNumber(resource.github_stars);
var venue = resource.publication_venue || resource.publisher || 'Source not stated';
var secondaryPublisher = resource.publisher && resource.publisher !== venue &&
venue.toLowerCase().indexOf(resource.publisher.toLowerCase() + ' ') !== 0 ? resource.publisher : '';
var publicationId = identifier(resource);
var sourceRecord = [
fullAuthors ? 'Authors: ' + fullAuthors : '',
resource.publication_date ? 'Published: ' + resource.publication_date : '',
'Source: ' + venue + (secondaryPublisher ? ' | ' + secondaryPublisher : ''),
publicationId ? 'Identifier: ' + publicationId : '',
resource.primary_category ? 'Primary category: ' + resource.primary_category : '',
resource.publication_note ? 'Source note: ' + resource.publication_note : '',
resource.metadata_source ? 'Metadata provenance: ' + words(resource.metadata_source) : ''
];
item.className = 'resource-item';
link.href = resource.canonical_url || resource.url;
work.className = 'resource-work';
work.appendChild(link);
work.appendChild(createText('p', 'resource-contribution', resource.key_contribution || resource.annotation));
if (authors) {
var authorLine = createText('p', 'resource-authors', authors);
authorLine.title = fullAuthors;
work.appendChild(authorLine);
}
work.appendChild(createText('div', 'resource-meta', meta));
year.className = 'resource-year' + (resource.publication_year ? '' : ' is-empty');
if (resource.publication_year) {
appendCellLabel(year, 'Year');
year.appendChild(createText('span', 'resource-year-value', resource.publication_year));
}
publication.className = 'resource-publication';
appendCellLabel(publication, 'Published at');
publication.appendChild(createText('span', 'resource-venue', venue));
if (secondaryPublisher) publication.appendChild(createText('span', 'resource-publisher', secondaryPublisher));
if (resource.publication_date && resource.publication_date !== resource.publication_year) publication.appendChild(createText('span', 'resource-date', resource.publication_date));
if (publicationId) publication.appendChild(createText('span', 'resource-identifier', publicationId));
evidenceCell.className = 'resource-evidence';
appendCellLabel(evidenceCell, 'Evidence');
evidenceCell.appendChild(createText('span', 'resource-type-label', 'Tier ' + (resource.evidence_tier || 'C') + ' · ' + evidenceLabel(resource.evidence_class)));
evidenceCell.appendChild(signal);
if (starCount) evidenceCell.appendChild(createText('span', 'resource-source-status', starCount + ' GitHub stars'));
evidenceCell.appendChild(createText('span', 'resource-source-status', sourceStatus(resource)));
details.className = 'resource-details';
details.appendChild(createText('summary', '', 'Why it matters, where it fits, and source record'));
detailGrid.className = 'resource-detail-grid';
detailGrid.appendChild(detailSection('Contribution', [resource.key_contribution || resource.annotation]));
detailGrid.appendChild(detailSection('Novelty', [resource.novelty]));
detailGrid.appendChild(detailSection('Impact', [resource.impact]));
detailGrid.appendChild(detailSection('Use it for', [
resource.user_goal ? 'Goal: ' + resource.user_goal : '',
resource.loop_layer ? 'Loop layer: ' + words(resource.loop_layer) : '',
resource.scope_fit ? 'Scope fit: ' + words(resource.scope_fit) : '',
resource.lifecycle_stages ? 'Loop stages: ' + stages(resource.lifecycle_stages).map(words).join(', ') : '',
resource.audience ? 'Audience: ' + String(resource.audience).split(';').map(words).join(', ') : ''
]));
detailGrid.appendChild(detailSection('Source record', sourceRecord.concat(resource.signal ? ['Evidence: ' + resource.signal] : [])));
details.appendChild(detailGrid);
item.appendChild(work);
item.appendChild(year);
item.appendChild(publication);
item.appendChild(evidenceCell);
item.appendChild(details);
return item;
}
function render() {
var filtered = sortedResources(resources.filter(resourceMatches));
var visible = filtered.slice(0, state.limit);
var fragment = document.createDocumentFragment();
visible.forEach(function (resource) { fragment.appendChild(renderItem(resource)); });
list.replaceChildren(fragment);
list.setAttribute('aria-busy', 'false');
count.textContent = filtered.length + ' of ' + resources.length + ' resources' + (visible.length < filtered.length ? ' | showing ' + visible.length : '');
empty.hidden = filtered.length !== 0;
more.hidden = visible.length >= filtered.length;
if (!more.hidden) more.textContent = 'Show ' + Math.min(pageSize, filtered.length - visible.length) + ' more';
}
function resetLimitAndRender() {
state.limit = pageSize;
if (!resources.length) {
loadResources();
return;
}
render();
}
function updatePageSize() {
pageSize = compactResources.matches ? 8 : 24;
if (resources.length) resetLimitAndRender();
}
if (compactResources.addEventListener) compactResources.addEventListener('change', updatePageSize);
else compactResources.addListener(updatePageSize);
search.addEventListener('input', resetLimitAndRender);
[type, stage, layer, evidence, sort].forEach(function (control) {
control.addEventListener('change', resetLimitAndRender);
});
collectionButtons.forEach(function (button) {
button.addEventListener('click', function () {
state.collection = button.getAttribute('data-collection') || '';
collectionButtons.forEach(function (candidate) {
candidate.setAttribute('aria-pressed', candidate === button ? 'true' : 'false');
});
resetLimitAndRender();
});
});
more.addEventListener('click', function () {
state.limit += pageSize;
render();
});
reset.addEventListener('click', function () {
search.value = '';
type.value = '';
stage.value = '';
layer.value = '';
evidence.value = '';
sort.value = 'curated';
state.collection = '';
collectionButtons.forEach(function (button) {
button.setAttribute('aria-pressed', button.getAttribute('data-collection') === '' ? 'true' : 'false');
});
resetLimitAndRender();
search.focus();
});
function loadResources() {
if (loading || resources.length) return;
loading = true;
explorer.dataset.indexState = 'loading';
list.setAttribute('aria-busy', 'true');
count.textContent = 'Loading 937 resources...';
list.replaceChildren(createText('p', 'resource-loading', 'Loading resources...'));
fetch('assets/resources.json')
.then(function (response) {
if (!response.ok) throw new Error('Resource index request failed');
return response.json();
})
.then(function (payload) {
resources = (payload.resources || []).map(function (resource, index) {
resource._index = index;
return resource;
});
explorer.dataset.indexState = 'ready';
render();
restorePostResourceHash();
})
.catch(function () {
loading = false;
explorer.dataset.indexState = 'error';
list.replaceChildren(createText('p', 'resource-loading', 'The resource index could not be loaded. Browse the complete library on GitHub or Hugging Face.'));
list.setAttribute('aria-busy', 'false');
count.textContent = 'Resource index unavailable';
});
}
function restorePostResourceHash() {
var targetId = window.location.hash.slice(1);
if (!targetId || targetId === 'resources') return;
var target = document.getElementById(targetId);
if (!target || !resourceSection) return;
if (!(resourceSection.compareDocumentPosition(target) & Node.DOCUMENT_POSITION_FOLLOWING)) return;
requestAnimationFrame(function () {
target.scrollIntoView({ behavior: 'instant', block: 'start' });
});
}
var resourceSection = document.getElementById('resources');
if (window.location.hash === '#resources') {
loadResources();
} else if ('IntersectionObserver' in window && resourceSection) {
var resourceObserver = new IntersectionObserver(function (entries) {
if (!entries.some(function (entry) { return entry.isIntersecting; })) return;
resourceObserver.disconnect();
loadResources();
}, { rootMargin: '700px 0px', threshold: 0 });
resourceObserver.observe(resourceSection);
} else {
loadResources();
}
explorer.addEventListener('focusin', loadResources, { once: true });
window.addEventListener('hashchange', function () {
if (window.location.hash === '#resources') loadResources();
});
})();
Array.prototype.forEach.call(document.querySelectorAll('.copy'), function (button) {
var label = button.querySelector('span') || button;
button.addEventListener('click', function () {
var element = document.getElementById(button.getAttribute('data-copy'));
if (!element) return;
if (!navigator.clipboard || !navigator.clipboard.writeText) {
label.textContent = 'Select and copy';
var selection = window.getSelection();
var range = document.createRange();
range.selectNodeContents(element);
selection.removeAllRanges();
selection.addRange(range);
setTimeout(function () { label.textContent = 'Copy'; }, 2500);
return;
}
navigator.clipboard.writeText(element.innerText).then(function () {
label.textContent = 'Copied';
setTimeout(function () { label.textContent = 'Copy'; }, 1400);
}).catch(function () {
label.textContent = 'Select and copy';
});
});
});
</script>
<script type="module" src="assets/loop-hero-scene.js?v=26"></script>
</body>
</html>
|