feat(robomp): added local issue indexing and commit-search tool support

- Added `ROBOMP_ISSUE_INDEX_SYNC_SECONDS` configuration and lifecycle-managed issue indexing through startup/shutdown hooks.
- Added issue/PR index tables with FTS5 triggers plus upsert and keyword/filter search helpers for indexed records.
- Added GitHub backend/proxy support for `IssueIndexEntry` and issue-index page retrieval, including webhook ingestion and periodic watermark-driven sync.
- Updated `gh_search_issues` to prefer local index queries when synchronized and added `search_commits` host tool with query modes and validation.
This commit is contained in:
can1357
2026-07-15 00:46:08 +02:00
parent 8e2aa9ea94
commit e426186e46
16 changed files with 1129 additions and 29 deletions
+10
View File
@@ -164,6 +164,16 @@ ROBOMP_QUESTION_AUTOCLOSE_HOURS=4
# multi-hour close window.
ROBOMP_QUESTION_AUTOCLOSE_SCAN_SECONDS=60
# =============================================================================
# --- Local issue search index ---
# =============================================================================
# `gh_search_issues` answers from a local SQLite FTS mirror of every issue/PR
# in the allowlisted repos. Webhooks keep it fresh in real time; this interval
# controls the periodic GitHub reconcile (first pass backfills each repo).
# Set <= 0 to disable the reconciler — the tool then uses the GitHub search
# API until a repo has been backfilled.
ROBOMP_ISSUE_INDEX_SYNC_SECONDS=900
# Path or command name for the omp binary inside the container. The shipped
# image installs a shim that invokes Bun against the mounted pi checkout.
ROBOMP_OMP_COMMAND=omp