Skip to content

Add durable loop task memory synthesis#276

Open
nathanwhitbot wants to merge 1 commit into
nathanwhit:mainfrom
nathanwhitbot:codex/aged-b7117754-534
Open

Add durable loop task memory synthesis#276
nathanwhitbot wants to merge 1 commit into
nathanwhit:mainfrom
nathanwhitbot:codex/aged-b7117754-534

Conversation

@nathanwhitbot

Copy link
Copy Markdown
Collaborator

Summary

  • add task-scoped durable loop memory snapshots with compact objective, decisions, blockers, recurring themes, and PR/artifact state
  • project task.memory_updated events into task snapshots and include them in ledger/event reads used by loop workers and replanning
  • render synthesized memory in durable-loop worker prompts ahead of the fixed-size context ledger
  • add focused synthesis/projection/prompt tests plus service-level coverage that a later loop iteration receives synthesized memory

Validation

  • go test ./internal/orchestrator -run 'TestServiceRunsDurableLoopModeWithoutBrainPlanning|TestSynthesizeLoopTaskMemory|TestLoopTaskMemory|TestDurableLoopPrompt' -count=1
  • go test ./internal/orchestrator ./internal/eventstore ./internal/core -count=1
  • go test ./... -count=1

@nathanwhit nathanwhit left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed durable-loop task memory synthesis. The event projection, ledger query expansion, refresh cadence, important-event triggers, prompt rendering, and payload bounding are covered by focused tests, and the durable-loop prompt refreshes from latest task state before each iteration. CI is green.

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.

2 participants