Habenula Phase 1: lateral habenula / anti-reward channel#124
Closed
TSchonleber wants to merge 2 commits into
Closed
Habenula Phase 1: lateral habenula / anti-reward channel#124TSchonleber wants to merge 2 commits into
TSchonleber wants to merge 2 commits into
Conversation
Negative-RPE source. Pairs antisymmetrically with LC: LC fires on +surprise / novelty; habenula fires on −surprise / omission / aversion. Records reward-omission, aversive valences, repeated failures as a dedicated channel separate from bg_td_events. Phase 1 is inspection-only. Computes suggested_da_damp for Phase 3 readers but does NOT yet damp bg_modulators.tonic_da. - Migration 070: 3 tables (triggers, firings, state) + 5 seed triggers (reward_omission, retrieval_failure, repeated_low_utility, aversive_valence, task_abandoned). - mcp_tools_habenula: 5 tools (status, fire, register_trigger, history, reset). - 10 tests; all green. - Design proposal at docs/proposals/habenula.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 20, 2026
Owner
Author
|
Superseded by #138 ( |
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
Records negative-reward-prediction-error events as a first-class channel separate from
bg_td_events. Pairs antisymmetrically with LC: LC on +surprise, Hb on −surprise / omission.What's in
habenula_status,habenula_fire,habenula_register_trigger,habenula_history,habenula_reset.docs/proposals/habenula.md.What's NOT in
bg_modulators.tonic_dadamping (Phase 3).outcome_annotatenegative outcomes (Phase 2).Live
~/agentmemory/backups/brain.db.pre-hb-*.db.🤖 Generated with Claude Code