What humanoid robots mean for AI disclosure

add_filter( 'robots_txt', function ( $output, $public ) {
	if ( '1' === $public ) {
		$output .= "User-agent: GPTBot\nDisallow: /\n";
	}
	return $output;
}, 10, 2 );

That filter is how a WordPress site tells OpenAI’s GPTBot not to use its content for training: two lines of policy, appended to the virtual robots.txt file that WordPress builds on the fly through the robots_txt filter. I want to talk about the one part of the humanoid robot debate I can act on, which is AI disclosure, and for most of us this filter is where disclosure on the web currently lives.

Smashing Magazine published a piece on what humanoid robots do to humanity, covering factory floors, artificial skin, robot soldiers, and the general dread of a world where you can’t tell a person from a machine. I don’t build robots. But one of its proposed guardrails is clear IDs: a robot must never hide that it’s a machine, and should carry a marker or beacon so humans always know what they’re dealing with. That one is already my problem, because websites have been running a small version of the same experiment for a couple of years.

Two ways to disclose, and one you can enforce

Take the code above. It asks GPTBot to stay out, and whether that works depends on whether OpenAI feels like listening, because robots.txt is advisory by design. Google’s own documentation is blunt about it: the file manages crawler traffic, it does not keep content out of anything. OpenAI’s and Anthropic’s training crawlers mostly respect it. Bytespider, ByteDance’s crawler, has a long record of ignoring robots.txt while being one of the heaviest AI crawlers by request volume. So the same two lines are a real boundary for one company and a polite suggestion for another.

Enforcement looks different. When a client doesn’t want a crawler on the site at all, we stop asking and start blocking: a WAF rule in Cloudflare matched on the user agent, evaluated at the edge before PHP is ever hit (with the usual trade-off that a spoofed user agent still gets through). That works against crawlers that ignore robots.txt, at the cost of needing maintenance when the block list drifts.

When the source article asks for robots that must identify themselves, it is asking for something closer to the first kind of measure: a statement of intent. Markers only work when something stands behind them. In the EU something now does, at least for software: Article 50 of the AI Act, in force since August 2026, requires providers of AI systems that interact directly with people to design them so people are told, at the first interaction and in a clear, distinguishable way, that they’re dealing with AI. That’s the clear ID idea with a fine attached.

What Article 50 changes for the sites I build

Client sites don’t ship robots. They ship chatbots, AI search boxes, support assistants. Those are the systems Article 50(1) describes. The European Commission’s FAQ is specific that the notification comes at the start of the first interaction and conforms to accessibility requirements, which rules out the two implementations I run into most often. The bad version is a line buried in the terms of service. The acceptable version is a persistent, visible label on the widget itself:

<?php
add_filter( 'render_block', 'bbioon_mark_ai_widget', 10, 2 );

function bbioon_mark_ai_widget( $block_content, $name ) {
	if ( 'bbioon/ai-chat' !== $name ) {
		return $block_content;
	}

	return '<p class="bbioon-ai-label">You are chatting with an AI assistant, not a person.</p>' . $block_content;
}

That’s two functions and one filter, and the disclosure sits in the DOM on first paint instead of appearing after a scroll or a click. I’m not a lawyer and I wouldn’t present a hook as compliance on its own; the chatbot vendor usually holds the provider duty and the client often holds a parallel one as deployer. But when I audit a site for this, the failures are almost always placement failures. The label exists, it’s just somewhere a person on a phone never sees it.

There’s a second, quieter job in the same pass. If the site also blocks AI training crawlers, the two decisions belong together. Allowing GPTBot while demanding chatbot labels is a coherent position: you’re stating what may be trained on and what must identify itself. Blocking every crawler while shipping three unlabeled AI widgets is the incoherent version. On store projects I fold it into the same work as getting WooCommerce ready for AI features, because crawl settings, structured data and labels all answer one question: what the site tells machines they may do.

The robot version is the same problem with a body

Back to the source article’s guardrails: kill switches, clear IDs, economic safety nets. The kill switch maps onto my work better than you’d expect. A physical e-stop the robot’s own AI can never override is a technical boundary, and technical boundaries hold because they’re part of the design rather than the policy layer. The robots_txt filter is the policy layer. The WAF rule is closer to a real boundary, and the Article 50 duty sits in between: it only bites when someone enforces it.

So here are my picks, in site terms. If you publish content and care where it ends up, use the robots_txt filter for the crawlers that respect it, and add edge blocking for the ones that don’t. If you run any AI feature that talks to visitors, don’t wait for a regulator to ask; ship the label now, visible, above the fold. The same goes if you’re optimizing WordPress for AI search engines: decide what you invite in, and label what you put in front of people.

If you want a hand with this side of it, I do these disclosure and crawler policy passes on WordPress and WooCommerce sites, and I’m glad to check what a specific site is currently telling crawlers and visitors.

One last implementation detail: if the label is rendered through the same script as the chat widget, test what happens when that script fails or is blocked, because the obligation doesn’t pause while a third-party script loads. Render the notice as static markup that exists before any JavaScript runs.

author avatar
Ahmad Wael
I'm a WordPress and WooCommerce developer with 15+ years of experience building custom e-commerce solutions and plugins. I specialize in PHP development, following WordPress coding standards to deliver clean, maintainable code. Currently, I'm exploring AI and e-commerce by building multi-agent systems and SaaS products that integrate technologies like Google Gemini API with WordPress platforms, approaching every project with a commitment to performance, security, and exceptional user experience.

Leave a Comment