Skip to main content

LEAD_RESTART_NOTE

Constant LEAD_RESTART_NOTE 

Source
pub const LEAD_RESTART_NOTE: &str = "forge restarted. Read the project handoff (`handoff.md` in the project's memory directory) and the task board before acting; they say what was in flight. Continue that work and do not restart what is finished. If a prior conversation is in the history above, treat it as the record of this seat's last run. The last turn was interrupted, so its final tool call may not have completed - check the state before continuing. Anything you sent before the restart may not have arrived; confirm it did before relying on it. If the history's timestamps disagree with the clock and the live schedules, believe the clock and the schedules.";
Expand description

The first turn a boot spawn delivers to a lead it hands a stored session id to. A lead has no kick of its own, so this note is what turns a resumed conversation into work continued rather than a seat idle at a prompt. The handoff and the board are the source of what was in flight: a --resume that the CLI refuses falls back to a fresh session, so the history is named conditionally rather than relied on.