MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / flushPendingNotice

Method flushPendingNotice

ui-tui/src/app/turnController.ts:245–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243 // the notice first becomes visible. With no pending notice this is a
244 // no-op, so a standing sticky notice REappears untouched after the turn.
245 private flushPendingNotice() {
246 if (!this.pendingNotice) {
247 return
248 }
249
250 const notice = this.pendingNotice
251 this.pendingNotice = null
252 this.applyNotice(notice)
253 }
254
255 // Drop all notice state — pending + timer + visible (R3-H5). Called by
256 // reset()/fullReset() so a session A notice can't bleed into session B.

Callers 3

interruptTurnMethod · 0.95
recordErrorMethod · 0.95
recordMessageCompleteMethod · 0.95

Calls 1

applyNoticeMethod · 0.95

Tested by

no test coverage detected