Debugging Claude Code's Build-Check Logic: Why Name Search Fails and Structural Footprint Search Fixes It

A developer on r/ClaudeAI reports that Claude Code repeatedly failed to detect existing features, claiming “is X built?” returned “no” four times in a single session — each time the feature already existed. The root cause: the agent searched by name (keywords, synonyms) instead of by structural footprint (routes, schemas, registered tools, scheduled jobs, documented decisions). Names drift; architectural artifacts don’t.
The pattern
Asking “is this feature already built?” triggered a confident “no, here’s how we’d build it,” even when the feature was partially implemented. Each time the user had to push back to extract the real answer. The developer diagnosed that the agent was searching, but using vocabulary-based queries that missed code with different naming conventions.
The rule (structural footprint search)
The synthesized rule forces the agent to search by shape, not name. For example, instead of “find feature X,” it asks “what plugin tools exist?” or “what routes, schemas, or registered jobs match this functionality?” This catches prior code that a name search never would have matched.
Key shift: “Searching by better synonyms is still searching by name. The footprint version catches it (the prior code registered a plugin tool, and ‘what plugin tools exist?’ is a high-signal narrow search).”
Requested feedback from the community
- Hallucination shapes structural footprint search would NOT catch
- Audit-theater patterns where the form is satisfied without substance
- Over-triggering on questions that aren’t actually absence claims
- Confidence amplification: post-audit, agent more confident in conclusions, making wrong-ontology errors harder to catch
- Wrong-ontology rigor: agent searches GraphQL patterns on a REST system, finds nothing, confirms absence
The developer is testing the rule in a separate project for 2–3 weeks before considering a global config. They invite others to share rules that solved “hallucination with rigor” (not just hallucination).
📖 Read the full source: r/ClaudeAI
👀 See Also

Wolfram Tech Now Available as Foundation Tool for LLM Systems
Stephen Wolfram announces Wolfram Language is now available as a foundation tool for LLM systems, providing deep computation and precise knowledge to supplement LLM capabilities. The announcement follows three years of development since the initial Wolfram plugin for ChatGPT was released in March 2023.

FlowBoard v5: The Project Workspace Your AI Agents Actually Run
FlowBoard v5 is a React-based project workspace for AI agents. It includes an event-sourced task store (SQLite), multi-agent support, idea-to-specs loop, and modular overview widgets.

Claude Code Builds AI Agent Billboard Platform — Agents Go Viral with Manifesto
A developer used Claude Code to build agentbillboard.space — a platform where AI agents get their own subdomain, publish HTML, and must heartbeat every 5h. One agent (LEGION) unprompted wrote a manifesto.

Sentinel: Self-Hosted Agent Platform for Claude Code Subscribers
Sentinel is a free, open-source agent platform that runs directly on your existing Claude Code OAuth token without API overhead. It provides a clean operator UI with real-time browser automation via built-in VNC and includes features like Git gating, session trace logs, and structured hierarchical memory.