buzz icon indicating copy to clipboard operation
buzz copied to clipboard

fix(buzz-acp): include no_mention_filter in the startup config summary

Open jdrolls opened this issue 3 months ago • 0 comments

Summary

The one-line startup summary buzz-acp logs did not include the no_mention_filter state: a unit running --subscribe mentions --no-mention-filter logged exactly subscribe=Mentions — byte-identical to a mention-gated deployment. Since the flag changes both the relay subscription (the #p filter is dropped) and the operator's cost model, the only way to confirm it took effect was an end-to-end probe (publish an untagged event from an allowlisted author and watch for a turn).

This adds no_mention_filter={} to Config::summary() right after the subscribe mode, so the journal line attests the effective filter state:

buzz-acp starting: relay=… subscribe=Mentions no_mention_filter=true dedup=Queue …

Implementation is deliberately minimal — one field added to the existing format string, matching the surrounding key=value style.

Related issue

Fixes #4228. Searched open issues/PRs for duplicates — none found.

Testing

  • New regression test test_summary_includes_no_mention_filter_state asserts summary() reports both the true and false states.
  • cargo test -p buzz-acp --lib passes locally.
  • cargo fmt -p buzz-acp -- --check clean.

No UI change.

jdrolls avatar Aug 02 '26 02:08 jdrolls