forked from Rockachopa/Timmy-time-dashboard
Reference in New Issue
Block a user
Delete Branch "perplexity/thinking-engine-tests-and-stack-manifest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR delivers two features for the Timmy sovereign AI agent system:
1. Thinking Engine Test Suite (#1314)
117 comprehensive tests across 21 test classes covering
engine.pyand all 4 mixins:ThinkingEngine(core)ReflectionMixinDistillationMixinIssuesMixinInsightsMixinKey testing patterns:
AsyncMock— tests run without Ollamamemory_writeinjected onto module object (notpatch()) to match the try/except import pattern in distillation mixinstore_last_reflectionsimilarly injected for reflection mixin testspytest-asyncio2. Sovereign Stack Manifest (#986)
docs/stack_manifest.json— 348 lines, 8 categories, 40+ tools with pinned versions, sovereignty scores, and migration notessrc/timmy/stack_manifest.py—query_stack()tool with LRU caching and partial matchingsrc/timmy/tools/_registry.pyas a sovereign toolTest Results
Files Changed
tests/timmy/test_thinking_engine.py— NEW (1350+ lines)tests/timmy/test_stack_manifest.py— NEW (408 lines)docs/stack_manifest.json— NEW (348 lines)src/timmy/stack_manifest.py— NEW (161 lines)src/timmy/tools/_registry.py— MODIFIED (added stack manifest registration)Closes #1314, Closes #986
Note: This PR addresses upstream issues that are now frozen along with the original repo:
Upstream repo is archived so comments could not be posted there. All work consolidated here on the fork.