ecosystem_index_update
Trigger an ecosystem index update by running the scanner, computing diffs against the database, and applying threshold checks. Use dry_run mode to preview changes before persisting profile upserts and status changes.
Instructions
Trigger ecosystem index update — runs scanner + computes diff.
Maps to POST /api/ecosystem/index_update. Scan config comes from the
project's ecosystem settings (min_stars gate, focus_topics
queries — empty falls back to the built-in Claude-ecosystem query set,
alert_max_new_per_scan threshold), then runs the full pipeline:
gh search → classify active status → diff against DB → alert threshold
check → (if dry_run=False) persist index_diff + status_changes. When
dry_run=True, no writes touch ecosystem_repo_profiles /
ecosystem_index_diffs / ecosystem_status_changes (BUG #6/#8 fix
verified in test_dry_run_does_not_write_profile_table).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | When True (default), simulate the scan and return diff preview only. When False, persist profile upserts + index_diff + status_changes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||