CNS-first plugin pack: memory provider, context engine, async delivery - #1
Closed
ifyi wants to merge 1 commit into
Closed
CNS-first plugin pack: memory provider, context engine, async delivery#1ifyi wants to merge 1 commit into
ifyi wants to merge 1 commit into
Conversation
…y, docs Additive-only integration (zero core Hermes files modified), per the guardrails in the CNS repo (docs/cns-hermes-integration/guardrails.md). - plugins/memory/cns: CNS as the durable memory substrate — compact context_packet rollup replaces MEMORY.md/USER.md injection, on-demand recall, transcript_add turn sync, builtin-write mirroring, and per-turn CNS notice deltas through the prefetch channel (failures marked [FAILED]). Degrades to logged no-ops when CNS is unreachable. - plugins/context_engine/cns: wraps the builtin ContextCompressor (lazy construction on update_model) and banks thread_state_update into CNS before every compression and at session end — compaction stops being lossy. Deepcopy-safe for per-agent cloning. - plugins/memory/cns/notice_pump.py: cron no_agent script delivering CNS results/failures to the originating room with zero LLM tokens; acks what it prints. - docs/cns/: assessment, architecture, phased plan, CNS-first config example, toolset-diet + async-work guides, and the Phase 7 evidence memo (extraction NOT triggered). 34 plugin tests (mocked CNS transport) pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Author
|
Superseded by design decision: the plugin pack now lives in the CNS project under |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Hermes-side half of the CNS-first integration (CNS issues NousResearch#59, NousResearch#60, NousResearch#62, NousResearch#63, NousResearch#65 — fable label; status comments on each). Additive only: no core Hermes files are modified, keeping this fork at zero effective divergence from upstream.
Contents
plugins/memory/cns/— CNS as durable memory: compact orientation rollup instead of MEMORY.md/USER.md, on-demand recall, transcript sync, per-turn CNS notice deltas via theprefetchchannel (system prompt never rebuilt), graceful degradation.plugins/context_engine/cns/— delegates compression to the builtin compressor; banksthread_state_updateinto CNS before every compaction and at session end.plugins/memory/cns/notice_pump.py— cronno_agent+deliver: originscript: zero-token delivery of results/failures to the originating room, self-acknowledging.docs/cns/— assessment, architecture, phased plan, CNS-first config example (platform_toolsetsdiet,mcp_servers.cns→ companion :8012, governed skills pointer), and the Phase 7 evidence memo (extraction not triggered).Verification
uv run --no-project --with pytest --with pyyaml python -m pytest tests/plugins/memory/cns tests/plugins/context_engine/cns).docs/cns/phase-5-async-work.md.Companion piece: InformaticsFYI/cns#66 (CNS-side profiles, skill registry, notice tools).
🤖 Generated with Claude Code