Following up on my two earlier threads — engineering confirmed several doc/runtime mismatches and invited me to write up the corrections. Here they are.
I couldn’t find a public repo for the developer hub (the FAQ points platform issues at the forum), so this is the corrected text rather than a PR. Happy to reformat it however is most useful.
Everything below is verified against runtime v1.1.0-beta.135 and CLI v0.1.49, and confirmed by engineering in the linked threads unless marked otherwise.
1. storage.tool is a dead string
Page: Persistent Storage (APS) → Three pre-conditions
Currently says:
{ "host_capabilities": ["storage.tool"] }
Problem: the runtime never accepts this. It fails with:
-32603: manifest does not declare 'aps.scope.tool.read'
anna_app_core/acl.py matches only:
aps.scope.admin— grants everythingaps.scope.<scope>.<action>— exact matchaps.kv— legacy alias for self-ownedscope=appread + write
Suggested replacement:
Declare the capability your plugin actually needs. The accepted values are:
Capability Grants aps.kvself-owned scope=appread + write (legacy alias, not deprecated)aps.scope.user.read/.writeread/write APS keys in scope=useraps.scope.tool.read/.writeread/write scope=tool(per-executa cache)aps.scope.app.read/.writeread/write another app’s scope=app(requiresowner)aps.scope.adminfull (scope, owner)matrix — system apps onlyaps.filesAPS object/file API
storage.toolis not a valid value.
2. host_capabilities belongs in two places, and is missing from the AppManifest field table
Pages: App Manifest reference, and Persistent Storage → Three pre-conditions
Two problems.
a) The App Manifest field table lists schema, required_executas, optional_executas, permissions, system_prompt_addendum, user_message_prefix_template, tags, ui, and dev — and notes that parsing uses extra="forbid". host_capabilities is absent, which reads as “this field is invalid.” It isn’t: dispatcher.py:36 reads it from the top level of manifest.json, and anna-app validate --strict accepts it.
b) The storage page shows it only in the plugin’s describe manifest, so it’s easy to declare it there alone and get -32021 with no obvious cause.
Suggested addition to the field table:
|
host_capabilities| array of string | no | Scope-capability declarations (aps.*,llm.sample). Drives app-side validation and packaging. |
Suggested note on the storage page:
Declare
host_capabilitiesin both places. The top-level entry inmanifest.jsondrives app-side validation and packaging; the entry in the Executa’s describe manifest drives server-side storage-token issuance. For a standalone Executa published outside an App, only the describe manifest applies.Note that
ui.host_apiusesadditionalProperties: false— capabilities declared there will fail schema validation.
3. scope='app' is rejected for plugin-side storage tokens
Page: Persistent Storage (APS)
Not previously reported — found during Marketplace review.
The docs describe scope as taking app, user, or tool. In practice the host does not issue plugin-side storage tokens for scope='app':
-32029: storage_token does not permit scope='app'; allowed=['tool', 'user']
This is confusing in combination with correction 1, because aps.kv is documented as the alias for self-owned scope=app — so declaring the recommended capability and using the scope it maps to produces an error.
Suggested note:
Plugin-side storage tokens are issued for
scope='user'andscope='tool'only. For per-user app data, usescope='user'withaps.scope.user.read+aps.scope.user.write.
I may be misreading the intended relationship between aps.kv and the scopes here — if so, a clarifying sentence would still help.
4. executa.json requires tool_id and type
Page: Local Development / Multi-language executas
The reference example shows:
{ "tool_id": "...", "type": "python", "enabled": true }
but the fields aren’t called out as required, and omitting either produces a warning that’s easy to miss in the startup output:
⚠ skipping executa error-journal: executa.json missing required `tool_id`
⚠ skipping executa error-journal: executa.json missing required `type`
The executa is then silently not spawned, and every tools.invoke fails with not_implemented: tools.invoke is not available in this runtime — which points nowhere near the real cause.
Suggested: mark both as required, and note that type accepts python | node | go | binary.
5. bundled_executas is an object, not an array
Page: App Manifest / Bundling
resolveBundledHandles() in the CLI iterates Object.entries(bundled), treating keys as handles. Passing an array produces:
⚠ bundled handle "0" → executas/error-journal: no executa discovered at that path
The "0" is the array index being read as a handle name. An explicit example would prevent this:
{
"bundled_executas": {
"error-journal": { "path": "executas/error-journal" }
}
}
6. anna-app dev --storage aps deserves more prominence
Page: Local Development
I spent a long time concluding that plugin-side APS couldn’t be tested locally — I read store.py, saw no KV backend, and generalised from the default mode. The flag exists and works:
storage backend aps (real nexus APS via /api/v1/storage/*)
The Local Development page mentions the in-memory store prominently and --storage aps much less so. Given that testing storage locally is the difference between finding a scope bug in an afternoon and finding it in Marketplace review, it would be worth a callout:
By default
anna-app devkeeps storage in memory for offline parity. To exercise real APS — same wire path as production — runanna-app dev --storage apswhile logged in.
7. Minor: editing an Executa in the Hub resets its visibility
Not a docs issue, possibly a bug.
Editing an Executa through the Hub UI appears to reset visibility to private. This produced two apps submit-review precheck failures for me, and may have caused the “bundle relationship is inconsistent” finding in my own Marketplace review — the reviewer may have looked while it was private.
Worth either preserving visibility across edits, or warning in the edit dialog.
Offer
Happy to turn any of this into whatever format suits — a PR if there’s a repo I’ve missed, or individual issues. Item 3 is the one I’d prioritise, since it produced a failed review round and the error message and the recommended capability point in different directions.