From c2aa3da04286bfda2ab2cb04012a1a78773f945e Mon Sep 17 00:00:00 2001 From: Nazar Makar <8761438+nazarii-makar@users.noreply.github.com> Date: Thu, 22 Oct 2026 18:18:17 +0300 Subject: [PATCH] docs(create-app): derive manifest scopes from manifest validate instead 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 --- skills/create-app/SKILL.md | 15 ++-- skills/create-app/evals/evals.json | 28 +++++- skills/create-app/references/cli.md | 4 +- skills/create-app/references/modules.md | 2 +- skills/create-app/references/scopes.md | 115 +++++++++--------------- skills/create-app/references/sdk.md | 4 +- 6 files changed, 83 insertions(+), 85 deletions(-) diff --git a/skills/create-app/SKILL.md b/skills/create-app/SKILL.md index b0d9755..9b01ee7 100644 --- a/skills/create-app/SKILL.md +++ b/skills/create-app/SKILL.md @@ -33,7 +33,7 @@ The platform gains module types, manifest fields, SDK methods and scopes over ti | [building-app/user-interface.md](https://crowdin.github.io/serverless-apps/building-app/user-interface.md) | The UI kit | | [building-app/i18n.md](https://crowdin.github.io/serverless-apps/building-app/i18n.md) | Localization | | [development/troubleshooting.md](https://crowdin.github.io/serverless-apps/development/troubleshooting.md) | Known failures | -| [understanding-scopes](https://support.crowdin.com/developer/understanding-scopes/) | The scope catalogue | +| [understanding-scopes](https://support.crowdin.com/developer/understanding-scopes/) | What each scope grants | | [llms-full.txt](https://crowdin.github.io/serverless-apps/llms-full.txt) | Everything, one fetch | The division of labour: **the docs are authoritative on what exists, this skill on what order to do it in and what breaks.** When a list here disagrees with the docs, the docs win and the list here is stale - reach for a capability the docs describe even if it is absent from these pages. When something works but breaks in a way the docs do not mention, that is what this skill is for. @@ -66,7 +66,7 @@ If they send nothing, the CLI's own state file holds the edition after login: `~ ## Ask sparingly, and only in their words -**Derive, do not ask:** who the user is, what data the app touches, the `scopes` ([scopes.md](references/scopes.md)), the edition and project (from their link), editor `modes` (declare **every mode the docs list** by default, so the panel is there wherever the user happens to be working - narrow it only if they ask, because a module is simply absent from any mode its manifest omits and the user has no way to know why), and a sensible app name. The template is fixed: always `projects-dashboard-cli`. +**Derive, do not ask:** who the user is, what data the app touches, the `scopes` (an output of the green gate, not an input to the brief - [scopes.md](references/scopes.md)), the edition and project (from their link), editor `modes` (declare **every mode the docs list** by default, so the panel is there wherever the user happens to be working - narrow it only if they ask, because a module is simply absent from any mode its manifest omits and the user has no way to know why), and a sensible app name. The template is fixed: always `projects-dashboard-cli`. **State, do not ask:** put everything you derived into a short brief and let them correct it. Write it in the language they wrote to you in, and in plain words - "a panel on the right in the editor, next to the string", never "editor-right-panel, modes translate/review". A list of claims is easier to object to than a list of questions. @@ -177,7 +177,9 @@ pnpm typecheck && pnpm lint npx crowdin-serverless-apps manifest validate ``` -Do not hand code over while any of the three is red. `typecheck` catches invented SDK APIs; neither it nor `lint` reads `manifest.json`, which is what `manifest validate` is for. Validation is offline - no login, no app link, not even `node_modules` - so run it the moment the manifest changes. It exits 1 on an invalid manifest or malformed JSON, groups problems by section and prints a `fix` line under each; read that hint, it spells out the accepted values. +Do not hand code over while any of the three is red. `typecheck` catches invented SDK APIs; neither it nor `lint` reads `manifest.json`, which is what `manifest validate` is for. It checks the file against the schema, and it checks `scopes` against the code: every call the app makes through the API client is matched to the scope that method needs, `createStorage()` to `application.storage`, and the result compared with the manifest. A call the manifest does not cover is a problem with the exact string to add; a declared scope no call uses is a note. Validation is offline - no login, no app link - but the scope half reads the packages in `node_modules`, so run it after `pnpm install` and again whenever the manifest or the API calls change. It exits 1 on a problem, groups problems by section and prints a `fix` line under each; read that hint, it spells out the accepted values, scope strings included. + +A green run that carries a `scope check skipped` note has not looked at the scopes. Do what the note says - `pnpm install`, or `pnpm update @crowdin/serverless-apps-cli @crowdin/crowdin-api-client` in an app that predates the check - and run it again ([scopes.md](references/scopes.md)). Passing does not mean Crowdin will accept the manifest, only that the cheap mistakes are gone. @@ -248,8 +250,9 @@ Never ask for a token in chat. On a machine with no browser at all, `CROWDIN_PER | Blank iframe, or the host reports the app did not start | Manifest type, `prepare*` and `context.app.type` disagree, or a registration is not at the top level, or two modules of one type without keys. | | App published but absent from the UI slot | `manifest push` skipped, or a string-based project without `stringBasedAvailable`. | | App opens but shows nothing | Empty data, or the first-project fallback landed somewhere with no glossary/TM/strings. Check before blaming the code. | -| 403 or an empty list at runtime, all checks green | A scope. See [scopes.md](references/scopes.md), including the read-looking calls that need the bare scope. | -| Every storage call rejected | `application.storage` missing from the manifest `scopes`, or the manifest change not pushed. | +| 403 `Endpoint isn't allowed for token scopes.` at runtime | A manifest scope. Run `manifest validate`: it names the call and the string to add. If validate is green, run `manifest status` - the scope is on disk but not pushed. If it printed `scope check skipped`, do what the note says first; a green run with that note has not looked at the scopes ([scopes.md](references/scopes.md)). | +| Any other 403, or an empty list, all checks green | The viewer's own rights, not the manifest: calls run as whoever opened the app, and no check can see that. Build for what that person may do, or narrow the audience. | +| Every storage call rejected | `application.storage` missing from the manifest `scopes` - `manifest validate` names the `createStorage()` call that needs it - or, if validate is green, the manifest change not pushed. | | `kv.user.*` throws while shared keys work | The viewer is anonymous - no user identity. Check `user.id` in the context before offering per-user features. | | A write under `module:...:` rejected | The key names a module other than the one the app is currently running as, or an unknown one. On reads the same situation is silent: `get` resolves `undefined`, listings skip the records. | | `You have no accessible projects to preview this module in.` | Either no project access, or a crowdsource module needing a public project. | @@ -263,5 +266,5 @@ Never ask for a token in chat. On a machine with no browser at all, `CROWDIN_PER - [references/modules.md](references/modules.md) - every module type: placement, `prepare*`, manifest fields, edition lock, what `preview` can open - [references/sdk.md](references/sdk.md) - verified SDK snippets and the traps types do not catch -- [references/scopes.md](references/scopes.md) - the scope catalogue and the read-needs-write cases +- [references/scopes.md](references/scopes.md) - how `manifest validate` derives the scopes from the code, and what it cannot see - [references/cli.md](references/cli.md) - command and flag reference, env vars, what each command writes diff --git a/skills/create-app/evals/evals.json b/skills/create-app/evals/evals.json index 8876b7a..3623216 100644 --- a/skills/create-app/evals/evals.json +++ b/skills/create-app/evals/evals.json @@ -235,8 +235,8 @@ "name": "who-did-how-much", "group": "scopes", "prompt": "An app that shows which translator did how many strings this month, per language.", - "tests": "report and member scopes; a wrong scope only fails at runtime inside the iframe", - "pass": "Scopes taken from the catalogue rather than invented, and the app verified as rendering real data - not declared done on green typecheck and a printed URL." + "tests": "report and member scopes; the manifest follows manifest validate, not memory", + "pass": "Scopes come from manifest validate - the strings it names are added, nothing more, and no scope check skipped note is left standing - and the app is verified as rendering real data, not declared done on green typecheck and a printed URL." }, { "id": 28, @@ -318,6 +318,30 @@ "prompt": "Our three admins push finished translations to our in-house CMS. Make us an admins-only page with a \"Send to CMS\" button - the CMS API token is one for the whole team, and I don't want us pasting it in every time.", "tests": "a team credential - a module-scoped secret on a restricted module", "pass": "The token is entered once on the admins-only page and stored under that module's module: prefix with secret: true, so the platform serves it only on that module's surface and encrypts it at rest. Says plainly that all admins who can open the page can read the token - acceptable here because it is theirs to hold. A plain shared key fails (the whole app audience could read it), per-user records fail (each admin would paste it separately), and the token is never accepted in chat or baked into the bundle." + }, + { + "id": 38, + "name": "write-scope-for-a-search", + "group": "scopes", + "prompt": "Add a search box to my panel so I can look up a word in the project glossary while I translate.", + "tests": "a feature that only reads may need a write scope: implemented with the project-level concordance search, manifest validate asks for glossary:write", + "pass": "Adds exactly the string the validator names, whichever form it is, without arguing that a search is read-only and without reaching for *. Pushes the manifest before publishing, and the search works for a translator." + }, + { + "id": 39, + "name": "feature-removed-scope-left-behind", + "group": "scopes", + "prompt": "Take the \"approve all\" button out again, we decided against it.", + "tests": "removing calls leaves a declared scope behind; the validator notes it as unused", + "pass": "Removes the now-unused scope the validator notes along with the code, pushes the manifest before publishing, and says in one plain sentence that the app now asks for less than before." + }, + { + "id": 40, + "name": "older-app-skipped-check", + "group": "scopes", + "prompt": "Here's the app you built me in the spring - can you add a tab with the project's glossary terms?", + "tests": "an existing app pinned to an older api-client or CLI; manifest validate prints scope check skipped, or nothing about scopes at all", + "pass": "Reads the note rather than the green tick: updates the CLI and api-client together (pnpm update @crowdin/serverless-apps-cli @crowdin/crowdin-api-client) so the installed toolchain carries the check, validates again, and only then trusts the scopes. Never reports the scopes as verified on a run that skipped them." } ] } \ No newline at end of file diff --git a/skills/create-app/references/cli.md b/skills/create-app/references/cli.md index 0d362c8..c98efb6 100644 --- a/skills/create-app/references/cli.md +++ b/skills/create-app/references/cli.md @@ -34,7 +34,7 @@ What you do have to handle: commands that need an answer will still wait for one | `list` | `--print`, `--json`. Lists your apps. Doubles as a read-only auth probe. | | `link` | `--app-id `. Links the working directory to an app that already exists. | | `manifest status` | Diffs local `manifest.json` against Crowdin. **Exit code 1 means they differ**, which makes it a check you can act on. | -| `manifest validate` | Checks `manifest.json` against the manifest schema, plus forbidden root keys, unknown module types and duplicate keys. Offline: no login, no app link, no `node_modules`. **Exit code 1** when invalid or not valid JSON. Run it after every manifest edit, before `push`. | +| `manifest validate` | Checks `manifest.json` against the manifest schema, plus forbidden root keys, unknown module types and duplicate keys - and checks `scopes` against the API calls in `src/`, read through the TypeScript compiler and the `@requiredScope` tag of each method in the app's installed `@crowdin/crowdin-api-client`. Offline: no login, no app link; the scope check needs `node_modules` and is skipped with a note without them. **Exit code 1** when invalid, not valid JSON, or a call lacks its scope. Run it after every manifest edit and after writing API calls, before `push`. | | `manifest push` | Applies the local manifest to Crowdin. | | `manifest pull` | Overwrites the local manifest from Crowdin. | | `login` | `--file-storage`, `--port ` (one of 26140-26144). OAuth in the browser; stores the token. | @@ -89,4 +89,4 @@ pnpm format pnpm typecheck # tsc --noEmit ``` -There are no tests in the scaffold, so `typecheck` plus `lint` is the whole automated safety net. Both must be green before the app goes to the user. +There are no tests in the scaffold, so `typecheck`, `lint` and `manifest validate` are the whole automated safety net. All three must be green before the app goes to the user. diff --git a/skills/create-app/references/modules.md b/skills/create-app/references/modules.md index 82acf4d..0ccc0ee 100644 --- a/skills/create-app/references/modules.md +++ b/skills/create-app/references/modules.md @@ -146,7 +146,7 @@ If no registration matches what the host sent, the SDK deliberately does not cal `name`, `description`, `logo`, `bundle` (managed by the CLI), `scopes`, `stringBasedAvailable`, and `default_permissions`. -`scopes` are the Crowdin REST scopes the host will allow, evaluated against the session of the user who opened the app; calls outside them are rejected. Narrow with `:read` or `:write` postfixes, and note `:write` does not imply read. Keep the list to what the app's calls actually need - a reviewer sees this list, and so does every admin who installs the app. The scaffold ships a realistic example: +`scopes` are the Crowdin REST scopes the host will allow, evaluated against the session of the user who opened the app; calls outside them are rejected. `manifest validate` derives the list from the app's calls and names what is missing or unused - see [scopes.md](scopes.md). The scaffold ships a realistic example: ```json "scopes": ["project.settings:read", "project.status.progress:read", "group:read"] diff --git a/skills/create-app/references/scopes.md b/skills/create-app/references/scopes.md index 4185e83..03a3894 100644 --- a/skills/create-app/references/scopes.md +++ b/skills/create-app/references/scopes.md @@ -1,81 +1,52 @@ # Scopes -`scopes` in the manifest is the list of Crowdin REST permissions the host will allow the app to exercise. The host runs every call under the session of whoever opened the app and rejects anything outside this list, so a wrong or missing scope does not fail `typecheck`, `lint`, `manifest validate` or `publish` - it 403s at runtime, inside the iframe, where nothing in the build checks. Get it right from this list rather than from memory. +`scopes` in the manifest is the list of Crowdin REST permissions the host will allow the app to exercise. The host runs every call under the session of whoever opened the app and rejects anything outside this list with a 403 `Endpoint isn't allowed for token scopes.` - at runtime, inside the iframe, where `typecheck`, `lint` and `publish` see nothing. `manifest validate` is the check that does see it: it matches every call the app makes through the API client to the scope that method needs and compares the result with the manifest. So the list is not composed from memory - write the calls, run `manifest validate`, add the strings it names. -Keep the list to what the app's calls actually need. A reviewer sees it, and so does every admin who installs the app. +Keep the list to what the app's calls actually need. A reviewer sees it, and so does every admin who installs the app - and the validator notes every declared scope no call uses, so there is no reason to leave one in. ## Postfixes -Most scopes take `:read` or `:write`. `:write` does **not** imply read, so an app that lists and edits needs both or the bare scope. Read-only scopes take no postfix at all - adding one is invalid. - -Verbs in the request are a decent first guess (`shows` is read, `adds` or `changes` is write) but not a rule: see [when read needs write](#when-a-read-looking-call-needs-the-write-scope). - -## The list - -The authority is [understanding-scopes](https://support.crowdin.com/developer/understanding-scopes/) - fetch it when a scope you need is not below, since the catalogue grows. The table is an orientation copy, and the sections after it are what the docs do not tell you. - -| Scope | Covers | -|---|---| -| `project` | Accessible projects | -| `project.settings` | View, create and update project settings | -| `project.status` | Translation status. Read-only | -| `project.member` | Project members and teams | -| `project.task` | Project tasks | -| `project.report` | Generate and export project reports | -| `project.source` | Branches, files, source strings | -| `project.translation` | Add and manage translations | -| `project.screenshot` | Screenshots and tags | -| `project.webhook` | Project webhook configuration | -| `project.advisor` | Context Advisor checks and insights | -| `tm` | Translation memories | -| `glossary` | Glossaries and terms | -| `style-guide` | Style guides and their assignment to projects | -| `group` | Project groups (Enterprise) | -| `language` | Organization languages | -| `user` | Users (Enterprise) | -| `team` | User teams (Enterprise) | -| `field` | Organization fields (Enterprise) | -| `vendor` | Organization vendors (Enterprise). Read-only | -| `client` | Organization clients (Enterprise). Read-only | -| `organization` | Organization info (Enterprise). Read-only | -| `notification` | Notification settings and subscriptions | -| `mt` | Machine translation engines | -| `ai`, `ai.provider`, `ai.prompt`, `ai.fine-tuning` | AI providers, prompts, fine-tuning | -| `ai.proxy` | Proxying requests to AI providers. Read-only | -| `ai.translate` | AI translation of strings and files | -| `ai.request-log` | AI request logs. Read-only | -| `security-log` | Security logs. Read-only | -| `application` | Everything applications - installations, request proxying, consents, storage. An umbrella over the four below; prefer the narrow form | -| `application.installation` | Install, update and remove applications | -| `application.proxy` | Request proxying to the API of installed applications | -| `application.consent` | User consents granted to applications | -| `application.storage` | The app's own Crowdin Storage records. Required for `createStorage()` | -| `webhook` | Organization webhooks | -| `automation`, `automation.rule`, `automation.rule.execution` | Automation rules (Enterprise) | -| `custom-spellchecker`, `external-qa-check` | Enterprise, read-only | -| `*` | Everything. Never declare this in an app you ship | - -Finer-grained sub-scopes exist beyond this table - the scaffold ships `project.status.progress:read`, a narrower slice of `project.status`. When a narrower form fits, prefer it. - -## Common combinations - -Taken from apps that work, not composed here: - -- projects and progress dashboard - `project.settings:read`, `project.status.progress:read`, `group:read` -- translation memories - `tm:read` -- glossary lookup in the editor - `glossary` (see below) -- untranslated counts per language - `project.status.progress:read` -- comments and issues on strings - a `project.source` scope is required; `project.translation` alone returns a uniform 403. Two runs hit this and reported it slightly differently (`project.source.string` versus `project.source:read` alongside `project.translation:read`), so treat the exact minimal pair as unsettled: start from the narrowest that has actually worked for someone (`project.source.string:read`) and widen only on a real 403 rather than guessing -- who translated how much - `project.report`, plus `project.member:read` for names -- anything the app remembers between sessions (settings, notes, shared state) - `application.storage` - -## When a read-looking call needs the write scope - -Some read-shaped endpoints are `POST` calls that the backend guards at write level, so the narrow `:read` form gets a 403 on an obviously read-only feature. The known case: glossary concordance search (`POST /projects/{id}/glossaries/concordance`) needs the bare `glossary`, not `glossary:read`. - -Confirmed by a second run: **translation-memory concordance search behaves the same way** - the bare `tm`, not `tm:read`. Treat concordance endpoints as write-guarded in general. - -The general rule: when a call 403s despite a read-only intent, widen that one scope from `:read` to the bare form rather than adding unrelated scopes. Do not paper over it with `*`. +Most scopes take `:read` or `:write`; the bare scope grants both. `:write` does **not** imply read, so an app that lists and edits needs both or the bare scope - when the validator has asked for both forms of one scope, the bare form is the same grant in one entry. A parent covers its descendants: the bare `project` covers every `project.*` call, `project:read` covers their `:read` calls only, and `project:write` covers all of them, reads included. The narrower child is still the better declaration when it fits - the scaffold ships `project.status.progress:read`, not `project.status`. Read-only scopes such as `vendor` or `security-log` take `:read` like any other; that is the form the validator names. + +## Where a call's scope comes from + +Every method of `@crowdin/crowdin-api-client` carries a `@requiredScope` tag in its JSDoc - `project.member:read`, `glossary:write`, or `none` for the few endpoints any session may call. Your editor shows it on hover; `manifest validate` reads it from the copy installed in the app, so a newer client brings newer scopes without a CLI update. `createStorage()` counts as a call needing `application.storage`. + +Trust the tag over the verb of the operation. Some read-shaped endpoints are `POST` calls the backend guards at write level - project-level glossary and TM concordance search are `glossary:write` and `tm:write` - so a `:write` in the `fix` line under a search feature is the platform's rule, not a mistake to argue with. Add exactly what the validator names; never reach for `*`, which covers everything, passes the check silently and asks every admin who installs the app for the whole organization. + +For what a scope actually grants, the authority is [understanding-scopes](https://support.crowdin.com/developer/understanding-scopes/). + +## What it prints + +A call the manifest does not cover is a problem under `scopes`, with the call that needs it and the string to add: + +``` +✗ scopes + "glossary:read" is needed by glossariesApi.listGlossaries at src/corpus.tsx:78 + fix add "glossary:read" to scopes +``` + +Notes come after the problems, and a green run can carry notes too, so read past the tick: + +``` +3 notes +- computed method on usersApi at src/corpus.tsx:67; scope cannot be determined +- possible call usersApi.listUsers at src/untyped.js:3 (type unknown); needs user:read if this is the Crowdin client +- "tm:read": no call in src/ uses it +``` + +An unused-scope note appears when the scan found calls, or found nothing at all. It stays quiet when it found no typed call but did print a note - an untyped receiver or a computed method name - because that call may be the one using the scope. + +## What the check cannot see + +Four outputs are not a clean bill: + +- `scope check skipped: ...` - the SDK is not installed, or the installed `@crowdin/crowdin-api-client` has no tags (the note says so: `update it to 1.60.0 or later`). `pnpm install`, or `pnpm update @crowdin/serverless-apps-cli @crowdin/crowdin-api-client`, then run it again: a green manifest with this note has not been checked for scopes. If the note survives the update - a pinned or age-gated install - take the scopes from [understanding-scopes](https://support.crowdin.com/developer/understanding-scopes/) for now and validate again once the note goes. +- `possible call . at ... (type unknown)` - a receiver the compiler could not type: a `.js` file, or an explicit `any`. Give it the `Client` type from `@crowdin/crowdin-api-client` and run again. +- `computed method on at ...; scope cannot be determined` - the method name is a variable, as in `client.usersApi[name]()`. Call it by name so the tag can be read. +- An app that predates the check: its pinned CLI validates the schema only and prints nothing about scopes, which looks exactly like a pass. The same update brings the check and the tags together; validate after it. + +The scan follows types, not names: files the tsconfig neither includes nor reaches through an import are not scanned, and no check can see a viewer's rights: a 403 without `Endpoint isn't allowed for token scopes.` is the person, not the manifest. ## Checking what an installed app actually got diff --git a/skills/create-app/references/sdk.md b/skills/create-app/references/sdk.md index 8a7a0cf..34672c5 100644 --- a/skills/create-app/references/sdk.md +++ b/skills/create-app/references/sdk.md @@ -100,7 +100,7 @@ export function App() { Create the client once (`useMemo`) rather than per render. Use `.withFetchAll()` on list calls to page through everything instead of hand-rolling pagination. -Scopes do not always follow the verb of the operation. Some read-shaped endpoints are `POST` calls and the backend guards them at write level, so the narrow `:read` scope gets a 403: glossary concordance search (`POST /projects/{id}/glossaries/concordance`) needs the bare `glossary` scope, not `glossary:read`. When a call 403s despite an obviously read-only intent, widen that one scope from `:read` to the bare form rather than adding unrelated scopes. +Every method carries its scope in its JSDoc - `@requiredScope project.member:read`, visible on hover and read by `manifest validate` - so the manifest follows the code, not the verb: project-level concordance search is `glossary:write` and `tm:write` although it only reads, and the validator will say so. Add the string it names rather than second-guessing it ([scopes.md](scopes.md)). Three hard limits of the proxy: @@ -110,7 +110,7 @@ Three hard limits of the proxy: ## Keeping data: Crowdin Storage -`createStorage()` returns the app's Crowdin-hosted key-value store - the same viewer-session model as the API client, no token. It works only with `application.storage` in the manifest `scopes`; without it every call is rejected. A value is any JSON value except `null`, up to 240 KiB serialized. +`createStorage()` returns the app's Crowdin-hosted key-value store - the same viewer-session model as the API client, no token. It works only with `application.storage` in the manifest `scopes`; without it every call is rejected, and `manifest validate` flags a `createStorage()` the manifest does not cover. A value is any JSON value except `null`, up to 240 KiB serialized. The key prefix *is* the access model, so pick it by who the data belongs to - the decision table is in [SKILL.md](../SKILL.md#when-the-app-needs-to-remember-something):