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).
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)