date_awareness_context.json•4.08 kB
{
"tool_category": "date_awareness",
"description": "Temporal accuracy context to prevent date-related errors across all tools",
"auto_convert": true,
"current_date_awareness": {
"principle": "Always use the system's current date, never hardcode dates",
"knowledge_cutoff": "January 2025 - DO NOT USE FOR CURRENT EVENTS",
"validation_required": true
},
"date_rules": {
"memory_storage": {
"rely_on_system": "Memory service automatically timestamps entries",
"avoid_redundancy": "Don't duplicate timestamps that the system provides",
"historical_events": "Only specify dates for historical events or specific past occurrences",
"current_events": "For 'today' or 'now', rely on system timestamps"
},
"common_mistakes": {
"knowledge_cutoff_confusion": {
"wrong": "Using January 2025 (knowledge cutoff) for current events",
"correct": "Letting the system handle current timestamps"
},
"hardcoding_dates": {
"wrong": "Hardcoding 'September 17, 2025' in rules",
"correct": "Using relative references or system timestamps"
}
}
},
"best_practices": {
"memory_entries": [
"Don't include 'stored on [date]' - the system handles this",
"Only mention dates when they're part of the actual content",
"For searches/analyses performed 'today', just say 'today' or omit",
"Trust the memory service's automatic timestamping"
],
"scripts_and_code": [
"Use {{CURRENT_DATE}} as a parameter, not a hardcoded value",
"Let users fill in current dates when running scripts",
"Focus on functionality, not temporal metadata"
]
},
"simplified_approach": {
"principle": "Less is more - let systems handle their own timestamps",
"focus": "Content accuracy over temporal metadata",
"verification": "Check that dates make logical sense, not against hardcoded values"
},
"metadata": {
"version": "2.0.0",
"note": "Simplified to avoid hardcoded dates and rely on system timestamps",
"applies_to_tools": [
"*"
],
"priority": "high",
"last_updated": "2025-09-18T10:44:48.533546"
},
"auto_store_triggers": {
"temporal_events": {
"tags": [
"temporal",
"scheduled",
"deadline"
],
"action": "store_with_metadata",
"patterns": [
"scheduled for",
"deadline is",
"due on",
"expires on",
"meeting on",
"appointment at"
],
"confidence_threshold": 0.8
},
"time_sensitive_info": {
"tags": [
"temporal",
"time-sensitive"
],
"action": "store_with_metadata",
"patterns": [
"valid until",
"available from",
"starting from",
"ending on",
"between .* and"
],
"confidence_threshold": 0.7
}
},
"auto_retrieve_triggers": {
"calendar_queries": {
"action": "search_and_suggest",
"patterns": [
"events on",
"appointments for",
"schedule for",
"what's on"
],
"search_tags": [
"temporal",
"calendar",
"scheduled"
],
"confidence_threshold": 0.7
},
"temporal_queries": {
"action": "search_and_suggest",
"patterns": [
"when is",
"what time",
"scheduled for when",
"deadline for",
"due date"
],
"search_tags": [
"temporal",
"scheduled"
],
"confidence_threshold": 0.8
}
},
"session_initialization": {
"enabled": true,
"actions": {
"on_startup": [
{
"action": "search_memory",
"store_as": "upcoming_events",
"parameters": {
"tags": [
"temporal",
"scheduled"
],
"n_results": 10
}
},
{
"action": "notify",
"message": "Date awareness context loaded. Found {upcoming_events.count} scheduled items."
}
]
}
}
}