Skip to content

cleanup: retired agent kits (claude-runtime, trading_agent_prompt, trader sprawl) - #110

Merged
emerzon merged 1 commit into
mainfrom
cursor/cleanup-retired-agent-kits-adfc
Sep 9, 2026
Merged

emerzon merged 1 commit into
mainfrom
cursor/cleanup-retired-agent-kits-adfc

Conversation

@emerzon

@emerzon emerzon commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Subtract-only cleanup of unused agent kits and prompt sprawl. No new orchestration, extras, or replacement kits.

Deleted

  • Entire claude-runtime/ tree (23 named agents + orchestrator + .mcp.json + settings.local.json). Repo search found zero imports or docs/README/script references. The allow-list still named deleted trading_* / removed finviz_* tools.
  • prompts/trading_agent_prompt.md — legacy {report} executor with stale APIs (tp_abs/sl_abs, trade_close(symbol=...), close_kind="pending"), Grid/Martingale allowance, and no dry-run/idempotency. Conflicts with docs/TRADING_SAFETY.md. No in-repo {report} injector.
  • prompts/trader_active.md and prompts/trader_grid_scalper.md — duplicate/conflicting discretionary variants (grid/recovery risk, Playwright research for a non-catalog playwright tool).

Kept

  • prompts/mtdata_tool_playbook.md and the four prompts/agent_*.md personas
  • prompts/trader.md as the single discretionary trader (simpler than trader_active.md; no Playwright section)

Playbook trim

  • Kept principles, side-effect labels, parser, live-risk contract, asset routing, research standard, and failure/recovery (still referenced by the agent personas)
  • Removed the dated 2026-07-10 static catalog table; tools_list remains the inventory source of truth
  • Updated .gitignore prompt allow-list to match the remaining files

Diff

30 files, +4 / −5587. No new files.

Verification

  • Repo search: no remaining live references to claude-runtime, trading_agent_prompt, trader_active, or trader_grid_scalper
  • Kept prompts still read coherently; agent files continue to point at the playbook
  • Out of scope left untouched: packaging, env templates, forecast leftovers, services, tests/AGENTS.md, core syntax

CI note

CI / Backend tests fails on this branch for a pre-existing ruff B033 on src/mtdata/core/output_profiles.py:2883 ({100, 100.0}). That line is already on main (16efa0df) and is not in this diff. Pytest never started. Left unfixed here to keep the PR scoped to prompt-kit deletion.

Open in Web Open in Cursor 

Remove the unreferenced claude-runtime tree, the stale {report} executor
prompt, and duplicate trader variants. Keep the shared playbook, four
agent personas, and the simpler discretionary trader.md. Drop the dated
static tool catalog now that tools_list is the inventory source of truth.

Co-authored-by: Emerson Gomes <emerson.gomes@gmail.com>
@emerzon
emerzon marked this pull request as ready for review September 6, 2026 04:39
@emerzon
emerzon merged commit e1927cb into main Sep 9, 2026
4 of 6 checks passed
@emerzon
emerzon deleted the cursor/cleanup-retired-agent-kits-adfc branch September 10, 2026 04:33
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.

2 participants