Skip to content

Cut what a repo-wide audit found unused - #13

Merged
Kcodess2807 merged 1 commit into
mainfrom
ponytail-cleanup
Nov 13, 2026
Merged

Kcodess2807 merged 1 commit into
mainfrom
ponytail-cleanup

Conversation

@Kcodess2807

Copy link
Copy Markdown
Owner

Cuts what a repo-wide audit found unused: about 1,500 lines net and 6 dependencies. Stacked on #12, so merge #10, #11 and #12 first.

Removed

  • scripts/benchmark.py. Its corpus isn't in the repo, so it couldn't run, and backend/eval/run.py replaced it.
  • steps, weights and confidence from the trace format.
    • Nothing has rendered them since /classic went, and confidence was derived, not measured.
    • The viewer READMEs stop claiming an execution timeline.
  • Multi-tenant plumbing left after the control plane moved off main.
  • /api/summarize, and the client's summarizeNode, listGraphs and switchGraph, none of which had callers. The /api/graphs endpoints stay.
  • ui/button, badge, card and tooltip, and the Toaster. That drops sonner, @radix-ui/react-tooltip, tailwindcss-animate, class-variance-authority and @radix-ui/react-slot.
  • scripts/ratelimit_test.py and aiohttp. stress_test.py now uses requests.
  • cache.py loses its long docstring.

Verified

  • tsc and vite build pass.
  • 88 engine tests and 32 package tests pass.
  • The API booted on a scratch graph, and every touched route was checked.
  • The browser regression suite passes.

Lint found one leftover the tests missed, the graph switch clearing the removed summary cache. It's fixed.

🤖 Generated with Claude Code

- scripts/benchmark.py: its corpus isn't in the repo, so it can't run.
  eval/run.py replaced it.
- steps, weights and confidence in the trace format: nothing renders them
  since /classic went, and confidence was derived, not measured. The viewer
  READMEs claimed an execution timeline it hasn't shown since then.
- Multi-tenant plumbing left after the control plane moved off main: org ids,
  the request contextvar, and the tenant resolver for a single tenant.
- /api/summarize, and the client's summarizeNode, listGraphs and switchGraph:
  no callers. The /api/graphs endpoints stay; they are the only way to point
  the Studio at another graph.
- ui/button, badge, card and tooltip, the Toaster, and five packages they
  needed. The docs page uses the landing page's own classes.
- scripts/ratelimit_test.py, and aiohttp: stress_test.py now uses requests.
- cache.py loses its essay.

Lint caught a leftover the tests missed: the graph switch still cleared the
removed summary cache. Fixed.

Verified: tsc, vite build, 88 engine and 32 package tests, the API booted on
a scratch graph with every touched route checked, and the browser suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
trace-rag Ready Ready Preview Nov 13, 2026 9:09am UTC

@Kcodess2807
Kcodess2807 changed the base branch from memory-heldout to main November 13, 2026 09:12
@Kcodess2807
Kcodess2807 merged commit 145914a into main Nov 13, 2026
8 checks passed

This branch was successfully deployed

1 active deployment
Preview — 590c6df6 Deployed Nov 13, 2026 by vercel[bot]
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