feat(engine): validate Dream Pathway against MindSpan longitudinal dataset - #918
Open
forgespectrayan wants to merge 2 commits into
Open
forgespectrayan wants to merge 2 commits into
forgespectrayan wants to merge 2 commits into
Conversation
…mory - Wire RememberPathway into DreamPathway and DreamSignal for durable write-back - Persist qualifying dream scenes with FLAG_DREAMED and MemorySource.DREAMED - Fix RecallCandidateGatherer consolidationFlags propagation and allowSimulated gating - Add MindSpanDreamRunner and MindSpanDreamBenchmarkTest verifying TMR and zero confabulation - Assert 100% confabulation immunity on factual recall and positive exploratory retrieval Co-authored-by: Bharat Joshi <bharatjoshi@spectrayan.com>
|
|
||
| // Fast path: attempt macOS APFS copy-on-write clone (takes ~13ms for 360MB) | ||
| try { | ||
| Process p = new ProcessBuilder("cp", "-c", "-R", sourceDir.toString(), targetDir.toString()) |
…eam synthesis - Wire LlmProvider through SpectorMemoryFactory, DreamPathway, and DreamSignal to SceneConstructRelay - Enable LLM-driven generation of vivid dream narrative scenes and emergent cross-domain hypotheses - Embed synthesized narratives into vector space under Hartmann-scaled stochastic noise - Support graceful fallback to structural templates when LLM is unavailable or times out - Validate locally with Ollama (llama3.1:latest) against the MindSpan v2-memory benchmark Co-authored-by: Bharat Joshi <bharatjoshi@spectrayan.com>
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.
Summary
Empirically validates Spector's 7th canonical cognitive pathway (Dream Pathway) against the full 20-year longitudinal MindSpan
v2-memorydataset (360MB, 18,404 semantic records, 27,664 index entries, 61,474 Hebbian edges) using fast APFS copy-on-write cloning, and wiresLlmProvidertoSceneConstructRelayfor generative creative synthesis validated with local Ollama (llama3.1:latest).Key Changes
LlmProviderthroughSpectorMemoryFactory,DreamPathway, andDreamSignalintoSceneConstructRelay.sem-0-XXXXX) with rich, evocative 1-2 sentence dream narratives and emergent cross-domain insight hypotheses synthesized by LLM.ErrorPolicy.DEGRADE_GRACEFULLY) to deterministic structural templates if LLM is unavailable or offline.RememberPathwayintoDreamPathwayandDreamSignal. Qualifying surviving dream scenes (FLAG_DREAMED(0x80) |FLAG_SIMULATED(0x20) and sourceDREAMED/THOUGHT_EXPERIMENT.RecallCandidateGathererto preserveconsolidationFlagsfrom slab headers and exclude simulated/dreamed candidates during lexical/BM25 fusion whenallowSimulated == false.MindSpanDreamRunnerandMindSpanDreamBenchmarkTestinspector-benchwith automaticOllamaLlmProviderdetection.allowSimulated = false, 0 confabulations detected across 20 years of memories).allowSimulated = true, retrieving persisted rich dreamed insights).Verification
MindSpanDreamBenchmarkTestwith local Ollama (llama3.1:latest): PASSED (seeds=8, scenes=16, factualConfabulations=0, exploratoryRetrieved=9)spector-memorydream unit tests: 11/11 tests PASSEDMindSpanAismeRunnerTest: PASSED (zero regression on AISME recall)PostBootstrapSyspropBanTest: PASSED (100% compliant with ADR-0031)spector-kernelCo-authored-by: Bharat Joshi bharatjoshi@spectrayan.com