NotefullBook OS is a Personal AI Thought Engine built on the Forgetting Core Thinking (FCT) framework.
This repo is a developer-ready reference implementation of the core ideas:
- Memory as reconstruction and relocation, not archival replay.
- Safety by architectural forgetting, not just external policy.
- Learning from behavioral frequency (what you return to), not content.
- Cognitive loop: Lighting → Observation → Forgetting → Simplification → Re‑activation.
src/fct/— FCT core types and reasoning utilities.src/notebookml/— NotebookML minimal interpreter and runtime hooks.src/engines/clb.ts— Cognitive Lighting Backendsinlm.ts— Schema Intelligence Network Learning Mechanismcse.ts— Cognitive Simplification Engineafa.ts— Active Forgetting Artifact module
src/os/behaviorLog.ts— privacy‑centric behavioral logging layercognitiveLoop.ts— closed‑loop orchestration of CLB, SINLM, CSE, AFAindex.ts— NotefullBookOS façade
docs/whitepaper.md— full NotefullBook OS whitepaper textarchitecture.md— high‑level architecture and sequence diagrams (text description)
examples/demoNotebook.ts— minimal CLI demo of the cognitive loop
This is TypeScript‑first, framework‑agnostic. You can:
- plug it into a Node backend,
- wrap it in a desktop app,
- or bind it to any UI (web / mobile) as the cognitive engine behind a NotefullBook client.
npm install
npm run build
node dist/examples/demoNotebook.jsThis will run a small demo that:
- Creates a notebook.
- Logs behavioral events (frequency, return‑rate, drift).
- Lets the engines compute a schema survival view.
- Applies active forgetting + simplification.
- Prints out the simplified “surviving schemas”.
The implementation is intentionally simple and transparent — the goal is clarity of safety + memory logic, not ML sophistication.