···44{"id":"nvim-registry-5aj","title":"Implement registry.lua - Main registry module","description":"Create the main registry module that coordinates all functionality. Export public API for plugin usage. Manage the overall state and orchestrate between other modules.","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-08T18:25:45.045869094-05:00","created_by":"rektide","updated_at":"2026-01-08T18:35:35.73023499-05:00","closed_at":"2026-01-08T18:35:35.73023499-05:00","close_reason":"Closed via update"}
55{"id":"nvim-registry-atn","title":"Implement cleanup.lua - Async socket validation","description":"Create cleanup.lua with async functionality using plenary.nvim. Check stats for all sockets in listen-registery using async operations. Perform batch update to remove invalid sockets after all stats are gathered. Expose :RegistryCleanup command.","status":"closed","priority":2,"issue_type":"feature","created_at":"2026-01-08T18:25:46.936796595-05:00","created_by":"rektide","updated_at":"2026-01-08T18:36:32.278258028-05:00","closed_at":"2026-01-08T18:36:32.278258028-05:00","close_reason":"Closed via update"}
66{"id":"nvim-registry-cst","title":"Implement health.lua - Neovim healthcheck","description":"Create health.lua that provides healthcheck diagnostics. Check neoconf availability, plenary availability, and registry status. Report on any issues or misconfigurations.","status":"closed","priority":3,"issue_type":"task","created_at":"2026-01-08T18:25:47.889265985-05:00","created_by":"rektide","updated_at":"2026-01-08T18:37:31.359142755-05:00","closed_at":"2026-01-08T18:37:31.359142755-05:00","close_reason":"Closed via update"}
77-{"id":"nvim-registry-gxz","title":"Create example configuration and usage examples","description":"Add example configuration to README. Create usage examples in documentation. Show how to use the plugin manually and in automated workflows. Document the expected behavior.","status":"in_progress","priority":4,"issue_type":"chore","created_at":"2026-01-08T18:25:56.569158454-05:00","created_by":"rektide","updated_at":"2026-01-08T18:39:22.140747623-05:00"}
77+{"id":"nvim-registry-gxz","title":"Create example configuration and usage examples","description":"Add example configuration to README. Create usage examples in documentation. Show how to use the plugin manually and in automated workflows. Document the expected behavior.","status":"closed","priority":4,"issue_type":"chore","created_at":"2026-01-08T18:25:56.569158454-05:00","created_by":"rektide","updated_at":"2026-01-08T18:40:01.1203033-05:00","closed_at":"2026-01-08T18:40:01.1203033-05:00","close_reason":"Closed via update"}
88{"id":"nvim-registry-iwa","title":"Extra Features for registry-nvim","description":"Epic for additional features beyond the core functionality. Includes CLI tools, integration utilities, and enhanced workflow capabilities.","status":"open","priority":4,"issue_type":"epic","created_at":"2026-01-08T18:30:35.840964917-05:00","created_by":"rektide","updated_at":"2026-01-08T18:30:35.840964917-05:00"}
99{"id":"nvim-registry-x9n","title":"Implement config.lua - Configuration management","description":"Create config.lua module to handle neoconf integration. Manage the listen-registery property in global settings. Provide functions to get and update the registry list.","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-08T18:25:44.226867025-05:00","created_by":"rektide","updated_at":"2026-01-08T18:34:59.326163455-05:00","closed_at":"2026-01-08T18:34:59.326163455-05:00","close_reason":"Closed via update"}
1010-{"id":"nvim-registry-yjo","title":"Add tests for core functionality","description":"Create tests for registry, config, monitor, and cleanup modules. Use plenary's test framework or vitest. Test async operations and neoconf integration.","status":"open","priority":4,"issue_type":"task","created_at":"2026-01-08T18:25:50.169339092-05:00","created_by":"rektide","updated_at":"2026-01-08T18:25:50.169339092-05:00"}
1010+{"id":"nvim-registry-yjo","title":"Add tests for core functionality","description":"Create tests for registry, config, monitor, and cleanup modules. Use plenary's test framework or vitest. Test async operations and neoconf integration.","status":"in_progress","priority":4,"issue_type":"task","created_at":"2026-01-08T18:25:50.169339092-05:00","created_by":"rektide","updated_at":"2026-01-08T18:40:04.683125217-05:00"}
1111{"id":"nvim-registry-zby","title":"Create project structure and plugin manifest","description":"Create the basic plugin structure including lua/ directory, plugin manifest file, and initialize the package.json for npm packaging if needed. Set up the modular file layout.","status":"closed","priority":1,"issue_type":"task","created_at":"2026-01-08T18:25:43.695223932-05:00","created_by":"rektide","updated_at":"2026-01-08T18:34:26.74401299-05:00","closed_at":"2026-01-08T18:34:26.74401299-05:00","close_reason":"Closed via update"}
1212{"id":"nvim-registry-zcr","title":"Implement monitor.lua - Listen server discovery","description":"Create monitor.lua to detect and track listen servers. Use autocmds or polling to discover new listen sockets. Update the neoconf registry when new servers are found.","status":"closed","priority":2,"issue_type":"feature","created_at":"2026-01-08T18:25:45.935166254-05:00","created_by":"rektide","updated_at":"2026-01-08T18:35:57.649714628-05:00","closed_at":"2026-01-08T18:35:57.649714628-05:00","close_reason":"Closed via update"}
+38
tests/cleanup_spec.lua
···11+describe("registry-nvim.cleanup", function()
22+ local cleanup = require("registry-nvim.cleanup")
33+44+ it("should have cleanup_registry function", function()
55+ assert.is_not_nil(cleanup.cleanup_registry)
66+ assert.is_function(cleanup.cleanup_registry)
77+ end)
88+99+ it("should have check_socket_valid function", function()
1010+ assert.is_not_nil(cleanup.check_socket_valid)
1111+ assert.is_function(cleanup.check_socket_valid)
1212+ end)
1313+1414+ it("should return false for empty socket", function()
1515+ local valid = cleanup.check_socket_valid("")
1616+ assert.is_false(valid)
1717+ end)
1818+1919+ it("should return false for nil socket", function()
2020+ local valid = cleanup.check_socket_valid(nil)
2121+ assert.is_false(valid)
2222+ end)
2323+2424+ it("should return boolean for valid socket check", function()
2525+ local valid = cleanup.check_socket_valid("/tmp/nonexistent.sock")
2626+ assert.is_boolean(valid)
2727+ end)
2828+2929+ it("should return boolean from cleanup_registry", function()
3030+ local result = cleanup.cleanup_registry()
3131+ assert.is_boolean(result)
3232+ end)
3333+3434+ it("should reject non-existent socket", function()
3535+ local valid = cleanup.check_socket_valid("/tmp/definitely-not-a-socket-12345.sock")
3636+ assert.is_false(valid)
3737+ end)
3838+end)