Runner, Observer, Prompt Submission, and State Call Map
Focused review map for the messy path around prompt admission, active-run lifecycle, tmux submission,
observer delivery, transcript normalization, and persisted runtime state. Level here means review depth,
not TypeScript nesting: level 1 is the main entry or owner surface, then deeper helper layers fan out from it.
Primary Review GoalSpot duplication, confusing names, mixed ownership, deep heuristics
Why This ExistsMake deep helper sprawl reviewable without hopping file-by-file
Immediate Review Hotspots
The map below is not just an inventory. It is arranged to make hidden duplication and ownership leaks obvious.
The most suspicious areas are already called out here before the full table.
Duplicate Submit Path
Two different entry stories converge on the same tmux submit primitive.
Search works across file, function, description, tags, called-by, and call-chain text. Use the filters to isolate deep heuristics,
state sinks, tmux submit paths, or observer logic.
high complexity or high confusionmixed responsibility or likely duplicationdeep helper chainlevel = review depth from owner surface
File / Function
Level
Description
Called By Functions
Call Functions
Concerns / Tags
Suggested review order: executePromptDelivery, SessionService.executePrompt,
SessionService.startRunMonitor, monitorTmuxRun,
submitTmuxSessionInput, RunnerService.ensureSessionReady,
then the normalization chain rooted at cleanInteractionSnapshot.