kappa.yashiENEL

lab/senrigan

senrigan (千里眼) — static site visibility check

The eye that sees a thousand miles. What your site fails to tell the machines.

not released yetsource ↗

A cyberpunk illustration of a mechanical lens projecting a glowing red scanning laser onto a digital wireframe grid. It is surrounded by traditional Japanese ink waves and floating talismans containing binary code, representing the Senrigan semantic scanner

NAME

senrigan — The eye that sees a thousand miles. What your site fails to tell the machines.

SYNOPSIS

version
0.9.0 ·
status
stable
platform
Node 18+ · any static site
requires
Node 18 or newer
license
MIT
source
github.com/kappa-yashi/senrigan

DESCRIPTION

senrigan emblem — a mechanical iris inside a red and cream hexagonal frame, the kanji 千里眼 above it

kekkai asks one question of a finished site: what does it give away? senrigan asks the opposite one: what does it fail to tell the machines?

In Japanese folklore, 千里眼 is clairvoyance — the eye that sees a thousand ri. The tool reads your site the way a crawler does on its first pass: the served HTML, no JavaScript, one page at a time. Then it reports what search engines, social scrapers and AI agents were actually told, what they were told twice, and what they were never told at all.

One file, zero dependencies, Node 18 or newer. Point it at a live URL or at a dist/ folder before you deploy. The verdict is SIGHT CLEAR or SIGHT OBSCURED, exit code 0 or 1, so it slots into a build step.

Not cleanup

The common mistake is to treat this as polish: security is what matters, visibility is the nice-to-have. It is the other way round only in how loud the failure is. A site that cannot be found fails as completely as a site that was broken into — the breach announces itself, invisibility never does. A canonical pasted with an image URL, a noindex left on the home page, two hosts answering the same content, a canonical that redirects: each of these takes pages out of search engines and out of the language models that read them, silently, for months.

So every finding carries its cost:

  • INVISIBLE — the page cannot enter the index, or tells the engine that another URL is the real one. These open the report under Out of the index — fix first.
  • DILUTED — it can be indexed, but its signals are split or contradictory: duplicate titles, slash mismatches, broken hreflang, orphan pages, missing canonicals, structured data that disagrees with the page.
  • DEGRADED — it is indexed as it is, but shown worse than it could be: lengths, alt text, image dimensions, social cards.

One boundary, two tools

Visibility and security are the same perimeter seen from two sides. Where a finding belongs to transport or infrastructure — the site still on http, two hosts answering 200, mixed content, the apex as the primary host — senrigan hands it to kekkai by name, and every report ends with the kekkai command for the same target. kekkai does the same in the other direction.

Make www the primary host. Search engines do not prefer either, but www keeps cookies off every other subdomain and stays a plain CNAME, so a CDN, a failover or a host change is a DNS edit instead of an apex workaround.

What it looks at

  • Root assets — robots.txt read crawler by crawler, as crawlers read it: blocking Googlebot or bingbot is the only robots finding that keeps a site out of the index, while a default-deny file (everything shut under *, the engines let in by name) is named with all it also blocks — ChatGPT search, Apple, DuckDuckGo, the X, LinkedIn and Facebook link previews. Every Sitemap: line, sitemap URLs that robots itself blocks, redirecting or dead sitemap entries, a <lastmod> that is really a build timestamp, favicon and touch-icon requests that 404 silently, llms.txt when you ship one.
  • Head & rendering — lang (and whether it matches the language of the title), viewport, title and description lengths and duplicates, a canonical that is absolute, https, self-referencing and agrees with your trailing-slash policy — a canonical that redirects or points at an image is a failure, and a second host whose pages name another one as canonical is reported once before the scan moves to the canonical host — hreflang sets that are complete and reciprocal, and the indexing matrix: a noindex page listed in the sitemap is a failure, a utility page left indexable is a warning, and a page that opts out of the index is reported for that alone. The two language versions of one page are not counted as duplicates of each other.
  • Structure — one <h1> (an SVG wordmark counts by its aria-label, and a div with role="heading" aria-level="1" counts as the heading it declares), no heading jumps, no empty headings, no paragraph standing in for a title, images with alt and dimensions — and an empty alt="" judged by what surrounds it: the only thing inside a link, a wide photo, the picture the structured data names are content, not decoration.
  • Links & network — mixed content, nofollow on your own links, _blank without noopener, broken internal links, links to addresses that redirect, orphan routes, pages linked but missing from the sitemap (unless they carry noindex), generic anchor text in English and Greek.
  • Machine-readable & social — JSON-LD that parses, required fields per type, and cross-checks against the visible page: headline must be the <h1>, datePublished must be the date the reader sees, an article must say it is one (unless the page already declares what it is: software, an event, a room). A Product node on a hotel, a restaurant or a service is flagged — goods are bought, a business is described by its own type. For software, products and services the legal pages are part of what is offered: they need their place in the graph, and the product must point at them (license on software, termsOfService on a service). The brand itself as an entity: description, logo and sameAs, the profiles that tell it apart from every other name like it. llms.txt and llms-full.txt are read against the site — every link, every #fragment, every page against the sitemap, the charset, how long the full file takes. Open Graph and Twitter cards with absolute images.
  • Markup & accessibility — no engine penalises a <div>, but markup decides whether machines can tell content from chrome, whether crawlers can follow the menu, and what the page costs to render. Each page is graded GREEN, YELLOW or RED on landmarks, wrapper chains (the div-in-div-in-div that page builders emit), nodes per word, text loose in div/span, and the accessibility that can be checked without a browser: labels, button names, duplicate ids, tabindex, ARIA roles, links and fields still focusable inside an aria-hidden block (usually the other language kept in the page). Anti-spam honeypot fields are recognised, and utility-class CSS such as Tailwind is not penalised for its class count. The page builder behind it is named. A menu made of click handlers instead of links is a failure: the pages behind it can only be found through the sitemap.
  • Crawlers (--logs) — the scan predicts what crawlers can see; the access log says what they did. Apache/nginx or JSON-lines logs, read locally: who came, each hit checked against the engine’s published IP ranges so a fake Googlebot is counted apart, which sitemap URLs no engine fetched, the 404s, 5xx and redirects they keep hitting, and the AI crawlers that fetch what robots.txt disallows — handed to kekkai, because robots.txt is a request and the edge is the lock.
  • Semantic (--semantic, opt-in) — the page’s own words against its title, with Greek and English stop-words and a light stemmer. A hint, never a verdict.

The platform is recognised (Wix, Webflow, WordPress, Squarespace, Shopify, Framer, Astro, Next.js…) and the findings point at the setting that fixes them. A finding that repeats on most pages is reported once, as a template problem; the report lists the site first and then one block per scanned page. In dist/ mode every HTML file is scanned, page.html is matched to /page the way clean-URL hosts serve it, and pages that carry noindex are treated as deliberately hidden and never printed.

The guide

reference/build-rules.md is a page of DO/DON’T lines to hand over before the first template is written; reference/visibility.md is the long guide (CC BY 4.0).

What it will not do

It does not execute JavaScript, so client-rendered content is invisible to it — as it is, at first, to most crawlers. Contrast and focus order need a rendering browser and are out of scope. It does not know your rankings or your traffic, and it does not replace Search Console; it removes the reasons a page would be ignored before you get there.

Only scan sites you own or are allowed to test.

INSTALL

# live site
npx github:kappa-yashi/senrigan https://www.example.com
# build folder, before deploy
npx github:kappa-yashi/senrigan ./dist --base https://www.example.com
# failures and warnings only, sorted by tier
npx github:kappa-yashi/senrigan https://www.example.com --summary
# keep a report
npx github:kappa-yashi/senrigan https://www.example.com --semantic --out senrigan.md

CHANGELOG

  1. v0.9.0 ·

    The 404 page's head: canonical, og:url or hreflang on the error page is a failure (live on the probe's 404 response, and on 404.html in the build) — a layout that stamps them on every page makes the error view claim to be the home, or /404/. A sitemap with hreflang alternates gets a note that browsers show it as glued text; a clean sitemap gets the Search Console note ("Couldn't fetch" on a new property, an index with 0 pages, URL Inspection as the test). Launch checklist: a domain with a past.
  2. v0.8.1 ·

    Packaging: the public repository ships the scanner, the build rules and the guide.
  3. v0.8.1 ·

    Every report names its version in the first line (and in --json; --version prints it). New check: an address that does not exist must answer 404 — a 200 from an SPA catch-all or a redirect to another page is a soft 404 for every typo and deleted page; in build-folder mode a missing 404.html is reported (Cloudflare Pages then serves every unknown path as the home page).
  4. v0.7.0 ·

    From two prerendered Lovable sites: a temporary (302/307) redirect between hosts is now a warning — 301, with www primary — instead of a pass; single-page apps detected, and an empty app root in the served HTML is INVISIBLE on every route it appears; video thumbnails with alt="" named as content; an Organization named after a person suggests a Person as the main entity; headings typed in capitals noted; the title-width finding has its own line so site-wide summaries never mix reasons; each missing brand-entity field named with what it is for.
  5. v0.6.0 ·

    Crawler logs (--logs): who actually came, checked against the engines' published IP ranges, which sitemap URLs no engine fetched, the errors and redirects they keep hitting, AI crawlers that ignore robots.txt and fake Googlebots. Empty alt judged by context (link without a name, wide image, figure, the image the JSON-LD names); llms.txt and llms-full.txt read against the site (dead and redirecting links, missing #fragments, pages off the sitemap, charset, response time); title width in pixels; the brand entity (description, sameAs, logo); multilingual sites sampled in pairs with a summary per language; policy pages no longer taken for articles.
  6. v0.5.0 ·

    From the 0.4 field scans: robots.txt read crawler by crawler — INVISIBLE only when Googlebot or bingbot is shut out, a default-deny file is named with everything it blocks (ChatGPT search, Apple, link previews); a second host whose pages name another canonical is reported once and the scan moves there; internal links that redirect; Product next to a hotel or a service; hidden language blocks and honeypot fields recognised; noindex pages reported for the noindex alone; the two language versions of a page are not duplicates; Tailwind classes not penalised; the report prints the site first, then one block per page.
  7. v0.4.0 ·

    Markup & accessibility (Layer 6): every page graded GREEN / YELLOW / RED — landmarks, wrapper chains, nodes per word, text loose in div/span, page-builder fingerprint, form labels, button names, duplicate ids, ARIA roles; navigation built from click handlers instead of links is a failure.
  8. v0.3.0 ·

    Severity tiers: INVISIBLE (out of the index), DILUTED (signals split), DEGRADED (shown worse); hand-off to kekkai for transport findings and the kekkai command at the end of every report; www recommended as the primary host; legal pages of products and services checked as part of the graph (license / termsOfService); ARIA headings counted; clean-URL hosts understood in dist mode.
  9. v0.2.1 ·

    Packaging fix.
  10. v0.2.0 ·

    From nine field scans: site-wide findings collapsed into one line, platform detection with setting hints (Wix, Webflow, WordPress, Astro and more), canonicals that redirect or point at an image are failures, Greek entities decoded, all sitemaps merged, wider page sample.
  11. v0.1.0 ·

    First release. Live and dist modes, robots and sitemap, head, headings, links, JSON-LD and Open Graph, optional semantic pass.

SEE ALSO

workspace-switcher@kappayashi(applet), wallpapers-2026-11(wallpapers), musiccontrols@kappayashi(applet), wallpapers(wallpapers), sessionManager@kappayashi(applet), separator@kappayashi(applet), idle-vector-scrnsvr(tool), kekkai(tool)

keysEsc

Jump toEsc

navigationEsc

SNAKE.EXE
score 0length 3best 0

SNAKE

steer with WASD / arrows · swipe on touch

WASD/↑←↓→ steerspace pauseR restart

PONG.EXE
you 0rally 0best 0cpu 0

PONG

first to 7 · W/S, arrows, or drag

W/S/↑↓ movemouse / touch dragspace pauseR restart

INVADERS.EXE
score 0lives 0wave 0best 0

INVADERS

←→ movespace fireP pauseR restart

TETRIS.EXE
score 0lines 0level 0best 0

TETRIS

←→ move↑ rotatespace dropP pause

BREAKOUT.EXE
score 0lives 0level 0best 0

BREAKOUT

←→ movespace launchP pauseR restart

DIGGER.EXE
score 0lives 0level 0best 0

DIGGER

←→↑↓ tunnelspace fireballP pauseR restart

KAPPA_FORCE.EXE
score 0lives 0wave 0best 0

KAPPA FORCE

←→↑↓ movespace fireP pauseR restart

THEME.EXE

saved

    colours only · stored in this browserexport to keep or share a theme

    tab complete↑↓ historyhelp commands` close