@overdeck/contracts 0.50.4 → 0.60.0

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.
package/dist/index.d.ts CHANGED
@@ -34,18 +34,6 @@ declare const Role: Schema.Literals<readonly ["plan", "work", "review", "test",
34
34
  type Role = typeof Role.Type;
35
35
  declare const AgentResolution: Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>;
36
36
  type AgentResolution = typeof AgentResolution.Type;
37
- declare const ReviewStatusValue: Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>;
38
- type ReviewStatusValue = typeof ReviewStatusValue.Type;
39
- declare const TestStatusValue: Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>;
40
- type TestStatusValue = typeof TestStatusValue.Type;
41
- declare const UatStatusValue: Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>;
42
- type UatStatusValue = typeof UatStatusValue.Type;
43
- declare const MergeStatusValue: Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>;
44
- type MergeStatusValue = typeof MergeStatusValue.Type;
45
- declare const ReleaseStatusValue: Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>;
46
- type ReleaseStatusValue = typeof ReleaseStatusValue.Type;
47
- declare const VerificationStatusValue: Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>;
48
- type VerificationStatusValue = typeof VerificationStatusValue.Type;
49
37
  type Harness = 'claude-code' | 'ohmypi' | 'codex' | 'acp' | 'kimi-code' | 'opencode' | 'muse';
50
38
  declare const KNOWN_HARNESSES: ReadonlySet<string>;
51
39
  /**
@@ -209,67 +197,6 @@ declare const AgentSnapshot: Schema.Struct<{
209
197
  }>;
210
198
  type AgentSnapshot = typeof AgentSnapshot.Type;
211
199
  /** PAN-3151: A recorded cycle in the review convergence tracking series */
212
- declare const ReviewCycleEntry: Schema.Struct<{
213
- readonly cycle: Schema.Number;
214
- readonly runId: Schema.String;
215
- readonly atCommit: Schema.optional<Schema.String>;
216
- readonly blockingCount: Schema.Number;
217
- readonly recordedAt: Schema.String;
218
- }>;
219
- type ReviewCycleEntry = typeof ReviewCycleEntry.Type;
220
- declare const ReviewStatusSnapshot: Schema.Struct<{
221
- readonly issueId: Schema.String;
222
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
223
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
224
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
225
- readonly uatNotes: Schema.optional<Schema.String>;
226
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
227
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
228
- readonly releaseNotes: Schema.optional<Schema.String>;
229
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
230
- readonly verificationNotes: Schema.optional<Schema.String>;
231
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
232
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
233
- readonly updatedAt: Schema.optional<Schema.String>;
234
- readonly prUrl: Schema.optional<Schema.String>; /** Persistent stuck flag — set by divergence guard, cleared by /unstick */
235
- readonly stuck: Schema.optional<Schema.Boolean>;
236
- readonly stuckReason: Schema.optional<Schema.String>;
237
- readonly stuckAt: Schema.optional<Schema.String>;
238
- readonly stuckDetails: Schema.optional<Schema.String>; /** PAN-3151: review cycle history for convergence detection */
239
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
240
- readonly cycle: Schema.Number;
241
- readonly runId: Schema.String;
242
- readonly atCommit: Schema.optional<Schema.String>;
243
- readonly blockingCount: Schema.Number;
244
- readonly recordedAt: Schema.String;
245
- }>>>; /** Commit SHA at which review passed; deacon uses this to detect new pushes after review */
246
- readonly reviewedAtCommit: Schema.optional<Schema.String>; /** Commit SHA at which the pre-review verification gate last passed */
247
- readonly lastVerifiedCommit: Schema.optional<Schema.String>; /** Current merge pipeline step (granular visibility for the merge step tracker) */
248
- readonly mergeStep: Schema.optional<Schema.String>; /** PAN-699: timestamp when review agents were dispatched */
249
- readonly reviewSpawnedAt: Schema.optional<Schema.String>; /** PAN-699: number of test-agent dispatch retries */
250
- readonly testRetryCount: Schema.optional<Schema.Number>; /** PAN-794: parallel-review re-dispatch retry counter (current recovery cycle) */
251
- readonly reviewRetryCount: Schema.optional<Schema.Number>; /** PAN-796: review auto-requeue count (circuit breaker threshold) */
252
- readonly autoRequeueCount: Schema.optional<Schema.Number>; /** PAN-794: ISO timestamp marking the start of the current recovery cycle */
253
- readonly recoveryStartedAt: Schema.optional<Schema.String>; /** Human-requested patrol opt-out — when true, Deacon ignores this issue. */
254
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
255
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
256
- readonly deaconIgnoredReason: Schema.optional<Schema.String>; /** PAN-1691: per-issue auto-merge routing key. undefined = project default, true = auto-merge (fast lane), false = hold for UAT. */
257
- readonly autoMerge: Schema.optional<Schema.Boolean>; /** Active review orchestrator tmux session name (e.g. agent-pan-540-review). */
258
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>; /** Active review sub-role tmux session names (e.g. agent-pan-540-review-correctness). Discovered at emission time. */
259
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>; /** Per-role review completion status (keyed by role: 'correctness' | 'security' | ...) */
260
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>; /** PAN-905: queue position in the merge queue */
261
- readonly queuePosition: Schema.optional<Schema.Number>; /** PAN-905: currently active specialist (e.g. 'merge-agent') */
262
- readonly activeSpecialist: Schema.optional<Schema.String>; /** PAN-905: number of merge retries attempted */
263
- readonly mergeRetryCount: Schema.optional<Schema.Number>; /** PAN-905: free-form notes about the merge attempt */
264
- readonly mergeNotes: Schema.optional<Schema.String>; /** Merge blocker reasons surfaced to operators. */
265
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
266
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
267
- readonly summary: Schema.String;
268
- readonly details: Schema.optional<Schema.String>;
269
- readonly detectedAt: Schema.String;
270
- }>>>;
271
- }>;
272
- type ReviewStatusSnapshot = typeof ReviewStatusSnapshot.Type;
273
200
  declare const TurnDiffFileChange: Schema.Struct<{
274
201
  readonly path: Schema.String;
275
202
  readonly kind: Schema.optional<Schema.String>;
@@ -466,58 +393,35 @@ declare const DashboardSnapshot: Schema.Struct<{
466
393
  readonly resolutionCount: Schema.optional<Schema.Number>;
467
394
  readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
468
395
  }>>;
469
- readonly specialists: Schema.$Array<Schema.Unknown>;
470
- readonly reviewStatuses: Schema.$Array<Schema.Struct<{
471
- readonly issueId: Schema.String;
472
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
473
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
474
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
475
- readonly uatNotes: Schema.optional<Schema.String>;
476
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
477
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
478
- readonly releaseNotes: Schema.optional<Schema.String>;
479
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
480
- readonly verificationNotes: Schema.optional<Schema.String>;
481
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
482
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
483
- readonly updatedAt: Schema.optional<Schema.String>;
484
- readonly prUrl: Schema.optional<Schema.String>; /** Persistent stuck flag — set by divergence guard, cleared by /unstick */
485
- readonly stuck: Schema.optional<Schema.Boolean>;
486
- readonly stuckReason: Schema.optional<Schema.String>;
487
- readonly stuckAt: Schema.optional<Schema.String>;
488
- readonly stuckDetails: Schema.optional<Schema.String>; /** PAN-3151: review cycle history for convergence detection */
489
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
490
- readonly cycle: Schema.Number;
491
- readonly runId: Schema.String;
492
- readonly atCommit: Schema.optional<Schema.String>;
493
- readonly blockingCount: Schema.Number;
494
- readonly recordedAt: Schema.String;
495
- }>>>; /** Commit SHA at which review passed; deacon uses this to detect new pushes after review */
496
- readonly reviewedAtCommit: Schema.optional<Schema.String>; /** Commit SHA at which the pre-review verification gate last passed */
497
- readonly lastVerifiedCommit: Schema.optional<Schema.String>; /** Current merge pipeline step (granular visibility for the merge step tracker) */
498
- readonly mergeStep: Schema.optional<Schema.String>; /** PAN-699: timestamp when review agents were dispatched */
499
- readonly reviewSpawnedAt: Schema.optional<Schema.String>; /** PAN-699: number of test-agent dispatch retries */
500
- readonly testRetryCount: Schema.optional<Schema.Number>; /** PAN-794: parallel-review re-dispatch retry counter (current recovery cycle) */
501
- readonly reviewRetryCount: Schema.optional<Schema.Number>; /** PAN-796: review auto-requeue count (circuit breaker threshold) */
502
- readonly autoRequeueCount: Schema.optional<Schema.Number>; /** PAN-794: ISO timestamp marking the start of the current recovery cycle */
503
- readonly recoveryStartedAt: Schema.optional<Schema.String>; /** Human-requested patrol opt-out — when true, Deacon ignores this issue. */
504
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
505
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
506
- readonly deaconIgnoredReason: Schema.optional<Schema.String>; /** PAN-1691: per-issue auto-merge routing key. undefined = project default, true = auto-merge (fast lane), false = hold for UAT. */
507
- readonly autoMerge: Schema.optional<Schema.Boolean>; /** Active review orchestrator tmux session name (e.g. agent-pan-540-review). */
508
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>; /** Active review sub-role tmux session names (e.g. agent-pan-540-review-correctness). Discovered at emission time. */
509
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>; /** Per-role review completion status (keyed by role: 'correctness' | 'security' | ...) */
510
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>; /** PAN-905: queue position in the merge queue */
511
- readonly queuePosition: Schema.optional<Schema.Number>; /** PAN-905: currently active specialist (e.g. 'merge-agent') */
512
- readonly activeSpecialist: Schema.optional<Schema.String>; /** PAN-905: number of merge retries attempted */
513
- readonly mergeRetryCount: Schema.optional<Schema.Number>; /** PAN-905: free-form notes about the merge attempt */
514
- readonly mergeNotes: Schema.optional<Schema.String>; /** Merge blocker reasons surfaced to operators. */
515
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
516
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
517
- readonly summary: Schema.String;
518
- readonly details: Schema.optional<Schema.String>;
519
- readonly detectedAt: Schema.String;
520
- }>>>;
396
+ readonly specialists: Schema.$Array<Schema.Unknown>; /** PAN-3917 FR-6: the derived pipeline state of every known issue. */
397
+ readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
398
+ readonly issueId: Schema.String;
399
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
400
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
401
+ readonly pr: Schema.optional<Schema.Struct<{
402
+ readonly url: Schema.String;
403
+ readonly number: Schema.Number;
404
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
405
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
406
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
407
+ }>>;
408
+ readonly branch: Schema.optional<Schema.Struct<{
409
+ readonly name: Schema.String;
410
+ readonly aheadOfMain: Schema.Number;
411
+ readonly pushed: Schema.Boolean;
412
+ }>>;
413
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
414
+ }>>; /** PAN-3917 FR-12: every live agent pane the terminal backend reports. */
415
+ readonly backendPanes: Schema.$Array<Schema.Struct<{
416
+ readonly id: Schema.String;
417
+ readonly issue: Schema.optional<Schema.String>;
418
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
419
+ readonly harness: Schema.String;
420
+ readonly model: Schema.String;
421
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
422
+ readonly stateSince: Schema.optional<Schema.Number>;
423
+ readonly terminalId: Schema.optional<Schema.String>;
424
+ readonly workspace: Schema.optional<Schema.String>;
521
425
  }>>;
522
426
  readonly issues: Schema.$Array<Schema.Unknown>;
523
427
  readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
@@ -634,14 +538,6 @@ declare const DashboardSnapshot: Schema.Struct<{
634
538
  readonly timestamp: Schema.String;
635
539
  }>;
636
540
  type DashboardSnapshot = typeof DashboardSnapshot.Type;
637
- declare const WorkspaceDetail: Schema.Struct<{
638
- readonly workspace: Schema.Unknown;
639
- readonly reviewStatus: Schema.Unknown;
640
- readonly planning: Schema.Unknown;
641
- readonly costs: Schema.Unknown;
642
- readonly agentOutput: Schema.$Array<Schema.String>;
643
- }>;
644
- type WorkspaceDetail = typeof WorkspaceDetail.Type;
645
541
  declare const ResourceStats: Schema.Struct<{
646
542
  readonly containers: Schema.$Array<Schema.Struct<{
647
543
  readonly name: Schema.String;
@@ -744,14 +640,6 @@ declare const SessionNode: Schema.Struct<{
744
640
  }>>;
745
641
  }>>;
746
642
  readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
747
- readonly paused: Schema.optional<Schema.Boolean>;
748
- readonly pausedReason: Schema.optional<Schema.String>;
749
- readonly pausedAt: Schema.optional<Schema.String>;
750
- readonly troubled: Schema.optional<Schema.Boolean>;
751
- readonly troubledAt: Schema.optional<Schema.String>;
752
- readonly troubledReason: Schema.optional<Schema.String>;
753
- readonly consecutiveFailures: Schema.optional<Schema.Number>;
754
- readonly queuedMailCount: Schema.optional<Schema.Number>;
755
643
  readonly modelOrigin: Schema.optional<Schema.Struct<{
756
644
  readonly spawnKey: Schema.String;
757
645
  readonly resolved: Schema.String;
@@ -807,14 +695,6 @@ declare const FeatureNode: Schema.Struct<{
807
695
  }>>;
808
696
  }>>;
809
697
  readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
810
- readonly paused: Schema.optional<Schema.Boolean>;
811
- readonly pausedReason: Schema.optional<Schema.String>;
812
- readonly pausedAt: Schema.optional<Schema.String>;
813
- readonly troubled: Schema.optional<Schema.Boolean>;
814
- readonly troubledAt: Schema.optional<Schema.String>;
815
- readonly troubledReason: Schema.optional<Schema.String>;
816
- readonly consecutiveFailures: Schema.optional<Schema.Number>;
817
- readonly queuedMailCount: Schema.optional<Schema.Number>;
818
698
  readonly modelOrigin: Schema.optional<Schema.Struct<{
819
699
  readonly spawnKey: Schema.String;
820
700
  readonly resolved: Schema.String;
@@ -873,14 +753,6 @@ declare const ProjectSessionTree: Schema.Struct<{
873
753
  }>>;
874
754
  }>>;
875
755
  readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
876
- readonly paused: Schema.optional<Schema.Boolean>;
877
- readonly pausedReason: Schema.optional<Schema.String>;
878
- readonly pausedAt: Schema.optional<Schema.String>;
879
- readonly troubled: Schema.optional<Schema.Boolean>;
880
- readonly troubledAt: Schema.optional<Schema.String>;
881
- readonly troubledReason: Schema.optional<Schema.String>;
882
- readonly consecutiveFailures: Schema.optional<Schema.Number>;
883
- readonly queuedMailCount: Schema.optional<Schema.Number>;
884
756
  readonly modelOrigin: Schema.optional<Schema.Struct<{
885
757
  readonly spawnKey: Schema.String;
886
758
  readonly resolved: Schema.String;
@@ -1791,143 +1663,80 @@ declare const PlanItemsUnblockedEvent: Schema.Struct<{
1791
1663
  }>;
1792
1664
  }>;
1793
1665
  type PlanItemsUnblockedEvent = typeof PlanItemsUnblockedEvent.Type;
1794
- /** Replaces socket.io `pipeline:status` */
1795
- declare const PipelineStatusChangedEvent: Schema.Struct<{
1796
- readonly type: Schema.Literal<"pipeline.status_changed">;
1666
+ /**
1667
+ * PAN-3917 FR-6 — an issue's derived pipeline state changed.
1668
+ *
1669
+ * Emitted with `emitOnly`: derived state is recomputed from the tracker, the
1670
+ * forge and the terminal backend on every boot, so persisting it would be
1671
+ * storing a status Overdeck can derive.
1672
+ */
1673
+ declare const IssueStateChangedEvent: Schema.Struct<{
1674
+ readonly type: Schema.Literal<"issue_state.changed">;
1797
1675
  readonly sequence: Schema.Number;
1798
1676
  readonly timestamp: Schema.String;
1799
1677
  readonly payload: Schema.Struct<{
1800
- readonly issueId: Schema.String;
1801
- readonly workspaceId: Schema.optional<Schema.String>;
1802
- readonly status: Schema.Struct<{
1678
+ readonly issueState: Schema.Struct<{
1803
1679
  readonly issueId: Schema.String;
1804
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
1805
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
1806
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
1807
- readonly uatNotes: Schema.optional<Schema.String>;
1808
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
1809
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
1810
- readonly releaseNotes: Schema.optional<Schema.String>;
1811
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
1812
- readonly verificationNotes: Schema.optional<Schema.String>;
1813
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
1814
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
1815
- readonly updatedAt: Schema.optional<Schema.String>;
1816
- readonly prUrl: Schema.optional<Schema.String>;
1817
- readonly stuck: Schema.optional<Schema.Boolean>;
1818
- readonly stuckReason: Schema.optional<Schema.String>;
1819
- readonly stuckAt: Schema.optional<Schema.String>;
1820
- readonly stuckDetails: Schema.optional<Schema.String>;
1821
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
1822
- readonly cycle: Schema.Number;
1823
- readonly runId: Schema.String;
1824
- readonly atCommit: Schema.optional<Schema.String>;
1825
- readonly blockingCount: Schema.Number;
1826
- readonly recordedAt: Schema.String;
1827
- }>>>;
1828
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
1829
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
1830
- readonly mergeStep: Schema.optional<Schema.String>;
1831
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
1832
- readonly testRetryCount: Schema.optional<Schema.Number>;
1833
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
1834
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
1835
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
1836
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
1837
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
1838
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
1839
- readonly autoMerge: Schema.optional<Schema.Boolean>;
1840
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
1841
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
1842
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
1843
- readonly queuePosition: Schema.optional<Schema.Number>;
1844
- readonly activeSpecialist: Schema.optional<Schema.String>;
1845
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
1846
- readonly mergeNotes: Schema.optional<Schema.String>;
1847
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
1848
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
1849
- readonly summary: Schema.String;
1850
- readonly details: Schema.optional<Schema.String>;
1851
- readonly detectedAt: Schema.String;
1852
- }>>>;
1680
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
1681
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
1682
+ readonly pr: Schema.optional<Schema.Struct<{
1683
+ readonly url: Schema.String;
1684
+ readonly number: Schema.Number;
1685
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
1686
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
1687
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
1688
+ }>>;
1689
+ readonly branch: Schema.optional<Schema.Struct<{
1690
+ readonly name: Schema.String;
1691
+ readonly aheadOfMain: Schema.Number;
1692
+ readonly pushed: Schema.Boolean;
1693
+ }>>;
1694
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
1853
1695
  }>;
1854
1696
  }>;
1855
1697
  }>;
1856
- type PipelineStatusChangedEvent = typeof PipelineStatusChangedEvent.Type;
1857
- /** Replaces socket.io `merge:ready` */
1858
- declare const MergeReadyEvent: Schema.Struct<{
1859
- readonly type: Schema.Literal<"merge.ready">;
1698
+ type IssueStateChangedEvent = typeof IssueStateChangedEvent.Type;
1699
+ /** PAN-3917 FR-12 — a live agent pane appeared or changed. `emitOnly`. */
1700
+ declare const BackendPaneChangedEvent: Schema.Struct<{
1701
+ readonly type: Schema.Literal<"backend_pane.changed">;
1860
1702
  readonly sequence: Schema.Number;
1861
1703
  readonly timestamp: Schema.String;
1862
1704
  readonly payload: Schema.Struct<{
1863
- readonly issueId: Schema.String;
1864
- readonly workspaceId: Schema.optional<Schema.String>;
1705
+ readonly pane: Schema.Struct<{
1706
+ readonly id: Schema.String;
1707
+ readonly issue: Schema.optional<Schema.String>;
1708
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
1709
+ readonly harness: Schema.String;
1710
+ readonly model: Schema.String;
1711
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
1712
+ readonly stateSince: Schema.optional<Schema.Number>;
1713
+ readonly terminalId: Schema.optional<Schema.String>;
1714
+ readonly workspace: Schema.optional<Schema.String>;
1715
+ }>;
1865
1716
  }>;
1866
1717
  }>;
1867
- type MergeReadyEvent = typeof MergeReadyEvent.Type;
1868
- /** New — review status changed */
1869
- declare const ReviewStatusChangedEvent: Schema.Struct<{
1870
- readonly type: Schema.Literal<"review.status_changed">;
1718
+ type BackendPaneChangedEvent = typeof BackendPaneChangedEvent.Type;
1719
+ /** PAN-3917 FR-12 — a pane left the backend inventory. `emitOnly`. */
1720
+ declare const BackendPaneRemovedEvent: Schema.Struct<{
1721
+ readonly type: Schema.Literal<"backend_pane.removed">;
1722
+ readonly sequence: Schema.Number;
1723
+ readonly timestamp: Schema.String;
1724
+ readonly payload: Schema.Struct<{
1725
+ readonly paneId: Schema.String;
1726
+ }>;
1727
+ }>;
1728
+ type BackendPaneRemovedEvent = typeof BackendPaneRemovedEvent.Type;
1729
+ /** Replaces socket.io `merge:ready` */
1730
+ declare const MergeReadyEvent: Schema.Struct<{
1731
+ readonly type: Schema.Literal<"merge.ready">;
1871
1732
  readonly sequence: Schema.Number;
1872
1733
  readonly timestamp: Schema.String;
1873
1734
  readonly payload: Schema.Struct<{
1874
1735
  readonly issueId: Schema.String;
1875
1736
  readonly workspaceId: Schema.optional<Schema.String>;
1876
- readonly status: Schema.Struct<{
1877
- readonly issueId: Schema.String;
1878
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
1879
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
1880
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
1881
- readonly uatNotes: Schema.optional<Schema.String>;
1882
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
1883
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
1884
- readonly releaseNotes: Schema.optional<Schema.String>;
1885
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
1886
- readonly verificationNotes: Schema.optional<Schema.String>;
1887
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
1888
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
1889
- readonly updatedAt: Schema.optional<Schema.String>;
1890
- readonly prUrl: Schema.optional<Schema.String>;
1891
- readonly stuck: Schema.optional<Schema.Boolean>;
1892
- readonly stuckReason: Schema.optional<Schema.String>;
1893
- readonly stuckAt: Schema.optional<Schema.String>;
1894
- readonly stuckDetails: Schema.optional<Schema.String>;
1895
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
1896
- readonly cycle: Schema.Number;
1897
- readonly runId: Schema.String;
1898
- readonly atCommit: Schema.optional<Schema.String>;
1899
- readonly blockingCount: Schema.Number;
1900
- readonly recordedAt: Schema.String;
1901
- }>>>;
1902
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
1903
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
1904
- readonly mergeStep: Schema.optional<Schema.String>;
1905
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
1906
- readonly testRetryCount: Schema.optional<Schema.Number>;
1907
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
1908
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
1909
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
1910
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
1911
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
1912
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
1913
- readonly autoMerge: Schema.optional<Schema.Boolean>;
1914
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
1915
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
1916
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
1917
- readonly queuePosition: Schema.optional<Schema.Number>;
1918
- readonly activeSpecialist: Schema.optional<Schema.String>;
1919
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
1920
- readonly mergeNotes: Schema.optional<Schema.String>;
1921
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
1922
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
1923
- readonly summary: Schema.String;
1924
- readonly details: Schema.optional<Schema.String>;
1925
- readonly detectedAt: Schema.String;
1926
- }>>>;
1927
- }>;
1928
1737
  }>;
1929
1738
  }>;
1930
- type ReviewStatusChangedEvent = typeof ReviewStatusChangedEvent.Type;
1739
+ type MergeReadyEvent = typeof MergeReadyEvent.Type;
1931
1740
  /** New — review specialist dispatched */
1932
1741
  declare const PipelineReviewStartedEvent: Schema.Struct<{
1933
1742
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -3466,132 +3275,60 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3466
3275
  readonly items: Schema.$Array<Schema.String>;
3467
3276
  }>;
3468
3277
  }>, Schema.Struct<{
3469
- readonly type: Schema.Literal<"pipeline.status_changed">;
3278
+ readonly type: Schema.Literal<"issue_state.changed">;
3470
3279
  readonly sequence: Schema.Number;
3471
3280
  readonly timestamp: Schema.String;
3472
3281
  readonly payload: Schema.Struct<{
3473
- readonly issueId: Schema.String;
3474
- readonly workspaceId: Schema.optional<Schema.String>;
3475
- readonly status: Schema.Struct<{
3282
+ readonly issueState: Schema.Struct<{
3476
3283
  readonly issueId: Schema.String;
3477
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
3478
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
3479
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
3480
- readonly uatNotes: Schema.optional<Schema.String>;
3481
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
3482
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
3483
- readonly releaseNotes: Schema.optional<Schema.String>;
3484
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
3485
- readonly verificationNotes: Schema.optional<Schema.String>;
3486
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
3487
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
3488
- readonly updatedAt: Schema.optional<Schema.String>;
3489
- readonly prUrl: Schema.optional<Schema.String>;
3490
- readonly stuck: Schema.optional<Schema.Boolean>;
3491
- readonly stuckReason: Schema.optional<Schema.String>;
3492
- readonly stuckAt: Schema.optional<Schema.String>;
3493
- readonly stuckDetails: Schema.optional<Schema.String>;
3494
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
3495
- readonly cycle: Schema.Number;
3496
- readonly runId: Schema.String;
3497
- readonly atCommit: Schema.optional<Schema.String>;
3498
- readonly blockingCount: Schema.Number;
3499
- readonly recordedAt: Schema.String;
3500
- }>>>;
3501
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
3502
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
3503
- readonly mergeStep: Schema.optional<Schema.String>;
3504
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
3505
- readonly testRetryCount: Schema.optional<Schema.Number>;
3506
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
3507
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
3508
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
3509
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
3510
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
3511
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
3512
- readonly autoMerge: Schema.optional<Schema.Boolean>;
3513
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
3514
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
3515
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
3516
- readonly queuePosition: Schema.optional<Schema.Number>;
3517
- readonly activeSpecialist: Schema.optional<Schema.String>;
3518
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
3519
- readonly mergeNotes: Schema.optional<Schema.String>;
3520
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
3521
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
3522
- readonly summary: Schema.String;
3523
- readonly details: Schema.optional<Schema.String>;
3524
- readonly detectedAt: Schema.String;
3525
- }>>>;
3284
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
3285
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
3286
+ readonly pr: Schema.optional<Schema.Struct<{
3287
+ readonly url: Schema.String;
3288
+ readonly number: Schema.Number;
3289
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
3290
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
3291
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
3292
+ }>>;
3293
+ readonly branch: Schema.optional<Schema.Struct<{
3294
+ readonly name: Schema.String;
3295
+ readonly aheadOfMain: Schema.Number;
3296
+ readonly pushed: Schema.Boolean;
3297
+ }>>;
3298
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
3526
3299
  }>;
3527
3300
  }>;
3528
3301
  }>, Schema.Struct<{
3529
- readonly type: Schema.Literal<"merge.ready">;
3302
+ readonly type: Schema.Literal<"backend_pane.changed">;
3530
3303
  readonly sequence: Schema.Number;
3531
3304
  readonly timestamp: Schema.String;
3532
3305
  readonly payload: Schema.Struct<{
3533
- readonly issueId: Schema.String;
3534
- readonly workspaceId: Schema.optional<Schema.String>;
3306
+ readonly pane: Schema.Struct<{
3307
+ readonly id: Schema.String;
3308
+ readonly issue: Schema.optional<Schema.String>;
3309
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
3310
+ readonly harness: Schema.String;
3311
+ readonly model: Schema.String;
3312
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
3313
+ readonly stateSince: Schema.optional<Schema.Number>;
3314
+ readonly terminalId: Schema.optional<Schema.String>;
3315
+ readonly workspace: Schema.optional<Schema.String>;
3316
+ }>;
3317
+ }>;
3318
+ }>, Schema.Struct<{
3319
+ readonly type: Schema.Literal<"backend_pane.removed">;
3320
+ readonly sequence: Schema.Number;
3321
+ readonly timestamp: Schema.String;
3322
+ readonly payload: Schema.Struct<{
3323
+ readonly paneId: Schema.String;
3535
3324
  }>;
3536
3325
  }>, Schema.Struct<{
3537
- readonly type: Schema.Literal<"review.status_changed">;
3326
+ readonly type: Schema.Literal<"merge.ready">;
3538
3327
  readonly sequence: Schema.Number;
3539
3328
  readonly timestamp: Schema.String;
3540
3329
  readonly payload: Schema.Struct<{
3541
3330
  readonly issueId: Schema.String;
3542
3331
  readonly workspaceId: Schema.optional<Schema.String>;
3543
- readonly status: Schema.Struct<{
3544
- readonly issueId: Schema.String;
3545
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
3546
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
3547
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
3548
- readonly uatNotes: Schema.optional<Schema.String>;
3549
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
3550
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
3551
- readonly releaseNotes: Schema.optional<Schema.String>;
3552
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
3553
- readonly verificationNotes: Schema.optional<Schema.String>;
3554
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
3555
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
3556
- readonly updatedAt: Schema.optional<Schema.String>;
3557
- readonly prUrl: Schema.optional<Schema.String>;
3558
- readonly stuck: Schema.optional<Schema.Boolean>;
3559
- readonly stuckReason: Schema.optional<Schema.String>;
3560
- readonly stuckAt: Schema.optional<Schema.String>;
3561
- readonly stuckDetails: Schema.optional<Schema.String>;
3562
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
3563
- readonly cycle: Schema.Number;
3564
- readonly runId: Schema.String;
3565
- readonly atCommit: Schema.optional<Schema.String>;
3566
- readonly blockingCount: Schema.Number;
3567
- readonly recordedAt: Schema.String;
3568
- }>>>;
3569
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
3570
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
3571
- readonly mergeStep: Schema.optional<Schema.String>;
3572
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
3573
- readonly testRetryCount: Schema.optional<Schema.Number>;
3574
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
3575
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
3576
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
3577
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
3578
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
3579
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
3580
- readonly autoMerge: Schema.optional<Schema.Boolean>;
3581
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
3582
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
3583
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
3584
- readonly queuePosition: Schema.optional<Schema.Number>;
3585
- readonly activeSpecialist: Schema.optional<Schema.String>;
3586
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
3587
- readonly mergeNotes: Schema.optional<Schema.String>;
3588
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
3589
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
3590
- readonly summary: Schema.String;
3591
- readonly details: Schema.optional<Schema.String>;
3592
- readonly detectedAt: Schema.String;
3593
- }>>>;
3594
- }>;
3595
3332
  }>;
3596
3333
  }>, Schema.Struct<{
3597
3334
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -4493,10 +4230,8 @@ declare const WS_METHODS: {
4493
4230
  readonly subscribeAgentOutput: "pan.subscribeAgentOutput";
4494
4231
  readonly subscribeConversationMessages: "pan.subscribeConversationMessages";
4495
4232
  readonly subscribeProjectSessionTree: "pan.subscribeProjectSessionTree";
4496
- readonly subscribeFlywheelStatus: "pan.subscribeFlywheelStatus";
4497
4233
  readonly getSnapshot: "pan.getSnapshot";
4498
4234
  readonly replayEvents: "pan.replayEvents";
4499
- readonly getWorkspaceDetail: "pan.getWorkspaceDetail";
4500
4235
  readonly readWorkspaceFile: "pan.readWorkspaceFile";
4501
4236
  readonly readFileAtPath: "pan.readFileAtPath";
4502
4237
  readonly writeFileAtPath: "pan.writeFileAtPath";
@@ -5369,132 +5104,60 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5369
5104
  readonly items: Schema.$Array<Schema.String>;
5370
5105
  }>;
5371
5106
  }>, Schema.Struct<{
5372
- readonly type: Schema.Literal<"pipeline.status_changed">;
5107
+ readonly type: Schema.Literal<"issue_state.changed">;
5373
5108
  readonly sequence: Schema.Number;
5374
5109
  readonly timestamp: Schema.String;
5375
5110
  readonly payload: Schema.Struct<{
5376
- readonly issueId: Schema.String;
5377
- readonly workspaceId: Schema.optional<Schema.String>;
5378
- readonly status: Schema.Struct<{
5111
+ readonly issueState: Schema.Struct<{
5379
5112
  readonly issueId: Schema.String;
5380
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
5381
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
5382
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
5383
- readonly uatNotes: Schema.optional<Schema.String>;
5384
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
5385
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
5386
- readonly releaseNotes: Schema.optional<Schema.String>;
5387
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
5388
- readonly verificationNotes: Schema.optional<Schema.String>;
5389
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
5390
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
5391
- readonly updatedAt: Schema.optional<Schema.String>;
5392
- readonly prUrl: Schema.optional<Schema.String>;
5393
- readonly stuck: Schema.optional<Schema.Boolean>;
5394
- readonly stuckReason: Schema.optional<Schema.String>;
5395
- readonly stuckAt: Schema.optional<Schema.String>;
5396
- readonly stuckDetails: Schema.optional<Schema.String>;
5397
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
5398
- readonly cycle: Schema.Number;
5399
- readonly runId: Schema.String;
5400
- readonly atCommit: Schema.optional<Schema.String>;
5401
- readonly blockingCount: Schema.Number;
5402
- readonly recordedAt: Schema.String;
5403
- }>>>;
5404
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
5405
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
5406
- readonly mergeStep: Schema.optional<Schema.String>;
5407
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
5408
- readonly testRetryCount: Schema.optional<Schema.Number>;
5409
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
5410
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
5411
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
5412
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
5413
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
5414
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
5415
- readonly autoMerge: Schema.optional<Schema.Boolean>;
5416
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
5417
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
5418
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
5419
- readonly queuePosition: Schema.optional<Schema.Number>;
5420
- readonly activeSpecialist: Schema.optional<Schema.String>;
5421
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
5422
- readonly mergeNotes: Schema.optional<Schema.String>;
5423
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
5424
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
5425
- readonly summary: Schema.String;
5426
- readonly details: Schema.optional<Schema.String>;
5427
- readonly detectedAt: Schema.String;
5428
- }>>>;
5113
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
5114
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
5115
+ readonly pr: Schema.optional<Schema.Struct<{
5116
+ readonly url: Schema.String;
5117
+ readonly number: Schema.Number;
5118
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
5119
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
5120
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
5121
+ }>>;
5122
+ readonly branch: Schema.optional<Schema.Struct<{
5123
+ readonly name: Schema.String;
5124
+ readonly aheadOfMain: Schema.Number;
5125
+ readonly pushed: Schema.Boolean;
5126
+ }>>;
5127
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
5429
5128
  }>;
5430
5129
  }>;
5431
5130
  }>, Schema.Struct<{
5432
- readonly type: Schema.Literal<"merge.ready">;
5131
+ readonly type: Schema.Literal<"backend_pane.changed">;
5433
5132
  readonly sequence: Schema.Number;
5434
5133
  readonly timestamp: Schema.String;
5435
5134
  readonly payload: Schema.Struct<{
5436
- readonly issueId: Schema.String;
5437
- readonly workspaceId: Schema.optional<Schema.String>;
5135
+ readonly pane: Schema.Struct<{
5136
+ readonly id: Schema.String;
5137
+ readonly issue: Schema.optional<Schema.String>;
5138
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
5139
+ readonly harness: Schema.String;
5140
+ readonly model: Schema.String;
5141
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
5142
+ readonly stateSince: Schema.optional<Schema.Number>;
5143
+ readonly terminalId: Schema.optional<Schema.String>;
5144
+ readonly workspace: Schema.optional<Schema.String>;
5145
+ }>;
5146
+ }>;
5147
+ }>, Schema.Struct<{
5148
+ readonly type: Schema.Literal<"backend_pane.removed">;
5149
+ readonly sequence: Schema.Number;
5150
+ readonly timestamp: Schema.String;
5151
+ readonly payload: Schema.Struct<{
5152
+ readonly paneId: Schema.String;
5438
5153
  }>;
5439
5154
  }>, Schema.Struct<{
5440
- readonly type: Schema.Literal<"review.status_changed">;
5155
+ readonly type: Schema.Literal<"merge.ready">;
5441
5156
  readonly sequence: Schema.Number;
5442
5157
  readonly timestamp: Schema.String;
5443
5158
  readonly payload: Schema.Struct<{
5444
5159
  readonly issueId: Schema.String;
5445
5160
  readonly workspaceId: Schema.optional<Schema.String>;
5446
- readonly status: Schema.Struct<{
5447
- readonly issueId: Schema.String;
5448
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
5449
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
5450
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
5451
- readonly uatNotes: Schema.optional<Schema.String>;
5452
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
5453
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
5454
- readonly releaseNotes: Schema.optional<Schema.String>;
5455
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
5456
- readonly verificationNotes: Schema.optional<Schema.String>;
5457
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
5458
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
5459
- readonly updatedAt: Schema.optional<Schema.String>;
5460
- readonly prUrl: Schema.optional<Schema.String>;
5461
- readonly stuck: Schema.optional<Schema.Boolean>;
5462
- readonly stuckReason: Schema.optional<Schema.String>;
5463
- readonly stuckAt: Schema.optional<Schema.String>;
5464
- readonly stuckDetails: Schema.optional<Schema.String>;
5465
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
5466
- readonly cycle: Schema.Number;
5467
- readonly runId: Schema.String;
5468
- readonly atCommit: Schema.optional<Schema.String>;
5469
- readonly blockingCount: Schema.Number;
5470
- readonly recordedAt: Schema.String;
5471
- }>>>;
5472
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
5473
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
5474
- readonly mergeStep: Schema.optional<Schema.String>;
5475
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
5476
- readonly testRetryCount: Schema.optional<Schema.Number>;
5477
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
5478
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
5479
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
5480
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
5481
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
5482
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
5483
- readonly autoMerge: Schema.optional<Schema.Boolean>;
5484
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
5485
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
5486
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
5487
- readonly queuePosition: Schema.optional<Schema.Number>;
5488
- readonly activeSpecialist: Schema.optional<Schema.String>;
5489
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
5490
- readonly mergeNotes: Schema.optional<Schema.String>;
5491
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
5492
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
5493
- readonly summary: Schema.String;
5494
- readonly details: Schema.optional<Schema.String>;
5495
- readonly detectedAt: Schema.String;
5496
- }>>>;
5497
- }>;
5498
5161
  }>;
5499
5162
  }>, Schema.Struct<{
5500
5163
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -6834,132 +6497,60 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6834
6497
  readonly items: Schema.$Array<Schema.String>;
6835
6498
  }>;
6836
6499
  }>, Schema.Struct<{
6837
- readonly type: Schema.Literal<"pipeline.status_changed">;
6500
+ readonly type: Schema.Literal<"issue_state.changed">;
6838
6501
  readonly sequence: Schema.Number;
6839
6502
  readonly timestamp: Schema.String;
6840
6503
  readonly payload: Schema.Struct<{
6841
- readonly issueId: Schema.String;
6842
- readonly workspaceId: Schema.optional<Schema.String>;
6843
- readonly status: Schema.Struct<{
6504
+ readonly issueState: Schema.Struct<{
6844
6505
  readonly issueId: Schema.String;
6845
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
6846
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
6847
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
6848
- readonly uatNotes: Schema.optional<Schema.String>;
6849
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
6850
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
6851
- readonly releaseNotes: Schema.optional<Schema.String>;
6852
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
6853
- readonly verificationNotes: Schema.optional<Schema.String>;
6854
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
6855
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
6856
- readonly updatedAt: Schema.optional<Schema.String>;
6857
- readonly prUrl: Schema.optional<Schema.String>;
6858
- readonly stuck: Schema.optional<Schema.Boolean>;
6859
- readonly stuckReason: Schema.optional<Schema.String>;
6860
- readonly stuckAt: Schema.optional<Schema.String>;
6861
- readonly stuckDetails: Schema.optional<Schema.String>;
6862
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
6863
- readonly cycle: Schema.Number;
6864
- readonly runId: Schema.String;
6865
- readonly atCommit: Schema.optional<Schema.String>;
6866
- readonly blockingCount: Schema.Number;
6867
- readonly recordedAt: Schema.String;
6868
- }>>>;
6869
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
6870
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
6871
- readonly mergeStep: Schema.optional<Schema.String>;
6872
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
6873
- readonly testRetryCount: Schema.optional<Schema.Number>;
6874
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
6875
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
6876
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
6877
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
6878
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
6879
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
6880
- readonly autoMerge: Schema.optional<Schema.Boolean>;
6881
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
6882
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
6883
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
6884
- readonly queuePosition: Schema.optional<Schema.Number>;
6885
- readonly activeSpecialist: Schema.optional<Schema.String>;
6886
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
6887
- readonly mergeNotes: Schema.optional<Schema.String>;
6888
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
6889
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
6890
- readonly summary: Schema.String;
6891
- readonly details: Schema.optional<Schema.String>;
6892
- readonly detectedAt: Schema.String;
6893
- }>>>;
6506
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
6507
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
6508
+ readonly pr: Schema.optional<Schema.Struct<{
6509
+ readonly url: Schema.String;
6510
+ readonly number: Schema.Number;
6511
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
6512
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
6513
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
6514
+ }>>;
6515
+ readonly branch: Schema.optional<Schema.Struct<{
6516
+ readonly name: Schema.String;
6517
+ readonly aheadOfMain: Schema.Number;
6518
+ readonly pushed: Schema.Boolean;
6519
+ }>>;
6520
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
6894
6521
  }>;
6895
6522
  }>;
6896
6523
  }>, Schema.Struct<{
6897
- readonly type: Schema.Literal<"merge.ready">;
6524
+ readonly type: Schema.Literal<"backend_pane.changed">;
6898
6525
  readonly sequence: Schema.Number;
6899
6526
  readonly timestamp: Schema.String;
6900
6527
  readonly payload: Schema.Struct<{
6901
- readonly issueId: Schema.String;
6902
- readonly workspaceId: Schema.optional<Schema.String>;
6528
+ readonly pane: Schema.Struct<{
6529
+ readonly id: Schema.String;
6530
+ readonly issue: Schema.optional<Schema.String>;
6531
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
6532
+ readonly harness: Schema.String;
6533
+ readonly model: Schema.String;
6534
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
6535
+ readonly stateSince: Schema.optional<Schema.Number>;
6536
+ readonly terminalId: Schema.optional<Schema.String>;
6537
+ readonly workspace: Schema.optional<Schema.String>;
6538
+ }>;
6903
6539
  }>;
6904
6540
  }>, Schema.Struct<{
6905
- readonly type: Schema.Literal<"review.status_changed">;
6541
+ readonly type: Schema.Literal<"backend_pane.removed">;
6542
+ readonly sequence: Schema.Number;
6543
+ readonly timestamp: Schema.String;
6544
+ readonly payload: Schema.Struct<{
6545
+ readonly paneId: Schema.String;
6546
+ }>;
6547
+ }>, Schema.Struct<{
6548
+ readonly type: Schema.Literal<"merge.ready">;
6906
6549
  readonly sequence: Schema.Number;
6907
6550
  readonly timestamp: Schema.String;
6908
6551
  readonly payload: Schema.Struct<{
6909
6552
  readonly issueId: Schema.String;
6910
6553
  readonly workspaceId: Schema.optional<Schema.String>;
6911
- readonly status: Schema.Struct<{
6912
- readonly issueId: Schema.String;
6913
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
6914
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
6915
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
6916
- readonly uatNotes: Schema.optional<Schema.String>;
6917
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
6918
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
6919
- readonly releaseNotes: Schema.optional<Schema.String>;
6920
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
6921
- readonly verificationNotes: Schema.optional<Schema.String>;
6922
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
6923
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
6924
- readonly updatedAt: Schema.optional<Schema.String>;
6925
- readonly prUrl: Schema.optional<Schema.String>;
6926
- readonly stuck: Schema.optional<Schema.Boolean>;
6927
- readonly stuckReason: Schema.optional<Schema.String>;
6928
- readonly stuckAt: Schema.optional<Schema.String>;
6929
- readonly stuckDetails: Schema.optional<Schema.String>;
6930
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
6931
- readonly cycle: Schema.Number;
6932
- readonly runId: Schema.String;
6933
- readonly atCommit: Schema.optional<Schema.String>;
6934
- readonly blockingCount: Schema.Number;
6935
- readonly recordedAt: Schema.String;
6936
- }>>>;
6937
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
6938
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
6939
- readonly mergeStep: Schema.optional<Schema.String>;
6940
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
6941
- readonly testRetryCount: Schema.optional<Schema.Number>;
6942
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
6943
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
6944
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
6945
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
6946
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
6947
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
6948
- readonly autoMerge: Schema.optional<Schema.Boolean>;
6949
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
6950
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
6951
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
6952
- readonly queuePosition: Schema.optional<Schema.Number>;
6953
- readonly activeSpecialist: Schema.optional<Schema.String>;
6954
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
6955
- readonly mergeNotes: Schema.optional<Schema.String>;
6956
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
6957
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
6958
- readonly summary: Schema.String;
6959
- readonly details: Schema.optional<Schema.String>;
6960
- readonly detectedAt: Schema.String;
6961
- }>>>;
6962
- }>;
6963
6554
  }>;
6964
6555
  }>, Schema.Struct<{
6965
6556
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -7766,57 +7357,34 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
7766
7357
  readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
7767
7358
  }>>;
7768
7359
  readonly specialists: Schema.$Array<Schema.Unknown>;
7769
- readonly reviewStatuses: Schema.$Array<Schema.Struct<{
7770
- readonly issueId: Schema.String;
7771
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
7772
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
7773
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
7774
- readonly uatNotes: Schema.optional<Schema.String>;
7775
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
7776
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
7777
- readonly releaseNotes: Schema.optional<Schema.String>;
7778
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
7779
- readonly verificationNotes: Schema.optional<Schema.String>;
7780
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
7781
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
7782
- readonly updatedAt: Schema.optional<Schema.String>;
7783
- readonly prUrl: Schema.optional<Schema.String>;
7784
- readonly stuck: Schema.optional<Schema.Boolean>;
7785
- readonly stuckReason: Schema.optional<Schema.String>;
7786
- readonly stuckAt: Schema.optional<Schema.String>;
7787
- readonly stuckDetails: Schema.optional<Schema.String>;
7788
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
7789
- readonly cycle: Schema.Number;
7790
- readonly runId: Schema.String;
7791
- readonly atCommit: Schema.optional<Schema.String>;
7792
- readonly blockingCount: Schema.Number;
7793
- readonly recordedAt: Schema.String;
7794
- }>>>;
7795
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
7796
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
7797
- readonly mergeStep: Schema.optional<Schema.String>;
7798
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
7799
- readonly testRetryCount: Schema.optional<Schema.Number>;
7800
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
7801
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
7802
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
7803
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
7804
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
7805
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
7806
- readonly autoMerge: Schema.optional<Schema.Boolean>;
7807
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
7808
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
7809
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
7810
- readonly queuePosition: Schema.optional<Schema.Number>;
7811
- readonly activeSpecialist: Schema.optional<Schema.String>;
7812
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
7813
- readonly mergeNotes: Schema.optional<Schema.String>;
7814
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
7815
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
7816
- readonly summary: Schema.String;
7817
- readonly details: Schema.optional<Schema.String>;
7818
- readonly detectedAt: Schema.String;
7819
- }>>>;
7360
+ readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
7361
+ readonly issueId: Schema.String;
7362
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
7363
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
7364
+ readonly pr: Schema.optional<Schema.Struct<{
7365
+ readonly url: Schema.String;
7366
+ readonly number: Schema.Number;
7367
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
7368
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
7369
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
7370
+ }>>;
7371
+ readonly branch: Schema.optional<Schema.Struct<{
7372
+ readonly name: Schema.String;
7373
+ readonly aheadOfMain: Schema.Number;
7374
+ readonly pushed: Schema.Boolean;
7375
+ }>>;
7376
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
7377
+ }>>;
7378
+ readonly backendPanes: Schema.$Array<Schema.Struct<{
7379
+ readonly id: Schema.String;
7380
+ readonly issue: Schema.optional<Schema.String>;
7381
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
7382
+ readonly harness: Schema.String;
7383
+ readonly model: Schema.String;
7384
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
7385
+ readonly stateSince: Schema.optional<Schema.Number>;
7386
+ readonly terminalId: Schema.optional<Schema.String>;
7387
+ readonly workspace: Schema.optional<Schema.String>;
7820
7388
  }>>;
7821
7389
  readonly issues: Schema.$Array<Schema.Unknown>;
7822
7390
  readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
@@ -8543,132 +8111,60 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8543
8111
  readonly items: Schema.$Array<Schema.String>;
8544
8112
  }>;
8545
8113
  }>, Schema.Struct<{
8546
- readonly type: Schema.Literal<"pipeline.status_changed">;
8114
+ readonly type: Schema.Literal<"issue_state.changed">;
8547
8115
  readonly sequence: Schema.Number;
8548
8116
  readonly timestamp: Schema.String;
8549
8117
  readonly payload: Schema.Struct<{
8550
- readonly issueId: Schema.String;
8551
- readonly workspaceId: Schema.optional<Schema.String>;
8552
- readonly status: Schema.Struct<{
8118
+ readonly issueState: Schema.Struct<{
8553
8119
  readonly issueId: Schema.String;
8554
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
8555
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
8556
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
8557
- readonly uatNotes: Schema.optional<Schema.String>;
8558
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
8559
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
8560
- readonly releaseNotes: Schema.optional<Schema.String>;
8561
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
8562
- readonly verificationNotes: Schema.optional<Schema.String>;
8563
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
8564
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
8565
- readonly updatedAt: Schema.optional<Schema.String>;
8566
- readonly prUrl: Schema.optional<Schema.String>;
8567
- readonly stuck: Schema.optional<Schema.Boolean>;
8568
- readonly stuckReason: Schema.optional<Schema.String>;
8569
- readonly stuckAt: Schema.optional<Schema.String>;
8570
- readonly stuckDetails: Schema.optional<Schema.String>;
8571
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
8572
- readonly cycle: Schema.Number;
8573
- readonly runId: Schema.String;
8574
- readonly atCommit: Schema.optional<Schema.String>;
8575
- readonly blockingCount: Schema.Number;
8576
- readonly recordedAt: Schema.String;
8577
- }>>>;
8578
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
8579
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
8580
- readonly mergeStep: Schema.optional<Schema.String>;
8581
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
8582
- readonly testRetryCount: Schema.optional<Schema.Number>;
8583
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
8584
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
8585
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
8586
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
8587
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
8588
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
8589
- readonly autoMerge: Schema.optional<Schema.Boolean>;
8590
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
8591
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
8592
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
8593
- readonly queuePosition: Schema.optional<Schema.Number>;
8594
- readonly activeSpecialist: Schema.optional<Schema.String>;
8595
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
8596
- readonly mergeNotes: Schema.optional<Schema.String>;
8597
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
8598
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
8599
- readonly summary: Schema.String;
8600
- readonly details: Schema.optional<Schema.String>;
8601
- readonly detectedAt: Schema.String;
8602
- }>>>;
8120
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
8121
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
8122
+ readonly pr: Schema.optional<Schema.Struct<{
8123
+ readonly url: Schema.String;
8124
+ readonly number: Schema.Number;
8125
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
8126
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
8127
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
8128
+ }>>;
8129
+ readonly branch: Schema.optional<Schema.Struct<{
8130
+ readonly name: Schema.String;
8131
+ readonly aheadOfMain: Schema.Number;
8132
+ readonly pushed: Schema.Boolean;
8133
+ }>>;
8134
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
8603
8135
  }>;
8604
8136
  }>;
8605
8137
  }>, Schema.Struct<{
8606
- readonly type: Schema.Literal<"merge.ready">;
8138
+ readonly type: Schema.Literal<"backend_pane.changed">;
8607
8139
  readonly sequence: Schema.Number;
8608
8140
  readonly timestamp: Schema.String;
8609
8141
  readonly payload: Schema.Struct<{
8610
- readonly issueId: Schema.String;
8611
- readonly workspaceId: Schema.optional<Schema.String>;
8142
+ readonly pane: Schema.Struct<{
8143
+ readonly id: Schema.String;
8144
+ readonly issue: Schema.optional<Schema.String>;
8145
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
8146
+ readonly harness: Schema.String;
8147
+ readonly model: Schema.String;
8148
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
8149
+ readonly stateSince: Schema.optional<Schema.Number>;
8150
+ readonly terminalId: Schema.optional<Schema.String>;
8151
+ readonly workspace: Schema.optional<Schema.String>;
8152
+ }>;
8612
8153
  }>;
8613
8154
  }>, Schema.Struct<{
8614
- readonly type: Schema.Literal<"review.status_changed">;
8155
+ readonly type: Schema.Literal<"backend_pane.removed">;
8156
+ readonly sequence: Schema.Number;
8157
+ readonly timestamp: Schema.String;
8158
+ readonly payload: Schema.Struct<{
8159
+ readonly paneId: Schema.String;
8160
+ }>;
8161
+ }>, Schema.Struct<{
8162
+ readonly type: Schema.Literal<"merge.ready">;
8615
8163
  readonly sequence: Schema.Number;
8616
8164
  readonly timestamp: Schema.String;
8617
8165
  readonly payload: Schema.Struct<{
8618
8166
  readonly issueId: Schema.String;
8619
8167
  readonly workspaceId: Schema.optional<Schema.String>;
8620
- readonly status: Schema.Struct<{
8621
- readonly issueId: Schema.String;
8622
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
8623
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
8624
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
8625
- readonly uatNotes: Schema.optional<Schema.String>;
8626
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
8627
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
8628
- readonly releaseNotes: Schema.optional<Schema.String>;
8629
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
8630
- readonly verificationNotes: Schema.optional<Schema.String>;
8631
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
8632
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
8633
- readonly updatedAt: Schema.optional<Schema.String>;
8634
- readonly prUrl: Schema.optional<Schema.String>;
8635
- readonly stuck: Schema.optional<Schema.Boolean>;
8636
- readonly stuckReason: Schema.optional<Schema.String>;
8637
- readonly stuckAt: Schema.optional<Schema.String>;
8638
- readonly stuckDetails: Schema.optional<Schema.String>;
8639
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
8640
- readonly cycle: Schema.Number;
8641
- readonly runId: Schema.String;
8642
- readonly atCommit: Schema.optional<Schema.String>;
8643
- readonly blockingCount: Schema.Number;
8644
- readonly recordedAt: Schema.String;
8645
- }>>>;
8646
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
8647
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
8648
- readonly mergeStep: Schema.optional<Schema.String>;
8649
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
8650
- readonly testRetryCount: Schema.optional<Schema.Number>;
8651
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
8652
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
8653
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
8654
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
8655
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
8656
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
8657
- readonly autoMerge: Schema.optional<Schema.Boolean>;
8658
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
8659
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
8660
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
8661
- readonly queuePosition: Schema.optional<Schema.Number>;
8662
- readonly activeSpecialist: Schema.optional<Schema.String>;
8663
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
8664
- readonly mergeNotes: Schema.optional<Schema.String>;
8665
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
8666
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
8667
- readonly summary: Schema.String;
8668
- readonly details: Schema.optional<Schema.String>;
8669
- readonly detectedAt: Schema.String;
8670
- }>>>;
8671
- }>;
8672
8168
  }>;
8673
8169
  }>, Schema.Struct<{
8674
8170
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -9420,16 +8916,6 @@ declare const TerminalResizeRpc: Rpc.Rpc<"pan.terminalResize", Schema.Struct<{
9420
8916
  declare const TerminalCloseRpc: Rpc.Rpc<"pan.terminalClose", Schema.Struct<{
9421
8917
  readonly sessionName: Schema.String;
9422
8918
  }>, Schema.Void, typeof PanRpcError, never, never>;
9423
- /** 10. Get batched workspace detail (unary) — replaces 5 separate HTTP calls */
9424
- declare const GetWorkspaceDetailRpc: Rpc.Rpc<"pan.getWorkspaceDetail", Schema.Struct<{
9425
- readonly issueId: Schema.String;
9426
- }>, Schema.Struct<{
9427
- readonly workspace: Schema.Unknown;
9428
- readonly reviewStatus: Schema.Unknown;
9429
- readonly planning: Schema.Unknown;
9430
- readonly costs: Schema.Unknown;
9431
- readonly agentOutput: Schema.$Array<Schema.String>;
9432
- }>, typeof PanRpcError, never, never>;
9433
8919
  declare const ReadWorkspaceFileInput: Schema.Struct<{
9434
8920
  readonly issueId: Schema.String;
9435
8921
  readonly relativePath: Schema.String;
@@ -9666,90 +9152,6 @@ declare const SubscribeProjectSessionTreeRpc: Rpc.Rpc<"pan.subscribeProjectSessi
9666
9152
  readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
9667
9153
  readonly timestamp: Schema.String;
9668
9154
  }>, typeof PanRpcError>, Schema.Never, never, never>;
9669
- /** 18. Subscribe to latest Flywheel status snapshots (stream) */
9670
- declare const SubscribeFlywheelStatusRpc: Rpc.Rpc<"pan.subscribeFlywheelStatus", Schema.Struct<{}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.NullOr<Schema.Struct<{
9671
- readonly runId: Schema.String;
9672
- readonly startedAt: Schema.String;
9673
- readonly elapsedMs: Schema.Number;
9674
- readonly orchestrator: Schema.Struct<{
9675
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
9676
- readonly model: Schema.String;
9677
- readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
9678
- readonly ctxPercent: Schema.Number;
9679
- }>;
9680
- readonly headline: Schema.Struct<{
9681
- readonly bugsFixed: Schema.Number;
9682
- readonly swarmItemsMerged: Schema.Number;
9683
- readonly swarmItemsTotal: Schema.Number;
9684
- readonly prsMerged: Schema.Number;
9685
- readonly awaitingUat: Schema.Number;
9686
- }>;
9687
- readonly activePipeline: Schema.$Array<Schema.Struct<{
9688
- readonly issueId: Schema.String;
9689
- readonly title: Schema.String;
9690
- readonly verb: Schema.Literals<readonly ["planning", "working", "reviewing", "testing", "shipping", "merging", "blocked", "parked"]>;
9691
- readonly status: Schema.Literals<readonly ["queued", "running", "blocked", "passed", "failed", "merged", "parked"]>;
9692
- readonly progressPercent: Schema.optional<Schema.Number>;
9693
- readonly agentId: Schema.optional<Schema.String>;
9694
- readonly pr: Schema.optional<Schema.Number>;
9695
- readonly mergeOrder: Schema.optional<Schema.Number>;
9696
- readonly conflictsWith: Schema.optional<Schema.$Array<Schema.String>>;
9697
- }>>;
9698
- readonly substrateBugs: Schema.$Array<Schema.Struct<{
9699
- readonly issueId: Schema.String;
9700
- readonly title: Schema.String;
9701
- readonly status: Schema.Literals<readonly ["filed", "fixed", "workaround"]>;
9702
- readonly commitSha: Schema.optional<Schema.String>;
9703
- readonly url: Schema.optional<Schema.String>;
9704
- }>>;
9705
- readonly agents: Schema.$Array<Schema.Struct<{
9706
- readonly id: Schema.String;
9707
- readonly label: Schema.String;
9708
- readonly status: Schema.Literals<readonly ["starting", "running", "waiting", "idle", "stopped", "error"]>;
9709
- readonly issueId: Schema.optional<Schema.String>;
9710
- readonly role: Schema.optional<Schema.String>;
9711
- readonly model: Schema.optional<Schema.String>;
9712
- readonly ctxPercent: Schema.optional<Schema.Number>;
9713
- readonly currentAction: Schema.optional<Schema.String>;
9714
- }>>;
9715
- readonly parked: Schema.$Array<Schema.Struct<{
9716
- readonly issueId: Schema.String;
9717
- readonly title: Schema.String;
9718
- readonly reason: Schema.String;
9719
- readonly parkedAt: Schema.optional<Schema.String>;
9720
- }>>;
9721
- readonly suggestions: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Struct<{
9722
- readonly action: Schema.Literals<readonly ["start", "resume", "plan", "review", "merge", "unblock", "park", "investigate", "wait"]>;
9723
- readonly issueId: Schema.optional<Schema.String>;
9724
- readonly rationale: Schema.String;
9725
- readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
9726
- readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
9727
- readonly weight: Schema.optional<Schema.Number>;
9728
- readonly weightReason: Schema.optional<Schema.String>;
9729
- }>>, never>;
9730
- readonly system: Schema.Struct<{
9731
- readonly mainHead: Schema.String;
9732
- readonly ramUsedMb: Schema.Number;
9733
- readonly ramTotalMb: Schema.Number;
9734
- readonly swapUsedMb: Schema.Number;
9735
- readonly swapTotalMb: Schema.Number;
9736
- readonly agentsActive: Schema.Number;
9737
- readonly agentsCap: Schema.Number;
9738
- }>;
9739
- readonly openQuestions: Schema.$Array<Schema.String>;
9740
- readonly orders: Schema.optional<Schema.Struct<{
9741
- readonly bookId: Schema.String;
9742
- readonly bookName: Schema.String;
9743
- readonly landed: Schema.Number;
9744
- readonly total: Schema.Number;
9745
- readonly laneAInFlight: Schema.$Array<Schema.String>;
9746
- readonly laneBInFlight: Schema.optional<Schema.String>;
9747
- readonly drained: Schema.Boolean;
9748
- }>>;
9749
- readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
9750
- readonly ticks: Schema.Number;
9751
- readonly lastTickAt: Schema.String;
9752
- }>>, typeof PanRpcError>, Schema.Never, never, never>;
9753
9155
  /** 19. Open a workspace in an editor (PAN-966) */
9754
9156
  declare const ShellOpenInEditorRpc: Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
9755
9157
  readonly cwd: Schema.String;
@@ -10796,132 +10198,60 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10796
10198
  readonly items: Schema.$Array<Schema.String>;
10797
10199
  }>;
10798
10200
  }>, Schema.Struct<{
10799
- readonly type: Schema.Literal<"pipeline.status_changed">;
10201
+ readonly type: Schema.Literal<"issue_state.changed">;
10800
10202
  readonly sequence: Schema.Number;
10801
10203
  readonly timestamp: Schema.String;
10802
10204
  readonly payload: Schema.Struct<{
10803
- readonly issueId: Schema.String;
10804
- readonly workspaceId: Schema.optional<Schema.String>;
10805
- readonly status: Schema.Struct<{
10205
+ readonly issueState: Schema.Struct<{
10806
10206
  readonly issueId: Schema.String;
10807
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
10808
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
10809
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
10810
- readonly uatNotes: Schema.optional<Schema.String>;
10811
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
10812
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
10813
- readonly releaseNotes: Schema.optional<Schema.String>;
10814
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
10815
- readonly verificationNotes: Schema.optional<Schema.String>;
10816
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
10817
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
10818
- readonly updatedAt: Schema.optional<Schema.String>;
10819
- readonly prUrl: Schema.optional<Schema.String>;
10820
- readonly stuck: Schema.optional<Schema.Boolean>;
10821
- readonly stuckReason: Schema.optional<Schema.String>;
10822
- readonly stuckAt: Schema.optional<Schema.String>;
10823
- readonly stuckDetails: Schema.optional<Schema.String>;
10824
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
10825
- readonly cycle: Schema.Number;
10826
- readonly runId: Schema.String;
10827
- readonly atCommit: Schema.optional<Schema.String>;
10828
- readonly blockingCount: Schema.Number;
10829
- readonly recordedAt: Schema.String;
10830
- }>>>;
10831
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
10832
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
10833
- readonly mergeStep: Schema.optional<Schema.String>;
10834
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
10835
- readonly testRetryCount: Schema.optional<Schema.Number>;
10836
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
10837
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
10838
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
10839
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
10840
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
10841
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
10842
- readonly autoMerge: Schema.optional<Schema.Boolean>;
10843
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
10844
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
10845
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
10846
- readonly queuePosition: Schema.optional<Schema.Number>;
10847
- readonly activeSpecialist: Schema.optional<Schema.String>;
10848
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
10849
- readonly mergeNotes: Schema.optional<Schema.String>;
10850
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
10851
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
10852
- readonly summary: Schema.String;
10853
- readonly details: Schema.optional<Schema.String>;
10854
- readonly detectedAt: Schema.String;
10855
- }>>>;
10207
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
10208
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
10209
+ readonly pr: Schema.optional<Schema.Struct<{
10210
+ readonly url: Schema.String;
10211
+ readonly number: Schema.Number;
10212
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
10213
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
10214
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
10215
+ }>>;
10216
+ readonly branch: Schema.optional<Schema.Struct<{
10217
+ readonly name: Schema.String;
10218
+ readonly aheadOfMain: Schema.Number;
10219
+ readonly pushed: Schema.Boolean;
10220
+ }>>;
10221
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
10856
10222
  }>;
10857
10223
  }>;
10858
10224
  }>, Schema.Struct<{
10859
- readonly type: Schema.Literal<"merge.ready">;
10225
+ readonly type: Schema.Literal<"backend_pane.changed">;
10860
10226
  readonly sequence: Schema.Number;
10861
10227
  readonly timestamp: Schema.String;
10862
10228
  readonly payload: Schema.Struct<{
10863
- readonly issueId: Schema.String;
10864
- readonly workspaceId: Schema.optional<Schema.String>;
10229
+ readonly pane: Schema.Struct<{
10230
+ readonly id: Schema.String;
10231
+ readonly issue: Schema.optional<Schema.String>;
10232
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
10233
+ readonly harness: Schema.String;
10234
+ readonly model: Schema.String;
10235
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
10236
+ readonly stateSince: Schema.optional<Schema.Number>;
10237
+ readonly terminalId: Schema.optional<Schema.String>;
10238
+ readonly workspace: Schema.optional<Schema.String>;
10239
+ }>;
10240
+ }>;
10241
+ }>, Schema.Struct<{
10242
+ readonly type: Schema.Literal<"backend_pane.removed">;
10243
+ readonly sequence: Schema.Number;
10244
+ readonly timestamp: Schema.String;
10245
+ readonly payload: Schema.Struct<{
10246
+ readonly paneId: Schema.String;
10865
10247
  }>;
10866
10248
  }>, Schema.Struct<{
10867
- readonly type: Schema.Literal<"review.status_changed">;
10249
+ readonly type: Schema.Literal<"merge.ready">;
10868
10250
  readonly sequence: Schema.Number;
10869
10251
  readonly timestamp: Schema.String;
10870
10252
  readonly payload: Schema.Struct<{
10871
10253
  readonly issueId: Schema.String;
10872
10254
  readonly workspaceId: Schema.optional<Schema.String>;
10873
- readonly status: Schema.Struct<{
10874
- readonly issueId: Schema.String;
10875
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
10876
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
10877
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
10878
- readonly uatNotes: Schema.optional<Schema.String>;
10879
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
10880
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
10881
- readonly releaseNotes: Schema.optional<Schema.String>;
10882
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
10883
- readonly verificationNotes: Schema.optional<Schema.String>;
10884
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
10885
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
10886
- readonly updatedAt: Schema.optional<Schema.String>;
10887
- readonly prUrl: Schema.optional<Schema.String>;
10888
- readonly stuck: Schema.optional<Schema.Boolean>;
10889
- readonly stuckReason: Schema.optional<Schema.String>;
10890
- readonly stuckAt: Schema.optional<Schema.String>;
10891
- readonly stuckDetails: Schema.optional<Schema.String>;
10892
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
10893
- readonly cycle: Schema.Number;
10894
- readonly runId: Schema.String;
10895
- readonly atCommit: Schema.optional<Schema.String>;
10896
- readonly blockingCount: Schema.Number;
10897
- readonly recordedAt: Schema.String;
10898
- }>>>;
10899
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
10900
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
10901
- readonly mergeStep: Schema.optional<Schema.String>;
10902
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
10903
- readonly testRetryCount: Schema.optional<Schema.Number>;
10904
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
10905
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
10906
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
10907
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
10908
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
10909
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
10910
- readonly autoMerge: Schema.optional<Schema.Boolean>;
10911
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
10912
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
10913
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
10914
- readonly queuePosition: Schema.optional<Schema.Number>;
10915
- readonly activeSpecialist: Schema.optional<Schema.String>;
10916
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
10917
- readonly mergeNotes: Schema.optional<Schema.String>;
10918
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
10919
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
10920
- readonly summary: Schema.String;
10921
- readonly details: Schema.optional<Schema.String>;
10922
- readonly detectedAt: Schema.String;
10923
- }>>>;
10924
- }>;
10925
10255
  }>;
10926
10256
  }>, Schema.Struct<{
10927
10257
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -12259,132 +11589,60 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12259
11589
  readonly items: Schema.$Array<Schema.String>;
12260
11590
  }>;
12261
11591
  }>, Schema.Struct<{
12262
- readonly type: Schema.Literal<"pipeline.status_changed">;
11592
+ readonly type: Schema.Literal<"issue_state.changed">;
12263
11593
  readonly sequence: Schema.Number;
12264
11594
  readonly timestamp: Schema.String;
12265
11595
  readonly payload: Schema.Struct<{
12266
- readonly issueId: Schema.String;
12267
- readonly workspaceId: Schema.optional<Schema.String>;
12268
- readonly status: Schema.Struct<{
11596
+ readonly issueState: Schema.Struct<{
12269
11597
  readonly issueId: Schema.String;
12270
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
12271
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
12272
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
12273
- readonly uatNotes: Schema.optional<Schema.String>;
12274
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
12275
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
12276
- readonly releaseNotes: Schema.optional<Schema.String>;
12277
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
12278
- readonly verificationNotes: Schema.optional<Schema.String>;
12279
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
12280
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
12281
- readonly updatedAt: Schema.optional<Schema.String>;
12282
- readonly prUrl: Schema.optional<Schema.String>;
12283
- readonly stuck: Schema.optional<Schema.Boolean>;
12284
- readonly stuckReason: Schema.optional<Schema.String>;
12285
- readonly stuckAt: Schema.optional<Schema.String>;
12286
- readonly stuckDetails: Schema.optional<Schema.String>;
12287
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
12288
- readonly cycle: Schema.Number;
12289
- readonly runId: Schema.String;
12290
- readonly atCommit: Schema.optional<Schema.String>;
12291
- readonly blockingCount: Schema.Number;
12292
- readonly recordedAt: Schema.String;
12293
- }>>>;
12294
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
12295
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
12296
- readonly mergeStep: Schema.optional<Schema.String>;
12297
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
12298
- readonly testRetryCount: Schema.optional<Schema.Number>;
12299
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
12300
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
12301
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
12302
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
12303
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
12304
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
12305
- readonly autoMerge: Schema.optional<Schema.Boolean>;
12306
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
12307
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
12308
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
12309
- readonly queuePosition: Schema.optional<Schema.Number>;
12310
- readonly activeSpecialist: Schema.optional<Schema.String>;
12311
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
12312
- readonly mergeNotes: Schema.optional<Schema.String>;
12313
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
12314
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
12315
- readonly summary: Schema.String;
12316
- readonly details: Schema.optional<Schema.String>;
12317
- readonly detectedAt: Schema.String;
12318
- }>>>;
11598
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
11599
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
11600
+ readonly pr: Schema.optional<Schema.Struct<{
11601
+ readonly url: Schema.String;
11602
+ readonly number: Schema.Number;
11603
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
11604
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
11605
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
11606
+ }>>;
11607
+ readonly branch: Schema.optional<Schema.Struct<{
11608
+ readonly name: Schema.String;
11609
+ readonly aheadOfMain: Schema.Number;
11610
+ readonly pushed: Schema.Boolean;
11611
+ }>>;
11612
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
12319
11613
  }>;
12320
11614
  }>;
12321
11615
  }>, Schema.Struct<{
12322
- readonly type: Schema.Literal<"merge.ready">;
11616
+ readonly type: Schema.Literal<"backend_pane.changed">;
12323
11617
  readonly sequence: Schema.Number;
12324
11618
  readonly timestamp: Schema.String;
12325
11619
  readonly payload: Schema.Struct<{
12326
- readonly issueId: Schema.String;
12327
- readonly workspaceId: Schema.optional<Schema.String>;
11620
+ readonly pane: Schema.Struct<{
11621
+ readonly id: Schema.String;
11622
+ readonly issue: Schema.optional<Schema.String>;
11623
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
11624
+ readonly harness: Schema.String;
11625
+ readonly model: Schema.String;
11626
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
11627
+ readonly stateSince: Schema.optional<Schema.Number>;
11628
+ readonly terminalId: Schema.optional<Schema.String>;
11629
+ readonly workspace: Schema.optional<Schema.String>;
11630
+ }>;
12328
11631
  }>;
12329
11632
  }>, Schema.Struct<{
12330
- readonly type: Schema.Literal<"review.status_changed">;
11633
+ readonly type: Schema.Literal<"backend_pane.removed">;
11634
+ readonly sequence: Schema.Number;
11635
+ readonly timestamp: Schema.String;
11636
+ readonly payload: Schema.Struct<{
11637
+ readonly paneId: Schema.String;
11638
+ }>;
11639
+ }>, Schema.Struct<{
11640
+ readonly type: Schema.Literal<"merge.ready">;
12331
11641
  readonly sequence: Schema.Number;
12332
11642
  readonly timestamp: Schema.String;
12333
11643
  readonly payload: Schema.Struct<{
12334
11644
  readonly issueId: Schema.String;
12335
11645
  readonly workspaceId: Schema.optional<Schema.String>;
12336
- readonly status: Schema.Struct<{
12337
- readonly issueId: Schema.String;
12338
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
12339
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
12340
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
12341
- readonly uatNotes: Schema.optional<Schema.String>;
12342
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
12343
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
12344
- readonly releaseNotes: Schema.optional<Schema.String>;
12345
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
12346
- readonly verificationNotes: Schema.optional<Schema.String>;
12347
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
12348
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
12349
- readonly updatedAt: Schema.optional<Schema.String>;
12350
- readonly prUrl: Schema.optional<Schema.String>;
12351
- readonly stuck: Schema.optional<Schema.Boolean>;
12352
- readonly stuckReason: Schema.optional<Schema.String>;
12353
- readonly stuckAt: Schema.optional<Schema.String>;
12354
- readonly stuckDetails: Schema.optional<Schema.String>;
12355
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
12356
- readonly cycle: Schema.Number;
12357
- readonly runId: Schema.String;
12358
- readonly atCommit: Schema.optional<Schema.String>;
12359
- readonly blockingCount: Schema.Number;
12360
- readonly recordedAt: Schema.String;
12361
- }>>>;
12362
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
12363
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
12364
- readonly mergeStep: Schema.optional<Schema.String>;
12365
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
12366
- readonly testRetryCount: Schema.optional<Schema.Number>;
12367
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
12368
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
12369
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
12370
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
12371
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
12372
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
12373
- readonly autoMerge: Schema.optional<Schema.Boolean>;
12374
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
12375
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
12376
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
12377
- readonly queuePosition: Schema.optional<Schema.Number>;
12378
- readonly activeSpecialist: Schema.optional<Schema.String>;
12379
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
12380
- readonly mergeNotes: Schema.optional<Schema.String>;
12381
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
12382
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
12383
- readonly summary: Schema.String;
12384
- readonly details: Schema.optional<Schema.String>;
12385
- readonly detectedAt: Schema.String;
12386
- }>>>;
12387
- }>;
12388
11646
  }>;
12389
11647
  }>, Schema.Struct<{
12390
11648
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -13185,57 +12443,34 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13185
12443
  readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
13186
12444
  }>>;
13187
12445
  readonly specialists: Schema.$Array<Schema.Unknown>;
13188
- readonly reviewStatuses: Schema.$Array<Schema.Struct<{
13189
- readonly issueId: Schema.String;
13190
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
13191
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
13192
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
13193
- readonly uatNotes: Schema.optional<Schema.String>;
13194
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
13195
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
13196
- readonly releaseNotes: Schema.optional<Schema.String>;
13197
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
13198
- readonly verificationNotes: Schema.optional<Schema.String>;
13199
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
13200
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
13201
- readonly updatedAt: Schema.optional<Schema.String>;
13202
- readonly prUrl: Schema.optional<Schema.String>;
13203
- readonly stuck: Schema.optional<Schema.Boolean>;
13204
- readonly stuckReason: Schema.optional<Schema.String>;
13205
- readonly stuckAt: Schema.optional<Schema.String>;
13206
- readonly stuckDetails: Schema.optional<Schema.String>;
13207
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
13208
- readonly cycle: Schema.Number;
13209
- readonly runId: Schema.String;
13210
- readonly atCommit: Schema.optional<Schema.String>;
13211
- readonly blockingCount: Schema.Number;
13212
- readonly recordedAt: Schema.String;
13213
- }>>>;
13214
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
13215
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
13216
- readonly mergeStep: Schema.optional<Schema.String>;
13217
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
13218
- readonly testRetryCount: Schema.optional<Schema.Number>;
13219
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
13220
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
13221
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
13222
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
13223
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
13224
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
13225
- readonly autoMerge: Schema.optional<Schema.Boolean>;
13226
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
13227
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
13228
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
13229
- readonly queuePosition: Schema.optional<Schema.Number>;
13230
- readonly activeSpecialist: Schema.optional<Schema.String>;
13231
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
13232
- readonly mergeNotes: Schema.optional<Schema.String>;
13233
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
13234
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
13235
- readonly summary: Schema.String;
13236
- readonly details: Schema.optional<Schema.String>;
13237
- readonly detectedAt: Schema.String;
13238
- }>>>;
12446
+ readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
12447
+ readonly issueId: Schema.String;
12448
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
12449
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
12450
+ readonly pr: Schema.optional<Schema.Struct<{
12451
+ readonly url: Schema.String;
12452
+ readonly number: Schema.Number;
12453
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
12454
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
12455
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
12456
+ }>>;
12457
+ readonly branch: Schema.optional<Schema.Struct<{
12458
+ readonly name: Schema.String;
12459
+ readonly aheadOfMain: Schema.Number;
12460
+ readonly pushed: Schema.Boolean;
12461
+ }>>;
12462
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
12463
+ }>>;
12464
+ readonly backendPanes: Schema.$Array<Schema.Struct<{
12465
+ readonly id: Schema.String;
12466
+ readonly issue: Schema.optional<Schema.String>;
12467
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
12468
+ readonly harness: Schema.String;
12469
+ readonly model: Schema.String;
12470
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
12471
+ readonly stateSince: Schema.optional<Schema.Number>;
12472
+ readonly terminalId: Schema.optional<Schema.String>;
12473
+ readonly workspace: Schema.optional<Schema.String>;
13239
12474
  }>>;
13240
12475
  readonly issues: Schema.$Array<Schema.Unknown>;
13241
12476
  readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
@@ -13960,132 +13195,60 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13960
13195
  readonly items: Schema.$Array<Schema.String>;
13961
13196
  }>;
13962
13197
  }>, Schema.Struct<{
13963
- readonly type: Schema.Literal<"pipeline.status_changed">;
13198
+ readonly type: Schema.Literal<"issue_state.changed">;
13964
13199
  readonly sequence: Schema.Number;
13965
13200
  readonly timestamp: Schema.String;
13966
13201
  readonly payload: Schema.Struct<{
13967
- readonly issueId: Schema.String;
13968
- readonly workspaceId: Schema.optional<Schema.String>;
13969
- readonly status: Schema.Struct<{
13202
+ readonly issueState: Schema.Struct<{
13970
13203
  readonly issueId: Schema.String;
13971
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
13972
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
13973
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
13974
- readonly uatNotes: Schema.optional<Schema.String>;
13975
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
13976
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
13977
- readonly releaseNotes: Schema.optional<Schema.String>;
13978
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
13979
- readonly verificationNotes: Schema.optional<Schema.String>;
13980
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
13981
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
13982
- readonly updatedAt: Schema.optional<Schema.String>;
13983
- readonly prUrl: Schema.optional<Schema.String>;
13984
- readonly stuck: Schema.optional<Schema.Boolean>;
13985
- readonly stuckReason: Schema.optional<Schema.String>;
13986
- readonly stuckAt: Schema.optional<Schema.String>;
13987
- readonly stuckDetails: Schema.optional<Schema.String>;
13988
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
13989
- readonly cycle: Schema.Number;
13990
- readonly runId: Schema.String;
13991
- readonly atCommit: Schema.optional<Schema.String>;
13992
- readonly blockingCount: Schema.Number;
13993
- readonly recordedAt: Schema.String;
13994
- }>>>;
13995
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
13996
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
13997
- readonly mergeStep: Schema.optional<Schema.String>;
13998
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
13999
- readonly testRetryCount: Schema.optional<Schema.Number>;
14000
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
14001
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
14002
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
14003
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
14004
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
14005
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
14006
- readonly autoMerge: Schema.optional<Schema.Boolean>;
14007
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
14008
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
14009
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
14010
- readonly queuePosition: Schema.optional<Schema.Number>;
14011
- readonly activeSpecialist: Schema.optional<Schema.String>;
14012
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
14013
- readonly mergeNotes: Schema.optional<Schema.String>;
14014
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
14015
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
14016
- readonly summary: Schema.String;
14017
- readonly details: Schema.optional<Schema.String>;
14018
- readonly detectedAt: Schema.String;
14019
- }>>>;
13204
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
13205
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
13206
+ readonly pr: Schema.optional<Schema.Struct<{
13207
+ readonly url: Schema.String;
13208
+ readonly number: Schema.Number;
13209
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
13210
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
13211
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
13212
+ }>>;
13213
+ readonly branch: Schema.optional<Schema.Struct<{
13214
+ readonly name: Schema.String;
13215
+ readonly aheadOfMain: Schema.Number;
13216
+ readonly pushed: Schema.Boolean;
13217
+ }>>;
13218
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
14020
13219
  }>;
14021
13220
  }>;
14022
13221
  }>, Schema.Struct<{
14023
- readonly type: Schema.Literal<"merge.ready">;
13222
+ readonly type: Schema.Literal<"backend_pane.changed">;
14024
13223
  readonly sequence: Schema.Number;
14025
13224
  readonly timestamp: Schema.String;
14026
13225
  readonly payload: Schema.Struct<{
14027
- readonly issueId: Schema.String;
14028
- readonly workspaceId: Schema.optional<Schema.String>;
13226
+ readonly pane: Schema.Struct<{
13227
+ readonly id: Schema.String;
13228
+ readonly issue: Schema.optional<Schema.String>;
13229
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
13230
+ readonly harness: Schema.String;
13231
+ readonly model: Schema.String;
13232
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
13233
+ readonly stateSince: Schema.optional<Schema.Number>;
13234
+ readonly terminalId: Schema.optional<Schema.String>;
13235
+ readonly workspace: Schema.optional<Schema.String>;
13236
+ }>;
14029
13237
  }>;
14030
13238
  }>, Schema.Struct<{
14031
- readonly type: Schema.Literal<"review.status_changed">;
13239
+ readonly type: Schema.Literal<"backend_pane.removed">;
13240
+ readonly sequence: Schema.Number;
13241
+ readonly timestamp: Schema.String;
13242
+ readonly payload: Schema.Struct<{
13243
+ readonly paneId: Schema.String;
13244
+ }>;
13245
+ }>, Schema.Struct<{
13246
+ readonly type: Schema.Literal<"merge.ready">;
14032
13247
  readonly sequence: Schema.Number;
14033
13248
  readonly timestamp: Schema.String;
14034
13249
  readonly payload: Schema.Struct<{
14035
13250
  readonly issueId: Schema.String;
14036
13251
  readonly workspaceId: Schema.optional<Schema.String>;
14037
- readonly status: Schema.Struct<{
14038
- readonly issueId: Schema.String;
14039
- readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
14040
- readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
14041
- readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
14042
- readonly uatNotes: Schema.optional<Schema.String>;
14043
- readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
14044
- readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
14045
- readonly releaseNotes: Schema.optional<Schema.String>;
14046
- readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
14047
- readonly verificationNotes: Schema.optional<Schema.String>;
14048
- readonly verificationCycleCount: Schema.optional<Schema.Number>;
14049
- readonly readyForMerge: Schema.optional<Schema.Boolean>;
14050
- readonly updatedAt: Schema.optional<Schema.String>;
14051
- readonly prUrl: Schema.optional<Schema.String>;
14052
- readonly stuck: Schema.optional<Schema.Boolean>;
14053
- readonly stuckReason: Schema.optional<Schema.String>;
14054
- readonly stuckAt: Schema.optional<Schema.String>;
14055
- readonly stuckDetails: Schema.optional<Schema.String>;
14056
- readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
14057
- readonly cycle: Schema.Number;
14058
- readonly runId: Schema.String;
14059
- readonly atCommit: Schema.optional<Schema.String>;
14060
- readonly blockingCount: Schema.Number;
14061
- readonly recordedAt: Schema.String;
14062
- }>>>;
14063
- readonly reviewedAtCommit: Schema.optional<Schema.String>;
14064
- readonly lastVerifiedCommit: Schema.optional<Schema.String>;
14065
- readonly mergeStep: Schema.optional<Schema.String>;
14066
- readonly reviewSpawnedAt: Schema.optional<Schema.String>;
14067
- readonly testRetryCount: Schema.optional<Schema.Number>;
14068
- readonly reviewRetryCount: Schema.optional<Schema.Number>;
14069
- readonly autoRequeueCount: Schema.optional<Schema.Number>;
14070
- readonly recoveryStartedAt: Schema.optional<Schema.String>;
14071
- readonly deaconIgnored: Schema.optional<Schema.Boolean>;
14072
- readonly deaconIgnoredAt: Schema.optional<Schema.String>;
14073
- readonly deaconIgnoredReason: Schema.optional<Schema.String>;
14074
- readonly autoMerge: Schema.optional<Schema.Boolean>;
14075
- readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
14076
- readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
14077
- readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
14078
- readonly queuePosition: Schema.optional<Schema.Number>;
14079
- readonly activeSpecialist: Schema.optional<Schema.String>;
14080
- readonly mergeRetryCount: Schema.optional<Schema.Number>;
14081
- readonly mergeNotes: Schema.optional<Schema.String>;
14082
- readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
14083
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
14084
- readonly summary: Schema.String;
14085
- readonly details: Schema.optional<Schema.String>;
14086
- readonly detectedAt: Schema.String;
14087
- }>>>;
14088
- }>;
14089
13252
  }>;
14090
13253
  }>, Schema.Struct<{
14091
13254
  readonly type: Schema.Literal<"pipeline.review-started">;
@@ -14828,15 +13991,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
14828
13991
  readonly rows: Schema.Number;
14829
13992
  }>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.terminalClose", Schema.Struct<{
14830
13993
  readonly sessionName: Schema.String;
14831
- }>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.getWorkspaceDetail", Schema.Struct<{
14832
- readonly issueId: Schema.String;
14833
- }>, Schema.Struct<{
14834
- readonly workspace: Schema.Unknown;
14835
- readonly reviewStatus: Schema.Unknown;
14836
- readonly planning: Schema.Unknown;
14837
- readonly costs: Schema.Unknown;
14838
- readonly agentOutput: Schema.$Array<Schema.String>;
14839
- }>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.readWorkspaceFile", Schema.Struct<{
13994
+ }>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.readWorkspaceFile", Schema.Struct<{
14840
13995
  readonly issueId: Schema.String;
14841
13996
  readonly relativePath: Schema.String;
14842
13997
  readonly line: Schema.optional<Schema.Number>;
@@ -14977,89 +14132,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
14977
14132
  readonly awaitingInputReason: Schema.optional<Schema.String>;
14978
14133
  readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
14979
14134
  readonly timestamp: Schema.String;
14980
- }>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeFlywheelStatus", Schema.Struct<{}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.NullOr<Schema.Struct<{
14981
- readonly runId: Schema.String;
14982
- readonly startedAt: Schema.String;
14983
- readonly elapsedMs: Schema.Number;
14984
- readonly orchestrator: Schema.Struct<{
14985
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
14986
- readonly model: Schema.String;
14987
- readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
14988
- readonly ctxPercent: Schema.Number;
14989
- }>;
14990
- readonly headline: Schema.Struct<{
14991
- readonly bugsFixed: Schema.Number;
14992
- readonly swarmItemsMerged: Schema.Number;
14993
- readonly swarmItemsTotal: Schema.Number;
14994
- readonly prsMerged: Schema.Number;
14995
- readonly awaitingUat: Schema.Number;
14996
- }>;
14997
- readonly activePipeline: Schema.$Array<Schema.Struct<{
14998
- readonly issueId: Schema.String;
14999
- readonly title: Schema.String;
15000
- readonly verb: Schema.Literals<readonly ["planning", "working", "reviewing", "testing", "shipping", "merging", "blocked", "parked"]>;
15001
- readonly status: Schema.Literals<readonly ["queued", "running", "blocked", "passed", "failed", "merged", "parked"]>;
15002
- readonly progressPercent: Schema.optional<Schema.Number>;
15003
- readonly agentId: Schema.optional<Schema.String>;
15004
- readonly pr: Schema.optional<Schema.Number>;
15005
- readonly mergeOrder: Schema.optional<Schema.Number>;
15006
- readonly conflictsWith: Schema.optional<Schema.$Array<Schema.String>>;
15007
- }>>;
15008
- readonly substrateBugs: Schema.$Array<Schema.Struct<{
15009
- readonly issueId: Schema.String;
15010
- readonly title: Schema.String;
15011
- readonly status: Schema.Literals<readonly ["filed", "fixed", "workaround"]>;
15012
- readonly commitSha: Schema.optional<Schema.String>;
15013
- readonly url: Schema.optional<Schema.String>;
15014
- }>>;
15015
- readonly agents: Schema.$Array<Schema.Struct<{
15016
- readonly id: Schema.String;
15017
- readonly label: Schema.String;
15018
- readonly status: Schema.Literals<readonly ["starting", "running", "waiting", "idle", "stopped", "error"]>;
15019
- readonly issueId: Schema.optional<Schema.String>;
15020
- readonly role: Schema.optional<Schema.String>;
15021
- readonly model: Schema.optional<Schema.String>;
15022
- readonly ctxPercent: Schema.optional<Schema.Number>;
15023
- readonly currentAction: Schema.optional<Schema.String>;
15024
- }>>;
15025
- readonly parked: Schema.$Array<Schema.Struct<{
15026
- readonly issueId: Schema.String;
15027
- readonly title: Schema.String;
15028
- readonly reason: Schema.String;
15029
- readonly parkedAt: Schema.optional<Schema.String>;
15030
- }>>;
15031
- readonly suggestions: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Struct<{
15032
- readonly action: Schema.Literals<readonly ["start", "resume", "plan", "review", "merge", "unblock", "park", "investigate", "wait"]>;
15033
- readonly issueId: Schema.optional<Schema.String>;
15034
- readonly rationale: Schema.String;
15035
- readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
15036
- readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
15037
- readonly weight: Schema.optional<Schema.Number>;
15038
- readonly weightReason: Schema.optional<Schema.String>;
15039
- }>>, never>;
15040
- readonly system: Schema.Struct<{
15041
- readonly mainHead: Schema.String;
15042
- readonly ramUsedMb: Schema.Number;
15043
- readonly ramTotalMb: Schema.Number;
15044
- readonly swapUsedMb: Schema.Number;
15045
- readonly swapTotalMb: Schema.Number;
15046
- readonly agentsActive: Schema.Number;
15047
- readonly agentsCap: Schema.Number;
15048
- }>;
15049
- readonly openQuestions: Schema.$Array<Schema.String>;
15050
- readonly orders: Schema.optional<Schema.Struct<{
15051
- readonly bookId: Schema.String;
15052
- readonly bookName: Schema.String;
15053
- readonly landed: Schema.Number;
15054
- readonly total: Schema.Number;
15055
- readonly laneAInFlight: Schema.$Array<Schema.String>;
15056
- readonly laneBInFlight: Schema.optional<Schema.String>;
15057
- readonly drained: Schema.Boolean;
15058
- }>>;
15059
- readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
15060
- readonly ticks: Schema.Number;
15061
- readonly lastTickAt: Schema.String;
15062
- }>>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
14135
+ }>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
15063
14136
  readonly cwd: Schema.String;
15064
14137
  readonly editor: Schema.Literals<["cursor" | "windsurf" | "trae" | "kiro" | "vscode" | "vscode-insiders" | "vscodium" | "zed" | "antigravity" | "idea" | "aqua" | "clion" | "datagrip" | "dataspell" | "goland" | "phpstorm" | "pycharm" | "rider" | "rubymine" | "rustrover" | "webstorm" | "file-manager", ...("cursor" | "windsurf" | "trae" | "kiro" | "vscode" | "vscode-insiders" | "vscodium" | "zed" | "antigravity" | "idea" | "aqua" | "clion" | "datagrip" | "dataspell" | "goland" | "phpstorm" | "pycharm" | "rider" | "rubymine" | "rustrover" | "webstorm" | "file-manager")[]]>;
15065
14138
  }>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.getAvailableEditors", Schema.Void, Schema.Struct<{
@@ -15473,6 +14546,88 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15473
14546
  }>, typeof PanRpcError, never, never>>;
15474
14547
  type PanRpcGroup = typeof PanRpcGroup;
15475
14548
  //#endregion
14549
+ //#region src/derived-issue-state.d.ts
14550
+ /**
14551
+ * The nine pipeline states of the FR-6 table. They are mutually exclusive and
14552
+ * resolved in this precedence (highest first), because the underlying facts
14553
+ * overlap:
14554
+ *
14555
+ * closed > merged > ready > changes-requested > in-review > working >
14556
+ * parked > planned > backlog
14557
+ */
14558
+ declare const IssueState: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
14559
+ type IssueState = typeof IssueState.Type;
14560
+ /** Something the operator has to look at. Orthogonal to `IssueState`. */
14561
+ declare const IssueAttention: Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>;
14562
+ type IssueAttention = typeof IssueAttention.Type;
14563
+ /** Latest review decision on the PR, as the forge reports it. */
14564
+ declare const PrReviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
14565
+ type PrReviewState = typeof PrReviewState.Type;
14566
+ /** Aggregate check-run conclusion for the PR head. */
14567
+ declare const PrChecksState: Schema.Literals<readonly ["green", "red", "pending"]>;
14568
+ type PrChecksState = typeof PrChecksState.Type;
14569
+ /** The pull request (or merge request) backing an issue. */
14570
+ declare const DerivedPrState: Schema.Struct<{
14571
+ readonly url: Schema.String;
14572
+ readonly number: Schema.Number;
14573
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
14574
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>; /** Forge mergeability. `null` when the forge has not computed it yet. */
14575
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
14576
+ }>;
14577
+ type DerivedPrState = typeof DerivedPrState.Type;
14578
+ /** The issue's feature branch as git reports it. */
14579
+ declare const DerivedBranchState: Schema.Struct<{
14580
+ readonly name: Schema.String;
14581
+ readonly aheadOfMain: Schema.Number;
14582
+ readonly pushed: Schema.Boolean;
14583
+ }>;
14584
+ type DerivedBranchState = typeof DerivedBranchState.Type;
14585
+ /** Everything the dashboard needs to render an issue's pipeline position. */
14586
+ declare const DerivedIssueState: Schema.Struct<{
14587
+ readonly issueId: Schema.String;
14588
+ readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
14589
+ readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
14590
+ readonly pr: Schema.optional<Schema.Struct<{
14591
+ readonly url: Schema.String;
14592
+ readonly number: Schema.Number;
14593
+ readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
14594
+ readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>; /** Forge mergeability. `null` when the forge has not computed it yet. */
14595
+ readonly mergeable: Schema.NullOr<Schema.Boolean>;
14596
+ }>>;
14597
+ readonly branch: Schema.optional<Schema.Struct<{
14598
+ readonly name: Schema.String;
14599
+ readonly aheadOfMain: Schema.Number;
14600
+ readonly pushed: Schema.Boolean;
14601
+ }>>;
14602
+ /**
14603
+ * No tracker answered for this issue, so `closed` — the top of the
14604
+ * precedence — could not be ruled in or out. Present only in that case; an
14605
+ * unresolved tracker read is never reported as an open issue.
14606
+ */
14607
+ readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
14608
+ }>;
14609
+ type DerivedIssueState = typeof DerivedIssueState.Type;
14610
+ declare const ISSUE_STATES: readonly IssueState[];
14611
+ /** Highest precedence first — the order `deriveIssueState` resolves in. */
14612
+ declare const ISSUE_STATE_PRECEDENCE: readonly IssueState[];
14613
+ declare const ISSUE_ATTENTIONS: readonly IssueAttention[];
14614
+ declare function isIssueState(value: unknown): value is IssueState;
14615
+ declare function isIssueAttention(value: unknown): value is IssueAttention;
14616
+ //#endregion
14617
+ //#region src/backend-pane.d.ts
14618
+ declare const BackendPane: Schema.Struct<{
14619
+ /** Stable pane identity: the backend-native pane handle. */readonly id: Schema.String; /** Issue the pane belongs to; absent for operator conversations. */
14620
+ readonly issue: Schema.optional<Schema.String>;
14621
+ readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
14622
+ readonly harness: Schema.String;
14623
+ readonly model: Schema.String;
14624
+ readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>; /** Epoch millis the pane entered `state`; drives the `stuck` attention. */
14625
+ readonly stateSince: Schema.optional<Schema.Number>; /** Handle the terminal WebSocket attaches to. */
14626
+ readonly terminalId: Schema.optional<Schema.String>; /** Working directory of the pane (the issue workspace path). */
14627
+ readonly workspace: Schema.optional<Schema.String>;
14628
+ }>;
14629
+ type BackendPane = typeof BackendPane.Type;
14630
+ //#endregion
15476
14631
  //#region src/event-reducers.d.ts
15477
14632
  interface ResolvedChannelPermissionDecision {
15478
14633
  requestId: string;
@@ -15515,7 +14670,10 @@ interface ReadModelState {
15515
14670
  * would cause the whole AgentSnapshot to re-diff on the frontend.
15516
14671
  */
15517
14672
  agentRuntimeById: Record<string, AgentRuntimeSnapshot>;
15518
- reviewStatusByIssueId: Record<string, ReviewStatusSnapshot>;
14673
+ /** PAN-3917 FR-6 — derived pipeline state, keyed by issue id. Never persisted. */
14674
+ derivedIssueStateByIssueId: Record<string, DerivedIssueState>;
14675
+ /** PAN-3917 FR-12 — live agent panes the terminal backend reports, by pane id. */
14676
+ backendPanesById: Record<string, BackendPane>;
15519
14677
  resources: ResourceStats | null;
15520
14678
  agentOutputById: Record<string, string[]>;
15521
14679
  issuesRaw: unknown[];
@@ -16194,7 +15352,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
16194
15352
  readonly target: number | {
16195
15353
  readonly [x: string]: Schema.Json;
16196
15354
  };
16197
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15355
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16198
15356
  readonly sampleSize: number;
16199
15357
  readonly dataSufficient: boolean;
16200
15358
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16207,7 +15365,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
16207
15365
  readonly target: number | {
16208
15366
  readonly [x: string]: Schema.Json;
16209
15367
  };
16210
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15368
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16211
15369
  readonly sampleSize: number;
16212
15370
  readonly dataSufficient: boolean;
16213
15371
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16220,7 +15378,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
16220
15378
  readonly target: number | {
16221
15379
  readonly [x: string]: Schema.Json;
16222
15380
  };
16223
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15381
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16224
15382
  readonly sampleSize: number;
16225
15383
  readonly dataSufficient: boolean;
16226
15384
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16233,7 +15391,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
16233
15391
  readonly target: number | {
16234
15392
  readonly [x: string]: Schema.Json;
16235
15393
  };
16236
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15394
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16237
15395
  readonly sampleSize: number;
16238
15396
  readonly dataSufficient: boolean;
16239
15397
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16246,7 +15404,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
16246
15404
  readonly target: number | {
16247
15405
  readonly [x: string]: Schema.Json;
16248
15406
  };
16249
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15407
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16250
15408
  readonly sampleSize: number;
16251
15409
  readonly dataSufficient: boolean;
16252
15410
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16259,7 +15417,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
16259
15417
  readonly target: number | {
16260
15418
  readonly [x: string]: Schema.Json;
16261
15419
  };
16262
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15420
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16263
15421
  readonly sampleSize: number;
16264
15422
  readonly dataSufficient: boolean;
16265
15423
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16272,7 +15430,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
16272
15430
  readonly target: number | {
16273
15431
  readonly [x: string]: Schema.Json;
16274
15432
  };
16275
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15433
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16276
15434
  readonly sampleSize: number;
16277
15435
  readonly dataSufficient: boolean;
16278
15436
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16291,7 +15449,7 @@ declare const encodeFlywheelStats: (input: {
16291
15449
  readonly target: number | {
16292
15450
  readonly [x: string]: Schema.Json;
16293
15451
  };
16294
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15452
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16295
15453
  readonly sampleSize: number;
16296
15454
  readonly dataSufficient: boolean;
16297
15455
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16304,7 +15462,7 @@ declare const encodeFlywheelStats: (input: {
16304
15462
  readonly target: number | {
16305
15463
  readonly [x: string]: Schema.Json;
16306
15464
  };
16307
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15465
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16308
15466
  readonly sampleSize: number;
16309
15467
  readonly dataSufficient: boolean;
16310
15468
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16317,7 +15475,7 @@ declare const encodeFlywheelStats: (input: {
16317
15475
  readonly target: number | {
16318
15476
  readonly [x: string]: Schema.Json;
16319
15477
  };
16320
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15478
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16321
15479
  readonly sampleSize: number;
16322
15480
  readonly dataSufficient: boolean;
16323
15481
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16330,7 +15488,7 @@ declare const encodeFlywheelStats: (input: {
16330
15488
  readonly target: number | {
16331
15489
  readonly [x: string]: Schema.Json;
16332
15490
  };
16333
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15491
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16334
15492
  readonly sampleSize: number;
16335
15493
  readonly dataSufficient: boolean;
16336
15494
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16343,7 +15501,7 @@ declare const encodeFlywheelStats: (input: {
16343
15501
  readonly target: number | {
16344
15502
  readonly [x: string]: Schema.Json;
16345
15503
  };
16346
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15504
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16347
15505
  readonly sampleSize: number;
16348
15506
  readonly dataSufficient: boolean;
16349
15507
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16356,7 +15514,7 @@ declare const encodeFlywheelStats: (input: {
16356
15514
  readonly target: number | {
16357
15515
  readonly [x: string]: Schema.Json;
16358
15516
  };
16359
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15517
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16360
15518
  readonly sampleSize: number;
16361
15519
  readonly dataSufficient: boolean;
16362
15520
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16369,7 +15527,7 @@ declare const encodeFlywheelStats: (input: {
16369
15527
  readonly target: number | {
16370
15528
  readonly [x: string]: Schema.Json;
16371
15529
  };
16372
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15530
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16373
15531
  readonly sampleSize: number;
16374
15532
  readonly dataSufficient: boolean;
16375
15533
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16387,7 +15545,7 @@ declare const encodeFlywheelStats: (input: {
16387
15545
  readonly target: number | {
16388
15546
  readonly [x: string]: Schema.Json;
16389
15547
  };
16390
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15548
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16391
15549
  readonly sampleSize: number;
16392
15550
  readonly dataSufficient: boolean;
16393
15551
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16400,7 +15558,7 @@ declare const encodeFlywheelStats: (input: {
16400
15558
  readonly target: number | {
16401
15559
  readonly [x: string]: Schema.Json;
16402
15560
  };
16403
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15561
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16404
15562
  readonly sampleSize: number;
16405
15563
  readonly dataSufficient: boolean;
16406
15564
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16413,7 +15571,7 @@ declare const encodeFlywheelStats: (input: {
16413
15571
  readonly target: number | {
16414
15572
  readonly [x: string]: Schema.Json;
16415
15573
  };
16416
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15574
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16417
15575
  readonly sampleSize: number;
16418
15576
  readonly dataSufficient: boolean;
16419
15577
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16426,7 +15584,7 @@ declare const encodeFlywheelStats: (input: {
16426
15584
  readonly target: number | {
16427
15585
  readonly [x: string]: Schema.Json;
16428
15586
  };
16429
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15587
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16430
15588
  readonly sampleSize: number;
16431
15589
  readonly dataSufficient: boolean;
16432
15590
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16439,7 +15597,7 @@ declare const encodeFlywheelStats: (input: {
16439
15597
  readonly target: number | {
16440
15598
  readonly [x: string]: Schema.Json;
16441
15599
  };
16442
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15600
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16443
15601
  readonly sampleSize: number;
16444
15602
  readonly dataSufficient: boolean;
16445
15603
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16452,7 +15610,7 @@ declare const encodeFlywheelStats: (input: {
16452
15610
  readonly target: number | {
16453
15611
  readonly [x: string]: Schema.Json;
16454
15612
  };
16455
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15613
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16456
15614
  readonly sampleSize: number;
16457
15615
  readonly dataSufficient: boolean;
16458
15616
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -16465,7 +15623,7 @@ declare const encodeFlywheelStats: (input: {
16465
15623
  readonly target: number | {
16466
15624
  readonly [x: string]: Schema.Json;
16467
15625
  };
16468
- readonly status: "green" | "yellow" | "red" | "insufficient_data";
15626
+ readonly status: "green" | "red" | "yellow" | "insufficient_data";
16469
15627
  readonly sampleSize: number;
16470
15628
  readonly dataSufficient: boolean;
16471
15629
  readonly trend?: "flat" | "up" | "down" | undefined;
@@ -17312,6 +16470,8 @@ type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-js
17312
16470
  type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id" | "kimi-session-newest" | "muse-session-log";
17313
16471
  type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp" | "kimi-code" | "opencode" | "muse";
17314
16472
  type HarnessFeedKind = "claude_code" | "pi" | "codex" | "acp" | "kimi_code" | "muse";
16473
+ /** Canonical synthetic agent-session identity shared by dashboard client/server. */
16474
+ declare function isAgentSessionName(name: string): boolean;
17315
16475
  interface HarnessNativeCommand {
17316
16476
  readonly name: string;
17317
16477
  readonly description: string;
@@ -17799,7 +16959,7 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
17799
16959
  readonly cli_verb: readonly ["abort", "approve", "backlog", "backup", "clean", "context", "destroy", "dev", "diff", "doctor", "done", "down", "edit", "finalize", "fork", "handoff", "health", "init", "issues", "kill", "list", "migrate", "mode", "open", "pause", "pending", "plan", "project", "projects", "recover", "reload", "reopen", "request", "reset", "restart", "restore", "resume", "review", "scope", "serve", "show", "skills", "spawn-reviewer", "staffing", "start", "status", "strike", "sync", "sync-main", "tell", "unarchive-conversation", "unpause", "untroubled", "up", "update", "validate", "wipe", "write-sequence", "other"];
17800
16960
  readonly close_out_variant: readonly ["card", "inspector"];
17801
16961
  readonly count_bucket: readonly ["0", "1-2", "3-5", "6-10", "11+"];
17802
- readonly dashboard_tab: readonly ["home", "pipeline", "kanban", "command-deck", "agents", "flywheel", "orders", "backlog", "resources", "knowledge", "skills", "context", "health", "activity", "metrics", "costs", "autopreso", "settings", "god-view", "deacon", "sessions", "awaiting-merge", "workspace-new", "workspace"];
16962
+ readonly dashboard_tab: readonly ["home", "pipeline", "kanban", "command-deck", "agents", "flywheel", "orders", "backlog", "resources", "knowledge", "skills", "context", "health", "activity", "metrics", "costs", "autopreso", "settings", "god-view", "deacon", "sessions", "awaiting-merge", "workspace-new", "project-new", "workspace"];
17803
16963
  readonly decision_subject: readonly ["agent", "conversation"];
17804
16964
  readonly duration_bucket: readonly ["under_100ms", "100ms-999ms", "1s-9s", "10s+"];
17805
16965
  readonly forge: readonly ["github", "gitlab"];
@@ -17808,7 +16968,7 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
17808
16968
  readonly merge_kind: readonly ["pipeline"];
17809
16969
  readonly model_family: readonly ["claude", "gpt", "gemini", "kimi", "minimax", "glm", "mimo", "other"];
17810
16970
  readonly pipeline_stage: readonly ["work_done", "review_passed", "verification_passed", "merged", "closed_out"];
17811
- readonly project_mode: readonly ["existing", "new"];
16971
+ readonly project_mode: readonly ["clone", "existing", "new"];
17812
16972
  };
17813
16973
  type TelemetryPropertyDomainName = keyof typeof TELEMETRY_PROPERTY_DOMAINS;
17814
16974
  declare const TELEMETRY_EVENT_CATALOG: {
@@ -17927,13 +17087,6 @@ declare const COMPOSER_COMMAND_VARIANTS: readonly [{
17927
17087
  readonly description: "Auto-plan the issue, then auto-start the work agent";
17928
17088
  readonly insert: "/pan plan --auto --auto-start ";
17929
17089
  readonly category: "Lifecycle";
17930
- }, {
17931
- readonly id: "pan-review-reset-session";
17932
- readonly path: readonly ["review", "reset"];
17933
- readonly display: "/pan review reset --session";
17934
- readonly description: "Reset review and clear saved Claude session";
17935
- readonly insert: "/pan review reset --session";
17936
- readonly category: "Review";
17937
17090
  }, {
17938
17091
  readonly id: "pan-fork-plain";
17939
17092
  readonly path: readonly ["fork"];
@@ -18153,5 +17306,47 @@ declare const WIRED_HOOK_INVENTORY: ({
18153
17306
  })[];
18154
17307
  declare const WIRED_HOOK_NAMES: ("PreToolUse" | "PostToolUse" | "PostToolUseFailure" | "Stop" | "SessionStart" | "Notification" | "UserPromptSubmit" | "PreCompact" | "PostCompact" | "PermissionRequest")[];
18155
17308
  //#endregion
18156
- export { ACP_BEHAVIOR, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedProjectCi, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelOrders, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewCycleEntry, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, compareIssueIds, createIssueDelta, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
17309
+ //#region src/terminal-backend.d.ts
17310
+ /** Adapter that owns agent terminals. */
17311
+ type TerminalBackendName = "herdr" | "tmux";
17312
+ /**
17313
+ * Agent lifecycle state. `idle | working | blocked | done | unknown` are
17314
+ * Herdr's states verbatim; `exited` is the tmux adapter's dead-pane state and
17315
+ * Herdr's `pane_exited`.
17316
+ */
17317
+ type AgentState = "idle" | "working" | "blocked" | "done" | "exited" | "unknown";
17318
+ /** Pane role, stamped as a metadata token by every launcher (FR-5). */
17319
+ type AgentRole = "work" | "worker" | "review" | "test" | "uat" | "strike" | "plan";
17320
+ /**
17321
+ * Metadata tokens stamped on every agent pane. An operator conversation
17322
+ * carries no `issue` token (FR-5), which is also what the prompt guard uses to
17323
+ * recognize an operator sender (FR-17).
17324
+ */
17325
+ interface PaneTokens {
17326
+ /** Issue id (e.g. `PAN-3917`); absent for operator conversations. */
17327
+ readonly issue?: string;
17328
+ readonly role: AgentRole;
17329
+ readonly harness: string;
17330
+ readonly model: string;
17331
+ }
17332
+ /** One agent pane as the backend reports it. */
17333
+ interface BackendAgentSnapshot {
17334
+ readonly backend: TerminalBackendName;
17335
+ /** Backend-native pane handle (Herdr `w1:p1`, tmux session name). */
17336
+ readonly paneId: string;
17337
+ /** Handle the terminal WebSocket attaches to. */
17338
+ readonly terminalId: string;
17339
+ /** Issue workspace the pane belongs to. */
17340
+ readonly workspaceId: string;
17341
+ readonly state: AgentState;
17342
+ readonly tokens: Partial<PaneTokens>;
17343
+ readonly cwd?: string;
17344
+ readonly title?: string;
17345
+ }
17346
+ declare const TERMINAL_BACKEND_NAMES: readonly TerminalBackendName[];
17347
+ declare const AGENT_ROLES: readonly AgentRole[];
17348
+ declare function isTerminalBackendName(value: unknown): value is TerminalBackendName;
17349
+ declare function isAgentRole(value: unknown): value is AgentRole;
17350
+ //#endregion
17351
+ export { ACP_BEHAVIOR, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelOrders, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PaneTokens, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, compareIssueIds, createIssueDelta, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isAgentRole, isAgentSessionName, isChannelReplyKind, isIssueAttention, isIssueState, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
18157
17352
  //# sourceMappingURL=index.d.ts.map