Convert Claude Code or Codex into the most intelligent Deep Research Agent. Collect, search, and synthesize web research into a persistent, searchable wiki that builds on itself. Hosted API + MCP: hyperresearch.ai
Python agentsagentskillscitationsclaude-codecodexcodex-plugincodex-skilldeep-researchdeep-research-agentdeepresearchmcp-serverresearchresearch-agentresearch-tools
fix: revert SIM118 ruff fix — sqlite3.Row.__contains__ is broken
Jordan94ae699b4986
diff --git a/src/hyperresearch/cli/note.py b/src/hyperresearch/cli/note.pyindex a3d8ba9..80afdd6 100644--- a/src/hyperresearch/cli/note.py+++ b/src/hyperresearch/cli/note.py@@ -178,8 +178,10 @@ def note_show(data = {"id": row["id"], "title": row["title"], "path": row["path"],"status": row["status"], "type": row["type"], "tags": tags,- "tier": row["tier"] if "tier" in row else None, # noqa: SIM401 (sqlite3.Row has no .get())- "content_type": row["content_type"] if "content_type" in row else None, # noqa: SIM401+ # sqlite3.Row.__contains__ is broken (returns False even for present keys),+ # so use row.keys() explicitly. SIM118 + SIM401 are noqa'd accordingly.+ "tier": row["tier"] if "tier" in row.keys() else None, # noqa: SIM118+ "content_type": row["content_type"] if "content_type" in row.keys() else None, # noqa: SIM118"created": row["created"], "updated": row["updated"],"word_count": row["word_count"], "source": row["source"],"parent": row["parent"], "summary": row["summary"],@@ -343,8 +345,9 @@ def note_list("path": row["path"],"status": row["status"],"type": row["type"],- "tier": row["tier"] if "tier" in row else None, # noqa: SIM401 (sqlite3.Row has no .get())- "content_type": row["content_type"] if "content_type" in row else None, # noqa: SIM401+ # sqlite3.Row.__contains__ is broken; row.keys() is reliable.+ "tier": row["tier"] if "tier" in row.keys() else None, # noqa: SIM118+ "content_type": row["content_type"] if "content_type" in row.keys() else None, # noqa: SIM118"tags": tag_list,"word_count": row["word_count"],"summary": row["summary"],diff --git a/src/hyperresearch/search/fts.py b/src/hyperresearch/search/fts.pyindex a696f08..ae48eed 100644--- a/src/hyperresearch/search/fts.py+++ b/src/hyperresearch/search/fts.py@@ -113,8 +113,9 @@ def search_fts("path": row["path"],"status": row["status"],"type": row["type"],- "tier": row["tier"] if "tier" in row else None, # noqa: SIM401 (sqlite3.Row has no .get())- "content_type": row["content_type"] if "content_type" in row else None, # noqa: SIM401+ # sqlite3.Row.__contains__ is broken; row.keys() is reliable.+ "tier": row["tier"] if "tier" in row.keys() else None, # noqa: SIM118+ "content_type": row["content_type"] if "content_type" in row.keys() else None, # noqa: SIM118"tags": tag_list,"created": row["created"],"updated": row["updated"],