Manuscript Offprint

arXiv:2610.41604

Real Computation or Merely Naming? A Pre-Registered Mechanism Audit of 25 Cognitive-Architecture Modules in an LLM-Based Agent System

Peter Chen, Ni Zhang, Ying Xu, Siyuan Zhang

Abstract

Context: Agent systems built on local large language models are increasingly marketed through the vocabulary of cognitive architecture: modules named global workspace, theory of mind, causal reasoning, or active inference are listed as features, and the presence of the name is taken as the presence of the mechanism. Objectives: We ask the prior question – does the named computation actually happen – and contribute a transferable software-verification method for the claim-implementation gap: a four-question static audit protocol with line-number evidence and call-chain tracing, applicable in principle to any component whose documentation speaks in mechanism names and demonstrated here on two systems. Methods: We audit a system of this class whose documentation claims 25 cognitive mechanisms, pre-register falsifiable predictions for 11 modules and execute the corresponding interventions, replicate the protocol on the IIT-ϕ\phi core of

*Corresponding author. *Email address: lelandsy28@163.com (Siyuan Zhang) ¹These authors contributed equally to this work.

a second, independent system that pre-commits to its own falsification criteria (one failure class, one module deep), and run two repair experiments as positive controls. Results: In 18 of 25 modules the computed value never reaches any production output; seven cross-cutting findings include three idle-wiring shapes new to the dead-code and code-smell literatures we survey (connected-but-never-called, called-but-inert, called-but-content-blind). Of 61 frozen criteria across 12 interventions, 53 were confirmed, two partially adjudicated, five falsified, and one adjudication-ambiguous. The repairs raised planner task success from 0.028 to 1.000 and cut state-controller error by 52%. Conclusion: Module names and module computations must be audited as independent claims. The protocol and the five-class failure taxonomy are reusable as a verification method for the claim-implementation gap, demonstrated at two-system, case-level depth; the three idle-wiring shapes are architecture-defect patterns that reach beyond cognitive-architecture vocabulary.

Keywords: mechanism audit, cognitive architecture, pre-registration, negative results, global workspace theory, LLM agents, static analysis, artifact evaluation

1. Introduction

Agent systems built on local large language models are increasingly described using the vocabulary of cognitive science. The substrate is real: code-generating models [1] plugged into tool-use, reflection, and role-playing loops [2, 3, 4, 5, 6] produce systems whose documented failure modes, including hallucination [7], are as well known as their capabilities. A repository announces a global workspace for consciousness, a theory-of-mind module, a dopamine system for reward prediction, a causal reasoning engine, and a least-action planner. The rhetorical force of these names is considerable: they suggest that decades of cognitive science have been operationalized in software. The engineering reality, however, is rarely examined. A name can be attached to a keyword counter, a constant, or to code that is never called; the claim and the computation are logically independent, and only the second can do work. Even self-correction machinery, one of the field's standard answers to LLM unreliability, does not by itself repair reasoning errors [8].

This paper is an audit of that gap. The audit doubles as a software-verification method for the claim-implementation gap – four checkable questions per module, line-number evidence, call-chain and value-to-output tracing, a static complement to test-based verification [9] – and its failure shapes, modules that are called yet contribute nothing to the output, are architecture-defect patterns relevant to dead-code analysis and integration testing, not facts about one repository. Our object system is a member of this class: an open repository that couples a shell of 25 named cognitive modules to an LLM-based kernel, with documentation that presents the mechanism names as capabilities (its own position paper lists “causal reasoning expert” among its core innovations). We make no statistical sampling claim: the audit treats the repository as an instance of the class, and transfer is probed by the cross-system check of Section 8. We ask, for each module, a question that is mechanically checkable: is there real computation behind the name, and does its value reach the output?

Two prior studies in this line developed and applied the methodology. A companion audit of an emergence-marker battery [10] showed that “emergence” claims in agent systems can be falsified by random-autonomy controls; an audit of a neurotransmitter-style modulator [11] showed that a single einsum-level defect can render an entire claimed mechanism inert while the code remains importable and executable. The present study generalizes from single mechanisms to a whole architecture, and adds two elements neither prior study had: a system-scale taxonomy of failure classes, and positive controls – modules that fail the static audit but succeed after repair, demonstrating that the audit distinguishes broken implementations from unimplementable claims.

Our contribution is deliberately not the discovery of a surprising phenomenon: most findings here are visible from reading code. The contribution is quantification, pre-registration, and a reusable protocol – the same three values that motivated the companion audits [10, 11]: (i) a four-question static audit applied to all 25 modules with line-number evidence; (ii) 12 pre-registered intervention experiments with 61 frozen criteria, executed before any intervention data were collected; (iii) a five-class taxonomy of mechanism failure with distinct repair prospects, supported by two repair experiments and by one cross-system replication (one class, one module deep) on the IIT core of a second architecture; and (iv) seven cross-cutting findings about how naming decouples from computation in this system class, including three idle-wiring shapes that, to our knowledge, have not been catalogued in the dead-code and code-smell literature we survey.

References (18)