Skip to content

MercAIA/C7-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains only the GRSC core engine of the C7 Architecture. For the full architecture and all formal documents, see: https://github.com/MercAIA/C7 📘 C7 Core — Architecture & Evolution (v0.1)

C7 Core is the foundational architecture extracted from the original 47-phase research process of the C7 Cognitive Framework. This repository represents: • the clean minimal core implementation, • the binding layer (e.g., AudioBrain v1), • and the complete evolution log of the architecture (phases/).

Repository Structure

C7-core/
├── phases/               # 47 raw phase files (design evolution)
│   └── *.md
│
├── src/
│   ├── c7_core/          # The modality-agnostic core architecture
│   │   ├── init.py
│   │   ├── config.py
│   │   ├── grsc_state.py
│   │   ├── observer.py
│   │   ├── decoherence.py
│   │   └── memory_buffer.py
│   │
│   └── c7_bindings/      # Implementations built *on top of* the core
│       ├── init.py
│       └── audio_brain_v1.py
│
├── LICENSE
└── README.md

🧠 What is C7? (High-Level)

The C7 Architecture is a cognitive-state engine based on a 4-variable internal state:

•	G — Grounding
•	R — Reward / Relevance
•	S — Stability
•	C — Coherence
The state evolves through:
1.	Observation
2.	Decoherence Update Dynamics
3.	Short-Term Memory Integration

The entire conceptual evolution is preserved inside phases/.

🧩 C7 Core (src/c7_core/)

This is the minimal, purified, modality-agnostic kernel of C7. It contains:

✔ 
GRSCState

The core vector representation and clamping logic.

✔ 
Observer

Generic observation interface → converts raw inputs into feature maps.

✔ 
DecoherenceEngine

The deterministic update mechanism of the GRSC state.

✔ 
MemoryBuffer

Short-term transition memory supporting analysis & meta-loops.

✔ 
config.py

Centralized rates & initial conditions.

⚠ Important: This folder contains zero modality-specific logic. No Audio, no NLP, no vision — just the pure cognitive model.

🎧 Bindings Layer (src/c7_bindings/)

Bindings are implementations built on top of the C7 Core.

Currently implemented:

🔹 AudioBrain v1

A simple loop that:
1.	Observes input
2.	Updates GRSC
3.	Stores transitions
4.	Returns structured diagnostics

This demonstrates how the C7 Core can be used to build higher-level cognitive agents.

More bindings (text, multimodal, sensor-based) can be added later.

🧬 Phases — The Full Evolution Log (phases/)

This folder contains 47 original .md files, documenting the entire creation path of C7:

•	early GRSC sketches
•	experiment loops
•	discarded approaches
•	breakthroughs
•	the road that led to AudioBrain v1
•	reasoning behind configuration values
•	and refinement of Observer/Decoherence logic

Nothing in this folder should be deleted or rewritten. New phases should be added as new files.

This folder acts as the scientific notebook of the architecture.

🚀 Running the Binding Example (AudioBrain v1)

You can instantiate and run a simple step loop:
from c7_bindings.audio_brain_v1 import AudioBrainV1

brain = AudioBrainV1()

print(brain.step("hello"))
print(brain.step("why are you here?"))
print(brain.step("WOW!"))
Each call returns:
{
  "state": {...},        # new GRSC values
  "features": {...},     # extracted observation features
  "memory_size": ...,
  "mean_c": ...
}

📄 License

This project is licensed under the Apache 2.0 License.

🧭 Future Directions

The repository is designed to expand cleanly:

•	🔹 New modulators: emotion, context, temporal consistency
•	🔹 New bindings: multimodal, sensor-driven, autonomous agents
•	🔹 Formal GRSC dynamics model
•	🔹 Integration with higher-level C7 systems

🏁 Notes

This repository intentionally separates:
•	Core logic (stable, clean)
•	Bindings (replaceable, experiment-driven)
•	Phases (historical / scientific record)

This separation ensures scientific transparency while allowing rapid evolution.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages