From 49f91d80d1411d0e47daa117426eebeb90ce2ec9 Mon Sep 17 00:00:00 2001
From: Matthew Berman
Date: Fri, 19 Jun 2026 13:14:37 -0700
Subject: [PATCH] Remove homepage loop definition block
---
scripts/build-loop-pages.mjs | 2 +-
scripts/check.mjs | 15 ++---
scripts/seo-geo-query-benchmark.json | 4 +-
site/index.html | 43 +-------------
.../100-percent-test-coverage-loop/index.html | 2 +-
.../architecture-satisfaction-loop/index.html | 2 +-
site/loops/autonomy-loop/index.html | 2 +-
site/loops/boeing-747-benchmark/index.html | 2 +-
.../clodex-adversarial-review-loop/index.html | 2 +-
.../codex-completion-contract-loop/index.html | 2 +-
.../customer-ai-deployment-loop/index.html | 2 +-
.../devils-advocate-design-loop/index.html | 2 +-
.../index.html | 2 +-
site/loops/fresh-clone-loop/index.html | 2 +-
.../full-product-evaluation-loop/index.html | 2 +-
site/loops/infinite-clickbait-loop/index.html | 2 +-
.../loop-harness-verification-loop/index.html | 2 +-
site/loops/nightly-changelog-sweep/index.html | 2 +-
site/loops/overnight-docs-sweep/index.html | 2 +-
.../post-release-baseline-loop/index.html | 2 +-
.../product-update-podcast-loop/index.html | 2 +-
.../production-data-cleanup-loop/index.html | 2 +-
site/loops/production-error-sweep/index.html | 2 +-
site/loops/quality-streak-loop/index.html | 2 +-
site/loops/repository-cleanup-loop/index.html | 2 +-
.../revolve-self-improvement-loop/index.html | 2 +-
.../self-improving-champion-loop/index.html | 2 +-
site/loops/seo-geo-visibility-loop/index.html | 2 +-
.../stale-safe-batch-release-loop/index.html | 2 +-
site/loops/sub-50ms-page-load-loop/index.html | 2 +-
site/loops/test-suite-speed-loop/index.html | 2 +-
site/loops/ticket-to-pr-ready-loop/index.html | 2 +-
.../war-loops-frontend-designer/index.html | 2 +-
site/styles.css | 58 -------------------
34 files changed, 39 insertions(+), 141 deletions(-)
diff --git a/scripts/build-loop-pages.mjs b/scripts/build-loop-pages.mjs
index 0312358..4b15c8e 100644
--- a/scripts/build-loop-pages.mjs
+++ b/scripts/build-loop-pages.mjs
@@ -246,7 +246,7 @@ ${structuredData(loop)}
All loops
- What is a loop?
+ What is a loop?
Topics"));
assert(page.includes("Related loops"));
assert(!page.includes("Type "));
- assert(page.includes('href="../../#what-is-an-ai-agent-loop">What is a loop?'));
+ assert(page.includes('href="../../learn/">What is a loop?'));
assert(!page.includes('href="../../#tips"'));
assert(page.includes('data-copy-root'));
assert.equal((page.match(/data-here-now-credit/g) || []).length, 2);
@@ -521,12 +521,9 @@ assert(html.includes('aria-label="Loop pages"'));
assert(html.includes('id="pagination-previous"'));
assert(html.includes('id="pagination-status"'));
assert(html.includes('id="pagination-next"'));
-assert(html.includes('id="what-is-an-ai-agent-loop"'));
-assert(html.includes("What is an AI agent loop?"));
-assert(html.includes("An AI agent loop is a repeatable workflow"));
-assert(html.includes("explicit success or stop condition"));
-assert(html.includes("Claude Agent SDK loop documentation"));
-assert(html.includes("the ReAct paper"));
+assert(!html.includes('class="answer-capsule"'));
+assert(!html.includes("Plain-language definition"));
+assert(!html.includes("What is an AI agent loop?"));
assert(html.includes('id="agent-skill"'));
assert(html.includes("Use Loop Library in your coding agent."));
assert(
@@ -627,7 +624,7 @@ assert(css.includes(".pagination-button:disabled"));
assert(css.includes("scroll-margin-top: 80px"));
assert(css.includes(".pagination-button,\n .pagination-status"));
assert(css.includes(".skill-promo"));
-assert(css.includes(".answer-capsule"));
+assert(!css.includes(".answer-capsule"));
assert(css.includes(".skill-copy-button"));
assert(css.includes("border-left: 5px solid var(--orange)"));
assert(css.includes("background: var(--surface-muted)"));
diff --git a/scripts/seo-geo-query-benchmark.json b/scripts/seo-geo-query-benchmark.json
index 956c3a2..cab51ce 100644
--- a/scripts/seo-geo-query-benchmark.json
+++ b/scripts/seo-geo-query-benchmark.json
@@ -17,8 +17,8 @@
{
"id": "generic-definition",
"query": "what is an AI agent loop",
- "expectedPath": "index.html",
- "requiredPhrases": ["What is an AI agent loop?", "repeatable", "stop condition"]
+ "expectedPath": "learn/index.html",
+ "requiredPhrases": ["How agent loops work", "task with a check", "continues or stops"]
},
{
"id": "detail-intent",
diff --git a/site/index.html b/site/index.html
index 2b3b1b9..c40bc37 100644
--- a/site/index.html
+++ b/site/index.html
@@ -348,7 +348,7 @@
"@id": "https://signals.forwardfuture.ai/loop-library/#ai-agent-loop",
"name": "AI agent loop",
"description": "A repeatable workflow in which an AI agent acts on a goal, checks the result, and continues until it reaches an explicit success or stop condition.",
- "url": "https://signals.forwardfuture.ai/loop-library/#what-is-an-ai-agent-loop",
+ "url": "https://signals.forwardfuture.ai/loop-library/learn/",
"sameAs": [
"https://code.claude.com/docs/en/agent-sdk/agent-loop",
"https://arxiv.org/abs/2210.03629"
@@ -431,47 +431,6 @@ Loop Library
Each one includes clear checks and tells the agent when to stop.
-
-
-
Plain-language definition
-
What is an AI agent loop?
-
-
-
- An AI agent loop is a repeatable workflow in
- which an agent acts on a goal, checks what happened, and uses
- that feedback to choose the next step. It stops when an
- explicit success or stop condition is met.
-
-
- Loop Library turns that pattern into copy-ready prompts with a
- clear verification check and stopping point.
-
-
- Sources:
- Claude Agent SDK loop documentation
- and
- the ReAct paper .
-
-
-