Findings G-H3, G-H4, G-M13 in DEEP_ANALYSIS.md (parent #261).
- G-H4:
ScriptManager(enabled=True) is the default (hugger/hugger.py:41) and nothing in src/ or tests/ ever disables it (__init__.py disables only the stack). LoggedProperty.__get__ (hugger/property.py:54-77) therefore mutates the global map (change_type/add_vertex with type 'returned') and appends to the class-level Store.__log on every legacy-ObjBase property read — an unbounded memory leak in long-running sessions.
- G-H3:
Store.get_defaults() (hugger/hugger.py:15-34) reads Store.__create_list, __unique_args, __unique_rets — attributes that don't exist -> ScriptManager.reset_history() always raises AttributeError. PatcherFactory reads the same never-set attributes; the whole PropertyHugger machinery is non-functional.
- G-M13:
hugger/property.py:111 passes an object to reverse_route(end_vertex: str) — always returns [], result unused (# noqa: F841). PropertyHugger/PatcherFactory have no callers anywhere.
Recommendation: amputate hugger/ (or at minimum default enabled=False and fix Store). Today it costs every user memory and map churn by default, for a feature that cannot work.
Findings G-H3, G-H4, G-M13 in DEEP_ANALYSIS.md (parent #261).
ScriptManager(enabled=True)is the default (hugger/hugger.py:41) and nothing insrc/ortests/ever disables it (__init__.pydisables only the stack).LoggedProperty.__get__(hugger/property.py:54-77) therefore mutates the global map (change_type/add_vertexwith type'returned') and appends to the class-levelStore.__logon every legacy-ObjBase property read — an unbounded memory leak in long-running sessions.Store.get_defaults()(hugger/hugger.py:15-34) readsStore.__create_list,__unique_args,__unique_rets— attributes that don't exist ->ScriptManager.reset_history()always raisesAttributeError.PatcherFactoryreads the same never-set attributes; the wholePropertyHuggermachinery is non-functional.hugger/property.py:111passes an object toreverse_route(end_vertex: str)— always returns[], result unused (# noqa: F841).PropertyHugger/PatcherFactoryhave no callers anywhere.Recommendation: amputate
hugger/(or at minimum defaultenabled=Falseand fixStore). Today it costs every user memory and map churn by default, for a feature that cannot work.