cy0307 commited on
Commit
7fe5ccd
·
verified ·
1 Parent(s): 90fde40

Polish responsive mobile presentation

Browse files
assets/README.md CHANGED
@@ -9,9 +9,12 @@ This directory contains visual assets used by the repository README, GitHub Page
9
  - `apple-touch-icon.png` and `favicon-32.png` - Web app and browser icon variants.
10
  - `BRAND.md` - Mark rationale, palette, clear-space rules, and usage guidance.
11
  - `loop-engineering-stack.png` - ChatGPT Image-generated editorial stack showing how Loop Engineering governs prompt, context, and harness engineering over time.
12
- - `loop-engineering-stack.svg` - Legacy vector source retained for lightweight and editable reuse.
 
13
  - `loop-contract-cards.svg` - Grouped operating-spec visual for objective, trigger, intake, workspace, context, delegation, verification, state, budget, escalation, and exit.
 
14
  - `loop-lifecycle.svg` - One pass of a recurring loop: Intake, Delegate, Act, Verify, Persist, and Decide, where Decide retries, escalates, or exits.
 
15
  - `loop-runtime-map.png` - ChatGPT Image-generated runtime map from a nearby session through desktop, CI/cloud, and durable-worker execution.
16
  - `loop-maturity-model.png` - ChatGPT Image-generated seven-level maturity path from manual prompting to production-supervised loops.
17
  - `social-preview.png` - 1280x640 proof-led sharing card for `og:image`, social posts, and GitHub's social preview. After regenerating it, re-upload under repo Settings -> Social preview and bump the `?v=` cache-bust parameter in `docs/index.html`.
 
9
  - `apple-touch-icon.png` and `favicon-32.png` - Web app and browser icon variants.
10
  - `BRAND.md` - Mark rationale, palette, clear-space rules, and usage guidance.
11
  - `loop-engineering-stack.png` - ChatGPT Image-generated editorial stack showing how Loop Engineering governs prompt, context, and harness engineering over time.
12
+ - `loop-engineering-stack.svg` - Responsive desktop web visual for the four-layer engineering stack.
13
+ - `loop-engineering-stack-mobile.png` - Mobile-first row layout that keeps all four layers legible at narrow widths.
14
  - `loop-contract-cards.svg` - Grouped operating-spec visual for objective, trigger, intake, workspace, context, delegation, verification, state, budget, escalation, and exit.
15
+ - `loop-contract-mobile.png` - Mobile rendering of the loop contract, composed for narrow README viewports.
16
  - `loop-lifecycle.svg` - One pass of a recurring loop: Intake, Delegate, Act, Verify, Persist, and Decide, where Decide retries, escalates, or exits.
17
+ - `loop-lifecycle-mobile.png` - Mobile rendering of the lifecycle with a readable vertical decision path.
18
  - `loop-runtime-map.png` - ChatGPT Image-generated runtime map from a nearby session through desktop, CI/cloud, and durable-worker execution.
19
  - `loop-maturity-model.png` - ChatGPT Image-generated seven-level maturity path from manual prompting to production-supervised loops.
20
  - `social-preview.png` - 1280x640 proof-led sharing card for `og:image`, social posts, and GitHub's social preview. After regenerating it, re-upload under repo Settings -> Social preview and bump the `?v=` cache-bust parameter in `docs/index.html`.
assets/loop-contract-mobile.png ADDED

Git LFS Details

  • SHA256: 9a6382d4fa85120865003e2410d1c4b9e550003651a981a6898cfee8d2e08a75
  • Pointer size: 130 Bytes
  • Size of remote file: 22.2 kB
assets/loop-engineering-stack-mobile.png ADDED

Git LFS Details

  • SHA256: 04c43d62d6647b4fd3803b81d5d9cb6f89d618ca7c73effc3c2c8a8f6191ce95
  • Pointer size: 130 Bytes
  • Size of remote file: 29.1 kB
assets/loop-engineering-stack-mobile.svg DELETED
assets/loop-lifecycle-mobile.png ADDED

Git LFS Details

  • SHA256: d316eeae0beaf8354fe7d4c1f2b61664a7c32ba016bc7f5b9ec30234dde35e60
  • Pointer size: 130 Bytes
  • Size of remote file: 18.7 kB
data/resources.csv CHANGED
The diff for this file is too large to render. See raw diff
 
data/resources.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
docs/assets/loop-engineering-stack-mobile.svg DELETED
docs/assets/loop-hero-scene.js CHANGED
@@ -878,6 +878,7 @@ if (container && hero) {
878
  const width = Math.max(container.clientWidth, 1);
879
  const height = Math.max(container.clientHeight, 1);
880
  const compact = width < 720;
 
881
  const tablet = !compact && width < 900;
882
  applyLayout(compact);
883
  renderer.setPixelRatio(Math.min(window.devicePixelRatio || 1, compact || lowPower ? 1.3 : 1.65));
@@ -885,7 +886,7 @@ if (container && hero) {
885
 
886
  const aspect = width / height;
887
  const viewHeight = compact
888
- ? Math.max(3.42, 5.0 / aspect)
889
  : tablet
890
  ? 11.2 / aspect
891
  : 3.15;
@@ -894,12 +895,12 @@ if (container && hero) {
894
  camera.right = viewWidth / 2;
895
  camera.top = viewHeight / 2;
896
  camera.bottom = -viewHeight / 2;
897
- camera.position.set(0, compact ? 2.05 : 2.6, 10);
898
  camera.lookAt(0, compact ? -0.05 : 0, 0);
899
  camera.updateProjectionMatrix();
900
 
901
- stationScale = compact ? 1.01 : tablet ? 0.92 : 1.04;
902
- packetGroup.scale.setScalar(compact ? 1.12 : 1);
903
  stationLabels.forEach((label) => {
904
  label.visible = !compact;
905
  label.position.y = 0.98;
@@ -907,7 +908,7 @@ if (container && hero) {
907
  });
908
  numberLabels.forEach((label) => {
909
  label.visible = compact;
910
- label.scale.setScalar(compact ? 0.43 : 0.39);
911
  });
912
  microLabels.forEach((label) => { label.visible = width >= 980; });
913
  render(performance.now());
 
878
  const width = Math.max(container.clientWidth, 1);
879
  const height = Math.max(container.clientHeight, 1);
880
  const compact = width < 720;
881
+ const narrow = width < 350;
882
  const tablet = !compact && width < 900;
883
  applyLayout(compact);
884
  renderer.setPixelRatio(Math.min(window.devicePixelRatio || 1, compact || lowPower ? 1.3 : 1.65));
 
886
 
887
  const aspect = width / height;
888
  const viewHeight = compact
889
+ ? Math.max(3.42, (narrow ? 5.42 : 5.2) / aspect)
890
  : tablet
891
  ? 11.2 / aspect
892
  : 3.15;
 
895
  camera.right = viewWidth / 2;
896
  camera.top = viewHeight / 2;
897
  camera.bottom = -viewHeight / 2;
898
+ camera.position.set(0, compact ? 2.0 : 2.6, 10);
899
  camera.lookAt(0, compact ? -0.05 : 0, 0);
900
  camera.updateProjectionMatrix();
901
 
902
+ stationScale = narrow ? 0.94 : compact ? 0.99 : tablet ? 0.92 : 1.04;
903
+ packetGroup.scale.setScalar(narrow ? 1.02 : compact ? 1.08 : 1);
904
  stationLabels.forEach((label) => {
905
  label.visible = !compact;
906
  label.position.y = 0.98;
 
908
  });
909
  numberLabels.forEach((label) => {
910
  label.visible = compact;
911
+ label.scale.setScalar(narrow ? 0.4 : compact ? 0.43 : 0.39);
912
  });
913
  microLabels.forEach((label) => { label.visible = width >= 980; });
914
  render(performance.now());
docs/assets/vendor/lucide/LICENSE ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ISC License
2
+
3
+ Copyright (c) 2026 Lucide Icons and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16
+
17
+ ---
18
+
19
+ The following Lucide icons are derived from the Feather project:
20
+
21
+ airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
22
+
23
+ The MIT License (MIT) (for the icons listed above)
24
+
25
+ Copyright (c) 2013-present Cole Bemis
26
+
27
+ Permission is hereby granted, free of charge, to any person obtaining a copy
28
+ of this software and associated documentation files (the "Software"), to deal
29
+ in the Software without restriction, including without limitation the rights
30
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31
+ copies of the Software, and to permit persons to whom the Software is
32
+ furnished to do so, subject to the following conditions:
33
+
34
+ The above copyright notice and this permission notice shall be included in all
35
+ copies or substantial portions of the Software.
36
+
37
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43
+ SOFTWARE.
docs/assets/vendor/lucide/README.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Lucide Icons
2
+
3
+ `loop-icons.min.js` is a tree-shaken browser bundle containing only the Lucide icons used by the project website.
4
+
5
+ - Upstream: <https://lucide.dev/>
6
+ - Package: `lucide@1.25.0`
7
+ - License: ISC; see `LICENSE`
8
+ - Bundle format: minified IIFE
9
+
10
+ The subset keeps icon rendering consistent across operating systems without loading the full icon library or relying on native emoji glyphs.
docs/assets/vendor/lucide/loop-icons.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ (()=>{var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};var K=([e,a,t])=>{let r=document.createElementNS("http://www.w3.org/2000/svg",e);return Object.keys(a).forEach(o=>{r.setAttribute(o,String(a[o]))}),t?.length&&t.forEach(o=>{let s=K(o);r.appendChild(s)}),r},Z=(e,a={})=>{let r={...u,...a};return K(["svg",r,e])};var Q=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};var J=(...e)=>e.filter((a,t,r)=>!!a&&a.trim()!==""&&r.indexOf(a)===t).join(" ").trim();var j=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,t,r)=>r?r.toUpperCase():t.toLowerCase());var Y=e=>{let a=j(e);return a.charAt(0).toUpperCase()+a.slice(1)};var te=e=>Array.from(e.attributes).reduce((a,t)=>(a[t.name]=t.value,a),{}),$=e=>typeof e=="string"?e:!e||!e.class?"":e.class&&typeof e.class=="string"?e.class.split(" "):e.class&&Array.isArray(e.class)?e.class:"",n=(e,{nameAttr:a,icons:t,attrs:r})=>{let o=e.getAttribute(a);if(o==null)return;let s=Y(o),f=t[s];if(!f)return console.warn(`${e.outerHTML} icon name was not found in the provided icons object.`);let l=te(e),_=Q(l)?{}:{"aria-hidden":"true"},X={...u,"data-lucide":o,..._,...r,...l},ee=$(l),ae=$(r),N=J("lucide",`lucide-${o}`,...ee,...ae);N&&Object.assign(X,{class:N});let re=Z(f,X);return e.parentNode?.replaceChild(re,e)};var d=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"}],["path",{d:"m9 12 2 2 4-4"}]];var c=[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1"}]];var h=[["path",{d:"M12 7v14"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"}]];var C=[["path",{d:"M12 8V4H8"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}],["path",{d:"M2 14h2"}],["path",{d:"M20 14h2"}],["path",{d:"M15 13v2"}],["path",{d:"M9 13v2"}]];var S=[["path",{d:"M12 16v5"}],["path",{d:"M16 14.639V21"}],["path",{d:"M20 10.656V21"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15"}],["path",{d:"M4 18.463V21"}],["path",{d:"M8 14.656V21"}]];var g=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 6v6h4"}]];var p=[["path",{d:"m18 16 4-4-4-4"}],["path",{d:"m6 8-4 4 4 4"}],["path",{d:"m14.5 4-5 16"}]];var k=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"}]];var w=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5"}],["path",{d:"M3 12A9 3 0 0 0 21 12"}]];var m=[["path",{d:"M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"m14 20 2 2 4-4"}]];var P=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}],["path",{d:"M2 12h20"}]];var M=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9"}],["path",{d:"m18 15 4-4"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5"}]];var A=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4"}],["path",{d:"m21 3 1 11h-2"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3"}],["path",{d:"M3 4h8"}]];var B=[["path",{d:"M10 8h.01"}],["path",{d:"M12 12h.01"}],["path",{d:"M14 8h.01"}],["path",{d:"M16 12h.01"}],["path",{d:"M18 8h.01"}],["path",{d:"M6 8h.01"}],["path",{d:"M7 16h10"}],["path",{d:"M8 12h.01"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}]];var L=[["path",{d:"m5 8 6 6"}],["path",{d:"m4 14 6-6 2-3"}],["path",{d:"M2 5h12"}],["path",{d:"M7 2h1"}],["path",{d:"m22 22-5-10-5 10"}],["path",{d:"M14 18h6"}]];var D=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1"}]];var F=[["path",{d:"m16 6 4 14"}],["path",{d:"M12 6v14"}],["path",{d:"M8 8v12"}],["path",{d:"M4 4v16"}]];var y=[["path",{d:"M4 5h16"}],["path",{d:"M4 12h16"}],["path",{d:"M4 19h16"}]];var x=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}],["path",{d:"M12 17h.01"}]];var R=[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1"}]];var T=[["path",{d:"M12 22v-9"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z"}]];var q=[["path",{d:"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13"}],["path",{d:"m8 6 2-2"}],["path",{d:"m18 16 2-2"}],["path",{d:"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"}],["path",{d:"m15 5 4 4"}]];var b=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"}]];var v=[["path",{d:"M5 12h14"}],["path",{d:"M12 5v14"}]];var U=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"}]];var H=[["path",{d:"m2 9 3-3 3 3"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6"}],["path",{d:"m22 15-3 3-3-3"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10"}]];var O=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}],["path",{d:"M3 3v5h5"}]];var G=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}],["path",{d:"m9 12 2 2 4-4"}]];var i=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"}],["path",{d:"M20 2v4"}],["path",{d:"M22 4h-4"}],["circle",{cx:"4",cy:"20",r:"2"}]];var V=[["path",{d:"M12 19h8"}],["path",{d:"m4 17 6-6-6-6"}]];var E=[["line",{x1:"10",x2:"14",y1:"2",y2:"2"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11"}],["circle",{cx:"12",cy:"14",r:"8"}]];var W=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"}]];var I=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];var z=({icons:e={},nameAttr:a="data-lucide",attrs:t={},root:r=document,inTemplates:o}={})=>{if(!Object.values(e).length)throw new Error(`Please provide an icons object.
2
+ If you want to use all the icons you can import it like:
3
+ \`import { createIcons, icons } from 'lucide';
4
+ lucide.createIcons({icons});\``);if(typeof r>"u")throw new Error("`createIcons()` only works in a browser environment.");if(Array.from(r.querySelectorAll(`[${a}]`)).forEach(f=>n(f,{nameAttr:a,icons:e,attrs:t})),o&&Array.from(r.querySelectorAll("template")).forEach(l=>z({icons:e,nameAttr:a,attrs:t,root:l.content,inTemplates:o})),a==="data-lucide"){let f=r.querySelectorAll("[icon-name]");f.length>0&&(console.warn("[Lucide] Some icons were found with the now deprecated icon-name attribute. These will still be replaced for backwards compatibility, but will no longer be supported in v1.0 and you should switch to data-lucide"),Array.from(f).forEach(l=>n(l,{nameAttr:"icon-name",icons:e,attrs:t})))}};var oe={BadgeCheck:d,Blocks:c,BookOpen:h,Bot:C,ChartNoAxesCombined:S,Clock3:g,Code2:p,Compass:k,Database:w,FileCheck2:m,Globe:P,Hammer:M,Handshake:A,Keyboard:B,Languages:L,LayoutGrid:D,Library:F,Menu:y,MessageCircleQuestionMark:x,MessagesSquare:R,PackageOpen:T,PencilRuler:q,Play:b,Plus:v,Quote:U,Repeat2:H,RotateCcw:O,ShieldCheck:G,Sparkles:i,Terminal:V,Timer:E,Wrench:W,X:I};window.LoopIcons={render(e=document){z({icons:oe,root:e})}};window.LoopIcons.render();})();
5
+ /**
6
+ * @license lucide v1.25.0 - ISC
7
+ *
8
+ * This source code is licensed under the ISC license.
9
+ * See the LICENSE file in the root directory of this source tree.
10
+ */
docs/index.html CHANGED
@@ -72,17 +72,13 @@
72
  outline-offset: 3px;
73
  }
74
  .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; }
75
- .emoji {
76
- display: inline-flex;
77
- align-items: center;
78
- justify-content: center;
79
- width: 1.25em;
80
- height: 1.25em;
81
  flex: 0 0 auto;
82
- font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
83
- font-size: 1em;
84
- font-style: normal;
85
- line-height: 1;
86
  }
87
 
88
  header.site {
@@ -105,7 +101,7 @@
105
  white-space: nowrap;
106
  }
107
  .brand:hover { color: var(--ink); }
108
- .brand .logo { display: block; width: 32px; height: 32px; }
109
  .links { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
110
  .links a { position: relative; color: var(--muted); font-size: 0.84rem; font-weight: 600; text-decoration: none; }
111
  .links a:hover { color: var(--ink); }
@@ -134,8 +130,10 @@
134
  background: var(--surface);
135
  font-size: 0.86rem;
136
  font-weight: 700;
 
137
  text-decoration: none;
138
  }
 
139
  .nav-link:hover, .button:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
140
  .nav-link.primary, .button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
141
  .nav-link.primary:hover, .button.primary:hover { background: #0f49bd; border-color: #0f49bd; color: #fff; }
@@ -153,6 +151,9 @@
153
  font-weight: 700;
154
  cursor: pointer;
155
  }
 
 
 
156
  .mobile-nav-only, .definition-compact, .mobile-diagram { display: none; }
157
 
158
  main { overflow: hidden; }
@@ -256,12 +257,12 @@
256
  font-weight: 600;
257
  text-transform: uppercase;
258
  }
259
- .section-label .emoji { font-size: 1.06em; }
260
  h1, h2, h3, p { overflow-wrap: anywhere; }
261
  h1 { max-width: 900px; margin: 0 auto; font-size: 3.85rem; line-height: 1.04; font-weight: 800; }
262
  h2 { margin: 0; font-size: 2.45rem; line-height: 1.14; font-weight: 800; }
263
  h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
264
- .hero-kicker { justify-content: center; margin-bottom: 14px; }
265
  .tagline { margin: 18px auto 0; color: var(--blue); font-size: 1.5rem; font-weight: 700; }
266
  .lead { max-width: 780px; margin: 14px auto 0; color: var(--muted); font-size: 1.08rem; }
267
  .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@@ -338,16 +339,18 @@
338
  .stat { position: relative; padding: 17px 12px; text-align: left; }
339
  .stat + .stat { border-left: 1px solid var(--line); }
340
  .stat b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 1.35rem; line-height: 1.2; }
341
- .stat b .emoji { font-size: 0.82em; }
342
  .stat span { color: var(--quiet); font-size: 0.76rem; font-weight: 600; text-transform: uppercase; }
343
  .definition { max-width: 900px; margin: 0 auto 28px; color: var(--muted); font-size: 0.92rem; text-align: center; }
344
  .definition strong { color: var(--ink); }
345
 
 
 
346
  .section-head { display: grid; grid-template-columns: minmax(250px, 0.78fr) minmax(360px, 1.22fr); gap: 64px; align-items: end; margin-bottom: 36px; }
347
  .section-intro { max-width: 720px; margin: 0; color: var(--muted); }
348
  .audit-note { margin: -17px 0 28px; border-top: 1px solid var(--line); padding-top: 13px; color: var(--muted); font-size: 0.8rem; }
349
  .audit-note strong { color: var(--ink); }
350
- .diagram { width: 100%; }
351
  .caption { margin: 13px 0 0; color: var(--quiet); font-size: 0.78rem; text-align: right; }
352
  .supporting-visual { margin: 0 0 34px; }
353
 
@@ -436,7 +439,8 @@
436
  }
437
  .principle + .principle, .card + .card, .pattern + .pattern { padding-left: 22px; }
438
  .principle p, .card p { margin: 7px 0 0; color: var(--muted); font-size: 0.9rem; }
439
- .principle h3, .card h3, footer h4 { display: flex; align-items: center; gap: 8px; }
 
440
  .principles { margin-top: 34px; }
441
  .pattern-grid { gap: 0; }
442
  .pattern {
@@ -498,6 +502,9 @@
498
  }
499
  .resource-input::placeholder { color: var(--quiet); }
500
  .resource-reset, .resource-more {
 
 
 
501
  min-height: 44px;
502
  border: 1px solid var(--line-strong);
503
  border-radius: 6px;
@@ -507,6 +514,8 @@
507
  font-weight: 700;
508
  cursor: pointer;
509
  }
 
 
510
  .resource-reset:hover, .resource-more:hover { border-color: var(--blue); color: var(--blue); }
511
  .resource-collections { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
512
  .resource-collection {
@@ -526,6 +535,7 @@
526
  }
527
  .resource-collection:hover { color: var(--ink); }
528
  .resource-collection[aria-pressed="true"] { border-bottom-color: var(--blue); color: var(--blue); }
 
529
  .resource-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; border-bottom: 1px solid var(--line-strong); }
530
  .resource-count { margin: 0; color: var(--muted); font-size: 0.86rem; }
531
  .resource-sort { width: auto; min-width: 176px; }
@@ -614,7 +624,7 @@
614
  overflow-y: auto;
615
  }
616
  .links.open a { padding: 9px 0; }
617
- .links.open .mobile-nav-only { display: block; }
618
  .links.open a[aria-current="location"]::after { display: none; }
619
  }
620
  @media (max-width: 920px) {
@@ -671,23 +681,25 @@
671
  .project-links { gap: 6px; }
672
  .nav-link { min-height: 44px; padding-inline: 12px; }
673
  .brand { min-width: 0; gap: 8px; }
674
- .brand .logo { width: 30px; height: 30px; }
675
  .brand .brand-text { display: block; font-size: 0.78rem; line-height: 1.1; }
676
  .menu-btn { width: 44px; min-height: 44px; justify-content: center; padding: 0; }
677
  .menu-label { display: none; }
678
- .menu-icon { font-size: 1.05rem; line-height: 1; }
679
  section { padding: 56px 0; }
680
  h1 { font-size: 2.25rem; line-height: 1.08; }
681
  h2 { font-size: 1.85rem; line-height: 1.16; }
682
- .section-label { margin-bottom: 9px; font-size: 0.68rem; }
 
683
  .section-head { gap: 12px; margin-bottom: 24px; }
684
  .section-intro { font-size: 0.95rem; }
685
  .hero { min-height: 0; padding: 32px 0 18px; }
686
- .hero-kicker { max-width: 320px; margin: 0 auto 10px; line-height: 1.45; }
687
  .tagline { margin-top: 11px; font-size: 1.18rem; }
688
  .lead { margin-top: 8px; font-size: 0.95rem; line-height: 1.48; }
689
  .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 420px; gap: 8px; margin: 16px auto 0; }
690
  .actions .button { min-width: 0; min-height: 44px; padding-inline: 8px; font-size: 0.82rem; }
 
691
  .hero-system { display: flex; flex-direction: column; margin-top: 20px; }
692
  .scene-head { order: 1; justify-content: center; min-height: 34px; padding: 6px 0; }
693
  .scene-flow { display: none; }
@@ -714,6 +726,59 @@
714
  .definition-full { display: none; }
715
  .definition-compact { display: inline; }
716
  .hero-visual { width: min(100%, 420px); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
717
  .stats { margin-top: 20px; }
718
  .stat { min-height: 76px; padding: 14px 11px; }
719
  .stat b { font-size: 1.22rem; }
@@ -798,7 +863,8 @@
798
  .resource-select { padding-inline: 10px; font-size: 0.86rem; }
799
  .resource-reset { font-size: 0.86rem; }
800
  .resource-collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
801
- .resource-collection { min-width: 0; min-height: 40px; padding-inline: 4px; font-size: 0.75rem; }
 
802
  .resource-summary { align-items: stretch; flex-direction: column; gap: 10px; padding: 14px 0; }
803
  .resource-sort { width: 100%; }
804
  .resource-item { grid-template-columns: 1fr; gap: 12px; padding: 17px 0; }
@@ -841,6 +907,10 @@
841
  .hero-inspector .loop-stage-detail { min-height: 34px; font-size: 0.72rem; }
842
  .mental-model { padding-top: 8px; }
843
  .actions .button { font-size: 0.78rem; }
 
 
 
 
844
  .menu-btn { padding-inline: 10px; }
845
  .nav-link { padding-inline: 10px; }
846
  }
@@ -972,13 +1042,13 @@
972
  <a href="#maturity">Maturity</a>
973
  <a href="#resources">Resources</a>
974
  <a href="#faq">FAQ</a>
975
- <a class="mobile-nav-only" href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering"><span class="emoji" aria-hidden="true">🤗</span>Dataset</a>
976
  </nav>
977
  <span class="spacer"></span>
978
- <button class="menu-btn" type="button" aria-expanded="false" aria-controls="primary-nav" aria-label="Open navigation"><span class="menu-icon" aria-hidden="true">&#9776;</span><span class="menu-label">Menu</span></button>
979
  <nav class="project-links" aria-label="Project links">
980
- <a class="nav-link" href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering"><span class="emoji" aria-hidden="true">🤗</span>Dataset</a>
981
- <a class="nav-link primary" href="https://github.com/ChaoYue0307/awesome-loop-engineering"><span aria-hidden="true">&nearr;</span><span class="nav-label">GitHub</span></a>
982
  </nav>
983
  </div>
984
  </header>
@@ -987,13 +1057,13 @@
987
  <section class="hero" id="top">
988
  <div class="wrap">
989
  <div class="hero-copy">
990
- <p class="section-label hero-kicker"><span class="emoji" aria-hidden="true">🔁</span><span>The field guide for recurring AI-agent systems</span></p>
991
  <h1>Awesome Loop Engineering</h1>
992
  <p class="tagline">Design loops, not just prompts.</p>
993
  <p class="lead">540 source-audited resources, 15 operational patterns, 15 validated contracts, and 6 runnable templates for agent systems that must keep working.</p>
994
  <div class="actions">
995
- <a class="button primary" href="https://github.com/ChaoYue0307/awesome-loop-engineering#readme"><span class="emoji" aria-hidden="true">📚</span>Explore the list</a>
996
- <a class="button" href="#choose"><span class="emoji" aria-hidden="true">🧭</span>Choose a loop</a>
997
  </div>
998
  </div>
999
  <div class="hero-system">
@@ -1034,17 +1104,24 @@
1034
  <div class="wrap">
1035
  <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>
1036
  <figure class="hero-visual">
1037
- <picture>
1038
- <source media="(max-width: 560px)" srcset="assets/loop-engineering-stack-mobile.svg">
1039
- <img src="assets/loop-engineering-stack.png" width="1666" height="944" fetchpriority="high" alt="The engineering stack: prompt, context, and harness engineering improve one agent run; Loop Engineering governs recurring work over time.">
1040
- </picture>
 
 
 
 
 
 
 
1041
  </figure>
1042
  <div class="stats" role="list" aria-label="Repository at a glance">
1043
- <div class="stat" role="listitem"><b><span class="emoji" aria-hidden="true">📚</span>540</b><span>audited resources</span></div>
1044
- <div class="stat" role="listitem"><b><span class="emoji" aria-hidden="true">🧩</span>15</b><span>operational patterns</span></div>
1045
- <div class="stat" role="listitem"><b><span class="emoji" aria-hidden="true">🧾</span>15</b><span>loop contracts</span></div>
1046
- <div class="stat" role="listitem"><b><span class="emoji" aria-hidden="true">▶️</span>6</b><span>runnable templates</span></div>
1047
- <div class="stat" role="listitem"><b><span class="emoji" aria-hidden="true">🌍</span>8</b><span>languages</span></div>
1048
  </div>
1049
  </div>
1050
  </section>
@@ -1053,7 +1130,7 @@
1053
  <div class="wrap">
1054
  <div class="section-head">
1055
  <div>
1056
- <p class="section-label"><span class="emoji" aria-hidden="true">🧾</span><span>01 / The loop contract</span></p>
1057
  <h2>Every reliable loop names the same parts.</h2>
1058
  </div>
1059
  <p class="section-intro">A loop contract makes triggers, permissions, verification, state, budgets, and human handoff reviewable. Start with the <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/schemas/loop-contract.schema.json">JSON schema</a> or one of <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/README.md">15 validated examples</a>.</p>
@@ -1092,9 +1169,9 @@
1092
  <p class="mobile-next-action"><strong>Next action</strong><span>Repeat, report, escalate, or stop.</span></p>
1093
  </div>
1094
  <div class="principles">
1095
- <div class="principle"><h3><span class="emoji" aria-hidden="true"></span>Verifiable by design</h3><p>Tests, typechecks, evals, traces, or reviewers decide done. The acting agent never approves itself.</p></div>
1096
- <div class="principle"><h3><span class="emoji" aria-hidden="true">💾</span>State outside the model</h3><p>Progress files, issues, checkpoints, and traces survive context resets and the next run.</p></div>
1097
- <div class="principle"><h3><span class="emoji" aria-hidden="true">⏱️</span>Budgeted and bounded</h3><p>Retries, runtime, and concurrency are capped, with a clear path to human judgment.</p></div>
1098
  </div>
1099
  </div>
1100
  </section>
@@ -1103,7 +1180,7 @@
1103
  <div class="wrap">
1104
  <div class="section-head">
1105
  <div>
1106
- <p class="section-label"><span class="emoji" aria-hidden="true">🔁</span><span>02 / The lifecycle</span></p>
1107
  <h2>Evidence moves the loop forward.</h2>
1108
  </div>
1109
  <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>
@@ -1134,7 +1211,7 @@
1134
  <div class="wrap">
1135
  <div class="section-head">
1136
  <div>
1137
- <p class="section-label"><span class="emoji" aria-hidden="true">🧩</span><span>03 / Pattern library</span></p>
1138
  <h2>Start from the problem you have.</h2>
1139
  </div>
1140
  <p class="section-intro">Each pattern includes a trigger, verification gate, durable state, budget, and escalation path. Compare all 15 in the <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/MATRIX.md">pattern matrix</a>.</p>
@@ -1167,7 +1244,7 @@
1167
  <div class="wrap">
1168
  <div class="section-head">
1169
  <div>
1170
- <p class="section-label"><span class="emoji" aria-hidden="true">🛠️</span><span>04 / Where loops run</span></p>
1171
  <h2>Pick the runtime deliberately.</h2>
1172
  </div>
1173
  <p class="section-intro">The same contract can run in a session, on a schedule, in CI, or through a durable worker. 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>
@@ -1177,12 +1254,12 @@
1177
  <figcaption class="caption">Keep the contract stable; change the trigger, isolation, and permission wiring.</figcaption>
1178
  </figure>
1179
  <div class="link-grid">
1180
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/claude-loop.md"><h3><span class="emoji" aria-hidden="true">⌨️</span>Claude Code <code>/loop</code></h3><p>Session-scoped recurring work while you are nearby.</p></a>
1181
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/claude-desktop-scheduled-task.md"><h3><span class="emoji" aria-hidden="true">🕒</span>Desktop scheduled task</h3><p>Local recurring runs with file access and missed-run guardrails.</p></a>
1182
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/codex-automation.md"><h3><span class="emoji" aria-hidden="true">⚙️</span>Codex automation</h3><p>Unattended background work in an isolated worktree.</p></a>
1183
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/github-agentic-workflow.md"><h3><span class="emoji" aria-hidden="true">🧪</span>GitHub agentic workflow</h3><p>Scheduled or event-triggered work in GitHub Actions.</p></a>
1184
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/shell-cron-loop.md"><h3><span class="emoji" aria-hidden="true">🖥️</span>Shell / cron</h3><p>A minimal wrapper that delegates to an agent CLI and records receipts.</p></a>
1185
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/test-repair-loop.sh"><h3><span class="emoji" aria-hidden="true">▶️</span>Runnable reference</h3><p>A dependency-light test-repair loop you can run today.</p></a>
1186
  </div>
1187
  </div>
1188
  </section>
@@ -1191,7 +1268,7 @@
1191
  <div class="wrap">
1192
  <div class="section-head">
1193
  <div>
1194
- <p class="section-label"><span class="emoji" aria-hidden="true">📈</span><span>05 / Maturity model</span></p>
1195
  <h2>Climb one level at a time.</h2>
1196
  </div>
1197
  <p class="section-intro">A reliable Level 3 loop with durable state and deterministic checks is more useful than a Level 5 loop with vague goals.</p>
@@ -1216,7 +1293,7 @@
1216
  <div class="wrap">
1217
  <div class="section-head">
1218
  <div>
1219
- <p class="section-label"><span class="emoji" aria-hidden="true">📚</span><span>06 / Resource atlas</span></p>
1220
  <h2>Find evidence, not just links.</h2>
1221
  </div>
1222
  <p class="section-intro">Filter 540 source-audited works by goal, lifecycle, artifact type, and evidence class. Open any result for contribution, novelty, impact, provenance, and source metadata.</p>
@@ -1273,17 +1350,17 @@
1273
  <option value="risk">Risk and ecosystem maps</option>
1274
  </select>
1275
  </label>
1276
- <button class="resource-reset" id="resource-reset" type="button"><span aria-hidden="true">&#8634;</span> Reset</button>
1277
  </div>
1278
  <div class="resource-collections" role="group" aria-label="Filter by user goal">
1279
- <button class="resource-collection" type="button" data-collection="" aria-pressed="true"><span class="emoji" aria-hidden="true"></span>All</button>
1280
- <button class="resource-collection" type="button" data-collection="Learn" aria-pressed="false"><span class="emoji" aria-hidden="true">🧭</span>Learn</button>
1281
- <button class="resource-collection" type="button" data-collection="Design" aria-pressed="false"><span class="emoji" aria-hidden="true">✏️</span>Design</button>
1282
- <button class="resource-collection" type="button" data-collection="Build" aria-pressed="false"><span class="emoji" aria-hidden="true">🛠️</span>Build</button>
1283
- <button class="resource-collection" type="button" data-collection="Persist" aria-pressed="false"><span class="emoji" aria-hidden="true">💾</span>Persist</button>
1284
- <button class="resource-collection" type="button" data-collection="Verify" aria-pressed="false"><span class="emoji" aria-hidden="true"></span>Verify</button>
1285
- <button class="resource-collection" type="button" data-collection="Govern" aria-pressed="false"><span class="emoji" aria-hidden="true">🛡️</span>Govern</button>
1286
- <button class="resource-collection" type="button" data-collection="Apply" aria-pressed="false"><span class="emoji" aria-hidden="true">📦</span>Apply</button>
1287
  </div>
1288
  <div class="resource-summary">
1289
  <p class="resource-count" id="resource-count" aria-live="polite">Resource index loads as you approach this section.</p>
@@ -1321,16 +1398,16 @@
1321
  <div class="wrap">
1322
  <div class="section-head">
1323
  <div>
1324
- <p class="section-label"><span class="emoji" aria-hidden="true">🤝</span><span>07 / Contribute</span></p>
1325
  <h2>Improve the evidence or share a loop.</h2>
1326
  </div>
1327
  <p class="section-intro">Submit one canonical source, correct an existing record with primary evidence, or document a loop you have run.</p>
1328
  </div>
1329
  <div class="link-grid contribute-grid">
1330
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/issues/new?template=resource-suggestion.yml"><h3><span class="emoji" aria-hidden="true"></span>Suggest a resource</h3><p>Submit one canonical source and a precise annotation in under five minutes.</p></a>
1331
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/issues/new?template=annotation-correction.yml"><h3><span class="emoji" aria-hidden="true"></span>Correct the map</h3><p>Fix a summary, contribution, date, venue, identifier, or canonical link with primary evidence.</p></a>
1332
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/gallery/README.md"><h3><span class="emoji" aria-hidden="true">🔁</span>Share a loop</h3><p>Publish a real or anonymized case study using the gallery checklist.</p></a>
1333
- <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/discussions/2"><h3><span class="emoji" aria-hidden="true">💬</span>Join the discussion</h3><p>Compare operating patterns with other loop builders.</p></a>
1334
  </div>
1335
  </div>
1336
  </section>
@@ -1339,7 +1416,7 @@
1339
  <div class="wrap">
1340
  <div class="section-head">
1341
  <div>
1342
- <p class="section-label"><span class="emoji" aria-hidden="true">💬</span><span>08 / FAQ</span></p>
1343
  <h2>Questions that define the boundary.</h2>
1344
  </div>
1345
  <p class="section-intro">Use these tests to decide whether a recurring agent system needs a loop.</p>
@@ -1372,7 +1449,7 @@
1372
  <div class="wrap">
1373
  <div class="footer-grid">
1374
  <div>
1375
- <h4><span class="emoji" aria-hidden="true">📖</span>Cite this repository</h4>
1376
  <div class="cite">
1377
  <button class="copy" type="button" data-copy="cite-bib" aria-label="Copy BibTeX citation"><span aria-live="polite">Copy</span></button>
1378
  <pre id="cite-bib">@misc{chaoyue2026awesome_loop_engineering,
@@ -1385,7 +1462,7 @@
1385
  </div>
1386
  </div>
1387
  <div>
1388
- <h4><span class="emoji" aria-hidden="true">🧭</span>Explore</h4>
1389
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/DEFINITION.md">Canonical definition</a>
1390
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/MANIFESTO.md">Manifesto</a>
1391
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/TAXONOMY.md">Taxonomy</a>
@@ -1394,7 +1471,7 @@
1394
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/data/resource_source_audit.csv">Source audit</a>
1395
  </div>
1396
  <div>
1397
- <h4><span class="emoji" aria-hidden="true">🛠️</span>Project</h4>
1398
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering">GitHub repository</a>
1399
  <a href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering">Hugging Face dataset</a>
1400
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/CONTRIBUTING.md">Contributing</a>
@@ -1404,7 +1481,7 @@
1404
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/ROADMAP.md">Roadmap</a>
1405
  </div>
1406
  <div>
1407
- <h4><span class="emoji" aria-hidden="true">🌍</span>Languages</h4>
1408
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.zh-CN.md" lang="zh">中文</a>
1409
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.es.md" lang="es">Español</a>
1410
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.fr.md" lang="fr">Français</a>
@@ -1418,18 +1495,17 @@
1418
  </div>
1419
  </footer>
1420
 
 
1421
  <script>
1422
  (function () {
1423
  var button = document.querySelector('.menu-btn');
1424
  var links = document.getElementById('primary-nav');
1425
- var icon = button && button.querySelector('.menu-icon');
1426
  var label = button && button.querySelector('.menu-label');
1427
  if (!button || !links) return;
1428
  function setMenuState(open) {
1429
  links.classList.toggle('open', open);
1430
  button.setAttribute('aria-expanded', open ? 'true' : 'false');
1431
  button.setAttribute('aria-label', open ? 'Close navigation' : 'Open navigation');
1432
- if (icon) icon.textContent = open ? '\u00d7' : '\u2630';
1433
  if (label) label.textContent = open ? 'Close' : 'Menu';
1434
  }
1435
  button.addEventListener('click', function () {
@@ -1841,6 +1917,6 @@
1841
  });
1842
  });
1843
  </script>
1844
- <script type="module" src="assets/loop-hero-scene.js?v=21"></script>
1845
  </body>
1846
  </html>
 
72
  outline-offset: 3px;
73
  }
74
  .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; }
75
+ .icon {
76
+ display: block;
77
+ width: 1em;
78
+ height: 1em;
 
 
79
  flex: 0 0 auto;
80
+ color: currentColor;
81
+ stroke-width: 2;
 
 
82
  }
83
 
84
  header.site {
 
101
  white-space: nowrap;
102
  }
103
  .brand:hover { color: var(--ink); }
104
+ .brand .logo { display: block; width: 32px; height: 32px; flex: 0 0 auto; object-fit: contain; }
105
  .links { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
106
  .links a { position: relative; color: var(--muted); font-size: 0.84rem; font-weight: 600; text-decoration: none; }
107
  .links a:hover { color: var(--ink); }
 
130
  background: var(--surface);
131
  font-size: 0.86rem;
132
  font-weight: 700;
133
+ line-height: 1.2;
134
  text-decoration: none;
135
  }
136
+ .nav-link .icon, .button .icon, .menu-btn .icon { width: 17px; height: 17px; }
137
  .nav-link:hover, .button:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
138
  .nav-link.primary, .button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
139
  .nav-link.primary:hover, .button.primary:hover { background: #0f49bd; border-color: #0f49bd; color: #fff; }
 
151
  font-weight: 700;
152
  cursor: pointer;
153
  }
154
+ .menu-icon-close { display: none; }
155
+ .menu-btn[aria-expanded="true"] .menu-icon-open { display: none; }
156
+ .menu-btn[aria-expanded="true"] .menu-icon-close { display: block; }
157
  .mobile-nav-only, .definition-compact, .mobile-diagram { display: none; }
158
 
159
  main { overflow: hidden; }
 
257
  font-weight: 600;
258
  text-transform: uppercase;
259
  }
260
+ .section-label .icon { width: 15px; height: 15px; margin-top: 1px; }
261
  h1, h2, h3, p { overflow-wrap: anywhere; }
262
  h1 { max-width: 900px; margin: 0 auto; font-size: 3.85rem; line-height: 1.04; font-weight: 800; }
263
  h2 { margin: 0; font-size: 2.45rem; line-height: 1.14; font-weight: 800; }
264
  h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
265
+ .hero-kicker { width: fit-content; max-width: 100%; justify-content: center; margin: 0 auto 14px; }
266
  .tagline { margin: 18px auto 0; color: var(--blue); font-size: 1.5rem; font-weight: 700; }
267
  .lead { max-width: 780px; margin: 14px auto 0; color: var(--muted); font-size: 1.08rem; }
268
  .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
 
339
  .stat { position: relative; padding: 17px 12px; text-align: left; }
340
  .stat + .stat { border-left: 1px solid var(--line); }
341
  .stat b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 1.35rem; line-height: 1.2; }
342
+ .stat b .icon { width: 18px; height: 18px; color: var(--blue); }
343
  .stat span { color: var(--quiet); font-size: 0.76rem; font-weight: 600; text-transform: uppercase; }
344
  .definition { max-width: 900px; margin: 0 auto 28px; color: var(--muted); font-size: 0.92rem; text-align: center; }
345
  .definition strong { color: var(--ink); }
346
 
347
+ .mobile-stack { display: none; }
348
+
349
  .section-head { display: grid; grid-template-columns: minmax(250px, 0.78fr) minmax(360px, 1.22fr); gap: 64px; align-items: end; margin-bottom: 36px; }
350
  .section-intro { max-width: 720px; margin: 0; color: var(--muted); }
351
  .audit-note { margin: -17px 0 28px; border-top: 1px solid var(--line); padding-top: 13px; color: var(--muted); font-size: 0.8rem; }
352
  .audit-note strong { color: var(--ink); }
353
+ .diagram { width: 100%; margin: 0; }
354
  .caption { margin: 13px 0 0; color: var(--quiet); font-size: 0.78rem; text-align: right; }
355
  .supporting-visual { margin: 0 0 34px; }
356
 
 
439
  }
440
  .principle + .principle, .card + .card, .pattern + .pattern { padding-left: 22px; }
441
  .principle p, .card p { margin: 7px 0 0; color: var(--muted); font-size: 0.9rem; }
442
+ .principle h3, .card h3, footer h4 { display: flex; align-items: flex-start; gap: 8px; }
443
+ .principle h3 .icon, .card h3 .icon, footer h4 .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
444
  .principles { margin-top: 34px; }
445
  .pattern-grid { gap: 0; }
446
  .pattern {
 
502
  }
503
  .resource-input::placeholder { color: var(--quiet); }
504
  .resource-reset, .resource-more {
505
+ align-items: center;
506
+ justify-content: center;
507
+ gap: 7px;
508
  min-height: 44px;
509
  border: 1px solid var(--line-strong);
510
  border-radius: 6px;
 
514
  font-weight: 700;
515
  cursor: pointer;
516
  }
517
+ .resource-reset { display: inline-flex; }
518
+ .resource-reset .icon { width: 15px; height: 15px; }
519
  .resource-reset:hover, .resource-more:hover { border-color: var(--blue); color: var(--blue); }
520
  .resource-collections { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
521
  .resource-collection {
 
535
  }
536
  .resource-collection:hover { color: var(--ink); }
537
  .resource-collection[aria-pressed="true"] { border-bottom-color: var(--blue); color: var(--blue); }
538
+ .resource-collection .icon { width: 15px; height: 15px; }
539
  .resource-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; border-bottom: 1px solid var(--line-strong); }
540
  .resource-count { margin: 0; color: var(--muted); font-size: 0.86rem; }
541
  .resource-sort { width: auto; min-width: 176px; }
 
624
  overflow-y: auto;
625
  }
626
  .links.open a { padding: 9px 0; }
627
+ .links.open .mobile-nav-only { display: flex; align-items: center; gap: 8px; }
628
  .links.open a[aria-current="location"]::after { display: none; }
629
  }
630
  @media (max-width: 920px) {
 
681
  .project-links { gap: 6px; }
682
  .nav-link { min-height: 44px; padding-inline: 12px; }
683
  .brand { min-width: 0; gap: 8px; }
684
+ .brand .logo { width: 28px; height: 28px; }
685
  .brand .brand-text { display: block; font-size: 0.78rem; line-height: 1.1; }
686
  .menu-btn { width: 44px; min-height: 44px; justify-content: center; padding: 0; }
687
  .menu-label { display: none; }
688
+ .menu-btn .icon { width: 18px; height: 18px; }
689
  section { padding: 56px 0; }
690
  h1 { font-size: 2.25rem; line-height: 1.08; }
691
  h2 { font-size: 1.85rem; line-height: 1.16; }
692
+ .section-label { align-items: flex-start; margin-bottom: 9px; font-size: 0.68rem; line-height: 1.4; }
693
+ .section-label .icon { width: 14px; height: 14px; margin-top: 1px; }
694
  .section-head { gap: 12px; margin-bottom: 24px; }
695
  .section-intro { font-size: 0.95rem; }
696
  .hero { min-height: 0; padding: 32px 0 18px; }
697
+ .hero-kicker { max-width: 100%; align-items: center; margin: 0 auto 10px; line-height: 1.35; text-align: left; }
698
  .tagline { margin-top: 11px; font-size: 1.18rem; }
699
  .lead { margin-top: 8px; font-size: 0.95rem; line-height: 1.48; }
700
  .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 420px; gap: 8px; margin: 16px auto 0; }
701
  .actions .button { min-width: 0; min-height: 44px; padding-inline: 8px; font-size: 0.82rem; }
702
+ .actions .button .icon { width: 16px; height: 16px; }
703
  .hero-system { display: flex; flex-direction: column; margin-top: 20px; }
704
  .scene-head { order: 1; justify-content: center; min-height: 34px; padding: 6px 0; }
705
  .scene-flow { display: none; }
 
726
  .definition-full { display: none; }
727
  .definition-compact { display: inline; }
728
  .hero-visual { width: min(100%, 420px); }
729
+ .hero-visual .desktop-stack-visual { display: none; }
730
+ .mobile-stack {
731
+ display: block;
732
+ border: 1px solid var(--line-strong);
733
+ border-radius: 6px;
734
+ background: var(--surface);
735
+ overflow: hidden;
736
+ text-align: left;
737
+ }
738
+ .mobile-stack-head { padding: 15px 15px 13px; border-bottom: 1px solid var(--line); }
739
+ .mobile-stack-eyebrow {
740
+ display: block;
741
+ color: var(--blue);
742
+ font-family: "IBM Plex Mono", ui-monospace, monospace;
743
+ font-size: 0.62rem;
744
+ font-weight: 650;
745
+ text-transform: uppercase;
746
+ }
747
+ .mobile-stack-head strong { display: block; margin-top: 3px; font-size: 1.12rem; line-height: 1.25; }
748
+ .mobile-stack-list { margin: 0; padding: 0; list-style: none; }
749
+ .mobile-stack-layer {
750
+ display: grid;
751
+ grid-template-columns: 30px minmax(0, 1fr);
752
+ gap: 10px;
753
+ min-width: 0;
754
+ padding: 13px 14px 14px 12px;
755
+ border-left: 4px solid var(--ink);
756
+ }
757
+ .mobile-stack-layer + .mobile-stack-layer { border-top: 1px solid var(--line); }
758
+ .mobile-stack-layer.loop { border-left-color: var(--blue); background: #eef4ff; }
759
+ .mobile-stack-layer.harness { border-left-color: var(--cyan); }
760
+ .mobile-stack-layer.context { border-left-color: var(--green); }
761
+ .mobile-stack-number {
762
+ padding-top: 2px;
763
+ color: var(--quiet);
764
+ font-family: "IBM Plex Mono", ui-monospace, monospace;
765
+ font-size: 0.64rem;
766
+ font-weight: 700;
767
+ }
768
+ .mobile-stack-layer.loop .mobile-stack-number, .mobile-stack-layer.loop strong { color: var(--blue); }
769
+ .mobile-stack-layer.harness strong { color: #087f99; }
770
+ .mobile-stack-layer.context strong { color: #087b53; }
771
+ .mobile-stack-layer strong { display: block; font-size: 0.92rem; line-height: 1.3; }
772
+ .mobile-stack-layer p { margin: 3px 0 0; color: var(--muted); font-size: 0.74rem; line-height: 1.45; }
773
+ .mobile-stack-note {
774
+ margin: 0;
775
+ border-top: 1px solid var(--line-strong);
776
+ padding: 11px 14px 12px;
777
+ color: var(--muted);
778
+ font-size: 0.72rem;
779
+ line-height: 1.45;
780
+ }
781
+ .mobile-stack-note strong { color: var(--blue); }
782
  .stats { margin-top: 20px; }
783
  .stat { min-height: 76px; padding: 14px 11px; }
784
  .stat b { font-size: 1.22rem; }
 
863
  .resource-select { padding-inline: 10px; font-size: 0.86rem; }
864
  .resource-reset { font-size: 0.86rem; }
865
  .resource-collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
866
+ .resource-collection { min-width: 0; min-height: 42px; padding-inline: 4px; font-size: 0.75rem; }
867
+ .resource-collection .icon { width: 14px; height: 14px; }
868
  .resource-summary { align-items: stretch; flex-direction: column; gap: 10px; padding: 14px 0; }
869
  .resource-sort { width: 100%; }
870
  .resource-item { grid-template-columns: 1fr; gap: 12px; padding: 17px 0; }
 
907
  .hero-inspector .loop-stage-detail { min-height: 34px; font-size: 0.72rem; }
908
  .mental-model { padding-top: 8px; }
909
  .actions .button { font-size: 0.78rem; }
910
+ .mobile-stack-layer { padding-right: 11px; padding-left: 9px; }
911
+ .mobile-stack-layer p { font-size: 0.71rem; }
912
+ .resource-collection { gap: 4px; font-size: 0.68rem; }
913
+ .resource-collection .icon { width: 13px; height: 13px; }
914
  .menu-btn { padding-inline: 10px; }
915
  .nav-link { padding-inline: 10px; }
916
  }
 
1042
  <a href="#maturity">Maturity</a>
1043
  <a href="#resources">Resources</a>
1044
  <a href="#faq">FAQ</a>
1045
+ <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>
1046
  </nav>
1047
  <span class="spacer"></span>
1048
+ <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>
1049
  <nav class="project-links" aria-label="Project links">
1050
+ <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>
1051
+ <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>
1052
  </nav>
1053
  </div>
1054
  </header>
 
1057
  <section class="hero" id="top">
1058
  <div class="wrap">
1059
  <div class="hero-copy">
1060
+ <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>
1061
  <h1>Awesome Loop Engineering</h1>
1062
  <p class="tagline">Design loops, not just prompts.</p>
1063
  <p class="lead">540 source-audited resources, 15 operational patterns, 15 validated contracts, and 6 runnable templates for agent systems that must keep working.</p>
1064
  <div class="actions">
1065
+ <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 the list</a>
1066
+ <a class="button" href="#choose"><i class="icon" data-lucide="compass" aria-hidden="true"></i>Choose a loop</a>
1067
  </div>
1068
  </div>
1069
  <div class="hero-system">
 
1104
  <div class="wrap">
1105
  <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>
1106
  <figure class="hero-visual">
1107
+ <img class="desktop-stack-visual" src="assets/loop-engineering-stack.svg?v=7" width="1200" height="680" loading="lazy" alt="The engineering stack: prompt, context, and harness engineering improve one agent run; Loop Engineering governs recurring work over time.">
1108
+ <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.">
1109
+ <div class="mobile-stack-head"><span class="mobile-stack-eyebrow">Mental model / four layers</span><strong>Loop Engineering Stack</strong></div>
1110
+ <ol class="mobile-stack-list">
1111
+ <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>
1112
+ <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>
1113
+ <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>
1114
+ <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>
1115
+ </ol>
1116
+ <p class="mobile-stack-note">The first three layers improve <strong>one run</strong>. Loop Engineering governs <strong>work over time</strong>.</p>
1117
+ </div>
1118
  </figure>
1119
  <div class="stats" role="list" aria-label="Repository at a glance">
1120
+ <div class="stat" role="listitem"><b><i class="icon" data-lucide="library" aria-hidden="true"></i>540</b><span>audited resources</span></div>
1121
+ <div class="stat" role="listitem"><b><i class="icon" data-lucide="blocks" aria-hidden="true"></i>15</b><span>operational patterns</span></div>
1122
+ <div class="stat" role="listitem"><b><i class="icon" data-lucide="file-check-2" aria-hidden="true"></i>15</b><span>loop contracts</span></div>
1123
+ <div class="stat" role="listitem"><b><i class="icon" data-lucide="play" aria-hidden="true"></i>6</b><span>runnable templates</span></div>
1124
+ <div class="stat" role="listitem"><b><i class="icon" data-lucide="languages" aria-hidden="true"></i>8</b><span>languages</span></div>
1125
  </div>
1126
  </div>
1127
  </section>
 
1130
  <div class="wrap">
1131
  <div class="section-head">
1132
  <div>
1133
+ <p class="section-label"><i class="icon" data-lucide="file-check-2" aria-hidden="true"></i><span>01 / The loop contract</span></p>
1134
  <h2>Every reliable loop names the same parts.</h2>
1135
  </div>
1136
  <p class="section-intro">A loop contract makes triggers, permissions, verification, state, budgets, and human handoff reviewable. Start with the <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/schemas/loop-contract.schema.json">JSON schema</a> or one of <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/README.md">15 validated examples</a>.</p>
 
1169
  <p class="mobile-next-action"><strong>Next action</strong><span>Repeat, report, escalate, or stop.</span></p>
1170
  </div>
1171
  <div class="principles">
1172
+ <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>
1173
+ <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>
1174
+ <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>
1175
  </div>
1176
  </div>
1177
  </section>
 
1180
  <div class="wrap">
1181
  <div class="section-head">
1182
  <div>
1183
+ <p class="section-label"><i class="icon" data-lucide="repeat-2" aria-hidden="true"></i><span>02 / The lifecycle</span></p>
1184
  <h2>Evidence moves the loop forward.</h2>
1185
  </div>
1186
  <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>
 
1211
  <div class="wrap">
1212
  <div class="section-head">
1213
  <div>
1214
+ <p class="section-label"><i class="icon" data-lucide="blocks" aria-hidden="true"></i><span>03 / Pattern library</span></p>
1215
  <h2>Start from the problem you have.</h2>
1216
  </div>
1217
  <p class="section-intro">Each pattern includes a trigger, verification gate, durable state, budget, and escalation path. Compare all 15 in the <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/patterns/MATRIX.md">pattern matrix</a>.</p>
 
1244
  <div class="wrap">
1245
  <div class="section-head">
1246
  <div>
1247
+ <p class="section-label"><i class="icon" data-lucide="wrench" aria-hidden="true"></i><span>04 / Where loops run</span></p>
1248
  <h2>Pick the runtime deliberately.</h2>
1249
  </div>
1250
  <p class="section-intro">The same contract can run in a session, on a schedule, in CI, or through a durable worker. 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>
 
1254
  <figcaption class="caption">Keep the contract stable; change the trigger, isolation, and permission wiring.</figcaption>
1255
  </figure>
1256
  <div class="link-grid">
1257
+ <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/claude-loop.md"><h3><i class="icon" data-lucide="keyboard" aria-hidden="true"></i>Claude Code <code>/loop</code></h3><p>Session-scoped recurring work while you are nearby.</p></a>
1258
+ <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/claude-desktop-scheduled-task.md"><h3><i class="icon" data-lucide="clock-3" aria-hidden="true"></i>Desktop scheduled task</h3><p>Local recurring runs with file access and missed-run guardrails.</p></a>
1259
+ <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/codex-automation.md"><h3><i class="icon" data-lucide="bot" aria-hidden="true"></i>Codex automation</h3><p>Unattended background work in an isolated worktree.</p></a>
1260
+ <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/github-agentic-workflow.md"><h3><i class="icon" data-lucide="badge-check" aria-hidden="true"></i>GitHub agentic workflow</h3><p>Scheduled or event-triggered work in GitHub Actions.</p></a>
1261
+ <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/shell-cron-loop.md"><h3><i class="icon" data-lucide="terminal" aria-hidden="true"></i>Shell / cron</h3><p>A minimal wrapper that delegates to an agent CLI and records receipts.</p></a>
1262
+ <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/runnable/test-repair-loop.sh"><h3><i class="icon" data-lucide="play" aria-hidden="true"></i>Runnable reference</h3><p>A dependency-light test-repair loop you can run today.</p></a>
1263
  </div>
1264
  </div>
1265
  </section>
 
1268
  <div class="wrap">
1269
  <div class="section-head">
1270
  <div>
1271
+ <p class="section-label"><i class="icon" data-lucide="chart-no-axes-combined" aria-hidden="true"></i><span>05 / Maturity model</span></p>
1272
  <h2>Climb one level at a time.</h2>
1273
  </div>
1274
  <p class="section-intro">A reliable Level 3 loop with durable state and deterministic checks is more useful than a Level 5 loop with vague goals.</p>
 
1293
  <div class="wrap">
1294
  <div class="section-head">
1295
  <div>
1296
+ <p class="section-label"><i class="icon" data-lucide="library" aria-hidden="true"></i><span>06 / Resource atlas</span></p>
1297
  <h2>Find evidence, not just links.</h2>
1298
  </div>
1299
  <p class="section-intro">Filter 540 source-audited works by goal, lifecycle, artifact type, and evidence class. Open any result for contribution, novelty, impact, provenance, and source metadata.</p>
 
1350
  <option value="risk">Risk and ecosystem maps</option>
1351
  </select>
1352
  </label>
1353
+ <button class="resource-reset" id="resource-reset" type="button"><i class="icon" data-lucide="rotate-ccw" aria-hidden="true"></i>Reset</button>
1354
  </div>
1355
  <div class="resource-collections" role="group" aria-label="Filter by user goal">
1356
+ <button class="resource-collection" type="button" data-collection="" aria-pressed="true"><i class="icon" data-lucide="layout-grid" aria-hidden="true"></i>All</button>
1357
+ <button class="resource-collection" type="button" data-collection="Learn" aria-pressed="false"><i class="icon" data-lucide="compass" aria-hidden="true"></i>Learn</button>
1358
+ <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>
1359
+ <button class="resource-collection" type="button" data-collection="Build" aria-pressed="false"><i class="icon" data-lucide="hammer" aria-hidden="true"></i>Build</button>
1360
+ <button class="resource-collection" type="button" data-collection="Persist" aria-pressed="false"><i class="icon" data-lucide="database" aria-hidden="true"></i>Persist</button>
1361
+ <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>
1362
+ <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>
1363
+ <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>
1364
  </div>
1365
  <div class="resource-summary">
1366
  <p class="resource-count" id="resource-count" aria-live="polite">Resource index loads as you approach this section.</p>
 
1398
  <div class="wrap">
1399
  <div class="section-head">
1400
  <div>
1401
+ <p class="section-label"><i class="icon" data-lucide="handshake" aria-hidden="true"></i><span>07 / Contribute</span></p>
1402
  <h2>Improve the evidence or share a loop.</h2>
1403
  </div>
1404
  <p class="section-intro">Submit one canonical source, correct an existing record with primary evidence, or document a loop you have run.</p>
1405
  </div>
1406
  <div class="link-grid contribute-grid">
1407
+ <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>Submit one canonical source and a precise annotation in under five minutes.</p></a>
1408
+ <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 the map</h3><p>Fix a summary, contribution, date, venue, identifier, or canonical link with primary evidence.</p></a>
1409
+ <a class="card" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/gallery/README.md"><h3><i class="icon" data-lucide="repeat-2" aria-hidden="true"></i>Share a loop</h3><p>Publish a real or anonymized case study using the gallery checklist.</p></a>
1410
+ <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>
1411
  </div>
1412
  </div>
1413
  </section>
 
1416
  <div class="wrap">
1417
  <div class="section-head">
1418
  <div>
1419
+ <p class="section-label"><i class="icon" data-lucide="message-circle-question-mark" aria-hidden="true"></i><span>08 / FAQ</span></p>
1420
  <h2>Questions that define the boundary.</h2>
1421
  </div>
1422
  <p class="section-intro">Use these tests to decide whether a recurring agent system needs a loop.</p>
 
1449
  <div class="wrap">
1450
  <div class="footer-grid">
1451
  <div>
1452
+ <h4><i class="icon" data-lucide="quote" aria-hidden="true"></i>Cite this repository</h4>
1453
  <div class="cite">
1454
  <button class="copy" type="button" data-copy="cite-bib" aria-label="Copy BibTeX citation"><span aria-live="polite">Copy</span></button>
1455
  <pre id="cite-bib">@misc{chaoyue2026awesome_loop_engineering,
 
1462
  </div>
1463
  </div>
1464
  <div>
1465
+ <h4><i class="icon" data-lucide="compass" aria-hidden="true"></i>Explore</h4>
1466
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/DEFINITION.md">Canonical definition</a>
1467
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/MANIFESTO.md">Manifesto</a>
1468
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/TAXONOMY.md">Taxonomy</a>
 
1471
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/data/resource_source_audit.csv">Source audit</a>
1472
  </div>
1473
  <div>
1474
+ <h4><i class="icon" data-lucide="wrench" aria-hidden="true"></i>Project</h4>
1475
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering">GitHub repository</a>
1476
  <a href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering">Hugging Face dataset</a>
1477
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/CONTRIBUTING.md">Contributing</a>
 
1481
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/ROADMAP.md">Roadmap</a>
1482
  </div>
1483
  <div>
1484
+ <h4><i class="icon" data-lucide="globe" aria-hidden="true"></i>Languages</h4>
1485
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.zh-CN.md" lang="zh">中文</a>
1486
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.es.md" lang="es">Español</a>
1487
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.fr.md" lang="fr">Français</a>
 
1495
  </div>
1496
  </footer>
1497
 
1498
+ <script src="assets/vendor/lucide/loop-icons.min.js?v=1"></script>
1499
  <script>
1500
  (function () {
1501
  var button = document.querySelector('.menu-btn');
1502
  var links = document.getElementById('primary-nav');
 
1503
  var label = button && button.querySelector('.menu-label');
1504
  if (!button || !links) return;
1505
  function setMenuState(open) {
1506
  links.classList.toggle('open', open);
1507
  button.setAttribute('aria-expanded', open ? 'true' : 'false');
1508
  button.setAttribute('aria-label', open ? 'Close navigation' : 'Open navigation');
 
1509
  if (label) label.textContent = open ? 'Close' : 'Menu';
1510
  }
1511
  button.addEventListener('click', function () {
 
1917
  });
1918
  });
1919
  </script>
1920
+ <script type="module" src="assets/loop-hero-scene.js?v=22"></script>
1921
  </body>
1922
  </html>