Skip to content

Add scope coverage registry (SCOPES.md) — BUI-395#76

Merged
maciejwitowski merged 3 commits into
mainfrom
maciej/bui-395-scope-coverage-catalog
May 29, 2026
Merged

Add scope coverage registry (SCOPES.md) — BUI-395#76
maciejwitowski merged 3 commits into
mainfrom
maciej/bui-395-scope-coverage-catalog

Conversation

@maciejwitowski
Copy link
Copy Markdown
Contributor

What

Adds SCOPES.md, a single hand-maintained reference listing every data scope, whether the web (ODL Data Pipe API) and/or desktop (Playwright connector) flow can fulfill it, and the exact connector(s) behind each scope.

Also revises the design spec to match and removes the (now-obsolete) generation-based implementation plan.

Why

Resolves the open question on BUI-395: where should requested vs produced/readable scopes be documented?

The bug: a lab E2E requested read:ads (→ instagram.ads), but the web/light flow only produces instagram.profile, so the Personal Server had no instagram.ads data → valid 404. There was no single place documenting which tier can fulfill which scope.

Decision

Deliberately no generator / no codegen / no sync script — the web flow's set of fulfillable scopes changes infrequently, so a hand-maintained file is enough. unity-surfaces' web-writable-scopes.ts is unchanged and kept consistent with the Web column by hand.

Scope

  • SCOPES.md — the registry (47 scopes, 18 sources).
  • docs/specs/2026-05-29-scope-coverage-catalog-design.md — rationale.
  • No code changes anywhere.

🤖 Generated with Claude Code

maciejwitowski and others added 3 commits May 29, 2026 16:34
Design for a single generated scope-coverage catalog in data-connectors
that declares per-scope, per-tier (web/desktop) producibility. Kills the
BUI-395 drift where "can the web flow produce scope X?" was hand-asserted
in four disconnected places by collapsing them to one hand-declared input
(web-capabilities.json) plus generated views (scope-coverage.json,
SCOPES.md). unity-surfaces web-writable-scopes.ts becomes generated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Single human reference listing every scope, web (Data Pipe API) vs desktop
(Playwright connector) fulfillment, and the exact connectors behind each.
Resolves the BUI-395 "where do we document requested vs producible scopes"
question with one manually maintained file. Deliberately no generator/codegen
(web set changes rarely). Revises the design spec to match and drops the
generation-based implementation plan.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Schema Health Check — Non-blocking inherited issues

41/47 scopes consistent | 6 inherited Gateway gap(s) | no new blocking issues in this PR

@maciejwitowski maciejwitowski merged commit c3ebda6 into main May 29, 2026
2 checks passed
@maciejwitowski maciejwitowski deleted the maciej/bui-395-scope-coverage-catalog branch May 29, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant