New message received:

{{ .Message }}
{{- if .ThreadContext.Enabled }}

Thread context guidance:
- This is a reply-thread message; it may rely on earlier messages in the same thread.
{{- if .ThreadContext.ReadHistoryTool }}
- If the message is ambiguous, too terse, or lacks enough context to decide what to do, first call {{ .ThreadContext.ReadHistoryTool }}(target="{{ .ThreadContext.Target }}", limit=20) to read recent thread history before deciding there is no concrete task.
{{- else }}
- If the message is ambiguous, too terse, or lacks enough context to decide what to do, first read recent thread history (target="{{ .ThreadContext.Target }}", limit=20) before deciding there is no concrete task.
{{- end }}
- If the message is already clear and actionable, proceed without reading extra history.
{{- end }}
{{- if .ActiveTaskTarget }}

{{ .ActiveTaskTarget }}
{{- end }}
{{- if .AgentAuthoredWakeGuidance }}

{{ .AgentAuthoredWakeGuidance }}
{{- end }}
{{- if .MemoryResumeReminder }}

{{ .MemoryResumeReminder }}
{{- end }}

Respond as appropriate - reply using {{ .SendMessageTool }}, or take action as needed.
