From 30729a0782b113e789cc928b123b8e1731ecebe7 Mon Sep 17 00:00:00 2001 From: Stuart Kerr Date: Mon, 9 Nov 2026 17:32:09 -0500 Subject: [PATCH] docs: ADR-0017 follow-ups (admin insights, owner-test tag, JSON-LD, Search Console); README feedback row --- README.md | 2 +- docs/adr/0017-reader-feedback-loop.md | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8597b1a..b16dc6a 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ The bar these are calibrated against — five hand-built explainers, five comple | Knowledge base | RVF single-file vector DB (`@ruvector/rvf`) + `bge-small-en-v1.5` (local, 384-dim) | | Imagery | `gpt-image-2` / Grok (labeled, mechanism-bearing illustration) + bespoke hand-authored **animated SVG** diagrams (archetype-diverse, width-budgeted) | | Quality gate | Playwright dual-viewport render + GPT-5.6 vision grading (configurable) — every diagram at full size, animations at their worst sampled frame, ship floor enforced as a deploy rail | -| Feedback + learning | A soft, optional one-tap ask in the delivery email (`rate.html`); reader comments are recalled into every later build's brief as untrusted data and mirrored to RuVector ([ADR-0017](docs/adr/0017-reader-feedback-loop.md)); reader grades sit beside machine grades on the admin | +| Feedback + learning | A soft, optional one-tap ask in the delivery email (`rate.html`); reader comments are recalled into every later build's brief as untrusted data and mirrored to RuVector ([ADR-0017](docs/adr/0017-reader-feedback-loop.md)); the admin's "Is this helping people?" view shows a 14-day funnel, our grader's score beside each reader's verdict, and the exact complaints every new build is told (owner test builds are tagged and hidden by default) | | Companions (local) | [HyperFrames](https://github.com/heygen-com/hyperframes) — the page's own gated assets re-rendered into a 30–40s trailer and a 10s social loop (16:9 + 9:16), locally, for ~$0 | | Hosting | Netlify by default (provider-agnostic adapter) | diff --git a/docs/adr/0017-reader-feedback-loop.md b/docs/adr/0017-reader-feedback-loop.md index 7bba765..4cece86 100644 --- a/docs/adr/0017-reader-feedback-loop.md +++ b/docs/adr/0017-reader-feedback-loop.md @@ -4,6 +4,7 @@ Status: Accepted + Implemented. The full chain was tested end to end on 2026-11- every link, the deployed rate page in a real browser, ingest, the brief the agent receives, RuVector readback). One real hosted build on GitHub Actions was the last hop; its result is recorded at the bottom. Date: 2026-11-09 +Updated: 2026-11-09 (admin "is this helping people?" view, owner-test tagging, JSON-LD cleanup, Search Console; see the last section) Amends: ADR-0005 (the runner brief gains a reader-feedback block) Prior-decision check: AgentDB recall returned no decision on reader feedback; nothing to supersede. @@ -51,3 +52,29 @@ Real hosted build on GitHub Actions (run 42685112000) for `sindresorhus/is-plain feedback block and the three buttons with `&`-escaped hrefs; all 9 links returned 200 (3 rate links, live explainer, knowledge-pack zip, repo, issues, isovision.ai, explainmyrepo). - Not covered: the email rendered inside the Gmail app itself (HTML verified and rendered in Chrome). + +## Follow-ups shipped the same day (PRs #45, #46) — 2026-11-09 + +**Admin "Is this helping people?" view** (`landing/netlify/lib/admin-insights.js`, `admin-stats.js`, `admin.html`; +12 tests in `tests/admin-insights.test.mjs`, mutation-proved). The admin response now carries `insights`: plain-English +summary lines, a 14-day funnel (visits, accepted requests, finished pages, ratings), our grader's score beside each +reader's verdict (one-tap verdicts map to 92 / 70 / 35; classify fallback thresholds 85 / 55), and the exact lessons +every new build is told (up to 8 complaints, 3 positives; same sanitising rules as `tools/feedback-lessons.mjs`). +`selftest/` ratings never count. Also fixed: the repo views/clones tiles read the wrong keys (`views14d`/`clones14d` +instead of `repoViews14d`/`repoClones14d`) and always showed a dash. + +**Owner test builds.** `build.js` appends ` [owner-test]` to the status-gist description when the submitter is in +`OWNER_EMAILS` (default `sikerr@gmail.com,stuart@isovision.ai`). From then on they are left out of the funnel and +hidden behind a "Show my own test builds" checkbox. Older owner builds (about 11 at the time) cannot be separated, because +`status.json` never recorded the submitter; the page says roughly how many remain mixed in, estimated from the email ledger. + +**JSON-LD** (`tools/assemble-page.mjs`, #45). The structured data no longer asserts a price or platform we cannot know +(`offers`, `operatingSystem` removed); `codeRepository` became `sameAs` (the valid schema.org field). A test proves a hostile +repo name cannot close the script tag. It reaches existing pages on their next build. + +**Search Console.** `explainmyrepo.isovision.ai` is its own property (URL prefix; the root `https://isovision.ai/` property +does not cover subdomains), auto-verified through Google Analytics under sikerr@gmail.com. `/sitemap.xml` submitted +2026-11-09; Google reports Success, 1 page (the homepage; each explainer lives on its own site). + +**Still not proven end to end:** the admin page behind the real key on production (visitor, door and ledger numbers only +exist in the Netlify runtime); the `[owner-test]` tag through a real `/build` POST; the email rendered inside the Gmail app.