From db4185c8b7f8a80084cf1e8cfb397b60ce409ed9 Mon Sep 17 00:00:00 2001 From: aiguozhi123456 Date: Fri, 27 Feb 2026 11:11:42 +0000 Subject: [PATCH] Add timestamp format hint for HISTORY.md grep searching --- nanobot/agent/context.py | 2 +- nanobot/skills/memory/SKILL.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nanobot/agent/context.py b/nanobot/agent/context.py index 03a9a89..be0ec59 100644 --- a/nanobot/agent/context.py +++ b/nanobot/agent/context.py @@ -68,7 +68,7 @@ You are nanobot, a helpful AI assistant. ## Workspace Your workspace is at: {workspace_path} - Long-term memory: {workspace_path}/memory/MEMORY.md (write important facts here) -- History log: {workspace_path}/memory/HISTORY.md (grep-searchable) +- History log: {workspace_path}/memory/HISTORY.md (grep-searchable). Each entry starts with [YYYY-MM-DD HH:MM]. - Custom skills: {workspace_path}/skills/{{skill-name}}/SKILL.md ## nanobot Guidelines diff --git a/nanobot/skills/memory/SKILL.md b/nanobot/skills/memory/SKILL.md index 39adbde..529a02d 100644 --- a/nanobot/skills/memory/SKILL.md +++ b/nanobot/skills/memory/SKILL.md @@ -9,7 +9,7 @@ always: true ## Structure - `memory/MEMORY.md` — Long-term facts (preferences, project context, relationships). Always loaded into your context. -- `memory/HISTORY.md` — Append-only event log. NOT loaded into context. Search it with grep. +- `memory/HISTORY.md` — Append-only event log. NOT loaded into context. Search it with grep. Each entry starts with [YYYY-MM-DD HH:MM]. ## Search Past Events