revert: remove incomplete agent_db commits (restore CI to green) - #340
Open
Leoyzen wants to merge 11 commits into
Open
revert: remove incomplete agent_db commits (restore CI to green)#340Leoyzen wants to merge 11 commits into
Leoyzen wants to merge 11 commits into
Conversation
Reverts 10 commits that added agent_db capability files in a half-committed state: schema_read/write/feedback/advanced.py and tools.py were committed, but their dependencies (__init__.py, helpers.py, instructions.py, visibility.py defining AgentDBCapability) were never committed. This caused CI failures across lint (INP001 missing __init__.py), mypy (unresolvable imports), and integration tests (ImportError: cannot import name 'AgentDBCapability'). The committed files had zero callers — build_tools() was never wired and no code imported AgentDBCapability. Reverting restores CI to green without losing any functional code. The agent_db feature can be re-introduced as a complete, self-contained unit once all dependencies are ready. Also reverts the agent_db-specific per-file ignore rules added to ruff.toml (no longer needed without the files).
|
All verification is complete. The git forensics are conclusive; since the PR's net diff against Review: revert/agent-db-incomplete-commits (#340)Verdict: Blocking — this PR is a no-op. It changes nothing and should be closed, not merged. Critical finding: the PR has zero net diffGitHub's own server-side data confirms this PR modifies 0 files ( The branch tree is byte-identical to Why: the revert is stacked on top of the commits it reverts
The premise is factually incorrect
Correct action
Verified positives
RecommendationDo not merge. Close this PR as unnecessary, and delete the branch. If you want the agent_db work to survive, re-create a branch that excludes these commits and keep it local until the feature is complete. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
The
agent_dbcapability was committed in a half-complete state across 10 commits (942a9e70b..b8d10ca2f):schema_read.py,schema_write.py,schema_feedback.py,schema_advanced.py,tools.py+ 4 test files (~5108 lines)__init__.py,helpers.py,instructions.py,visibility.py— which defineAgentDBCapabilityand provide the imports the committed files depend onThis caused CI failures on main across every stage:
INP001— implicit namespace package (missing__init__.py)Cannot find implementation or library stub for module— untracked dependenciesImportError: cannot import name 'AgentDBCapability'Root Cause
The committed files imported from modules that were never committed (
helpers,instructions,visibility,AgentDBCapabilityin__init__.py). The final commitb8d10ca2f("wire all Phase 3-5 tools into build_tools()") only addedtools.py— it did not actually wire anything:git grepconfirms zero callers ofbuild_tools()orAgentDBCapabilityanywhere in the codebase.What This Revert Does
agent_dbcommits, deleting the 5 source files + 4 test filesruff.toml(no longer needed)What This Revert Does NOT Do
__init__.py,helpers.py, etc.) remain in the developer's working directory, untouchedagent_dbfeature can be re-introduced as a complete, self-contained unit once all dependencies are readyVerification
git diff --cached --stat: 10 files deleted, 5108 lines removed,ruff.tomlrestoredagent_dbexist outside the reverted files (confirmed viagit grep)