Skip to content

Bridge scheduler handoff context with memory#680

Open
cloga wants to merge 1 commit into
masterfrom
feature/scheduler-memory-bridge
Open

Bridge scheduler handoff context with memory#680
cloga wants to merge 1 commit into
masterfrom
feature/scheduler-memory-bridge

Conversation

@cloga
Copy link
Copy Markdown
Owner

@cloga cloga commented May 27, 2026

Summary

  • Build bounded scheduler context packets from task state and recent important task_events.
  • Inject inherited scheduler context into scheduler-dispatched Agent Runtime prompts while leaving direct delegate paths unchanged.
  • Add scheduler resume context API for master recovery.
  • Add explicit scheduler memory promotion, without automatic memory writes from checkpoint/handoff/yield.
  • Add regression tests for packet formatting, prompt injection, no automatic memory pollution, MCP schemas, and HTTP contracts.

Fixes #679

Validation

  • npm run check-types
  • npm run build
  • npx vitest run src\test\schedulerContext.test.ts src\test\masterScheduler.test.ts src\test\httpRuntimeHelpers.test.ts src\test\delegate-task-compat.test.ts
  • Non-live-smoke Vitest suite: 50 files / 488 tests passed

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bridge scheduler handoff context with memory system

1 participant