feat: EchoForge — Temporal Predictive Consolidation Engine with Causal Ripple Simulation#2
Open
feat: EchoForge — Temporal Predictive Consolidation Engine with Causal Ripple Simulation#2
Conversation
…c README Co-authored-by: Sandeeprdy1729 <182460780+Sandeeprdy1729@users.noreply.github.com> Agent-Logs-Url: https://github.com/Sandeeprdy1729/timps/sessions/6ed039d1-af12-4ba4-b420-0480c5a7c2c7
…ction-level Fix production-readiness issues: merge conflicts, auth, logger, hardcoded credentials
- Add EchoForge database schema (DAG nodes, edges, trajectories, ripples, consolidation log) - Add EchoForge core engine with write-time gating, causal ripple simulation, hierarchical consolidation - Add Tool 18 (echoforge_engine) for direct agent interaction - Integrate EchoForge into agent reflection pipeline (auto-ingest to DAG) - Add proactive insights to agent context - Add EchoForge keyword routes to tool router - Update system prompt to include Tool 18 - Register tables in toolsDb and exports Agent-Logs-Url: https://github.com/Sandeeprdy1729/timps/sessions/a4819a82-0b6c-4433-ade3-7f26442e3f15 Co-authored-by: Sandeeprdy1729 <182460780+Sandeeprdy1729@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Sandeeprdy1729/timps/sessions/a4819a82-0b6c-4433-ade3-7f26442e3f15 Co-authored-by: Sandeeprdy1729 <182460780+Sandeeprdy1729@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Sandeeprdy1729
April 1, 2026 18:56
View session
…oning - Add GateWeave database tables (belief_versions, gateweave_decisions, gateweave_summaries) - Add core GateWeave service with multi-dimensional admission scoring - Integrate write-time gating into memoryIndex.storeMemory - Add belief versioning for position-like statements - Add proactive propagation to burnout/relationship tools - Add GateWeave tool for stats, belief listing, history, weight tuning - Register GateWeave in tool router, agent system prompt, and tool registry - Add DB init to server.ts and seed.ts Agent-Logs-Url: https://github.com/Sandeeprdy1729/timps/sessions/0096f18f-eea6-48f1-8e32-8fec5c3a1fe8 Co-authored-by: Sandeeprdy1729 <182460780+Sandeeprdy1729@users.noreply.github.com>
…numbers as constants Agent-Logs-Url: https://github.com/Sandeeprdy1729/timps/sessions/0096f18f-eea6-48f1-8e32-8fec5c3a1fe8 Co-authored-by: Sandeeprdy1729 <182460780+Sandeeprdy1729@users.noreply.github.com>
…memory-architecture GateWeave: Adaptive memory admission control with belief versioning
6db083a to
ecb59c0
Compare
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.
TIMPs' reflection layer is reactive (post-hoc LLM scoring adds 400–900ms), lacks hierarchical memory abstraction for longitudinal fidelity, and has no mechanism for simulating future states (burnout trajectories, relationship drift, contradiction cascades). EchoForge addresses all three by building a temporal memory DAG on the existing PostgreSQL/Qdrant dual-search layer.
Core Engine (
core/echoForge.ts)importance × novelty × tag_impactproxy (no LLM call). Gates below threshold 0.3 to skip low-value ingestion0.995^t) and pruning of fully decayed nodesDatabase Schema (
db/echoForgeDb.ts)Five new tables:
echoforge_dag_nodes,echoforge_dag_edges(with unique constraint + self-loop prevention),echoforge_trajectories(auto-expiring viahorizon_days),echoforge_ripple_results,echoforge_consolidation_log.Tool 18 (
tools/echoForgeTool.ts)Operations:
predictions,simulate,consolidate,trajectories,insights,status.Integration
agent.ts— memories ingested into DAG duringreflectAndStore; proactive insights appended to context inrun()toolRouter.ts— keyword routes forpredict|forecast|trajectory|ripple|echoforge|anticipate|proactivetoolsDb.ts—initEchoForgeTables()called during migrationZero new dependencies. All EchoForge paths are supplementary with silent failure handling — existing behavior unchanged if tables don't exist or queries fail.