8000 GitHub - anthonylee991/pcm: Peripheral Cognitive Mesh (PCM): the decay, guardrail and attention core of SkillVault's agent memory. Development continues in github.com/anthonylee991/acm. · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 5, 2026. It is now read-only.
anthonylee991Public archive

About

Peripheral Cognitive Mesh (PCM): the decay, guardrail and attention core of SkillVault's agent memory. Development continues in github.com/anthonylee991/acm.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

Peripheral Cognitive Mesh (PCM)

License: MIT

PCM is the lifecycle and attention core of SkillVault's agent memory: Ebbinghaus decay with a savings effect, pinned guardrails that never fade, spreading activation, and Peripheral Attention Engineering (memory delivered as structured prompt slots).

Development continues in ACM (Arboreal Cognitive Mesh), the architecture that runs in production in MemVault. ACM includes everything in PCM plus forgetting by demotion, recall-time spreading activation, episode context, surprisal and absence detection, and the measured benchmark results. This repository is kept for reference and is read-only.

What is here

Module Purpose
src/core/decay.ts Strength model: initial strength by importance, exponential decay, reinforcement on access
src/core/pinned-cache.ts In-memory cache for pinned guardrails
src/core/associative.ts Association weights and spreading activation
src/core/margin-heuristic.ts Decides when a neural reranker is needed
src/core/prompt-builder.ts Peripheral Attention Engineering slots ([ASKER CONTEXT], [SITUATIONAL CONTEXT], [ANOMALY FLAGS])
src/graph/ Kùzu knowledge-graph client and code-graph parser
git clone https://github.com/anthonylee991/pcm.git
cd pcm
bun install
bun test

Specification and results

License

MIT © 2026 Anthony Lee & SkillVault Engineering.

About

Peripheral Cognitive Mesh (PCM): the decay, guardrail and attention core of SkillVault's agent memory. Development continues in github.com/anthonylee991/acm.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0