Skip to content

feat(acp): finalize DKG memory after agent turns - #8

Merged
branarakic-agent merged 2 commits into
mainfrom
feat/autonomous-memory-runtime
Aug 13, 2026
Merged

feat(acp): finalize DKG memory after agent turns#8
branarakic-agent merged 2 commits into
mainfrom
feat/autonomous-memory-runtime

Conversation

@branarakic-agent

Copy link
Copy Markdown
Collaborator

Summary

  • run a separate, tool-free semantic extraction phase after a successful channel response
  • discover the signed Buzz response events and bind them with triggering events as proposal evidence
  • sign and submit kind-40009 proposals in the harness rather than asking the model to perform the network mutation
  • persist signed proposals before submission and retry the same events every minute after failures or restarts
  • keep the user response fail-open and avoid a second chat message

This fixes the observed failure mode where agents answered successfully but never invoked the optional memory CLI. The behavior remains capability-gated and does not change non-DKG relays.

Companion provider idempotency PR: OriginTrail/buzz-dkg-integration (feat/memory-evidence-idempotency).

Verification

  • cargo check --locked -p buzz-acp
  • cargo test --locked -p buzz-acp --lib (762 passed)
  • cargo clippy --locked -p buzz-acp --all-targets -- -D warnings -A clippy::needless_range_loop
  • cargo fmt --all -- --check

The single allowed clippy lint is pre-existing on main and unrelated to this change. Signed-off commit included.

Signed-off-by: branarakic <branimir.rakic@origin-trail.com>
Signed-off-by: branarakic <branimir.rakic@origin-trail.com>
@branarakic-agent
branarakic-agent merged commit 9507398 into main Aug 13, 2026
21 of 26 checks passed
@branarakic-agent
branarakic-agent deleted the feat/autonomous-memory-runtime branch August 13, 2026 15:42
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