@qwen-code/channel-github 0.26.7 → 0.26.8-nightly.20261105.7bd78683e6

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.
@@ -6,6 +6,7 @@ interface GithubConfig extends ChannelConfig {
6
6
  useLocalGh?: boolean;
7
7
  deliverToBoundSessions?: boolean;
8
8
  prWatchEvents?: unknown;
9
+ boundSessionActions?: unknown;
9
10
  }
10
11
  interface GithubCursor {
11
12
  lastProcessedAt: string;
@@ -41,9 +42,17 @@ interface GithubCursor {
41
42
  * editor and normalizePrWatchEvents both lowercase before matching.
42
43
  */
43
44
  export declare const PR_WATCH_EVENTS: readonly ["ci_failure", "merge_conflict", "head_change", "state_change"];
45
+ /**
46
+ * The notification-reason vocabulary, shared by the reasonFilter descriptor
47
+ * options and the boundSessionActions key validator so the two cannot drift
48
+ * (the PR_WATCH_EVENTS pattern). These are GitHub's notification reasons as
49
+ * the adapter's reasonFilter already enumerates them.
50
+ */
51
+ 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"];
44
52
  interface BoundSessionConfigFields {
45
53
  deliverToBoundSessions?: unknown;
46
54
  prWatchEvents?: unknown;
55
+ boundSessionActions?: unknown;
47
56
  }
48
57
  /**
49
58
  * Shared validation for the plugin descriptor (returns the message) and
@@ -85,6 +94,34 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
85
94
  private reasonFilter;
86
95
  private deliverToBoundSessions;
87
96
  private prWatchEvents;
97
+ /**
98
+ * Operator instruction templates keyed by the closed bound-action
99
+ * vocabulary. Non-empty switches routing to role-aware fan-out (one
100
+ * winner per role); empty keeps the legacy single-winner behavior.
101
+ */
102
+ private boundSessionActions;
103
+ /**
104
+ * Durable event-level delivery history (role-aware fan-out): keys of
105
+ * events some role already accepted privately. Suppresses the public
106
+ * fallback after a partial delivery even when every follower later
107
+ * disappears — current-follower counts alone cannot prove that.
108
+ */
109
+ private boundDeliveredKeys;
110
+ private boundDeliveredOrder;
111
+ /**
112
+ * An unreadable ring cannot prove a negative: fail CLOSED for the public
113
+ * fallback (suppress it) rather than risk an irreversible duplicate.
114
+ */
115
+ private boundDeliveredUnreadable;
116
+ /**
117
+ * Tasks retired privately during the current runInboundTask call (role
118
+ * lost its match, siblings already delivered, ring suppression). Their
119
+ * success path must skip the PUBLIC reply-lane bookkeeping: nothing was
120
+ * published, and reading that store could wedge the retired task — and
121
+ * the shared cursor — on an unrelated file's readability. In-memory only:
122
+ * the mark lives exactly as long as the call that sets it.
123
+ */
124
+ private privatelyRetiredInboundTaskIds;
88
125
  private githubHost;
89
126
  private boundSessionByPr;
90
127
  private lastBindings;
@@ -100,9 +137,10 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
100
137
  * False until ANY binding snapshot succeeds (complete or partial). The
101
138
  * cold-start comment-lane gate uses this, not boundSnapshotTrusted: the
102
139
  * map is populated from partial snapshots too. Gating on complete-only
103
- * would stall the lane forever under a permanent partial (multi-page
104
- * scan / non-active workspace). An EMPTY partial answer is additionally
105
- * bounded by coldEmptyPartialStreak: success of an incomplete scan does
140
+ * would stall the lane forever under a permanent partial (an unreadable
141
+ * sidecar / a workspace without a runtime). An EMPTY partial answer is
142
+ * additionally bounded by coldEmptyPartialStreak: success of an
143
+ * incomplete scan does
106
144
  * not establish absence, so the first such answers must not open the
107
145
  * lane onto an empty map.
108
146
  */
@@ -114,6 +152,15 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
114
152
  * answer.
115
153
  */
116
154
  private coldEmptyPartialStreak;
155
+ /**
156
+ * How many polls of the current cold-empty streak were failed lookups
157
+ * (the rest answered with an empty partial). The cap line attributes the
158
+ * stall from this count rather than from boundSnapshotFailureStreak,
159
+ * which any successful answer resets: a run of failed lookups broken by
160
+ * a single empty partial would otherwise be blamed on the daemon's
161
+ * storage. Reset together with coldEmptyPartialStreak.
162
+ */
163
+ private coldEmptyFailurePolls;
117
164
  private partialSnapshotStreak;
118
165
  /**
119
166
  * True while the most recent pending-watch reconciliation FAILED (e.g.
@@ -137,10 +184,37 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
137
184
  private prWatchStateLoaded;
138
185
  private inboundRecoveryPending;
139
186
  private recoverableInboundTasks;
187
+ /**
188
+ * The inbound task store as this process last read or wrote it, for a check
189
+ * in the poll's error path that must not read the disk again.
190
+ */
191
+ private inboundTaskSnapshot;
140
192
  private activeInboundTaskIdsByMessage;
141
193
  private cancelledInboundTaskIds;
142
194
  private pendingCursorUpdatedAt;
143
195
  private inboundPersistenceBlocked;
196
+ /**
197
+ * Set when reading a notification failed this poll with a 5xx or a shared
198
+ * failure (rate limit, credentials): the cursor and mark-as-read must not
199
+ * move past it, or the thread would never be listed again and its comment
200
+ * would be lost silently.
201
+ */
202
+ private notificationRetryPending;
203
+ /** Polls since the window was last marked read that a 5xx kept it unread. */
204
+ private transientHoldPolls;
205
+ /** Polls since the window was last marked read stopped by a shared failure. */
206
+ private sharedHoldPolls;
207
+ /**
208
+ * Failing polls per thread since the window was last marked read. Only the
209
+ * log throttle reads it; the retry decision is the window's budget.
210
+ */
211
+ private transientNotificationFailures;
212
+ /**
213
+ * Journal rows already written for the current window. A held window
214
+ * re-reads the same threads and comments on every poll, and rows that say
215
+ * nothing new (a repeated skip) are written once per window.
216
+ */
217
+ private windowJournalKeys;
144
218
  constructor(name: string, config: GithubConfig & Record<string, unknown>, bridge: ChannelAgentBridge, options?: ChannelBaseOptions);
145
219
  protected createInitialCursor(): GithubCursor;
146
220
  /**
@@ -177,6 +251,12 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
177
251
  private reactionKey;
178
252
  private removeReaction;
179
253
  protected pollOnce(): Promise<void>;
254
+ /**
255
+ * True the first time `key` is seen in the current notification window (it
256
+ * resets when the window is marked read), so a held window that re-reads the
257
+ * same thread or comment every poll journals the repeat once.
258
+ */
259
+ private journalOncePerWindow;
180
260
  private processCommentLane;
181
261
  private processDirectLane;
182
262
  private processAggregateLane;
@@ -233,6 +313,9 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
233
313
  * they settle instead of freezing the cursor forever.
234
314
  */
235
315
  private hasCursorBlockingTasks;
316
+ private isCursorBlockingTask;
317
+ /** Whether one of the thread's own tasks holds the cursor, as last seen. */
318
+ private threadTaskHoldsCursor;
236
319
  /**
237
320
  * Terminal outcome for a bound event that can no longer be delivered:
238
321
  * append it to the private dead-letter log (the private path's exhaustion
@@ -255,6 +338,14 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
255
338
  private readPublicationAuditKeys;
256
339
  private applyTaskDedupe;
257
340
  private transitionInboundTask;
341
+ /**
342
+ * Session identity for journal rows about a bound delivery, so the events
343
+ * page can link the row to the session that received the event. The
344
+ * binding snapshot is the only place the target's workspace is known; a
345
+ * frozen delivery on a restored task can outlive its binding, in which
346
+ * case the row keeps the sessionId without a workspace.
347
+ */
348
+ private boundJournalIdentity;
258
349
  private removeInboundTask;
259
350
  private updateInboundTasks;
260
351
  private inboundTasksPath;
@@ -278,6 +369,15 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
278
369
  * binding routes accept any http(s) URL naming the PR.
279
370
  */
280
371
  private parsePrBindingUrl;
372
+ /**
373
+ * The cause clause of the cold-empty cap line, attributed from how many
374
+ * polls of the streak were failed lookups rather than empty partial
375
+ * answers: the majority cause leads and the other count is kept.
376
+ * boundSnapshotFailureStreak cannot carry this: any successful answer
377
+ * resets it, so a run of failed lookups broken by one empty partial
378
+ * would be blamed on the daemon's storage.
379
+ */
380
+ private coldEmptyCapCause;
281
381
  private refreshBoundSessions;
282
382
  private resolveBoundDelivery;
283
383
  /**
@@ -291,6 +391,128 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
291
391
  * public reply while a complete snapshot still lists a follower.
292
392
  */
293
393
  private resolveBoundDeliveryExcluding;
394
+ /**
395
+ * Role-aware fan-out is opt-in through the map's presence: with no
396
+ * boundSessionActions configured, every routing decision below keeps the
397
+ * legacy single-winner shape verbatim.
398
+ */
399
+ private get boundRoleAware();
400
+ /**
401
+ * Every non-channel follower of a PR from the full binding list, each with
402
+ * the role of the entry that names THIS PR (a session may follow several
403
+ * PRs with different roles). Scans lastBindings so partial-snapshot
404
+ * retention participates exactly as it does in the legacy routing map.
405
+ */
406
+ private boundFollowersOf;
407
+ /**
408
+ * The event class a bound delivery resolves templates against: the watch
409
+ * type from the durable message id (authoritative — the metadata Event
410
+ * line is display, not identity), else the notification trigger reason.
411
+ * An envelope with neither has no class and resolves through `default`.
412
+ */
413
+ private boundEventClass;
414
+ /**
415
+ * The lane class for template resolution: comment-lane tasks (direct and
416
+ * aggregate, identified by their dispatchedComments dedupe) fall back to
417
+ * `comment` after the thread's notification reason, so a `fix:comment`
418
+ * template catches a comment delivered under `mention`/`subscribed`/
419
+ * `author` too. Watch and direct-event lanes have no lane fallback.
420
+ */
421
+ private boundLaneClass;
422
+ private boundEventKey;
423
+ private boundEventAlreadyDelivered;
424
+ /**
425
+ * Per-target completion check for fan-out reconstruction. A missing task
426
+ * can mean "never claimed" OR "delivered and removed"; recreating a
427
+ * completed target would re-execute the event for that role after a
428
+ * rebind (a new session's admission ring has never seen the key). An
429
+ * unreadable ring cannot prove completion — reconstruct rather than lose
430
+ * the target (at-least-once; the same-session admission ring still
431
+ * dedupes).
432
+ */
433
+ private boundTargetCompleted;
434
+ /**
435
+ * Mark the event's logical fan-out slot complete on the carrier task.
436
+ * The slot is the ROLE, not the session: a deferred target that accepts
437
+ * after retargeting completes the ORIGINAL slot, and the mark lives on
438
+ * the carrier task — durable for exactly as long as a surviving sibling
439
+ * can reconstruct it, immune to the bounded ring's FIFO eviction.
440
+ * MANDATORY, not best-effort: the mark is the only evidence connecting
441
+ * an acceptance to its original slot, so a write failure throws and the
442
+ * accepted task is NOT removed — its persisted deliveredAt record lets
443
+ * recovery retry the mark before retiring it, and reconstruction honors
444
+ * that acceptance evidence in the meantime (boundSlotAcceptancePending).
445
+ */
446
+ private markFanoutSlotCompleted;
447
+ /**
448
+ * Acceptance evidence for a logical slot whose completion mark is not
449
+ * yet durable: a sibling task of the same event already carries
450
+ * deliveredAt (the daemon accepted its prompt). Reconstruction must
451
+ * honor it across rebinding — the accepting session may differ from the
452
+ * slot's original session, so the per-target ring key cannot stand in.
453
+ * Recovery completes the mark from the deliveredAt record before
454
+ * retiring the task; until then the slot stays unreconstructable.
455
+ */
456
+ private boundSlotAcceptancePending;
457
+ /**
458
+ * Persist a terminal private retirement BEFORE the routing identity is
459
+ * cleared or the task removed: if the removal then fails (EIO), restart
460
+ * must find a non-recoverable task, not a running untargeted one that
461
+ * falls through to the public reply path.
462
+ */
463
+ private markPrivatelyRetired;
464
+ private loadBoundDeliveredRing;
465
+ /**
466
+ * Record a private acceptance in the durable ring: the event key (blocks
467
+ * any public fallback for the event) AND a per-target key (secondary
468
+ * reconstruction guard; the authoritative per-slot completion mark lives
469
+ * on the carrier task, see markFanoutSlotCompleted).
470
+ * Best-effort persistence (the in-memory set still suppresses duplicates
471
+ * for this lifetime); a write failure is surfaced, never thrown into the
472
+ * delivery path.
473
+ */
474
+ private recordBoundDelivered;
475
+ /**
476
+ * Resolution chain: role:event → role:lane → role:default → event → lane
477
+ * → default. `lane` is the comment lane's class (`comment`): comment
478
+ * events carry the THREAD's notification reason, so a `fix:comment`
479
+ * template must also catch a comment delivered under `mention`,
480
+ * `subscribed`, or `author` — the reason-specific key still wins when
481
+ * configured. Untyped winners resolve only the bare chain. No match →
482
+ * undefined, which in role-aware mode SKIPS the role for this event (the
483
+ * map is a per-role subscription) and in legacy mode cannot happen (the
484
+ * map is empty).
485
+ */
486
+ private resolveBoundActionTemplate;
487
+ /**
488
+ * The delivery targets for one event. Legacy mode: the single routing-map
489
+ * winner (or none). Role-aware mode: one winner per role group — the most
490
+ * recently updated follower within the group — keeping only groups whose
491
+ * template chain matches the event class. `followed` distinguishes "no
492
+ * follower at all" (the legacy absence gate decides public vs defer) from
493
+ * "followers exist but no role matched" (an operator subscription
494
+ * decision: retire privately, never public).
495
+ */
496
+ private resolveBoundTargets;
497
+ /**
498
+ * Delivery-time re-validation of a frozen target against the latest
499
+ * complete snapshot. Legacy mode keeps the base contract (the single
500
+ * winner, retarget on rebind). Role-aware mode re-resolves WITHIN the
501
+ * task's role group, so a live rebind retargets to the role's new winner
502
+ * and a role that lost its match retires privately instead of leaking
503
+ * into another role's session.
504
+ */
505
+ private revalidateBoundTarget;
506
+ /**
507
+ * Render an operator template. GitLab's substitution contract: `%%` is a
508
+ * literal percent, an unknown `%foo%` stays literal (a typo is visible in
509
+ * the delivered prompt, never silently vanished). Substituted values are
510
+ * GitHub-controlled DATA: sanitized and capped with a visible marker, so
511
+ * a hostile title cannot smuggle unbounded text into the trusted block.
512
+ * Deterministic for a given (event, role, configuration) — retries render
513
+ * the same instruction.
514
+ */
515
+ private renderBoundAction;
294
516
  /**
295
517
  * Remove a session the daemon reported permanently gone from both binding
296
518
  * maps. A later partial snapshot otherwise retains it by recency (an
@@ -340,6 +562,16 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
340
562
  * delivery of the same transition.
341
563
  */
342
564
  private drainPendingWatch;
565
+ /**
566
+ * Role-aware watch drain: one durable task per (event, matched role
567
+ * winner). The event leaves `pending` for `fired` only after EVERY
568
+ * matched target is claimed, so a crash mid-fan-out re-claims exactly the
569
+ * missing targets (claimInboundTask reuses an existing (event, target)
570
+ * task). Ordering is per (PR, target): a target with an unsettled
571
+ * predecessor waits while the event's other targets drain — one stuck
572
+ * role never head-of-line-blocks another.
573
+ */
574
+ private drainPendingWatchRoleAware;
343
575
  private fetchCiAggregate;
344
576
  private markNotificationsAsRead;
345
577
  private postErrorComment;
@@ -1 +1 @@
1
- {"version":3,"file":"GithubAdapter.d.ts","sourceRoot":"","sources":["../src/GithubAdapter.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,kBAA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