feat: introduce Forever Mode with A2A listener

- Sisyphus: auto-resume timer with schedule_work tool
- Confucius: built-in sub-agent for knowledge consolidation before compression
- Hippocampus: in-memory short-term memory via background micro-consolidation
- Bicameral Voice: proactive knowledge alignment on user input
- Archive compression mode for long-running sessions
- Onboarding dialog for first-time Forever Mode setup
- Refresh system instruction per turn so hippocampus reaches the model
- Auto-start A2A HTTP server when Forever Mode + Sisyphus enabled
- Bridge external messages into session and capture responses
- Display A2A port in status bar alongside Sisyphus timer
This commit is contained in:
Sandy Tao
2026-03-03 21:39:53 -08:00
parent e5d58c2b5a
commit 79ea865790
50 changed files with 3704 additions and 654 deletions
@@ -107,3 +107,9 @@ decision = "deny"
priority = 65
modes = ["plan"]
deny_message = "You are in Plan Mode and cannot modify source code. You may ONLY use write_file or replace to save plans to the designated plans directory as .md files."
[[rule]]
toolName = "schedule_work"
decision = "allow"
priority = 70
modes = ["plan"]
@@ -55,4 +55,9 @@ priority = 50
[[rule]]
toolName = ["codebase_investigator", "cli_help"]
decision = "allow"
priority = 50
priority = 50
[[rule]]
toolName = "schedule_work"
decision = "allow"
priority = 50
@@ -78,3 +78,8 @@ required_context = ["environment"]
toolName = "web_fetch"
decision = "ask_user"
priority = 10
[[rule]]
toolName = "schedule_work"
decision = "allow"
priority = 50