feat: add runtime context awareness — system.info tool + date/time in system prompt
- assembleSystemPrompt() now injects '# Runtime Context' with current date/time - New system.info tool: date, time, hostname, platform, arch, uptime, memory, Node.js version - Tool available in all profiles (minimal/messaging/coding/full) - 983 tests passing (+7 new)
This commit is contained in:
+33
-2
@@ -694,6 +694,37 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"runtime-context-awareness": {
|
||||
"status": "completed",
|
||||
"date": "2026-02-07",
|
||||
"summary": "Runtime context: system.info tool + automatic date/time injection in system prompt",
|
||||
"phases": {
|
||||
"system_prompt_date_injection": {
|
||||
"status": "completed",
|
||||
"description": "assembleSystemPrompt() now unconditionally appends a '# Runtime Context' section with current date and time",
|
||||
"files_modified": [
|
||||
"src/prompt/template.ts",
|
||||
"src/prompt/template.test.ts"
|
||||
],
|
||||
"test_status": "13/13 passing"
|
||||
},
|
||||
"system_info_tool": {
|
||||
"status": "completed",
|
||||
"description": "New system.info tool providing date, time, hostname, platform, architecture, OS release, uptime, Node.js version, memory usage, working directory. Added to all tool profiles (minimal/messaging/coding).",
|
||||
"files_created": [
|
||||
"src/tools/builtin/system-info.ts",
|
||||
"src/tools/builtin/system-info.test.ts"
|
||||
],
|
||||
"files_modified": [
|
||||
"src/tools/builtin/index.ts",
|
||||
"src/tools/policy.ts",
|
||||
"src/tools/index.ts",
|
||||
"SOUL.md"
|
||||
],
|
||||
"test_status": "6/6 passing"
|
||||
}
|
||||
}
|
||||
},
|
||||
"earlier_plans": {
|
||||
"plans": [
|
||||
{ "file": "2026-02-02-flynn-design.md", "status": "completed" },
|
||||
@@ -717,7 +748,7 @@
|
||||
},
|
||||
|
||||
"overall_progress": {
|
||||
"total_test_count": 976,
|
||||
"total_test_count": 983,
|
||||
"all_tests_passing": true,
|
||||
"p0_completion": "3/3 (100%)",
|
||||
"p1_completion": "4/4 (100%)",
|
||||
@@ -730,7 +761,7 @@
|
||||
"p8_completion": "8/8 (100%) — agent tools (sessions.list/history/create/delete, agents.list, message.send, cron.list/trigger) + gap analysis audit",
|
||||
"tier1_completion": "5/5 (100%) — !!think prefix, /verbose command, typing indicators (Discord/WhatsApp), session pruning (TTL), tool groups",
|
||||
"tier2_completion": "4/4 (100%) — inbound webhooks, vector memory search, Dockerfile, heartbeat monitor",
|
||||
"feature_gap_scorecard": "87/116 match (75%), 1 partial (1%), 27 missing (23%)",
|
||||
"feature_gap_scorecard": "88/116 match (76%), 1 partial (1%), 27 missing (23%)",
|
||||
"next_up": "All phases P0-P8 and Tiers 1-2 complete. Tier 3 in progress (file.patch + Gmail done). Remaining gaps: Tier 3 channels (Signal, Matrix, Teams, Google Chat), Tier 4 deferred/niche items"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user