Expand description
The definition an archive carries: an allowlist, not a denylist (spec section 4.1). A definition is instructions
for a process that runs commands, so a field an archive could set that widens what the agent may do at the
destination (permission mode, extra directories, shell, remote connections, MCP servers, environment, hooks,
auto-approve rules, accounts, the working directory, the container’s image and volumes) is not a field of
PortableDefinition at all. Reading an archive keeps the fields below, drops every other key and lists what it
dropped, so the arrival note can say so.
Structs§
- Parsed
Definition - What reading
agent.jsongave. - Portable
Definition - Route
Choice - The route and model the agent runs on, as ids. The destination checks them against its own catalog.
Constants§
- ALLOWED_
KEYS - The keys of
agent.jsonthis build reads. Every other key is dropped.