Skip to content

Remove CVec.add_agent_post (2.0.0) - #35

Merged
joshuanapoli merged 1 commit into
mainfrom
jn/remove-add-agent-post
Nov 8, 2026
Merged

joshuanapoli merged 1 commit into
mainfrom
jn/remove-add-agent-post

Conversation

@joshuanapoli

Copy link
Copy Markdown
Member

Summary

Remove CVec.add_agent_post, cvec.models.agent_post (AgentPost, AgentPostRecommendation, AgentPostTag, Severity), and examples/add_agent_post_example.py. The backend is removing the endpoint this method calls (https://github.com/CVector-Energy/cvec-backend/pull/640).

Because this removes public API, the version goes to 2.0.0. Dependents pinned to cvec<2 are unaffected until they choose to upgrade. cvec-data-analysis and cvec-modeling-platform are the only code that imports these names, and their companion PRs remove those imports.

Usage check

Prod CloudFront access logs show no calls to /api/agent_posts/add since 2026-06-11. The only scheduled caller, the ATEK modeling-platform job, stopped on 2026-06-10 when it moved to the signal system. Details are in https://github.com/CVector-Energy/cvec-backend/pull/640.

Test plan

  • ruff check, ruff format, mypy src, pytest (70 passed)

🤖 Generated with Claude Code

The backend is removing POST /agent_posts/add, which has had no prod traffic since 2026-06-11. Removing public API is a breaking change, so bump to 2.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joshuanapoli
joshuanapoli force-pushed the jn/remove-add-agent-post branch from 3f65c5b to 2b238a1 Compare November 8, 2026 15:56
@joshuanapoli
joshuanapoli merged commit 77d220b into main Nov 8, 2026
6 checks passed
@joshuanapoli
joshuanapoli deleted the jn/remove-add-agent-post branch November 8, 2026 15:57
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