luminos/tests
Jeff Smith 79bb10b9dc fix(ai): match target root dir by basename in _apply_plan() (#76)
The planner sees basename(target) in the tree output (e.g. "luminos_lib")
and uses that as the path in its plan. But _apply_plan() mapped the
target root to "." via os.path.relpath(), so the planner's path never
matched and the allocation was silently dropped.

Fix: register both "." and basename(target) as aliases for the target
root in the lookup table. Also log a warning when plan paths don't
match any known directory, so future mismatches are visible.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:38:55 -06:00
..
__init__.py feat(tests): add unit test coverage for all testable modules (#37) 2026-04-06 16:57:26 -06:00
test_ai_filter.py fix(ai): correct context budget metric — track per-call, not sum (#44) 2026-04-06 22:49:25 -06:00
test_ai_pure.py fix(ai): match target root dir by basename in _apply_plan() (#76) 2026-04-12 20:38:55 -06:00
test_cache.py feat(cache): add low_confidence_entries() query to CacheManager (#3) 2026-04-06 21:13:58 -06:00
test_code.py feat(tests): add unit test coverage for all testable modules (#37) 2026-04-06 16:57:26 -06:00
test_disk.py feat(tests): add unit test coverage for all testable modules (#37) 2026-04-06 16:57:26 -06:00
test_filetypes.py feat(filetypes): expose raw signals to survey, remove classifier bias (#42) 2026-04-06 22:36:14 -06:00
test_recency.py feat(tests): add unit test coverage for all testable modules (#37) 2026-04-06 16:57:26 -06:00
test_report.py feat(tests): add unit test coverage for all testable modules (#37) 2026-04-06 16:57:26 -06:00
test_tree.py feat(tests): add unit test coverage for all testable modules (#37) 2026-04-06 16:57:26 -06:00