Skip to content

Out-of-band escalation notification for loop lanes (deterministic HTTP hook on escalation write) #1650

Description

@kyle-sexton

Context

Nothing reaches a human who is not at the machine running a loop lane. Local toast, terminal bell, and OSC 9 do not survive a closed laptop or dead process; GitHub telemetry is explicitly disqualified as an escalation channel; the severity fan-out in plugins/autonomy/reference/runner/escalation.md is unbuilt design. Source analysis (item 1, Tier 1): https://github.com/melodic-software/knowledge-corpus/blob/main/sources/webinars/getting-started-with-loops/analysis/action-items.md.

Premise verification (2026-07-26, against current official Claude Code docs): the claim in plugins/autonomy/hooks/lane-notify.sh that "there is no remote/Slack/push transport here (none exists as a marketplace primitive yet)" is STALE — both clauses:

Defensible residue: no primitive's specific job is "fire a webhook when a lane writes an escalation" — but the composition is a few lines of settings JSON using documented first-party mechanisms, not a workaround.

Proposed work

  • Scope to the escalation event, not the cycle: consuming-repo-configured webhook fired on escalation write (deterministic hook path), optionally paired with PushNotification as the human-attention layer
  • Design the seam so the destination (generic webhook / Slack via the official plugin / push) is consuming-repo config, not hardcoded
  • Correct the stale claim in plugins/autonomy/hooks/lane-notify.sh as part of the change
  • Caution from verification: a FileChanged hook event exists but firing on Claude-written files is UNVERIFIED — prefer the PostToolUse path

Acceptance criteria

  • An escalation write in any lane deterministically produces an out-of-band notification off-machine
  • Transport/destination is consuming-repo configuration with a documented default
  • lane-notify.sh's stale no-transport claim is corrected
  • Works without claude.ai Remote Control for the deterministic path (http hook has no subscription/RC dependency)

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions