Skip to content

Claude/cognitive layer stack 77 kuh#117

Merged
AdaWorldAPI merged 4 commits into
mainfrom
claude/cognitive-layer-stack-77KUH
Feb 14, 2026
Merged

Claude/cognitive layer stack 77 kuh#117
AdaWorldAPI merged 4 commits into
mainfrom
claude/cognitive-layer-stack-77KUH

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

No description provided.

…crate

Replaced the 300-line Container struct + impl + constants in
src/container/mod.rs with re-exports from ladybug_contract::container.

Before: TWO identical Container types (different Rust types, same layout)
After: ONE Container type from contract, re-exported into src/container

Kept: all 15 database-layer submodules (adjacency, cache, delta, graph,
search, spine, traversal, etc.) and Fingerprint<->Container conversions.

Removed: ~250 lines of duplicate struct definition, methods, constants.

https://claude.ai/code/session_01NocTBszN8LoR9Vrc7Tn4oF
The "holy grail" change: CogRecord is now exactly 2KB (meta + content),
stack-allocated, #[repr(C, align(64))]. Multi-container geometries use
linked records in the DN tree instead of Vec<Container>.

- Contract: CogRecord { meta: Container, content: Container }
- Added as_bytes()/from_bytes() for zero-copy I/O
- Updated all callers: geometry, dn_redis, graph, traversal, migrate
- Converted orphan impls to extension traits (CogRecordSerde)
- All 729 tests pass

https://claude.ai/code/session_01NocTBszN8LoR9Vrc7Tn4oF
Single source of truth for the CogRecord layout shared across all 3
runtimes. Provides RECORD_BYTES=2048, field descriptors with byte
offsets, and const field lookup. crewai-rust and n8n-rs re-export
this via `contract::schema` when compiled with the `ladybug` feature.

https://claude.ai/code/session_01NocTBszN8LoR9Vrc7Tn4oF
CausalBridge: connects GrammarTriangle (text→meaning) to CausalEngine
(Pearl's do-calculus). Maps DependencyType→EdgeType, converts text
fields to fingerprints, provides ingest_text() one-shot pipeline.
11 tests.

CausalCertificate: statistical evidence bundle for causal claims.
Combines Cohen's d effect size, Granger temporal signal, 95% CI,
p-value, Berry-Esseen approximation bound, and NARS truth values.
certify() gates claims through all conditions simultaneously.
13 tests.

https://claude.ai/code/session_01NocTBszN8LoR9Vrc7Tn4oF
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@AdaWorldAPI AdaWorldAPI merged commit 9850da5 into main Feb 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants