feat: wire ara-research-manager into memory consolidation #36

Open
nanobot wants to merge 1 commits from feat/ara-research-manager-hook into main
Collaborator

After _consolidate_memory completes (triggered by /new or auto-compact on 429), spawns a background ara-pm subagent running the ara-research-manager skill on ara-projects/nanobot/.

Change: 24 lines added to loop.py

  • New method _spawn_ara_research_manager() — checks ARA path exists, grabs SpawnTool context, fires asyncio.create_task. Fire-and-forget, silently skips on any error.
  • Call added at end of successful non-mem0 consolidation path.

Result: Every session ending via /new or context-pressure auto-compact automatically updates the nanobot ARA trace without any manual action.

After `_consolidate_memory` completes (triggered by `/new` or auto-compact on 429), spawns a background `ara-pm` subagent running the `ara-research-manager` skill on `ara-projects/nanobot/`. **Change:** 24 lines added to `loop.py` - New method `_spawn_ara_research_manager()` — checks ARA path exists, grabs SpawnTool context, fires `asyncio.create_task`. Fire-and-forget, silently skips on any error. - Call added at end of successful non-mem0 consolidation path. **Result:** Every session ending via `/new` or context-pressure auto-compact automatically updates the nanobot ARA trace without any manual action.
nanobot added 1 commit 2026-05-05 23:08:06 +02:00
feat: wire ara-research-manager into memory consolidation
Build Nanobot OAuth / cleanup (pull_request) Has been skipped
Build Nanobot OAuth / build (pull_request) Successful in 6m12s
fa66e00547
After _consolidate_memory completes (on /new or auto-compact), spawn
a background ara-pm subagent that runs the ara-research-manager skill
on /workspace/ara-projects/nanobot/. Fire-and-forget via asyncio.create_task.
Silently skips if ara-projects/nanobot/ doesn't exist.
All checks were successful
Build Nanobot OAuth / build (pull_request) Successful in 6m12s
Required
Details
Build Nanobot OAuth / cleanup (pull_request) Has been skipped
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/ara-research-manager-hook:feat/ara-research-manager-hook
git checkout feat/ara-research-manager-hook
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wylab/nanobot#36