fix(context): use repo-scoping /scope/context endpoint
Cherry-picked from stale branch codex/wp-0012-scope-context (9709692).
main was still calling the old /repos/{slug}/scope path; repo-scoping now
serves GET /repos/{slug}/scope/context (web_api/app.py:1449). Includes the
resolver test and consistent workplan-doc updates. Test: 2 passed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
2f4ef5809b
commit
e4d6222d22
4 changed files with 70 additions and 4 deletions
|
|
@ -604,7 +604,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-
|
||||
|
|
|
|||
|
|
@ -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-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue