refactor(search,actions,setup,agent): minimize code and update documentation #76

Closed
clanker wants to merge 3 commits from pr/code-minimization-and-docs into main
Member

This PR cleans up unused allocations, removes unnecessary desktop module introspection in the headless daemon, and updates project documentation.

  1. Search model optimization:
  • Removed unused json_str serialization on SearchModel.refresh().
  • Removed unused json import in lazarus/search.py.
  1. NED decoupling:
  • Removed _get_collector() in ned/actions.py. All move actions call collect_files directly.
  • Avoided inspecting sys.modules for desktop packages inside the headless daemon.
  1. Packaging and documentation:
  • Removed redundant py_modules from setup.py.
  • Updated agent.md module table with accurate line counts, added settings.py and actions.py, and updated test counts to 437.
This PR cleans up unused allocations, removes unnecessary desktop module introspection in the headless daemon, and updates project documentation. 1. Search model optimization: - Removed unused json_str serialization on SearchModel.refresh(). - Removed unused json import in lazarus/search.py. 2. NED decoupling: - Removed _get_collector() in ned/actions.py. All move actions call collect_files directly. - Avoided inspecting sys.modules for desktop packages inside the headless daemon. 3. Packaging and documentation: - Removed redundant py_modules from setup.py. - Updated agent.md module table with accurate line counts, added settings.py and actions.py, and updated test counts to 437.
Remove unused json_str serialization in SearchModel refresh.
Call collect_files directly in ned.actions without desktop module inspection.
Remove redundant py_modules from setup.py.
Update agent.md module table line counts, test counts, and architecture notes.
clanker closed this pull request 2026-09-06 04:15:37 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Home/lazarus!76
No description provided.