mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-06-05 22:23:50 +00:00
9d84c1253b
- [x] Add sortBySpecificity and shouldPrefer helper functions for node preference logic - [x] Implement isDeclarationLike pattern matching for declaration/statement node types - [x] Add AtLine selector specificity logic to prefer smallest meaningful nodes - [x] Add TestResolveSelectorAtLineSpecificity to verify correct node selection - [x] Add TestRegressionInsertAfterAtLine to prevent file corruption on insertions - [x] Add TestRegressionInsertBeforeAtLine to verify insert-before ordering - [x] Add TestRegressionNestedStructures to ensure nested nodes select correctly - [x] Add TestRegressionPreservesFileIntegrity to verify unrelated content preservation - [x] Add TestRegressionMultipleConstBlocks for multi-block const handling - [x] Add TestSortBySpecificity unit test for sorting logic