feat(soul): context quality, first-message profile load, refusal handling, agentic safety #33
Closed
will.anderson
wants to merge 0 commits from
improve/soul-chat-pipeline into main
pull from: improve/soul-chat-pipeline
merge into: :main
:dev
:neuron-branding-sweep
:main
:docs/correspondence-and-ownership-2026-08-16
:fix/engram-is-canonical
:fix/graph-edges-no-canonical-clobber
:docs/architecture-2026-08-14-deep-night
:fix/mcp-wrapper-agentic-routing
:merge-pr154-v2
:merge-pr151-v2
:merge-pr150-v2
:merge-pr149-v2
:build-audit-1786832983
:fix-mcp-wrapper-tool-schemas
:docs-cognitive-architecture
:docs/session-2026-08-13-language-faculty
:docs/geo-operators-el-cutover-reversal-2026-08-13
:docs/engram-cognitive-architecture-2026-08-12
:engram-store-wiring
:el-route-decorators
:fix/bound-session-payload
:rebase/openai-tools-onto-main
:rebase/gate-state-key-reads-onto-main
:feat/gold-set-heldout
:feat/structural-audit
:feat/claim24-unfloored-semantic
:feat/executive-filter-recall
:feat/recall-through-activation
:chore/regen-soul-amalgam-20260807
:reconcile/hotfix-to-main-launch
:salvage/elh-state-20260704
:feat/plan-mode-endpoint
:fix/operator-identity-home-resolution
:fix/prevent-engram-corruption
: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
:docs/conversation-retrieval-design
No Reviewers
Labels
Clear labels
BETA-CRITICAL
blocks-public-beta
HELD
ORTHOGONAL
P0
POST-BETA
security
On the beta critical path — must resolve before ship
Must be fixed before any public beta
Blocked pending an external decision (counsel / dual sign-off)
Parallel workstream (testing/hardening) — safe to assign off critical path
Drop-everything severity
Important but not blocking the beta ship
Security vulnerability
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: neuron-technologies/neuron#33
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/soul-chat-pipeline"
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?
Improve engram context assembly, load user profile on session start, improve capability-gap responses, add safety check to agentic path.
- engram_compile: rank search results by recency x relevance before including in context. Pulls 20 candidates, scores each (salience * importance * recency decay), keeps top 8. Eliminates stale/low-signal nodes that diluted context. - handle_chat: on hist_len==0 (session start), proactively load user profile and active-work context from engram and inject as brief bullets in the system prompt. Gives the soul grounding before any conversation history exists. - build_system_prompt: add [CAPABILITY GAPS] directive instructing the soul to offer partial help and reasoning instead of flat "I don't have access to that" refusals when a tool is missing. - handle_chat_agentic: run safety_screen at entry, mirroring layered_cycle. Hard bell exits immediately with the crisis response without entering the loop. - agentic_loop: surface the 8-iteration cap explicitly in the error envelope ("agentic loop hit the 8-iteration cap...") rather than the opaque "no response". Add iterations count to both the error and success envelopes for observability.Pull request closed