Add research overlap nudges

This commit is contained in:
Yahya Alhinai
2026-06-28 14:21:29 +00:00
parent 50cc4a2900
commit dec6557cad
13 changed files with 306 additions and 42 deletions
+8
View File
@@ -14,6 +14,14 @@ export interface Collision {
/** Engineer ids involved in the overlap. */
engineers: string[];
severity: CollisionSeverity;
/** Overlap type; undefined preserves historical same-file behavior. */
overlapKind?: 'file' | 'research';
/** Research topic/source for cross-channel code-edit ↔ research overlaps. */
researchTopic?: string;
researchSource?: string;
/** Engineer doing research and engineer editing the matched file. */
researcher?: string;
editor?: string;
/** Snapshot of relevant GitHub state at detection time. */
githubState?: GithubStateSnapshot;
/**
+6
View File
@@ -12,6 +12,12 @@ export interface EngineerContext {
currentSymbol?: string;
/** Higher-level feature/action inferred from the screen. */
activity?: string;
/** Broad screen mode: editor work or browser/docs research. */
mode?: 'editing' | 'research';
/** Topic being researched when mode is "research", e.g. "LiveKit agents". */
researchTopic?: string;
/** Research source domain, e.g. "docs.livekit.io". */
researchSource?: string;
/** Whether the screen shows uncommitted/unpushed changes (gutter/diff). */
hasUnpushedChanges?: boolean;
/** 01 confidence in this read of the screen. */