You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3776fcd
Browse filesBrowse the repository at this point in the historyBrowse files
Acknowledge a request in the connector before handing it off (#918)
The connector boosts a request someone made of the agent (a mention, an
assignment, a ping) on its recording, as the agent, before writing its
line: 👀 by default, so the person sees the request landed within a second
rather than when the session gets to it (13.3s measured before). The line
carries the boost as ack, says acknowledge: false so an older skill doesn't
boost again, and the skill rewords that boost as the work goes, or leaves
it when the reply is immediate.
connect setup --ack-boost sets the content (16 characters at most) and
--no-ack-boost turns it off; connect.json records it only when it differs
from the default. A failed boost is logged and never retried, and the
request goes out without one. The boost is recorded in the ledger
(migration 16, acks), with a deadline of its own, before the line is
written, so a request handed off again after a crash, even with boosting
since turned off, reuses it. A hold that lands while the boost is in
flight keeps the request from being handed off.
fl.StringArrayVar(&f.classes, "class", nil, "Classify a served project: <project-id>=<class>, or <project-id>= to clear it (repeatable)")
458
488
fl.StringArrayVar(&f.watch, "watch-completions", nil, "Admit every trusted completion in a served project (repeatable)")
459
489
fl.StringArrayVar(&f.unwatch, "no-watch-completions", nil, "Stop watching a project's completions (repeatable)")
490
+
fl.Var(&f.ackBoost, "ack-boost", fmt.Sprintf("Boost the connector acknowledges each request with, as the agent, before handing it off (default %s; at most %d characters)", setup.DefaultAckContent, setup.AckContentMax))
491
+
fl.BoolVar(&f.noAckBoost, "no-ack-boost", false, "Don't acknowledge requests in the connector; the session reading them boosts instead")
0 commit comments