feat(recall): temporal-precision #46
Closed
will.anderson
wants to merge 0 commits from
improve/recall-temporal-precision into main
pull from: improve/recall-temporal-precision
merge into: :main
:main
:reconcile/hotfix-to-main-launch
:hotfix/elc-source-typos
:fix/safety-contact-truncation
:fix/genesis-boot-crash
:fix/immutable-on-hotfix
:feat/bounded-persona-floor
:ci/rdynamic-http-handler
:ci/harden-gate-boot
:feat/neuron-dev-setup
:feat/immutable-engram-deletes
:feat/agent-phase1-soul
:salvage/elh-state-20260704
:hotfix/trackb-threat-to-others
:feat/soul-model-self-report
:feat/openai-format-providers
:feat/plan-mode-endpoint
:fix/operator-identity-home-resolution
:fix/wrapper-backlog-endpoints
:fix/list-typed-slice-offset
:feat/connectors-call-route
:fix/chat-vision-attachments
:fix/prevent-engram-corruption
:fix/emergency-regressions
:fix/session-continuity-hook
:fix/context-dedup-shared-ids
:fix/engram-float-parser
:improve/recall-context-format
:improve/recall-context-dedup
:improve/recall-cross-session-continuity
:improve/recall-emotional-recall
:improve/recall-activation-seed
:improve/recall-recall-completeness
:improve/recall-temporal-precision
:improve/recall-engram-scoring
:improve/recall-recall-reliability
:improve/recall-session-start-recall
:improve/reliability-engram-write
:improve/reliability-state-management
:improve/soul-memory-formation
:improve/safety-crisis-detection
:improve/reliability-route-error-recovery
:improve/reliability-llm-retry
:improve/reliability-session-boundary
:improve/reliability-safety-resilience
:improve/reliability-engram-connection
:improve/soul-routes-api
:improve/reliability-cross-session-affective
:propose/agent-workspace-root-read
:improve/reliability-conv-history
:improve/soul-strip
:improve/soul-chat-pipeline
:docs/conversation-retrieval-design
:propose/no-fake-tools-in-chat-mode
:fix/ci-soul-build-single-file
:fix/canonical-self-bridge
:feat/agent-tool-workspace-scope
:fix/agentic-tools-duplicate-web-search
:green/agentic-fixes
:feat/connectors-soul
:feat/layer-safety
:feat/layer-imprint
:feat/layer-stewardship
:test/layer-composition
:test/layer-safety
:test/layer-stewardship
:test/layer-imprint
:feat/memory-delete-update
:feat/native-web-search
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "improve/recall-temporal-precision"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Memory recall improvements for temporal-precision
Fix critical float parsing bug in engram_score_node: str_replace('.','') then str_to_int silently miscored single-decimal salience strings (0.9->9, 0.7->7, 1.0->1). Introduce parse_salience_100() which detects decimal position and scales correctly (no decimal: *100; one decimal: *10; two decimals: as-is). Replace flat 30-day linear decay with tier-aware decay curves: Canonical nodes use a 365-day window (foundational identity resists aging), Episodic nodes use 90 days, Working/untiered keep the existing 30-day slope. Floor stays at 10 for all tiers. Use max(created_at, updated_at) as the recency reference so revised nodes are not penalised for their original creation date. Extend affective context windows from 72h/7d to 14 days across all three paths (engram_compile, handle_chat, soul.el load_identity_context) so a Friday crisis carries into Monday sessions and all paths present consistent context. The 72h/7d split caused conflicting affective context between soul.el (which loaded a 5-day-old crisis node) and chat.el (which excluded it on subsequent turns). Add salience evolution to mem_consolidate: strengthen top working-memory nodes (recently recalled across sessions) and Canonical-tier nodes (foundational identity must not decay to the floor). Previously consolidate returned structural counts only with no salience changes. Expand conversation window from 20 to 40 turns in both handle_chat and the agentic history trim. Long technical sessions were losing early problem framing at 10 user + 10 assistant pairs.Pull request closed