Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
build(viewer): regenerate examples, gallery, showcase and archive for the reader remainder fix
tt-a1i3d42b84b5307
diff --git a/archify.zip b/archify.zipindex d56134d5..a7e1b0fb 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/examples/class-payment-processors-rendered.html b/archify/examples/class-payment-processors-rendered.htmlindex 3b9c71fa..0e11654d 100644--- a/archify/examples/class-payment-processors-rendered.html+++ b/archify/examples/class-payment-processors-rendered.html@@ -9943,11 +9943,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/class-payments-rendered.html b/archify/examples/class-payments-rendered.htmlindex 34aff46f..7c6db689 100644--- a/archify/examples/class-payments-rendered.html+++ b/archify/examples/class-payments-rendered.html@@ -9749,11 +9749,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/dataflow-product-analytics.html b/archify/examples/dataflow-product-analytics.htmlindex 720c787e..8c4324d8 100644--- a/archify/examples/dataflow-product-analytics.html+++ b/archify/examples/dataflow-product-analytics.html@@ -9863,11 +9863,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/erd-orders-rendered.html b/archify/examples/erd-orders-rendered.htmlindex 07c03451..39366f3e 100644--- a/archify/examples/erd-orders-rendered.html+++ b/archify/examples/erd-orders-rendered.html@@ -10031,11 +10031,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/lifecycle-agent-run.html b/archify/examples/lifecycle-agent-run.htmlindex ede9e04b..a767d1d7 100644--- a/archify/examples/lifecycle-agent-run.html+++ b/archify/examples/lifecycle-agent-run.html@@ -9875,11 +9875,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.htmlindex dd3c9ffd..0a061a5e 100644--- a/archify/examples/sequence-cache-miss-request.html+++ b/archify/examples/sequence-cache-miss-request.html@@ -9878,11 +9878,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/subscription-billing-rendered.html b/archify/examples/subscription-billing-rendered.htmlindex c15a1196..617974c8 100644--- a/archify/examples/subscription-billing-rendered.html+++ b/archify/examples/subscription-billing-rendered.html@@ -10255,11 +10255,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/timeline-archify-dev-activity-rendered.html b/archify/examples/timeline-archify-dev-activity-rendered.htmlindex f46e0c04..d4b42263 100644--- a/archify/examples/timeline-archify-dev-activity-rendered.html+++ b/archify/examples/timeline-archify-dev-activity-rendered.html@@ -9955,11 +9955,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/timeline-payment-incident-rendered.html b/archify/examples/timeline-payment-incident-rendered.htmlindex 19f5ee3f..7c88097e 100644--- a/archify/examples/timeline-payment-incident-rendered.html+++ b/archify/examples/timeline-payment-incident-rendered.html@@ -9740,11 +9740,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/tree-archify-repository-rendered.html b/archify/examples/tree-archify-repository-rendered.htmlindex 04e2dd3d..9ff2da47 100644--- a/archify/examples/tree-archify-repository-rendered.html+++ b/archify/examples/tree-archify-repository-rendered.html@@ -9974,11 +9974,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/tree-payment-platform-rendered.html b/archify/examples/tree-payment-platform-rendered.htmlindex 3eaffe60..ff38a6e6 100644--- a/archify/examples/tree-payment-platform-rendered.html+++ b/archify/examples/tree-payment-platform-rendered.html@@ -9755,11 +9755,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/waterfall-checkout-request-rendered.html b/archify/examples/waterfall-checkout-request-rendered.htmlindex 5fa001db..21d8f377 100644--- a/archify/examples/waterfall-checkout-request-rendered.html+++ b/archify/examples/waterfall-checkout-request-rendered.html@@ -9737,11 +9737,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/waterfall-example-rebuild-rendered.html b/archify/examples/waterfall-example-rebuild-rendered.htmlindex e0fc188c..c5d2aee8 100644--- a/archify/examples/waterfall-example-rebuild-rendered.html+++ b/archify/examples/waterfall-example-rebuild-rendered.html@@ -9923,11 +9923,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/web-app-rendered.html b/archify/examples/web-app-rendered.htmlindex 0114683a..11ff2214 100644--- a/archify/examples/web-app-rendered.html+++ b/archify/examples/web-app-rendered.html@@ -9851,11 +9851,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/archify/examples/workflow-agent-tool-call-rendered.html b/archify/examples/workflow-agent-tool-call-rendered.htmlindex afd9913a..5c994a80 100644--- a/archify/examples/workflow-agent-tool-call-rendered.html+++ b/archify/examples/workflow-agent-tool-call-rendered.html@@ -9869,11 +9869,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex 01f57f88..ae483cf9 100644Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differdiff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.jsonindex f3f73d76..ee6c6aac 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,13 +7,13 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 825947,- "sha256": "045ef6ec3bb51757524eec4fc56d08615242161e0df58391c65c5b8d912a6cd9",+ "bytes": 810370,+ "sha256": "3b60ff93e24f68fe12653ddfd6a796e6a61d16ebe1cdc645834997466cf6780c","scenes": [{"id": "signal-flow","artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",- "artifactSha256": "57447c528d98eb5f17836fc783f2027022c6b43ac28a0f8af7d3833f24a755eb",+ "artifactSha256": "d664b75302532ec8265092fb1bbcf87c223b58794a5554c8810dc18e620bb3f8","hash": "#focus=planner&reach=downstream","eyebrow": "WORKFLOW · SIGNAL FLOW","title": "Agent Tool Call",@@ -22,7 +22,7 @@{"id": "blueprint","artifact": "docs/gallery/artifacts/production-deployment.architecture.html",- "artifactSha256": "847a986b0265cbc9bae73dc1a531d94fea0ff526e801cadb758675bfe8d8c404",+ "artifactSha256": "c82f1ed470a2856f6d5ee6837e9d22a4be61651164fe785cb9e81bd288d08b66","hash": "#lens=backend~database","eyebrow": "ARCHITECTURE · BLUEPRINT","title": "Production Deployment",@@ -31,7 +31,7 @@{"id": "classic","artifact": "docs/gallery/artifacts/cache-miss.sequence.html",- "artifactSha256": "2f581e3fef6bad8885a81a251a4049407bb5d150e8a1279d5a38f2c830dece74",+ "artifactSha256": "1a65397a6450427a4a9d51f1087917d9709181a2ccea99a1199fd1559be3fd71","hash": "#route=web~db","eyebrow": "SEQUENCE · CLASSIC","title": "Cache Miss Request",diff --git a/docs/gallery.html b/docs/gallery.htmlindex cd3403d4..80e856b5 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -302,7 +302,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 11E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="57447c528d98eb5f17836fc783f2027022c6b43ac28a0f8af7d3833f24a755eb">57447c528d98</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d664b75302532ec8265092fb1bbcf87c223b58794a5554c8810dc18e620bb3f8">d664b7530253</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html#focus=planner" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -332,7 +332,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="847a986b0265cbc9bae73dc1a531d94fea0ff526e801cadb758675bfe8d8c404">847a986b0265</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="c82f1ed470a2856f6d5ee6837e9d22a4be61651164fe785cb9e81bd288d08b66">c82f1ed470a2</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/production-deployment.architecture.html#focus=gateway" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -361,7 +361,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2f581e3fef6bad8885a81a251a4049407bb5d150e8a1279d5a38f2c830dece74">2f581e3fef6b</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1a65397a6450427a4a9d51f1087917d9709181a2ccea99a1199fd1559be3fd71">1a65397a6450</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html#focus=redis" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -390,7 +390,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="aec289ce1a34d978152ea66fb0f9e33937af3e3d91a70a4d137a8d216ec252c6">aec289ce1a34</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="fdaca4d85a11af6a7845d236d0386926f6d91acbb08439c48f5d6383b911cff3">fdaca4d85a11</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html#focus=approval" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -419,7 +419,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3d0ea9784453a2c6f443bd7701f9dc0df878f1247d912b28ad8683ae19a2a9b4">3d0ea9784453</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="ef51f025cce61793824fd154245b2bf5df343874a523e2146eff694e59a8ef50">ef51f025cce6</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html#focus=triage" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -448,7 +448,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="6a8672dc1d15b36e2e729a09498e12ec866116dbfef4a4526f16d7030db318e4">6a8672dc1d15</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="8896e6da9307ab452bcf8e0d478f708f0ea4ae517efd330d322bfbec5ce7b9f5">8896e6da9307</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html#focus=consent" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -477,7 +477,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 14E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b7a601940dd6c7293715b29b0ac24e120dea0a15d01c5d42aad7998894a0e440">b7a601940dd6</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="aa5109b63fbbf452da0e8f40e36d7bef45c6989fa456ffbafc95bc9e01204f34">aa5109b63fbb</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html#focus=queue" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -506,7 +506,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="95442ea6749b352dc8fa4cc1e067a1006fde79157358719242466252f3ae7f1a">95442ea6749b</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="ae05b0707f89de68ce58cd45a9069ad50cdd77edc79359992288ac83f5382a80">ae05b0707f89</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/event-stream.dataflow.html#focus=orders" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -535,7 +535,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="6eb92e39c2ffccd8d5115e710f4c33da1bd657cdd245f83043941345fb98380f">6eb92e39c2ff</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="88e481d8a20d726c1123e616ac4d3ab48a18b482ef8e43ee8754ac66115c5b39">88e481d8a20d</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html#focus=approval" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -564,7 +564,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 15E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="bec743c3804668ed18a7b77d1cb34ece8ca39ea9c69491b28b18aa79611d667f">bec743c38046</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="0cf925d4f3a4c056639f9fa5f32bf3e0a4676f05f24a306b241b6ae11ee09d56">0cf925d4f3a4</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/deployment-release.lifecycle.html#focus=live" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -593,7 +593,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 9E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="6cb641ef16569651e4b7a8f8bb0c5be6e3bffd772c9c6180969655ad45bc6103">6cb641ef1656</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="747dbf4a3de9ebd096f585ce431e52019557989b3d4fa197f8d88e54aab8e233">747dbf4a3de9</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/web-app.architecture.html#focus=api" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -622,7 +622,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">6N · 5E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="0b564809d4987ff0cb5938dd209621dfc72970cdd8d60d3ebe3d18e2213db48e">0b564809d498</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="68ad0148bddcdee5c2d5ad403fd1c3b8629b547bd7c4ad93419c68c8f871385f">68ad0148bddc</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/orders.erd.html#focus=order" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -701,8 +701,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 783577,- "artifactSha256": "57447c528d98eb5f17836fc783f2027022c6b43ac28a0f8af7d3833f24a755eb",+ "artifactBytes": 783730,+ "artifactSha256": "d664b75302532ec8265092fb1bbcf87c223b58794a5554c8810dc18e620bb3f8","sourceBytes": 4939,"sourceSha256": "d67965d50872c97e4ff3476271e645bf19fab6b3ab44e111bdb44b063e3aa36f","checks": [@@ -836,8 +836,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 786295,- "artifactSha256": "847a986b0265cbc9bae73dc1a531d94fea0ff526e801cadb758675bfe8d8c404",+ "artifactBytes": 786448,+ "artifactSha256": "c82f1ed470a2856f6d5ee6837e9d22a4be61651164fe785cb9e81bd288d08b66","sourceBytes": 4734,"sourceSha256": "cb54bad2dfd0c2d02aa5b496bde6839789a0f07f23062343c4458b8d38806c13","checks": [@@ -969,8 +969,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 778108,- "artifactSha256": "2f581e3fef6bad8885a81a251a4049407bb5d150e8a1279d5a38f2c830dece74",+ "artifactBytes": 778261,+ "artifactSha256": "1a65397a6450427a4a9d51f1087917d9709181a2ccea99a1199fd1559be3fd71","sourceBytes": 3805,"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [@@ -1103,8 +1103,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 779081,- "artifactSha256": "aec289ce1a34d978152ea66fb0f9e33937af3e3d91a70a4d137a8d216ec252c6",+ "artifactBytes": 779234,+ "artifactSha256": "fdaca4d85a11af6a7845d236d0386926f6d91acbb08439c48f5d6383b911cff3","sourceBytes": 4510,"sourceSha256": "dbd5c174af66296caec372e7214cf4df7158b50a563508e16826b95ab8d1cd6c","checks": [@@ -1243,8 +1243,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 776401,- "artifactSha256": "3d0ea9784453a2c6f443bd7701f9dc0df878f1247d912b28ad8683ae19a2a9b4",+ "artifactBytes": 776554,+ "artifactSha256": "ef51f025cce61793824fd154245b2bf5df343874a523e2146eff694e59a8ef50","sourceBytes": 4723,"sourceSha256": "630be98449925d2716ecb8439f404b2bff5fe65ba905b0ad0baea6d96890c526","checks": [@@ -1429,8 +1429,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 780403,- "artifactSha256": "6a8672dc1d15b36e2e729a09498e12ec866116dbfef4a4526f16d7030db318e4",+ "artifactBytes": 780556,+ "artifactSha256": "8896e6da9307ab452bcf8e0d478f708f0ea4ae517efd330d322bfbec5ce7b9f5","sourceBytes": 5035,"sourceSha256": "8a635db9e51a5b1a8d2955b9d66f5b9a450e0a298432ce8f2e2f0be11f372e05","checks": [@@ -1564,8 +1564,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 778454,- "artifactSha256": "b7a601940dd6c7293715b29b0ac24e120dea0a15d01c5d42aad7998894a0e440",+ "artifactBytes": 778607,+ "artifactSha256": "aa5109b63fbbf452da0e8f40e36d7bef45c6989fa456ffbafc95bc9e01204f34","sourceBytes": 3766,"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a","checks": [@@ -1716,8 +1716,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 784323,- "artifactSha256": "95442ea6749b352dc8fa4cc1e067a1006fde79157358719242466252f3ae7f1a",+ "artifactBytes": 784476,+ "artifactSha256": "ae05b0707f89de68ce58cd45a9069ad50cdd77edc79359992288ac83f5382a80","sourceBytes": 4769,"sourceSha256": "3bdd77674282009c7c68d588cf8a3c495bc98a3be1b9c45327fd1801a6f83a23","checks": [@@ -1868,8 +1868,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 12,- "artifactBytes": 784490,- "artifactSha256": "6eb92e39c2ffccd8d5115e710f4c33da1bd657cdd245f83043941345fb98380f",+ "artifactBytes": 784643,+ "artifactSha256": "88e481d8a20d726c1123e616ac4d3ab48a18b482ef8e43ee8754ac66115c5b39","sourceBytes": 3260,"sourceSha256": "5ba36f5ce91ed428cb48b599e275424916d82b619b9a3231cbd1bbc3966fc54b","checks": [@@ -1990,8 +1990,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 15,- "artifactBytes": 791266,- "artifactSha256": "bec743c3804668ed18a7b77d1cb34ece8ca39ea9c69491b28b18aa79611d667f",+ "artifactBytes": 791419,+ "artifactSha256": "0cf925d4f3a4c056639f9fa5f32bf3e0a4676f05f24a306b241b6ae11ee09d56","sourceBytes": 4155,"sourceSha256": "e3dc105d03c1c9881160006cdace23cb5d8533803e337caf0ec287c64e775275","checks": [@@ -2112,8 +2112,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 778108,- "artifactSha256": "6cb641ef16569651e4b7a8f8bb0c5be6e3bffd772c9c6180969655ad45bc6103",+ "artifactBytes": 778261,+ "artifactSha256": "747dbf4a3de9ebd096f585ce431e52019557989b3d4fa197f8d88e54aab8e233","sourceBytes": 3197,"sourceSha256": "95e051b27a9e4a3307e194c0f666fca4af51470be7e2228d400ff48aea5b353b","checks": [@@ -2258,8 +2258,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 6,"edgeCount": 5,- "artifactBytes": 792603,- "artifactSha256": "0b564809d4987ff0cb5938dd209621dfc72970cdd8d60d3ebe3d18e2213db48e",+ "artifactBytes": 792756,+ "artifactSha256": "68ad0148bddcdee5c2d5ad403fd1c3b8629b547bd7c4ad93419c68c8f871385f","sourceBytes": 7321,"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd","checks": [diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.htmlindex ede9e04b..a767d1d7 100644--- a/docs/gallery/artifacts/agent-run.lifecycle.html+++ b/docs/gallery/artifacts/agent-run.lifecycle.html@@ -9875,11 +9875,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.htmlindex afd9913a..5c994a80 100644--- a/docs/gallery/artifacts/agent-tool-call.workflow.html+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html@@ -9869,11 +9869,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.htmlindex 59017ff9..28030eab 100644--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html@@ -9890,11 +9890,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.htmlindex dd3c9ffd..0a061a5e 100644--- a/docs/gallery/artifacts/cache-miss.sequence.html+++ b/docs/gallery/artifacts/cache-miss.sequence.html@@ -9878,11 +9878,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.htmlindex 813e3693..e0813e1d 100644--- a/docs/gallery/artifacts/deployment-release.lifecycle.html+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html@@ -9939,11 +9939,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.htmlindex 8acc5564..b028766b 100644--- a/docs/gallery/artifacts/event-stream.dataflow.html+++ b/docs/gallery/artifacts/event-stream.dataflow.html@@ -9902,11 +9902,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.htmlindex 7cc2279e..c8decb4e 100644--- a/docs/gallery/artifacts/incident-response.workflow.html+++ b/docs/gallery/artifacts/incident-response.workflow.html@@ -9829,11 +9829,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/orders.erd.html b/docs/gallery/artifacts/orders.erd.htmlindex 07c03451..39366f3e 100644--- a/docs/gallery/artifacts/orders.erd.html+++ b/docs/gallery/artifacts/orders.erd.html@@ -10031,11 +10031,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.htmlindex 720c787e..8c4324d8 100644--- a/docs/gallery/artifacts/product-analytics.dataflow.html+++ b/docs/gallery/artifacts/product-analytics.dataflow.html@@ -9863,11 +9863,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.htmlindex 55d5331f..6215af80 100644--- a/docs/gallery/artifacts/production-deployment.architecture.html+++ b/docs/gallery/artifacts/production-deployment.architecture.html@@ -9906,11 +9906,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.htmlindex 977fd361..ed5ddc20 100644--- a/docs/gallery/artifacts/release-delivery.workflow.html+++ b/docs/gallery/artifacts/release-delivery.workflow.html@@ -9855,11 +9855,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.htmlindex 0114683a..11ff2214 100644--- a/docs/gallery/artifacts/web-app.architecture.html+++ b/docs/gallery/artifacts/web-app.architecture.html@@ -9851,11 +9851,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex 407aaf9a..e096a67f 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -19,8 +19,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 783577,- "artifactSha256": "57447c528d98eb5f17836fc783f2027022c6b43ac28a0f8af7d3833f24a755eb",+ "artifactBytes": 783730,+ "artifactSha256": "d664b75302532ec8265092fb1bbcf87c223b58794a5554c8810dc18e620bb3f8","sourceBytes": 4939,"sourceSha256": "d67965d50872c97e4ff3476271e645bf19fab6b3ab44e111bdb44b063e3aa36f","checks": [@@ -154,8 +154,8 @@"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 786295,- "artifactSha256": "847a986b0265cbc9bae73dc1a531d94fea0ff526e801cadb758675bfe8d8c404",+ "artifactBytes": 786448,+ "artifactSha256": "c82f1ed470a2856f6d5ee6837e9d22a4be61651164fe785cb9e81bd288d08b66","sourceBytes": 4734,"sourceSha256": "cb54bad2dfd0c2d02aa5b496bde6839789a0f07f23062343c4458b8d38806c13","checks": [@@ -287,8 +287,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 778108,- "artifactSha256": "2f581e3fef6bad8885a81a251a4049407bb5d150e8a1279d5a38f2c830dece74",+ "artifactBytes": 778261,+ "artifactSha256": "1a65397a6450427a4a9d51f1087917d9709181a2ccea99a1199fd1559be3fd71","sourceBytes": 3805,"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [@@ -421,8 +421,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 779081,- "artifactSha256": "aec289ce1a34d978152ea66fb0f9e33937af3e3d91a70a4d137a8d216ec252c6",+ "artifactBytes": 779234,+ "artifactSha256": "fdaca4d85a11af6a7845d236d0386926f6d91acbb08439c48f5d6383b911cff3","sourceBytes": 4510,"sourceSha256": "dbd5c174af66296caec372e7214cf4df7158b50a563508e16826b95ab8d1cd6c","checks": [@@ -561,8 +561,8 @@"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 776401,- "artifactSha256": "3d0ea9784453a2c6f443bd7701f9dc0df878f1247d912b28ad8683ae19a2a9b4",+ "artifactBytes": 776554,+ "artifactSha256": "ef51f025cce61793824fd154245b2bf5df343874a523e2146eff694e59a8ef50","sourceBytes": 4723,"sourceSha256": "630be98449925d2716ecb8439f404b2bff5fe65ba905b0ad0baea6d96890c526","checks": [@@ -747,8 +747,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 780403,- "artifactSha256": "6a8672dc1d15b36e2e729a09498e12ec866116dbfef4a4526f16d7030db318e4",+ "artifactBytes": 780556,+ "artifactSha256": "8896e6da9307ab452bcf8e0d478f708f0ea4ae517efd330d322bfbec5ce7b9f5","sourceBytes": 5035,"sourceSha256": "8a635db9e51a5b1a8d2955b9d66f5b9a450e0a298432ce8f2e2f0be11f372e05","checks": [@@ -882,8 +882,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 778454,- "artifactSha256": "b7a601940dd6c7293715b29b0ac24e120dea0a15d01c5d42aad7998894a0e440",+ "artifactBytes": 778607,+ "artifactSha256": "aa5109b63fbbf452da0e8f40e36d7bef45c6989fa456ffbafc95bc9e01204f34","sourceBytes": 3766,"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a","checks": [@@ -1034,8 +1034,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 784323,- "artifactSha256": "95442ea6749b352dc8fa4cc1e067a1006fde79157358719242466252f3ae7f1a",+ "artifactBytes": 784476,+ "artifactSha256": "ae05b0707f89de68ce58cd45a9069ad50cdd77edc79359992288ac83f5382a80","sourceBytes": 4769,"sourceSha256": "3bdd77674282009c7c68d588cf8a3c495bc98a3be1b9c45327fd1801a6f83a23","checks": [@@ -1186,8 +1186,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 12,- "artifactBytes": 784490,- "artifactSha256": "6eb92e39c2ffccd8d5115e710f4c33da1bd657cdd245f83043941345fb98380f",+ "artifactBytes": 784643,+ "artifactSha256": "88e481d8a20d726c1123e616ac4d3ab48a18b482ef8e43ee8754ac66115c5b39","sourceBytes": 3260,"sourceSha256": "5ba36f5ce91ed428cb48b599e275424916d82b619b9a3231cbd1bbc3966fc54b","checks": [@@ -1308,8 +1308,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 15,- "artifactBytes": 791266,- "artifactSha256": "bec743c3804668ed18a7b77d1cb34ece8ca39ea9c69491b28b18aa79611d667f",+ "artifactBytes": 791419,+ "artifactSha256": "0cf925d4f3a4c056639f9fa5f32bf3e0a4676f05f24a306b241b6ae11ee09d56","sourceBytes": 4155,"sourceSha256": "e3dc105d03c1c9881160006cdace23cb5d8533803e337caf0ec287c64e775275","checks": [@@ -1430,8 +1430,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 778108,- "artifactSha256": "6cb641ef16569651e4b7a8f8bb0c5be6e3bffd772c9c6180969655ad45bc6103",+ "artifactBytes": 778261,+ "artifactSha256": "747dbf4a3de9ebd096f585ce431e52019557989b3d4fa197f8d88e54aab8e233","sourceBytes": 3197,"sourceSha256": "95e051b27a9e4a3307e194c0f666fca4af51470be7e2228d400ff48aea5b353b","checks": [@@ -1576,8 +1576,8 @@"engineeringProfile": null,"nodeCount": 6,"edgeCount": 5,- "artifactBytes": 792603,- "artifactSha256": "0b564809d4987ff0cb5938dd209621dfc72970cdd8d60d3ebe3d18e2213db48e",+ "artifactBytes": 792756,+ "artifactSha256": "68ad0148bddcdee5c2d5ad403fd1c3b8629b547bd7c4ad93419c68c8f871385f","sourceBytes": 7321,"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd","checks": [diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.htmlindex 1737290c..d9abf965 100644--- a/examples/checkout-platform-delta.html+++ b/examples/checkout-platform-delta.html@@ -14487,11 +14487,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');@@ -28817,11 +28819,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.jsonindex 8015c60e..c2e13bbb 100644--- a/examples/checkout-platform-delta.receipt.json+++ b/examples/checkout-platform-delta.receipt.json@@ -219,8 +219,8 @@"Boundary identity is conservatively derived from kind + label."],"artifact": {- "sha256": "86a3a9a37d8e89e024d0ee5e9dfba4fbdb069303ff62268553ce84ad375d5f51",- "bytes": 2156835+ "sha256": "f11fe32ffad8a31c076b7d9ca1446b23b0bc667571d33cac5520d9f7615e99cc",+ "bytes": 2157141},"validation": {"checksPassed": 28,diff --git a/examples/class-payment-processors-rendered.html b/examples/class-payment-processors-rendered.htmlindex 3b9c71fa..0e11654d 100644--- a/examples/class-payment-processors-rendered.html+++ b/examples/class-payment-processors-rendered.html@@ -9943,11 +9943,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/class-payments-rendered.html b/examples/class-payments-rendered.htmlindex 34aff46f..7c6db689 100644--- a/examples/class-payments-rendered.html+++ b/examples/class-payments-rendered.html@@ -9749,11 +9749,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.htmlindex 720c787e..8c4324d8 100644--- a/examples/dataflow-product-analytics.html+++ b/examples/dataflow-product-analytics.html@@ -9863,11 +9863,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/erd-orders-rendered.html b/examples/erd-orders-rendered.htmlindex 07c03451..39366f3e 100644--- a/examples/erd-orders-rendered.html+++ b/examples/erd-orders-rendered.html@@ -10031,11 +10031,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.htmlindex ede9e04b..a767d1d7 100644--- a/examples/lifecycle-agent-run.html+++ b/examples/lifecycle-agent-run.html@@ -9875,11 +9875,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.htmlindex dd3c9ffd..0a061a5e 100644--- a/examples/sequence-cache-miss-request.html+++ b/examples/sequence-cache-miss-request.html@@ -9878,11 +9878,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/subscription-billing-rendered.html b/examples/subscription-billing-rendered.htmlindex c15a1196..617974c8 100644--- a/examples/subscription-billing-rendered.html+++ b/examples/subscription-billing-rendered.html@@ -10255,11 +10255,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/timeline-archify-dev-activity-rendered.html b/examples/timeline-archify-dev-activity-rendered.htmlindex f46e0c04..d4b42263 100644--- a/examples/timeline-archify-dev-activity-rendered.html+++ b/examples/timeline-archify-dev-activity-rendered.html@@ -9955,11 +9955,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/timeline-payment-incident-rendered.html b/examples/timeline-payment-incident-rendered.htmlindex 19f5ee3f..7c88097e 100644--- a/examples/timeline-payment-incident-rendered.html+++ b/examples/timeline-payment-incident-rendered.html@@ -9740,11 +9740,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/tree-archify-repository-rendered.html b/examples/tree-archify-repository-rendered.htmlindex 04e2dd3d..9ff2da47 100644--- a/examples/tree-archify-repository-rendered.html+++ b/examples/tree-archify-repository-rendered.html@@ -9974,11 +9974,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/tree-payment-platform-rendered.html b/examples/tree-payment-platform-rendered.htmlindex 3eaffe60..ff38a6e6 100644--- a/examples/tree-payment-platform-rendered.html+++ b/examples/tree-payment-platform-rendered.html@@ -9755,11 +9755,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/waterfall-checkout-request-rendered.html b/examples/waterfall-checkout-request-rendered.htmlindex 5fa001db..21d8f377 100644--- a/examples/waterfall-checkout-request-rendered.html+++ b/examples/waterfall-checkout-request-rendered.html@@ -9737,11 +9737,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/waterfall-example-rebuild-rendered.html b/examples/waterfall-example-rebuild-rendered.htmlindex e0fc188c..c5d2aee8 100644--- a/examples/waterfall-example-rebuild-rendered.html+++ b/examples/waterfall-example-rebuild-rendered.html@@ -9923,11 +9923,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.htmlindex 0114683a..11ff2214 100644--- a/examples/web-app-rendered.html+++ b/examples/web-app-rendered.html@@ -9851,11 +9851,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/web-app.html b/examples/web-app.htmlindex d64d0f76..7b6abc27 100644--- a/examples/web-app.html+++ b/examples/web-app.html@@ -9851,11 +9851,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');diff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.htmlindex afd9913a..5c994a80 100644--- a/examples/workflow-agent-tool-call-rendered.html+++ b/examples/workflow-agent-tool-call-rendered.html@@ -9869,11 +9869,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.document.documentElement.scrollHeight,document.body.scrollHeight) - window.innerHeight - belowFold();- if (overflow > 1 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {+ // visual-check fails any page whose rounded-up height exceeds the+ // viewport, so even a 1px remainder must be reduced or declared.+ if (overflow > 0 && !widthFirstReading && lastWidth > Math.ceil(minWidth)) {applyWidth(Math.max(minWidth, lastWidth - overflow * ratio - 4), minWidth);settledCap = lastWidth;html.setAttribute('data-reader-overflow', 'reduced');- } else if (overflow > 1) {+ } else if (overflow > 0) {html.setAttribute('data-reader-overflow', 'authored');} else {html.removeAttribute('data-reader-overflow');