Skip to content

docs(create-app): derive manifest scopes from manifest validate inste… - #26

Merged
andrii-bodnar merged 1 commit into
mainfrom
create-app-scope-check
Oct 22, 2026
Merged

andrii-bodnar merged 1 commit into
mainfrom
create-app-scope-check

Conversation

@nazarii-makar

Copy link
Copy Markdown
Collaborator

…ad of a catalogue

manifest validate in @crowdin/serverless-apps-cli now checks the manifest scopes against the app's API calls, reading the @requiredScope tag of each method in the installed @crowdin/crowdin-api-client, and names the exact string to add for every uncovered call. The skill follows the tool: scopes are an output of the green gate, not something derived from a prose catalogue.

references/scopes.md drops the scope table, the common combinations and the read-needs-write lore in favour of where a call's scope comes from, the coverage rules the validator applies, its real output, and the outputs that are not a clean bill (the scope check skipped note, an untyped receiver, a computed method name, a pinned CLI that predates the check). SKILL.md describes the code half of validate and splits the 403 troubleshooting row into manifest scopes versus the viewer's own rights; cli.md, modules.md and sdk.md point at the validator instead of repeating the lore. Two claims that were wrong regardless of tooling go with the deleted text: read-only scopes do take a :read postfix, and only the project-level concordance searches are write-guarded.

Evals: 27 reworded, 38-40 added; observed evals untouched.

Written for the api-client release that ships the tags; merge after it.

…ad of a catalogue

`manifest validate` in @crowdin/serverless-apps-cli now checks the
manifest `scopes` against the app's API calls, reading the
`@requiredScope` tag of each method in the installed
@crowdin/crowdin-api-client, and names the exact string to add for every
uncovered call. The skill follows the tool: scopes are an output of the
green gate, not something derived from a prose catalogue.

references/scopes.md drops the scope table, the common combinations and
the read-needs-write lore in favour of where a call's scope comes from,
the coverage rules the validator applies, its real output, and the
outputs that are not a clean bill (the `scope check skipped` note, an
untyped receiver, a computed method name, a pinned CLI that predates the
check). SKILL.md describes the code half of validate and splits the 403
troubleshooting row into manifest scopes versus the viewer's own rights;
cli.md, modules.md and sdk.md point at the validator instead of repeating
the lore. Two claims that were wrong regardless of tooling go with the
deleted text: read-only scopes do take a `:read` postfix, and only the
project-level concordance searches are write-guarded.

Evals: 27 reworded, 38-40 added; observed evals untouched.

Written for the api-client release that ships the tags; merge after it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@andrii-bodnar
andrii-bodnar merged commit 74c7ebc into main Oct 22, 2026
1 check passed
@andrii-bodnar
andrii-bodnar deleted the create-app-scope-check branch October 22, 2026 16:52
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.

2 participants