Use repo-scoping scope context endpoint

This commit is contained in:
2026-05-15 01:47:59 +02:00
parent 94bd34231c
commit 9709692db8
4 changed files with 70 additions and 4 deletions

View File

@@ -601,7 +601,7 @@ to `context[source.bind_to]`. A resolver that raises logs a warning and binds
Registered as source type `repo-scoping`.
Supported queries:
- `repo_profile`: `GET {REPO_SCOPING_URL}/repos/{params['repo_slug']}/scope`
- `repo_profile`: `GET {REPO_SCOPING_URL}/repos/{params['repo_slug']}/scope/context`
Returns dict with `capabilities`, `tags`, `scope_summary`, `scope_md_exists`.
5-minute in-process cache keyed by `(query, repo_slug)`. Cache is per-worker-

View File

@@ -123,7 +123,7 @@ to `context[source.bind_to]`. A resolver that raises logs a warning and binds
Registered as source type `repo-scoping`.
Supported queries:
- `repo_profile`: `GET {REPO_SCOPING_URL}/repos/{params['repo_slug']}/scope`
- `repo_profile`: `GET {REPO_SCOPING_URL}/repos/{params['repo_slug']}/scope/context`
Returns dict with `capabilities`, `tags`, `scope_summary`, `scope_md_exists`.
5-minute in-process cache keyed by `(query, repo_slug)`. Cache is per-worker-