forge_notify: flip keepSubscriptions default — agents keep, manager auto-unsubs
This commit is contained in:
parent
d58a3a3303
commit
03fec39405
2 changed files with 11 additions and 10 deletions
|
|
@ -161,14 +161,15 @@
|
|||
|
||||
options.hyperhive.forge.keepSubscriptions = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
default = true;
|
||||
description = ''
|
||||
When true, the forge notification poller will NOT auto-unsubscribe
|
||||
from repo watches after delivering a "subscribed"-reason notification.
|
||||
Set this for agents (e.g. triage) that intentionally consume the full
|
||||
repo notification firehose and must retain broad watch subscriptions.
|
||||
By default agents auto-unsubscribe from repos they no longer actively
|
||||
work in to avoid accumulating firehose noise.
|
||||
When true (the default), the forge notification poller will NOT
|
||||
auto-unsubscribe from repo watches after delivering a
|
||||
"subscribed"-reason notification. Sub-agents keep their broad
|
||||
subscriptions so they stay informed about repos they contribute to.
|
||||
Set to false for agents (e.g. the manager) that use reason-based
|
||||
filtering and do not need firehose-level repo visibility — they will
|
||||
auto-unsubscribe after receiving a watched-repo notification.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
{
|
||||
imports = [ ./harness-base.nix ];
|
||||
|
||||
# Manager keeps broad repo watch subscriptions — needs full visibility.
|
||||
# Sub-agents default to false and auto-unsubscribe from firehose repos.
|
||||
hyperhive.forge.keepSubscriptions = true;
|
||||
# Manager auto-unsubscribes from repo watches (uses mention-only filtering
|
||||
# via HIVE_FORGE_NOTIFY_REASONS). Sub-agents default to keepSubscriptions=true.
|
||||
hyperhive.forge.keepSubscriptions = false;
|
||||
|
||||
# HIVE_PORT/HIVE_LABEL/gitconfig are also injected by the generated
|
||||
# `applied/hm1nd/flake.nix` (see `lifecycle::setup_applied`); the values
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue