Skip to content

Harden managed agent liveness and response visibility - #3179

Draft
charlie-hermes wants to merge 1 commit into
block:mainfrom
charlie-hermes:ovh2/enterprise-agent-liveness
Draft

Harden managed agent liveness and response visibility#3179
charlie-hermes wants to merge 1 commit into
block:mainfrom
charlie-hermes:ovh2/enterprise-agent-liveness

Conversation

@charlie-hermes

Copy link
Copy Markdown

Summary

  • Align ACP presence refresh with the shared 30-second heartbeat and 90-second relay lease.
  • Add owner-encrypted managed-agent runtime leases with ordered observer frames and stale-to-Unknown behavior.
  • Track accepted mentions through the first relay-accepted visible reply and surface on-time, breached, or unknown outcomes.

Root cause

ACP refreshed presence every 60 seconds while the relay lease expired after 90 seconds. One dropped refresh therefore created a deterministic false-offline interval. Existing public presence also could not distinguish verified shutdown from crash or transport uncertainty, and there was no mention-to-visible-reply SLA correlation.

Validation

  • cargo test -p buzz-acp --lib — 619 passed.
  • cargo test -p buzz-core -p buzz-pubsub — 254 passed; 11 Redis-only tests ignored.
  • cargo clippy -p buzz-acp -p buzz-core -p buzz-pubsub --all-targets -- -D warnings — passed.
  • pnpm check, pnpm typecheck, pnpm test in desktop/ — passed; 3,640 tests.
  • Root Rust formatting and Desktop Tauri formatting checks — passed.
  • Full Tauri unit compilation is not available on the managed verification VM because its GLib/GObject/WebKit development packages are absent and sudo is disabled.

Safety

No production service, machine API, deployment, or unrelated branch was changed. This PR remains draft pending Aegis independent review.

Signed-off-by: Charlie Hermes <charlie.hermes.za@gmail.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.

1 participant