← back to build-pages
home: Deepest rationale rail (top 5 commits by body length) + 1 smoke
e19ef88ef014760bc09e74c3b9d885bca2c3788d · 2026-05-13 20:00:09 -0700 · SteveStudio2
Files touched
M server.jsM test/smoke.js
Diff
commit e19ef88ef014760bc09e74c3b9d885bca2c3788d
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Wed May 13 20:00:09 2026 -0700
home: Deepest rationale rail (top 5 commits by body length) + 1 smoke
---
server.js | 20 ++++++++++++++++++++
test/smoke.js | 1 +
2 files changed, 21 insertions(+)
diff --git a/server.js b/server.js
index a36887c..41070e2 100644
--- a/server.js
+++ b/server.js
@@ -415,6 +415,26 @@ app.get('/', async (req, res, next) => {
<p id="bp-recent-meta" class="bp-meta">auto-refreshes every 60s</p>
</section>
+ <section class="bp-section">
+ <h2>Deepest rationale</h2>
+ <p class="bp-meta">Top 5 commits by body length — the design-rationale essays that explain WHY, not just WHAT.</p>
+ <ol class="bp-commits">${(() => {
+ const all = [];
+ for (const e of entries) {
+ const b = _projectCache.get(e.slug); if (!b) continue;
+ for (const c of b.commits) {
+ if (c.body.length >= 200) all.push({ slug: e.slug, name: e.p.name, hash: c.shortHash, date: c.dateISO, subject: c.subject, len: c.body.length });
+ }
+ }
+ all.sort((a, b) => b.len - a.len);
+ return all.slice(0, 5).map(c => `<li>
+ <a href="/p/${esc(c.slug)}/c/${esc(c.hash)}"><code>${esc(c.hash)}</code></a>
+ <span class="bp-d">${esc(c.date.slice(0,10))}</span>
+ <span class="bp-s"><strong>${esc(c.name)}</strong> · <em>${c.len}c</em> — ${esc(c.subject)}</span>
+ </li>`).join('');
+ })()}</ol>
+ </section>
+
<section class="bp-section">
<h2>Top skills + agents across the fleet</h2>
<p class="bp-meta">Auto-extracted from commit messages — how often each skill/agent has been invoked across all 4 build journals.</p>
diff --git a/test/smoke.js b/test/smoke.js
index a3d0b91..9ef2bf6 100644
--- a/test/smoke.js
+++ b/test/smoke.js
@@ -99,6 +99,7 @@ function check(name, cond, hint = '') {
check('home: velocity line', /velocity: <strong>\d+<\/strong>/.test(r.body));
check('home: load badge', /class="bp-load (bp-load-ok|bp-load-warn|bp-load-hot)"/.test(r.body));
check('home: 7-day sparkline', /class="bp-spark"/.test(r.body));
+ check('home: deepest rationale rail', /Deepest rationale/.test(r.body));
check('home: canonical', /rel="canonical"/.test(r.body));
check('home: og:title', /property="og:title"/.test(r.body));
check('home: WebSite JSON-LD', /"@type":"WebSite"/.test(r.body));
← 5ffc20a api: /api/fleet/longest — top commits by body length (the de
·
back to build-pages
·
api: /api/fleet/today — calendar-day commit slice (different e0c1cd7 →