From 3d1a21df52505c4ca7d88c5eb9604f528aec825b Mon Sep 17 00:00:00 2001 From: Arjun <6592213+arkml@users.noreply.github.com> Date: Tue, 24 Mar 2026 22:37:50 +0530 Subject: [PATCH] inject current date/time and chronological processing context into note creation agent Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/x/packages/core/src/knowledge/note_creation.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/x/packages/core/src/knowledge/note_creation.ts b/apps/x/packages/core/src/knowledge/note_creation.ts index adc1eafc..478ced81 100644 --- a/apps/x/packages/core/src/knowledge/note_creation.ts +++ b/apps/x/packages/core/src/knowledge/note_creation.ts @@ -27,6 +27,15 @@ tools: type: builtin name: workspace-glob --- +# Context + +**Current date and time:** ${new Date().toISOString()} + +Sources (emails, meetings, voice memos) are processed in roughly chronological order. This means: +- Earlier sources may reference events that have since occurred — later sources will provide updates. +- If a source mentions a future meeting or deadline, it may already be in the past by now. Use the current date above to reason about what is past vs. upcoming. +- Don't treat old commitments as still "open" if later sources or the current date suggest they've likely been resolved. + # Task You are a memory agent. Given a single source file (email, meeting transcript, or voice memo), you will: