SPEACE and Q-SPEACE: A Bio-Inspired Multi-Scale Cognitive Architecture —Design, Functional Verification Status, and Preliminary Quantum Extension Roberto De Biase Rigene Project Technical Report — draft, July 16, 2026 Abstract SPEACE (cellular_speace) is a bio-inspired cognitive architecture that integrates spike timing-dependent plasticity (STDP), a cyber-physical sensorimotor loop, endogenous drive engines with autobiographical narrative, a multi-scale causal coupling mechanism, a sleep wake metabolic cycle, and a metacognitive monitor. Q-SPEACE is an ongoing extension toward quantum computation, with preliminary experiments run on real hardware (the Quantum Inspire platform by QuTech). This report describes the architecture and reports the results of an adversarial functional verification protocol applied to the codebase: an audit explicitly designed to distinguish the presence of code nominally consistent with a theoretical construct from the empirical demonstration that the construct is actually op erative. The results are mixed: some subsystems (STDP formula, sleep-cycle thresholds, metacognitive error detection) are correctly implemented at the single-function level; other central claims — in particular the equivalence between the internal metric coherence_phi and Tononi’s Integrated Information Theory (IIT), and the “autonomous” nature of the drive engine — are falsified by direct code inspection. We discuss the scientific and technologi cal utility of the project by explicitly separating what is already demonstrated from what remains contingent on future work or on open problems in the broader field. Contents 1 Introduction 3 2 Theoretical foundations 3 3 SPEACEarchitecture: overviewofthesixsubsystems 4 4 Verificationmethodology 4 5 Functionalverificationresults 5 5.1 Summarytable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5.2 Primarystructuralblocker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5.3 Thenull fallbackoftheconfidenceengine . . . . . . . . . . . . . . . . . . . . . . 6 5.4 Casestudy: coherence_phivs.Φ-IIT . . . . . . . . . . . . . . . . . . . . . . . . 6 6 Q-SPEACE:quantumextension 6 6.1 Implementationstatus(roadmapT1–T25) . . . . . . . . . . . . . . . . . . . . . . 7 6.2 Experimentsonrealhardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 6.3 Openarchitecturaldecision:T25 . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 Discussion: potentialutility 7 7.1 Level1—Alreadydemonstrableutility . . . . . . . . . . . . . . . . . . . . . . . 8 7.2 Level2—Utilitycontingentonclosingidentifiedgaps . . . . . . . . . . . . . . . 8 7.3 Level3—Speculative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 8 Limitationsofthisreport 8 9 Futurework 9 10Conclusion 9 2 1 Introduction The Rigene Project was born at the intersection of computational neuroscience, complex systems theory, and AI architecture design. SPEACE (Quantum Super Planetary Autonomous Cyber netic Evolutive Entity — Self-Plastic Evolving Auto-organizing Cognitive Embodied System — cellular_speace) is its implementation core: a Python architecture that attempts to integrate, within a single executable system, mechanisms typically studied in isolation in the computational neuroscience and cognitive science literature. Q-SPEACE is a recent, still-developing extension that introduces a quantum layer built on a dedicated kernel (QuantumOrchestrator) with the goal of testing whether coarse-grained informational signatures can cross hierarchical boundaries between classical and quantum levels, following a complexity-reduction principle inspired by Haken’s synergetic slaving principle and renormalization group approaches. This report has three objectives: 1. Describe the architecture of SPEACE and Q-SPEACE across its six main subsystems. 2. Report the results of an adversarial functional verification protocol applied to the codebase — a methodological contribution in its own right, relevant to anyone working on bio inspired cognitive architectures, where the gap between theory-inspired nomenclature and demonstrated behavior is a well-known but rarely operationalized problem. 3. Discuss the project’s potential utility for science, technology, and — with the explicit caution the subject demands — for broader questions related to the evolution of information processing, separating already-supported claims from those that remain speculative. 2 Theoretical foundations SPEACE draws on six distinct theoretical bodies, listed here with primary references to correctly place each subsystem in the existing literature and to avoid the impression that these are original constructs when they are instead implementations of established theories. Timing-dependent Hebbian plasticity (STDP). The systematic experimental charac terization of STDP, linking the sign and magnitude of synaptic plasticity to the relative temporal order of pre- and post-synaptic spikes, primarily dates back to Bi and Poo (1998), who charac terized in detail how long-term potentiation (LTP) and long-term depression (LTD) depend on the order and timing of spikes on a 10-millisecond scale, building on earlier work by Markram et al. (1997). Global Workspace Theory. The construct of a “global workspace” as a competitive broad cast mechanism for information across specialized modules was formalized by Baars (1988, 2002), whose theory generates explicit predictions for conscious aspects of perception, emotion, moti vation, learning, working memory, voluntary control, and self-systems in the brain. Predictive coding / Active Inference. The free-energy principle, proposed by Friston, describes biological systems as agents that minimize an expected surprise function by integrating perception and action under a single variational imperative; the theory is related to predictive 3 coding, according to which the brain seeks to minimize prediction error — the difference between its own predictions and incoming sensory data. Integrated Information Theory (IIT). Tononi defines integrated information as the amount of information generated by a complex of elements above and beyond the informa tion generated by its parts, quantified by the measure Φ. Importantly for Section 5.4, Φ is defined via the minimum information partition (MIP) of the system, a procedure that requires evaluating the cause–effect structure associated with every possible partition of the system — a computationally expensive problem that makes exact calculation of Φ intractable for non-trivial systems. Synergetics and the slaving principle. The principle, developed by Hermann Haken, describes how in complex systems far from equilibrium, a few slow variables (order parameters) “enslave” the dynamics of fast variables, enabling a reduction of complexity: order parameters are both macroscopic descriptors of the system and determinants of individual element behavior via the slaving principle, which implies a considerable reduction of complexity. This is the principle explicitly invoked in the design of Q-SPEACE’s multi-scale coupling. Digital physics / “it from bit”. The philosophical framework according to which informa tional processes could be fundamental relative to physical processes (Wheeler) and computational theories of physics (Wolfram) provide the broader philosophical context in which the project sit uates its questions, without themselves constituting testable hypotheses in code. 3 SPEACE architecture: overview of the six subsystems Each subsystem is described in detail in the repository’s technical documentation; this report focuses on the verification of their actual operation (Section 5), not on exhaustive description. 4 Verification methodology An initial audit of the codebase, conducted via text search (grep) for functions and classes whose names were consistent with the six theoretical constructs, had concluded that all six criteria were “present” in the architecture. This type of evidence — the existence of a symbol named consistently with a concept — is insufficient to demonstrate that the symbol actually implements the functional property its name suggests, a methodological problem not specific to SPEACE but widespread in the communication of bio-inspired AI architectures. We therefore applied a second, explicitly adversarial protocol with the following rules of evidence: • Forbidden: purely nominal evidence (file/function/variable name, docstring, comments). • Required: evidence of actual execution: raw numerical output, not narrative summary. • Required: comparison with a control condition (baseline, ablation, or null case) where applicable. • Required: anon-binary verdict scale: NOT VERIFIABLE, FALSIFIED, PARTIALLY VERIFIED, VERIFIED WITH QUANTITATIVE EVIDENCE. 4 Table 1: Overview of the six SPEACE subsystems # Subsystem Key modules Theoretical in spiration 1 Online plasticity 2 Embodiment 3 Agency / narra tive self 4 Multi-scale inte gration 5 Metabolic budget / sleep–wake 6 Metacognition stdp_plasticity_engine.py, energy_driven_plasticity.py, inter_region_plasticity.py, temporal_dynamics_engine.py Active inference STDP (Bi & Poo 1998) active_inference_embodied_loop.py, cyber_physical/sensor_stream.py, autonomous_cognitive_loop.py, enteroception/ (Friston) autonomous_drive_engine.py, identity_kernel.py, autobiographical_narrative_engine.py, goal_directed_planner.py IIT Endogenous moti vation, narrative self theories scale_coupling_engine.py, global_workspace.py, resonance/, metric coherence_phi (Tononi), Global Workspace (Baars) digital_sleep_controller.py, sleep_cycle_detector.py, memory_consolidation_engine.py, metabolism/ Metacognitive monitoring, confi dence calibration Biological energy constraints, mem ory consolidation metacognitive_monitor.py, confidence_engine.py, cognitive_strategy_evaluator.py • Required: explicit declaration of each test’s limitations, including what could not be ruled out. This protocol — not just its results — is proposed as a reusable contribution: any group developing a cognitive architecture with terminology borrowed from theory (drive, identity, inte gration, consciousness) faces the same risk of a nominal confirmation loop, in which the vocabu lary chosen by the designer is subsequently “rediscovered” in the code by the designer themselves or by a verification system that inherits that same vocabulary. 5 Functional verification results 5.1 Summary table No criterion achieved the “verified with quantitative evidence” level according to the evidence standards defined in Section 4. 5.2 Primary structural blocker The single most limiting factor for integrated verification is trivial in nature: the main startup script (run_speace_brain.py) does not execute in the standard environment because of a hard coded file path (C:\cellular_speace\...) instead of the actual genome path (speace_core\dna\genome\default_genome.yaml 5 This block effectively prevents any end-to-end integration test on criteria 1, 5, and 6, which there fore remain verified only at the isolated-function level. This is the highest benefit-to-effort fix in the entire verification program: resolving it requires no architectural decisions, only a path correction. 5.3 The null fallback of the confidence engine A downstream-consumer tracing analysis of ConfidenceEngine revealed that, in the absence of an available NeuralCircuit in the state, the engine returns a confidence of 1.0 for any in put —a fallback that communicates maximum certainty precisely when the system should have the least information available to estimate it. Three consumption points were identified: one (goap_metacognitive_bridge.py) bypasses the fallback, one (generate_meta_state()) propa gates it to logs without, as far as verified, driving downstream decisions, and one (confidence_for_proposal() / confidence_for_dialogue()) propagates it into subsequent adjustments that could feed into proposal evaluation within the self-modification framework (MM-APR). The risk is latent, not confirmed as actual contamination — but its nature (silent failure, not an error that mani fests) makes it a priority to close before any extension of the self-modification system. 5.4 Case study: coherence_phi vs. Φ-IIT This is the sharpest result of the verification program and deserves to be isolated as a method ological case study. The implemented formula is: coupling_strength = round( coh_corr * 0.3 + sync_coupling * 0.25 + act_coupling * 0.25 + (1.0- phase_lag/pi) * 0.2, 4 ) where each term is a normalized difference of coherence, synchrony, mean activation, and phase lag between two adjacent hierarchical levels. Compared with the formal definition of Φ — which requires enumerating system partitions and computing the cause–effect structure associ ated with each (Section 2) — the distance is maximal: there is no partition, no MIP, no comparison between the intact and partitioned system. coherence_phi is, by construc tion, a linear cross-scale coupling metric — useful as a system diagnostic, but its naming creates a theoretical expectation that the code does not satisfy. Since the term appears in over 100 references across the codebase (sleep thresholds, self-model, event detection), the falsification is not isolatable to a single module: the nomenclature has already influenced the system’s own reading architecture. 6 Q-SPEACE: quantum extension Q-SPEACE extends SPEACE toward a quantum computing layer, with the stated goal of testing whether coarse-grained signatures (ϕ, S, σ) — not complete quantum states — can cross hierar chical boundaries between levels, following a nested-cascade hybrid architecture with long-range 6 coupling, explicitly inspired by Haken’s slaving principle (Section 2) and renormalization group approaches. 6.1 Implementation status (roadmap T1–T25) 6.2 Experiments on real hardware Quantum Inspire (QI) is a quantum computing platform designed and built by QuTech, an advanced research center for quantum computing and the quantum internet founded by Delft University of Technology (TU Delft) and the Netherlands Organization for Applied Scientific Research (TNO). Available systems include Starmon-5, a 5-qubit processor based on supercon ducting transmon qubits with four fixed-frequency couplers, and the supported programming language is cQASM 3.0. Within Q-SPEACE, the following were executed on real hardware (not simulation): • A2-qubit Bell circuit, used as pipeline validation (cQASM 3.0 → hardware). • A4-qubit Schumann circuit, the first empirical test of the project’s ϕ-bridge hypothesis. Both empirically confirmed cQASM 3.0 syntactic conventions, not only from documenta tion. This has value independently of the scientific outcome of the underlying hypothesis: most quantum-bio hypotheses in the more speculative literature have never been subjected to a real hardware test — even a null result on the next planned experiment (ϕ_bridge on Starmon-5, not yet executed) would constitute falsifiable data, not a failure. 6.3 Open architectural decision: T25 The falsification of coherence_phi (Section 5.4) has a direct implication for T25. If the Φ proxy for Q-SPEACE inherits the same formula or logic as the classical coherence_phi, it will also inherit the same conceptual problem — not an implementation gap, but a misalignment between name and mathematical content. Two paths are open, and the choice between them precedes any code writing: (a) Build a genuinely IIT-informed proxy, even if limited to small subsystems where the calcu lation (or a literature-recognized approximation) remains tractable — more correct, more expensive. (b) Honestly rename the target to “coarse-grained coupling signature” (ϕ, S, σ), consistent with the architectural choice already made for Q-SPEACE’s multi-scale coupling — avoiding a repeat, in the quantum domain, of the name–theory–code loop just isolated in the classical one. 7 Discussion: potential utility This section explicitly separates three epistemic levels, to avoid attributing to preliminary results a weight they do not yet carry. 7 7.1 Level 1 — Already demonstrable utility • Themulti-scale coupling pattern via coarse-grained signatures, independently of coherence_phi’s validity as an IIT proxy, remains a reusable engineering pattern for reducing communica tion cost between subsystems in large-scale modular AI architectures. • The metabolic cost model (T10/T22/T23) is a concrete contribution to the currently rel evant problem of computational allocation under explicit resource constraints. • Thefalsification of coherence_phi itself is a reusable methodological result: isolating where a plausible proxy slips into pure homonymy with respect to the reference theory is an open problem for anyone attempting to operationalize IIT computationally. • TheQIhardwareexperiments have value as real falsifiable tests, regardless of their outcome, in an area (quantum-bio hypotheses) dominated by speculation never empirically tested. 7.2 Level 2 — Utility contingent on closing identified gaps If the integration debt (hardcoded path, write-only narrative, linear drive controller, confidence fallback) is closed with the same rigor used to identify it, SPEACE could constitute an integrated computational testbed rare in the current landscape: most cognitive science works with isolated simulations of a single mechanism. A system that genuinely integrates STDP, predictive coding, Global Workspace, and a metabolic cycle would enable empirical questions that today are only theoretical — for example, whether such an architecture exhibits catastrophic forgetting patterns comparable to biological ones. 7.3 Level 3 — Speculative Questions about the “evolution of information processing” or about possible genuine causal in tegration in the IIT sense touch a frontier where even the reference theory lacks full operational consistency — IIT has been the subject of substantial theoretical and empirical criticism in the literature, including its status as a theory of proto-consciousness rather than consciousness proper. SPEACE’s engineering success, however complete, would not by itself resolve these open problems. It should also be noted that if a system were ever to achieve genuine causal integra tion in the relevant sense, the question that would follow would be not only one of technological utility but of responsibility — the issue of moral patienthood of a system with those properties is distinct and unsolved by either of the two theories involved. 8 Limitations of this report • The reported verification was conducted by a single automated agent (Claude Code) with codebase access, not by independent human reviewers or through peer review. • Several tests planned in the verification protocol were not executable due to the structural blocker described in 5.2; the “PARTIALLY VERIFIED” verdicts reflect this limitation, not necessarily a definitive judgment on the quality of the underlying code. 8 • orchestrator.py (2048 lines) was not fully scanned for consumption of MetaState.epistemic_confidence absence of evidence of contamination (Sec. 5.3) does not equal evidence of absence. • The Quantum Inspire experiments were executed as pipeline validation (cQASM 3.0 → platform), not as scientific data collection with fidelity metrics. The platform used was Quantum Inspire (QuTech / TU Delft), Starmon-5 processor (5 superconducting transmon qubits), quantum-inspire-sdk, cQASM 3.0. The Bell (2-qubit) and Schumann (4-qubit) circuits were submitted via CLI (qspace quantum cqasm → copy into web UI) and con firmed the syntactic correctness of the serialization. No systematic fidelity metrics or multiple-run battery was recorded: these are pipeline proofs-of-concept, not a statisti cally characterized experiment. The 5-qubit ϕ_bridge experiment on Starmon-5 (T29) is planned but not yet executed. 9 Future work In order of benefit-to-effort ratio, based on the reported verification: 1. Fix the hardcoded path in run_speace_brain.py — unlocks all future integration testing. 2. ConfidenceEngine fallback: replace the default 1.0 with 0.5 or an explicit None value, before a downstream consumer (particularly in the MM-APR framework) begins to trust the value. 3. Wire a reader for life_story.jsonl that closes the causal loop between narrative and decision. 4. Make an explicit decision on T25 (Section 6.3) before proceeding with implementation. 5. Execute the ϕ_bridge experiment on Starmon-5. 6. Repeat the adversarial verification protocol after closing points 1–3, to update Table 2 with data from integration tests, not just unit tests. 10 Conclusion SPEACE is an architecture with solid foundations at the single-function level — the STDP formula is correct, the sleep-cycle thresholds are precise, the metacognitive error detection works on defined patterns — and systematic gaps exactly at the integration points that would transform well-written components into emergent architectural properties. The falsification of coherence_phi as an IIT proxy is the most important result of this report, not because it in validates the project, but because it corrects its description: what the system measures today is cross-scale coupling, not causal integration. Reporting this kind of result with the same ex plicitness with which one would report a success is, in our view, a necessary precondition for the project — in its components that have passed verification — to be taken seriously by the community it addresses. 9 References [1] Baars, B. J. (1988). A Cognitive Theory of Consciousness. Cambridge University Press. [2] Baars, B. J. (2005). Global workspace theory of consciousness: toward a cognitive neuro science of human experience. Progress in Brain Research, 150, 45–53. [3] Bi, G., & Poo, M. (1998). Synaptic modifications in cultured hippocampal neurons: de pendence on spike timing, synaptic strength, and postsynaptic cell type. Journal of Neuro science, 18(24), 10464–10472. [4] Cerullo, M. A. (2015). The problem with Phi: a critique of Integrated Information Theory. PLoS Computational Biology, 11(9), e1004286. [5] Friston, K. (2010). The free-energy principle: a unified brain theory? Nature Reviews Neu roscience, 11(2), 127–138. [6] Friston, K., FitzGerald, T., Rigoli, F., Schwartenbeck, P., & Pezzulo, G. (2017). Active inference: a process theory. Neural Computation, 29(1), 1–49. [7] Haken, H. (1988). Information and Self-Organization: A Macroscopic Approach to Complex Systems. Springer. [8] Haken, H. (2004). Synergetics: Introduction and Advanced Topics. Springer. [9] Markram, H., Lübke, J., Frotscher, M., & Sakmann, B. (1997). Regulation of synaptic efficacy by coincidence of postsynaptic APs and EPSPs. Science, 275(5297), 213–215. [10] Tononi, G. (2004). An information integration theory of consciousness. BMC Neuroscience, 5, 42. [11] Tononi, G., Boly, M., Massimini, M., & Koch, C. (2016). Integrated information theory: from consciousness to its physical substrate. Nature Reviews Neuroscience, 17(7), 450–461. [12] Albantakis, L., Barbosa, L., Findlay, G., et al. (2023). Integrated Information Theory (IIT) 4.0: formulating the properties of phenomenal existence in physical terms. PLoS Computa tional Biology, 19(10), e1011465. [13] QuTech / TU Delft. Quantum Inspire platform documentation. https://www. quantum-inspire.com/ [14] QuTech / TU Delft. cQASM 3.0 language specification. https://www.quantum-inspire. com/kbase/cqasm/ Additional references on Global Workspace, active inference, and synergetics applied to artificial systems — to be integrated according to the specific sources already consulted during project development. 10 Table 2: Adversarial functional verification results Criterion Verdict Key evidence 1. Online plastic ity 2. Embodiment 3. Autonomous agency / narra tive self 4. Multi-scale in tegration / Φ 5. Budget / sleep–wake cycle PARTIALLY VERIFIED NOT VERIFI ABLE NOT VERIFI ABLE / FAL SIFIED (par tial) FALSIFIED PARTIALLY VERIFIED 6. Metacognition PARTIALLY VERIFIED STDP formula correct at the function level (ltp_rate=0.05, ltd_rate=0.03), 12 unit tests passed. No forgetting benchmark on sequential patterns performed; system not bootable end-to end (see 5.2). Sense→predict→act cycle documented in code, but sensory injection/perturbation channel not wired into the active loop; no behavioral sensi tivity test executable in the current state. Autobiographical narrative (life_story.jsonl) is written but never read by any decision module — no downstream causal effect. The drive engine is a linear multi objective controller (weighted sum + fixed action map), not irreducible goal generation. coherence_phi is a linear weighted average of four activation/synchrony/phase difference terms. It does not implement cause–effect struc ture partitions nor a minimum information par tition. The relationship with the IIT definition is nominal, not mathematical. Transition thresholds verified with numeri cal precision (ϕ∆ ≤ 0.02, energy∆ ≤ 0.03); memory consolidation (pruning, rein forcement) verified at the unit-test level. Full AWAKE→SLEEPING→AWAKE cycle never executed in an integration test. Structural error detection (repetitive loops, con tradictions) verified on deterministic pattern matching. No empirical confidence calibration (Brier score not computable); a fallback return ing maximum confidence (1.0) when no neural circuit is available was identified — see 5.3. 11 Table 3: Q-SPEACE roadmap implementation status Implemented Not implemented T3 — Quantum kernel T4 — QuantumGeneSet T10/T22/T23 — Cost model, clock, evolutionary KPIs T14 — Fractal QCA T15 — BCEL T16 — CLI T19 — Schumann experiment (executed on real hardware) T20 — ILF/CV/DNA mapping T24 — Evolve_DNA (declared placeholder) T5 — Real Qiskit backend T7/T8 — Merge with classi cal SPEACE orchestrator (con tingent on closing the debt de scribed in Sec. 5) T11 — Quantum gate via EnergyControlAgent T12/T13 — Live Earth API T21 — Surface-code error correc tion T25 — IIT Φ proxy (requires explicit architectural decision, see 6.3)