Skip to content

refactor: retire the remaining agent code (#331) - #656

Merged
iAmGiG merged 2 commits into
developmentfrom
refactor/retire-agents-331
Nov 1, 2026
Merged

iAmGiG merged 2 commits into
developmentfrom
refactor/retire-agents-331

Conversation

@iAmGiG

@iAmGiG iAmGiG commented Nov 1, 2026

Copy link
Copy Markdown
Owner

No routine or command used this code, so it goes. The commands that replace its abilities merged in #655.

What changes

  • RealVoterStrategy and MultiTimeframeVoter use VotingSignal directly.
  • MultiTimeframeVoter and the scanner config move to src/trading/instruments/. /watchlist scanner and /timeframe presets still work.
  • Removed: src/autogen_agents/ (BaseAgent, VoterAgent, the agent bus, market tools), the VXX and market-context tools, agent_utils, agent_prompts.yaml, and their tests.
  • The bus events VoterAgent published are gone; nothing subscribed to them.
  • Docs that describe the system today say what runs instead. Historical plans and session notes are left as they were.

What doesn't change

  • The CLI's decisions. test_real_voter_strategy.py holds 15 decisions recorded on the old code (ranked, standard and multi-timeframe). The new code matches them exactly, and a before-and-after comparison of signals, levels, reasoning and indicators was identical byte for byte.
  • The routines. --run-due never imported this package.
  • The dependency: LLMParser still uses Agent Framework.

Testing

pytest tests/ -m "not db": 1955 passed, 1 skipped. Guarded real CLI run with temp state and a copy of user.db: 11 commands and 3 typed requests, 3 model calls, no blocked hosts and no order attempts.

Refs #331

iAmGiG and others added 2 commits November 1, 2026 21:19
Recorded from RealVoterStrategy while it runs on VoterAgent, before the move to
VotingSignal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No routine or command used it. The CLI's signal path now runs VotingSignal
directly, and the 15 golden decisions recorded on VoterAgent are unchanged.

- RealVoterStrategy and MultiTimeframeVoter use VotingSignal
- MultiTimeframeVoter and the scanner config move to src/trading/instruments
- removed: src/autogen_agents (BaseAgent, VoterAgent, agent bus, market tools),
  the VXX and market-context tools, agent_utils, agent_prompts.yaml
- docs that describe the system today say what runs instead

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant