Repository navigation
feat: add Dream Mode overnight self-reflection - #933
Merged
AmitoVrito merged 5 commits intoAug 16, 2026
Merged
Conversation
Collaborator
|
Merged into Applied a few review fixes on the way in (all with regression tests):
Shipped as part of the v2.1 |
This was referenced Aug 16, 2026
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
Implements issue #749, Dream Mode: an explicit, local-first overnight reflection runner that replays the day's signed traces, distills durable corrections, proposes human-reviewed LivingMemory patches, refreshes KnowledgeMesh state, flags stale memories, and emits a signed audit bundle.
Detailed implementation plan delivered
idle_30m/idle_30m or HH:MMparsing, per-trigger de-duplication, Windows/Linux power monitoring, Windows idle monitoring, cancellation, and fail-closed plugged-in policy.budget_tokens; oversized traces never invoke the backend.AuditTraceroutput, and a concise terminal briefing.synapsekit dream run/status, public package exports, documentation, and an executable example.Safety boundaries
ReplayEngine/hash-chain verification before distillation.EdgeRuntimecan be passed as the backend, preserving its local-first and explicit cloud-fallback policy.Verification
compileall: passedgit diff --check: passedThe normal pytest plugin environment has an unrelated installed
logfire/OpenTelemetry version mismatch. Async suites were verified with only the repository-relevantpytest-asyncioplugin enabled.Commits
feat(dream): add local reflection contracts and statefeat(dream): orchestrate audited overnight reflectiontest(dream): cover safety and morning briefing workflowsCloses #749