forked from Rockachopa/Timmy-time-dashboard
feat: add run_self_tests() tool for self-verification (#65)
Timmy can now run his own test suite via the run_self_tests() tool. Supports 'fast' (unit only), 'full', or specific path scopes. Returns structured results with pass/fail counts. Sovereign self-verification — a fundamental capability.
This commit is contained in:
@@ -579,11 +579,17 @@ def create_full_toolkit(base_dir: str | Path | None = None):
|
||||
|
||||
# System introspection - query runtime environment (sovereign self-knowledge)
|
||||
try:
|
||||
from timmy.tools_intro import check_ollama_health, get_memory_status, get_system_info
|
||||
from timmy.tools_intro import (
|
||||
check_ollama_health,
|
||||
get_memory_status,
|
||||
get_system_info,
|
||||
run_self_tests,
|
||||
)
|
||||
|
||||
toolkit.register(get_system_info, name="get_system_info")
|
||||
toolkit.register(check_ollama_health, name="check_ollama_health")
|
||||
toolkit.register(get_memory_status, name="get_memory_status")
|
||||
toolkit.register(run_self_tests, name="run_self_tests")
|
||||
except Exception as exc:
|
||||
logger.warning("Tool execution failed (Introspection tools registration): %s", exc)
|
||||
logger.debug("Introspection tools not available")
|
||||
|
||||
Reference in New Issue
Block a user