Skip to content

Persist DKG extraction jobs before model calls - #16

Open
branarakic-agent wants to merge 2 commits into
mainfrom
feat/durable-memory-capture
Open

Persist DKG extraction jobs before model calls#16
branarakic-agent wants to merge 2 commits into
mainfrom
feat/durable-memory-capture

Conversation

@branarakic-agent

Copy link
Copy Markdown
Collaborator

Summary

  • persist source event identifiers before post-turn semantic extraction
  • re-fetch signed evidence from the authenticated relay for every attempt
  • promote successful extraction into the existing signed proposal outbox
  • retry a bounded number of oldest pending jobs after later successful turns
  • cap evidence to the integration contract's 16 signed source events

This closes the crash window between a successful Buzz response and creation of the signed DKG proposal. The human-facing turn remains successful even when memory finalization is pending.

Validation

  • cargo fmt --all -- --check
  • cargo clippy -p buzz-acp --lib -- -D warnings
  • cargo test -p buzz-acp dkg_memory --lib (9 passed)

Signed-off-by: branarakic <branimir.rakic@origin-trail.com>
Signed-off-by: branarakic <branimir.rakic@origin-trail.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.

2 participants