sverklo
A
Overall Health
lsdefine/GenericAgent
https://github.com/lsdefine/GenericAgent
2026-04-19 00:07:36
A
Dead code
0% orphan symbols (0/228)
A
Circular deps
0 cycles detected
A
Coupling
no dependencies tracked
C
Security
3 concerns found

Overview

  • 34 files indexed
  • 248 code symbols extracted
  • 5134 symbol references tracked
  • 0 active memories (0 core, 0 stale)
  • Languages: python (30), javascript (4)

God Nodes (most-referenced symbols)

These are the symbols your codebase depends on most. Changes here have the largest blast radius.

  • StepOutcome — 21 references
  • send_message — 17 references
  • LLMSession — 12 references
  • svgicon — 11 references
  • smart_format — 10 references
  • toast — 10 references
  • ToolClient — 9 references
  • getanchor_prompt — 7 references
  • on_message — 7 references
  • automakeurl — 7 references

Hub Files (highest PageRank)

Core architectural files — imported by many others.

  • TMWebDriver.py (1.00)
  • agent_loop.py (1.00)
  • agentmain.py (1.00)
  • assets/coderunheader.py (1.00)
  • assets/tmwdcdpbridge/background.js (1.00)
  • assets/tmwdcdpbridge/content.js (1.00)
  • assets/tmwdcdpbridge/disable_dialogs.js (1.00)
  • assets/tmwdcdpbridge/popup.js (1.00)
  • frontends/chatapp_common.py (1.00)
  • frontends/dingtalkapp.py (1.00)

Orphans

No obvious dead code — every named symbol has at least one reference.

Coupling (high-PageRank files)

  • TMWebDriver.py (1.00)
  • agent_loop.py (1.00)
  • agentmain.py (1.00)
  • assets/coderunheader.py (1.00)
  • assets/tmwdcdpbridge/background.js (1.00)

Security Issues (3 found)

High (3)

  • eval() usageassets/tmwdcdpbridge/background.js:165
  • try { r = eval(jsCode); if (r instanceof Promise) r = await r; } catch (e) {
  • eval() usageassets/tmwdcdpbridge/background.js:260
  • func: async (s) => await eval(s),
  • eval() usagega.py:294
  • try: result = repr(eval(code, ns))

Suggested Next Steps

  • Before refactoring StepOutcome, run sverklo_impact to see the 21 call sites
  • TMWebDriver.py is your most-imported file — changes here cascade widely