Skip to content

foreshock-io/monad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

865 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monad

A DECE-native semantic memory substrate by Foreshock.

(Note: This is a temporary README while the repository is being structured for release.)

Overview

Monad is Foreshock's active fork of the Splinter architecture. Evolving from a minimalist, C-based key-value manifold, Monad has been reimagined as a fully DECE-native shared-memory substrate designed specifically for advanced semantic research, Trust & Safety governance, and mathematical modeling.

While retaining the lock-free, 64-byte aligned core that eliminates the traditional "socket tax" of inter-process communication, Monad introduces necessary intelligence and security upgrades to support a smarter, more integrated research environment.

Monad Upgrades

Building on Splinter's foundation, Monad introduces several major upgrades tailored for Foreshock's operational and DECE-native needs:

  • Key-Level Encryption: Enhanced cryptographic security for individual semantic slots within the manifold.
  • DECE-Native Header Structure: A completely redesigned header structure capable of holding a wider variety of slot types natively, bridging the gap between raw data coordination and geometric classification.
  • Intelligent Completion Daemon: A significantly expanded and smarter completion daemon designed to handle complex, context-aware research workloads.

Core Architectural DNA

At its heart, Monad preserves the mechanical sympathy that made the original framework so efficient:

  • Zero-Copy Governance: Inference, observation, and governance continue to inhabit a single address space. By sharing physical RAM, the observation gap is closed by construction.

  • Passive Coordination: Monad rejects the active-server model (like Redis or SQLite) in favor of a memory-mapped environment with no central arbiter.

  • Mechanical Sympathy: Data slots remain aligned to the 64-byte L1 cache line, preventing false sharing and minimizing latency to sub-microsecond levels.

Status & License

Monad is currently under active development as the foundational layer for Foreshock. It is intended to be open-sourced to support the broader community in building transparent, mathematically grounded safety tooling without the overhead of LLM reasoning. Right now it is Apache 2 but that may change to GPL-3 or AGPL-3 depending on the outcome of the fork (Splinter's sole copyright holder works at Foreshock and is able to dual-license it this way to us perpetually).


Maintained by the team at Foreshock (who is mostly Founer and Family).

About

Monad is a tool based on libsplinter to manage DECE models and Trust & Safety pipelines.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages