Skip to content

Remove the agent-capabilities (cohort comparison) feature - #1288

Open
kyle-compute wants to merge 1 commit into
stagingfrom
qa-rebuild/b-delete-agent-capabilities
Open

Remove the agent-capabilities (cohort comparison) feature#1288
kyle-compute wants to merge 1 commit into
stagingfrom
qa-rebuild/b-delete-agent-capabilities

Conversation

@kyle-compute

@kyle-compute kyle-compute commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

This PR deletes the agent capabilities feature.

It is PR B of six (A–F) rebuilding analysis so every analysis job runs as a normal trial. This is the rebuild of [#1122](#1122). PR A is [#1287](#1287).

B does not depend on A. Both branch from staging and can merge in either order.

What is being deleted

Agent capabilities took one task version, compared its successful trials with its failing trials, and asked an LLM to describe the behavioral differences across categories such as planning, debugging, and scope adherence.

That feature currently consists of:

  • a 938-line backend service
  • the blocks/analyzer/cohort/ prompt/schema/workspace package
  • two authenticated API endpoints
  • one public-share endpoint
  • the Capabilities pane in the task drawer
  • the frontend hooks, proxy routes, metrics helpers, and tests supporting those paths

This PR removes all of that.

In total:

  • 23 files deleted entirely: ~5,100 lines
  • 18 files edited: +215 / −360 lines, almost entirely removing references to the deleted feature

The task drawer now has only:

overview | file

instead of:

overview | capabilities | file

What is intentionally kept

Capabilities will return later as a normal 'capabilities' analysis trial once PRs C–D add the new analysis pipeline.

To avoid rebuilding its data contract later, this PR keeps:

  • AgentCapabilitiesOutput and its sub-models
  • the seven-category BehaviorCategory taxonomy
  • oddish/src/oddish/analyze/prompts/agent_capabilities.txt

The models move unchanged into:

oddish/src/oddish/analyze/models.py

What happens to already-queued jobs

A worker may still receive an old:

ANALYZER
payload.mode = "agent_capabilities"

job after this deploy.

Instead of crashing or retrying forever, that job is now permanently failed once with:

agent-capabilities feature removed; agent_capabilities ANALYZER jobs no longer run

This is the same cleanup pattern PR A uses for removed report jobs.

Database impact

There is no migration.

Existing capabilities results live in analyzer_blocks. Those rows and the table are left untouched. PR E removes the table later.

frontend/src/lib/experiment-agent-grouping.ts is also intentionally untouched. Despite the similar name, it is shared agent-grouping code used by unrelated parts of the frontend.

What still works

  • public share pages still serve trajectory summaries
  • the task drawer Overview pane is unchanged
  • file panes are unchanged
  • normal analysis behavior outside agent capabilities is unchanged

Verification

The existing test suites are already red on a fresh database on unmodified staging, so the meaningful check is whether this branch introduces new failures.

I ran both branches against the same local Postgres 16 harness and compared the failure sets.

Result:

  • oddish: 89 failures, all 89 also fail on staging

  • backend: 56 failures vs. 57 on staging

    • the missing failure is test_agent_capabilities_endpoint.py, which this PR deletes
  • branch-only failures: 0

  • backend boots successfully with 176 routes

  • no remaining route matches capabilities or cohort

  • pnpm build exits 0

Tests

No new tests are added.

This is a deletion PR: tests whose only subject was the deleted feature are deleted with it. The preserved schema move was verified by importing it locally rather than adding a permanent test whose only purpose is to prove that deleted code is absent.

Deletes the successful-vs-failing cohort comparison: its backend service
and cohort blocks, both API endpoints (+ the deprecated /cohort-comparison
alias), the public share endpoint, the frontend pane/routes/hooks, and
every test whose subject was one of those files. A queued ANALYZER job
with payload.mode = "agent_capabilities" now fails permanently instead
of running.

Preserved for the feature's planned return as a 'capabilities' analysis
trial: the output schema (AgentCapabilitiesOutput and sub-models) moved
into oddish.analyze.models, and analyze/prompts/agent_capabilities.txt
kept in place.

No migration: analyzer_blocks rows are untouched and remain readable.

Claude-Session: https://claude.ai/code/session_01ACF6SUXdbLFarpj3qwF1Ki
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
oddish-app Ready Ready Preview Aug 18, 2026 10:33pm

@github-actions

Copy link
Copy Markdown
Contributor

Oddish preview

Commit: 171ce6a9091473f1f98895eb78476f8faeac9241

Surface Link Target
Frontend https://pr-1288.oddish.app Vercel preview for 171ce6a
Backend oddish-pr-1288 oddish-pr-1288
Database project njpfukgtizpgsqavfrju project njpfukgtizpgsqavfrju

Vercel deployment URL: https://oddish-ae2mp5tde.oddish.app

Plan:

  • Frontend deploy: true
  • Backend deploy: true
  • Migrations: false

This comment is updated by the PR Preview workflow.

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