Skip to content

local-webhook 0.8.1: stop recommending pinned subscriptions - #7

Merged
lionello merged 1 commit into
mainfrom
fix/unpin-guidance
Jul 30, 2026
Merged

local-webhook 0.8.1: stop recommending pinned subscriptions#7
lionello merged 1 commit into
mainfrom
fix/unpin-guidance

Conversation

@defangdevs

Copy link
Copy Markdown
Owner

The tool descriptions, the CLI usage text and the plugin README all told the agent to pin this box's own repos with ttl_hours: 0 (and to pair renew_on_event with it). That is the one combination that reliably goes wrong: a delivery lands in whichever session happens to be active at the time, so a pinned topic interrupts unrelated work indefinitely — no session "owns" a standing watch on a repo.

This rewrites the guidance everywhere it appears — the INSTRUCTIONS block, the ttl_hours and renew_on_event tool descriptions, the --ttl CLI usage, the expiry comment block in webhook.py, and the plugin README (including the example filter entry, which used a pinned own-repo as its illustration).

No behaviour change. ttlHours: 0 still pins and renewOnEvent still renews; only the advice moves. Patch bump to 0.8.1 because the shipped tool descriptions are part of the plugin surface.

Pinning becomes reasonable once a subscription can request delivery into a fresh session instead of the active one — sketched in #1 — since a cold run has no warm cache to lose. Both the code comment and the README point there rather than leaving the reader with a flat prohibition.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PsqGhkpjsb4kKAdVz25xKN

The tool descriptions, the CLI usage text and the plugin README all told the
agent to pin this box's own repos with ttl_hours:0 (and to pair renew_on_event
with it). That is the one combination that reliably goes wrong: a delivery
lands in whichever session happens to be active, so a pinned topic interrupts
unrelated work indefinitely — no session "owns" a standing watch on a repo.

Rewrite the guidance everywhere it appears to say the opposite: scope the TTL
to the work in flight and let it lapse. The mechanism is unchanged — ttlHours:0
still pins, renewOnEvent still renews — only the advice moves.

Pinning becomes reasonable once a subscription can ask for delivery into a
fresh session instead of the active one (#1), since a cold run has no warm
cache to lose; both the code comment and the README point there.
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