@qwen-code/channel-github 0.26.9 → 0.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,19 @@
1
1
  import type { ChannelAgentBridge, ChannelBaseOptions, ChannelConfig, ChannelTaskLifecycleEvent } from '@qwen-code/channel-base';
2
2
  import { PollingChannelBase } from '@qwen-code/channel-base';
3
- interface GithubConfig extends ChannelConfig {
3
+ interface RepoFilterConfigFields {
4
+ repoFilterMode?: unknown;
5
+ repoFilter?: unknown;
6
+ }
7
+ interface GithubConfig extends ChannelConfig, RepoFilterConfigFields {
4
8
  baseUrl?: string;
5
9
  reasonFilter?: unknown;
6
10
  useLocalGh?: boolean;
7
11
  deliverToBoundSessions?: boolean;
8
12
  prWatchEvents?: unknown;
13
+ prWatchLimit?: unknown;
14
+ prWatchBudgetReserve?: unknown;
9
15
  boundSessionActions?: unknown;
16
+ prCommentWatch?: unknown;
10
17
  }
11
18
  interface GithubCursor {
12
19
  lastProcessedAt: string;
@@ -23,7 +30,7 @@ interface GithubCursor {
23
30
  dispatchedComments?: string[];
24
31
  /**
25
32
  * created_at per dispatched comment key, so eviction can respect the
26
- * re-list window: a comment whose created_at is newer than the committed
33
+ * re-list window: a comment whose created_at is not before the committed
27
34
  * cursor can still be re-fetched (mark-read may have failed), so its key
28
35
  * must NOT be evicted — otherwise a re-listed aggregate SUPERSET batch
29
36
  * re-dispatches already-replied comments under a fresh batch hash that
@@ -34,7 +41,38 @@ interface GithubCursor {
34
41
  dispatchedCommentTimes?: Record<string, string>;
35
42
  /** Direct-action event node IDs already accepted by the channel. */
36
43
  dispatchedEvents?: string[];
44
+ /**
45
+ * The comments of the cursor's own second that the window which advanced
46
+ * the cursor there read (`at` is that cursor). GitHub stamps comments and
47
+ * notifications to the second, so a notification that arrives after that
48
+ * window can name a comment of the same second. The next window reads the
49
+ * cursor's second again and leaves out only these. Without a record for the
50
+ * cursor (one saved by an older version, or more than MAX_BOUNDARY_COMMENTS
51
+ * such comments), the window starts after that second. The first cursor is
52
+ * the start time with milliseconds, which no GitHub timestamp equals.
53
+ * `threads` (`owner/repo|thread` keys, at most MAX_BOUNDARY_COMMENTS) are
54
+ * the threads whose notification of that second the window listed: such a
55
+ * notification listed again is a re-listing, not a late one.
56
+ */
57
+ boundaryComments?: {
58
+ at: string;
59
+ keys: string[];
60
+ threads: string[];
61
+ };
37
62
  }
63
+ /**
64
+ * The repository event filter modes, shared by the descriptor options and
65
+ * the validator so the UI and the runtime cannot drift. `off` (or absent)
66
+ * processes every repository and ignores the list entirely.
67
+ */
68
+ export declare const REPO_FILTER_MODES: readonly ["off", "allowlist", "blocklist"];
69
+ /**
70
+ * Shared validation for the plugin descriptor (returns the message) and
71
+ * connect() (throws it): one source of truth for the repository filter
72
+ * rules, so the management UI and the adapter cannot drift (the
73
+ * validateBoundSessionConfig pattern).
74
+ */
75
+ export declare function validateRepoFilterConfig(config: RepoFilterConfigFields, channelName: string): string | undefined;
38
76
  /**
39
77
  * The prWatchEvents vocabulary, shared by the config validator, the watch
40
78
  * emit path, and the management UI's option list (built from this constant
@@ -49,10 +87,36 @@ export declare const PR_WATCH_EVENTS: readonly ["ci_failure", "merge_conflict",
49
87
  * the adapter's reasonFilter already enumerates them.
50
88
  */
51
89
  export declare const PR_NOTIFICATION_REASONS: readonly ["mention", "review_requested", "assign", "author", "comment", "ci_activity", "manual", "state_change", "subscribed", "team_mention", "security_alert", "approval_requested", "invitation", "member_feature_requested", "security_advisory_credit"];
90
+ /**
91
+ * Default open-PR watch fan-out per poll (~1 pulls.get per watched PR plus
92
+ * conditional Checks fetches; terminal-pending bindings drain in an
93
+ * additional slice of up to 20% outside this budget). Operators with more
94
+ * open bindings raise `prWatchLimit` (and `pollInterval`) deliberately;
95
+ * the watch pass already fails fast on rate limits, so an over-budget
96
+ * configuration degrades instead of hammering the API. Exported for the
97
+ * descriptor so the form bound and the effective bound cannot drift.
98
+ */
99
+ export declare const DEFAULT_PR_WATCH_LIMIT = 30;
100
+ /** Hard ceiling for the configurable watch fan-out. */
101
+ export declare const MAX_PR_WATCH_LIMIT = 500;
102
+ /**
103
+ * Requests held back for the interactive notification lane. When the last
104
+ * known REST budget is at or below this, the watch pass is skipped for the
105
+ * poll so a human mention is not starved by background PR polling. ~4% of a
106
+ * 5,000/hour classic-PAT budget: enough for several polls of mention traffic
107
+ * while barely trimming a healthy watch. Operators on other scales (GitHub
108
+ * Enterprise, finer-grained tokens) set prWatchBudgetReserve explicitly.
109
+ */
110
+ export declare const DEFAULT_PR_WATCH_BUDGET_RESERVE = 200;
111
+ /** Hard ceiling for the configurable watch budget reserve. */
112
+ export declare const MAX_PR_WATCH_BUDGET_RESERVE = 5000;
52
113
  interface BoundSessionConfigFields {
53
114
  deliverToBoundSessions?: unknown;
54
115
  prWatchEvents?: unknown;
116
+ prWatchLimit?: unknown;
117
+ prWatchBudgetReserve?: unknown;
55
118
  boundSessionActions?: unknown;
119
+ prCommentWatch?: unknown;
56
120
  }
57
121
  /**
58
122
  * Shared validation for the plugin descriptor (returns the message) and
@@ -92,7 +156,14 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
92
156
  private pendingFinalDeliveryRequestsActive;
93
157
  private pendingFinalDeliveryRetryStopRequested;
94
158
  private reasonFilter;
159
+ private repoFilter;
95
160
  private deliverToBoundSessions;
161
+ /**
162
+ * Bound PR comment watch: poll conversation + inline review comments and
163
+ * deliver each to every bound session that did not post it. Default-on
164
+ * with deliverToBoundSessions; `prCommentWatch: false` disables it.
165
+ */
166
+ private prCommentWatchEnabled;
96
167
  private prWatchEvents;
97
168
  /**
98
169
  * Operator instruction templates keyed by the closed bound-action
@@ -179,6 +250,38 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
179
250
  * recovery edge.
180
251
  */
181
252
  private watchReconcileBlockedCause;
253
+ /**
254
+ * Last REST budget seen on a SUCCESSFUL response, recorded by the request
255
+ * hook regardless of the call's return shape. Undefined until the first
256
+ * response carries the header. Gates the watch pass so background polling
257
+ * cannot starve the interactive notification lane.
258
+ */
259
+ private lastRateLimitRemaining;
260
+ /**
261
+ * Reset time (epoch ms) of the window lastRateLimitRemaining belongs to.
262
+ * Once passed, the reading is stale and must not gate the watch: a low
263
+ * count from a window that has already reset would otherwise starve the
264
+ * watch until the next successful response overwrites it.
265
+ */
266
+ private lastRateLimitResetAt;
267
+ /**
268
+ * Whether the watch pass is currently skipped for low budget. Edge-triggered
269
+ * journaling (the watchReconcileBlockedCause pattern): a permanent low-budget
270
+ * condition journalled once on the edge, not every poll, so it cannot rotate
271
+ * the useful rows out of the timeline. Cleared on the recovery edge.
272
+ */
273
+ private watchBudgetLow;
274
+ /**
275
+ * A `watch_budget_low` row has been journaled and its episode has not been
276
+ * closed by a recovery row yet. Tracked apart from watchBudgetLow because
277
+ * the two answer different questions: the skip latch is released when the
278
+ * watch stops being eligible (so a later starvation journals a fresh skip),
279
+ * but the episode stays open until the BUDGET recovers — otherwise a budget
280
+ * that recovers during an ineligible window would never get its recovery
281
+ * row. In-memory by design: a restart mid-episode leaves no recovery row,
282
+ * which the user guide states.
283
+ */
284
+ private watchBudgetEpisodeOpen;
182
285
  /**
183
286
  * Consecutive binding-refresh failures since the last success. While no
184
287
  * snapshot has ever succeeded, the cold-start gate defers the comment lane,
@@ -209,6 +312,26 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
209
312
  private inboundTaskSnapshot;
210
313
  private activeInboundTaskIdsByMessage;
211
314
  private cancelledInboundTaskIds;
315
+ /**
316
+ * Public-path tasks execute in a background FIFO runner (concurrency 1)
317
+ * instead of inline in the poll loop: a public turn awaits the full agent
318
+ * reply, and running it inside pollOnce froze watch detection, bound
319
+ * delivery, and every other notification for the turn's duration. Claims
320
+ * stay durable and synchronous, so recovery owns execution exactly as it
321
+ * does for a task interrupted by a crash. Bound and watch deliveries stay
322
+ * inline: they are fast prompt POSTs whose verdict the dispatch return
323
+ * value and the cursor gate depend on.
324
+ */
325
+ private publicTaskQueue;
326
+ private publicTasksInFlight;
327
+ private publicTaskRunner;
328
+ private publicTaskRunnerGeneration;
329
+ private publicTaskWake;
330
+ private publicTaskIdleWaiters;
331
+ /** The task the runner is executing right now (undefined when parked). */
332
+ private publicTaskRunningId;
333
+ /** Escaped runner failures already journaled, once per task id. */
334
+ private publicTaskFailureJournaled;
212
335
  private pendingCursorUpdatedAt;
213
336
  private inboundPersistenceBlocked;
214
337
  /**
@@ -233,6 +356,21 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
233
356
  * nothing new (a repeated skip) are written once per window.
234
357
  */
235
358
  private windowJournalKeys;
359
+ /**
360
+ * The comments this window has read that were created in the latest second
361
+ * it has read a comment from, and the threads it has listed whose
362
+ * notification is of the latest second it has listed one from. When the
363
+ * window is marked read, those of the new cursor's second become
364
+ * GithubCursor.boundaryComments.
365
+ */
366
+ private windowLatestComments;
367
+ private windowLatestThreads;
368
+ /**
369
+ * Threads of late notifications (see `late` in pollOnce) this window has
370
+ * read: the comments of the cursor's second GitHub listed then were read,
371
+ * so a later failure reading one again in the window is treated as stale.
372
+ */
373
+ private windowLateThreadsRead;
236
374
  constructor(name: string, config: GithubConfig & Record<string, unknown>, bridge: ChannelAgentBridge, options?: ChannelBaseOptions);
237
375
  protected createInitialCursor(): GithubCursor;
238
376
  /**
@@ -280,6 +418,23 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
280
418
  private processAggregateLane;
281
419
  private findDirectTrigger;
282
420
  private fetchNewComments;
421
+ /**
422
+ * Remember a comment this window read, if it is of the latest second the
423
+ * window has read a comment from (the cursor can advance at most to the
424
+ * newest notification, and no comment it reads is newer than that).
425
+ */
426
+ private noteWindowComment;
427
+ /**
428
+ * GitHub notifies a mention that an edit adds to an older comment, but the
429
+ * lanes read only comments created in the window. Journal such a comment
430
+ * once per window, so the notification it raised is not consumed without a
431
+ * trace (unless it arrives after the cursor has passed the edit, as a late
432
+ * notification for a new comment can). The edit time has no upper bound: a later edit (or a notification
433
+ * stamped before the edit) leaves the comment newer than the window, and
434
+ * once the window commits nothing reads it again. A later window that
435
+ * reads the thread again can record it once more.
436
+ */
437
+ private recordEditedMentions;
283
438
  private fetchIssueMeta;
284
439
  private fetchPrMeta;
285
440
  private tryFirstContactBody;
@@ -288,9 +443,11 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
288
443
  private recordDispatched;
289
444
  /**
290
445
  * Window-aware eviction. Once over the soft cap, drop EVERY key whose
291
- * comment can no longer be re-listed (created_at <= the committed cursor),
292
- * keeping protected keys regardless of position. A key newer than the
293
- * cursor — or with no recorded time (legacy migration) — is protected:
446
+ * comment can no longer be re-listed (created_at before the committed
447
+ * cursor; the window can read the cursor's own second again, see
448
+ * GithubCursor.boundaryComments), keeping protected keys regardless of
449
+ * position. A key at or after the cursor — or with no recorded time
450
+ * (legacy migration) — is protected:
294
451
  * evicting it would let a re-listed aggregate SUPERSET re-dispatch
295
452
  * already-replied comments under a fresh batch hash that misses the
296
453
  * publication-audit backstop (duplicate public reply / private injection
@@ -306,12 +463,33 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
306
463
  /**
307
464
  * Bound the time map: drop entries that are neither in the ring nor still
308
465
  * re-listable. Times for fetched-but-not-yet-dispatched comments survive
309
- * while their created_at is newer than the cursor (they may be dispatched
466
+ * while their created_at is not before the cursor (they may be dispatched
310
467
  * later this poll), so eviction never loses a key's protection mid-poll.
311
468
  */
312
469
  private pruneCommentTimes;
313
470
  private dispatchEnvelope;
314
471
  private claimInboundTask;
472
+ /**
473
+ * Hand a claimed public task to the background runner. Idempotent: a
474
+ * re-listed event re-claiming a queued/running task, or a recovery pass
475
+ * re-scanning it, must not execute it twice.
476
+ */
477
+ private enqueuePublicTask;
478
+ private startPublicTaskRunner;
479
+ /**
480
+ * Resolves once no public task is queued or running (tests/diagnostics).
481
+ * Signal-based, not timer-based: callers may run under fake timers.
482
+ */
483
+ whenPublicTasksIdle(): Promise<void>;
484
+ /**
485
+ * The public absence gate: defer (or at the horizon retire) an unmatched
486
+ * PR event while the binding snapshot cannot prove absence. Returns true
487
+ * when the task must not execute now. Called synchronously at dispatch so
488
+ * the lane keeps its false-verdict semantics (a deferred comment suppresses
489
+ * the first-contact body this poll), and again in runInboundTask for tasks
490
+ * recovery enqueues after a re-resolve.
491
+ */
492
+ private applyPublicAbsenceGate;
315
493
  private runInboundTask;
316
494
  private recoverInboundTasks;
317
495
  private isRecoverableInboundTask;
@@ -331,6 +509,21 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
331
509
  * they settle instead of freezing the cursor forever.
332
510
  */
333
511
  private hasCursorBlockingTasks;
512
+ /**
513
+ * Threads whose in-flight public work already held the cursor when this
514
+ * poll's notification loop started. Snapshot, not live: a task claimed
515
+ * during this poll must not suppress the same thread's later lanes, and a
516
+ * crashed task that is not in flight must stay re-dispatchable (recovery
517
+ * may have failed this poll). While a thread is held, the frozen window
518
+ * re-lists it every poll; re-fetching its comments each time spends the
519
+ * shared PAT budget for nothing (dedupe already claimed them). The thread
520
+ * is re-read when its task settles. The first-contact body feed is NOT
521
+ * skipped: it claims once and the runner serializes it behind the running
522
+ * turn, so deferring it would only risk the cursor committing past an
523
+ * unclaimed body.
524
+ */
525
+ private pollStartHeldThreads;
526
+ private threadHeldAtPollStart;
334
527
  private isCursorBlockingTask;
335
528
  /** Whether one of the thread's own tasks holds the cursor, as last seen. */
336
529
  private threadTaskHoldsCursor;
@@ -395,6 +588,37 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
395
588
  */
396
589
  private recordWatchOverflowSkip;
397
590
  private removeInboundTask;
591
+ /**
592
+ * Record the REST budget from a successful response's headers. Called by
593
+ * the request hook on every response. A missing or malformed remaining
594
+ * header leaves the last known value untouched (a proxy that strips the
595
+ * header must not erase a real reading). The reset time is refreshed from
596
+ * the same response; if that header is absent the reset is cleared, so the
597
+ * gate falls back to protecting on the count alone rather than trusting a
598
+ * reset time from a different window.
599
+ */
600
+ private recordRateLimitBudget;
601
+ /**
602
+ * Whether the watch pass must yield this poll to protect the notification
603
+ * lane. True only when a usable remaining reading is at or below the
604
+ * reserve AND its window has not already reset (a stale low count from a
605
+ * rolled-over window must not starve the watch). With no reading yet the
606
+ * watch runs normally; the reactive isWatchFailFastError backstop still
607
+ * covers a wrong estimate or a secondary limit.
608
+ */
609
+ private watchBudgetExhausted;
610
+ /**
611
+ * Open a low-budget episode: latch the skip and journal its edge once.
612
+ * Shared by the poll-boundary gate and the in-pass yield so a mid-pass stop
613
+ * records the same row rather than a second vocabulary.
614
+ */
615
+ private noteWatchBudgetLow;
616
+ /**
617
+ * Close the episode once the budget is no longer exhausted. A still-low
618
+ * budget keeps it open: the watch being ineligible says nothing about the
619
+ * budget, and claiming recovery there would be a false report.
620
+ */
621
+ private closeWatchBudgetEpisode;
398
622
  /**
399
623
  * Journals a degraded dependency the poll loop itself survived: the poll
400
624
  * still reports `ok`, so without this row a binding scan that stalls every
@@ -436,6 +660,20 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
436
660
  private coldEmptyCapCause;
437
661
  private refreshBoundSessions;
438
662
  private resolveBoundDelivery;
663
+ /**
664
+ * The role of the entry that names THIS PR, or undefined for an untyped
665
+ * binding. Takes the winner legacy routing already resolved, so the URL
666
+ * parse stays within that one session's entries instead of repeating the
667
+ * whole follower scan on a path that used to be a single Map lookup.
668
+ */
669
+ private boundRoleOf;
670
+ /**
671
+ * The entry of `summary` that names the PR behind `key`, matched the same
672
+ * way for every candidate: the URL must parse, agree with its own number,
673
+ * and normalize to that key. Shared so the legacy role lookup and the
674
+ * role-aware follower scan cannot drift apart.
675
+ */
676
+ private boundPrEntryFor;
439
677
  /**
440
678
  * Pick the most-recent live follower of a PR from the full binding list,
441
679
  * excluding sessions already known Gone in this delivery attempt. Unlike
@@ -510,6 +748,13 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
510
748
  * retiring the task; until then the slot stays unreconstructable.
511
749
  */
512
750
  private boundSlotAcceptancePending;
751
+ /**
752
+ * A comment that only the bound path's mention waiver admitted never takes
753
+ * the channel path: with no bound session left it is retired privately.
754
+ * The retire row names the session it lost: `sessionId` when the caller
755
+ * knows it, else the delivery the task still held.
756
+ */
757
+ private retirePrivateOnly;
513
758
  /**
514
759
  * Persist a terminal private retirement BEFORE the routing identity is
515
760
  * cleared or the task removed: if the removal then fails (EIO), restart
@@ -528,18 +773,6 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
528
773
  * delivery path.
529
774
  */
530
775
  private recordBoundDelivered;
531
- /**
532
- * Resolution chain: role:event → role:lane → role:default → event → lane
533
- * → default. `lane` is the comment lane's class (`comment`): comment
534
- * events carry the THREAD's notification reason, so a `fix:comment`
535
- * template must also catch a comment delivered under `mention`,
536
- * `subscribed`, or `author` — the reason-specific key still wins when
537
- * configured. Untyped winners resolve only the bare chain. No match →
538
- * undefined, which in role-aware mode SKIPS the role for this event (the
539
- * map is a per-role subscription) and in legacy mode cannot happen (the
540
- * map is empty).
541
- */
542
- private resolveBoundActionTemplate;
543
776
  /**
544
777
  * The delivery targets for one event. Legacy mode: the single routing-map
545
778
  * winner (or none). Role-aware mode: one winner per role group — the most
@@ -560,13 +793,11 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
560
793
  */
561
794
  private revalidateBoundTarget;
562
795
  /**
563
- * Render an operator template. GitLab's substitution contract: `%%` is a
564
- * literal percent, an unknown `%foo%` stays literal (a typo is visible in
565
- * the delivered prompt, never silently vanished). Substituted values are
566
- * GitHub-controlled DATA: sanitized and capped with a visible marker, so
567
- * a hostile title cannot smuggle unbounded text into the trusted block.
568
- * Deterministic for a given (event, role, configuration) — retries render
569
- * the same instruction.
796
+ * Render an operator template through the shared contract
797
+ * (`renderBoundActionTemplate` in channel-base) with this envelope's
798
+ * values; the renderer sanitizes every value and also caps `%title%` and
799
+ * `%sender%`. Deterministic for a given (event, role, configuration) —
800
+ * retries render the same instruction.
570
801
  */
571
802
  private renderBoundAction;
572
803
  /**
@@ -576,6 +807,15 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
576
807
  * shadowing any live follower of the same PR.
577
808
  */
578
809
  private evictBoundSession;
810
+ /**
811
+ * Whether a plain comment by this sender reaches a bound session without
812
+ * the repository's mention requirement. That requirement keeps ambient
813
+ * chatter out of public replies and is no authorization boundary, so the
814
+ * private path can drop it — but only for senders the repository lists:
815
+ * with open senders every drive-by or bot comment would become a turn of
816
+ * the session. Callers check that the PR is bound.
817
+ */
818
+ private waivesBoundMention;
579
819
  private buildBoundSessionPrompt;
580
820
  private deliverToBoundSession;
581
821
  private prWatchStatePath;
@@ -603,6 +843,21 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
603
843
  * both records on disk).
604
844
  */
605
845
  private reconcilePendingWatch;
846
+ /**
847
+ * Open-PR watch fan-out per poll (terminal-pending bindings drain in an
848
+ * additional slice outside it). Clamped like pollInterval: unset or
849
+ * invalid keeps the default; a fractional count rounds up so the
850
+ * configured budget is never silently smaller than requested.
851
+ */
852
+ private get prWatchLimit();
853
+ /**
854
+ * Requests reserved for the notification lane: at or below this remaining
855
+ * budget the watch pass yields. Clamped like prWatchLimit; a configured 0
856
+ * is honoured (disables the gate) so an operator can opt out, while unset
857
+ * or invalid keeps the default. Rounds up so the reserve is never silently
858
+ * smaller than requested.
859
+ */
860
+ private get prWatchBudgetReserve();
606
861
  /**
607
862
  * Edge-triggered state watch over the PRs bound to live sessions. Runs
608
863
  * inside the existing poll loop; detection is API-level and costs no model
@@ -610,6 +865,20 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
610
865
  */
611
866
  private runPrStateWatch;
612
867
  private watchOnePr;
868
+ /**
869
+ * Bound PR comment watch (docs/design/2026-11-08-bound-pr-comment-watch.md).
870
+ * Poll conversation + inline review comments on a bound PR and deliver each
871
+ * new one to every bound session that did NOT post it. Unlike the
872
+ * notification lanes this does not filter the channel's own account: a
873
+ * comment by the same GitHub login used by a DIFFERENT session/agent must
874
+ * reach the follower. Authorship attribution (the daemon's posted-comment
875
+ * lookup) withholds a comment only from the session that wrote it, which is
876
+ * what prevents a fix session's own reply from re-triggering it.
877
+ *
878
+ * Default-on with deliverToBoundSessions; `prCommentWatch: false` disables
879
+ * it. Failures are isolated here so they never skip the state transitions.
880
+ */
881
+ private watchPrComments;
613
882
  /**
614
883
  * Deliver queued watch events. Order per event: claim the inbound task
615
884
  * (durable), move the key from pending to fired (durable), then run the
@@ -1 +1 @@
1
- {"version":3,"file":"GithubAdapter.d.ts","sourceRoot":"","sources":["../src/GithubAdapter.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACb,yBAAyB,EAI1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAOL,kBAAkB,EAMnB,MAAM,yBAAyB,CAAC;AAIjC,UAAU,YAAa,SAAQ,aAAa;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAgID,UAAU,YAAY;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,wDAAwD;IACxD,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B;;;;;;;;;OASG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChD,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AA6GD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,0EAKlB,CAAC;AAIX;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,8PA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