Skip to content

[Refactor] Isolate task-memory projection from Brain outbox draining - #2611

Open
roomote-roomote[bot] wants to merge 1 commit into
developfrom
feature/task-memory-projection-2r76i1jif629p
Open

[Refactor] Isolate task-memory projection from Brain outbox draining#2611
roomote-roomote[bot] wants to merge 1 commit into
developfrom
feature/task-memory-projection-2r76i1jif629p

Conversation

@roomote-roomote

Copy link
Copy Markdown
Contributor

​Created by Roomote. View the task or mention @roomote-roomote for follow-up asks.

What changed

Extracted deterministic task-memory request parsing, initiator attribution, pull-request outcome modeling, and Brain page rendering into a focused projection module. The projection assertions now live in a dedicated test suite, while the outbox drainer composes the projection from its database lookups.

Why this change was made

PR #2585 added content-shape policy directly to an already large outbox orchestration module. Separating deterministic page modeling from claim, retry, replay, and drain-loop behavior reduces the risk that memory-content changes affect queue lifecycle code.

Impact

There is no intended user-visible behavior change. Task-memory content and backfill behavior stay unchanged, while the Brain outbox drainer returns to orchestration ownership and the projection contract can evolve behind focused tests.

@roomote-community

roomote-community Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

No code issues found. See task

Reviewed e1da670

@roomote-roomote
roomote-roomote Bot marked this pull request as ready for review September 12, 2026 23:36
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.

1 participant