Skip to content

fix: stop naming the operator view in robots.txt - #9

Merged
msitarzewski merged 1 commit into
mainfrom
fix/no-ops-in-robots
Aug 27, 2026
Merged

msitarzewski merged 1 commit into
mainfrom
fix/no-ops-in-robots

Conversation

@msitarzewski

Copy link
Copy Markdown
Owner

The mistake

PR #8 added Disallow: /*?ops to robots.txt. That's backwards. robots.txt is a public file that scanners fetch first, so a Disallow line advertises a path rather than protecting it — it published the exact thing the line was meant to keep quiet.

The fix

Remove it. The canonical link already consolidates the operator view onto the board for any engine that honors canonical, and discloses nothing to do so. Nothing links to the view, so crawlers have no route to it regardless.

Disallow: /api/ stays — that endpoint is already documented in llms.txt and serves public data, so there's nothing to disclose.

A new test asserts that no public document (robots.txt, sitemap.xml, llms.txt) contains the string, so this can't regress.

What this does not change

The operator view is toggled by client-side JavaScript that ships in the page, so anyone reading the source can still find it. This change stops broadcasting it to every scanner; it does not make it private. Genuinely private needs a real mechanism — a token, or an edge rule — which is a separate decision.

🤖 Generated with Claude Code

robots.txt is a public file that scanners fetch first, so a Disallow line
advertises a path rather than protecting it. Naming the operator view there
published the exact thing the line was meant to keep quiet.

The canonical link already consolidates the operator view onto the board for
any engine that honors it, and discloses nothing to do so. Nothing links to
the view, so crawlers have no way to reach it in the first place.

Adds a test asserting no public document names it, so this cannot regress.

Note this changes what is advertised, not what is reachable: the view is
toggled by client-side JavaScript that ships in the page, so anyone reading
the source can still find it. Making it genuinely private needs a real
mechanism, not a robots directive.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@msitarzewski
msitarzewski merged commit eac60fa into main Aug 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant