Scoped access settings. A project can narrow, never expand, the host ceiling. A group or a session decides its own access, so it can also widen the host policy.
Scoped access settings. A project can narrow, never expand, the host ceiling. A group or a session decides its own access, so it can also widen the host policy.
(assert-bounded! host candidate root)Reject expanded grants after canonical path resolution, including symlink aliases.
Reject expanded grants after canonical path resolution, including symlink aliases.
(check-tool-names! target names)Throw a 400 error for an entry of names that matches no tool of target.
Throw a 400 error for an entry of `names` that matches no tool of `target`.
(effective-config db target)Resolve access keys independently; unrelated configuration is not session-owned.
Resolve access keys independently; unrelated configuration is not session-owned.
(set-tool-names-fn! f)Install f, which takes a workspace root and answers the tool names that a tool list
can name there, or nil when it cannot tell.
Install `f`, which takes a workspace root and answers the tool names that a tool list can name there, or nil when it cannot tell.
(snapshot db session-id)Bound the project values by the host ceiling, then apply the group and session values without a bound. Project values that exceed the host give way to the host values. A subagent gets its parent's policy, narrowed by its file grant.
Bound the project values by the host ceiling, then apply the group and session values without a bound. Project values that exceed the host give way to the host values. A subagent gets its parent's policy, narrowed by its file grant.
(tool-known? known entry)True when entry of a tool list matches a name of known. A name of known
that ends in .* is each name under it: the tools of an MCP server, which Vis
learns only when it connects.
True when `entry` of a tool list matches a name of `known`. A name of `known` that ends in `.*` is each name under it: the tools of an MCP server, which Vis learns only when it connects.
(tool-lists db session-id)The tool lists that apply to session-id, from each scope, least specific first, as
{:allow names} and {:deny names} maps. A subagent also gets the lists of its parent.
The tool lists that apply to `session-id`, from each scope, least specific first, as
`{:allow names}` and `{:deny names}` maps. A subagent also gets the lists of its parent.(tool-names target)The tool names that a tool list can name in target, or nil when they are unknown.
The tool names that a tool list can name in `target`, or nil when they are unknown.
(tool-pattern s)Compile one entry of a tool list. * matches any characters. After the first
dot, a character that a Python identifier cannot have means _: a block calls
the MCP tool get-issue as get_issue, and a list can give either name.
Compile one entry of a tool list. `*` matches any characters. After the first dot, a character that a Python identifier cannot have means `_`: a block calls the MCP tool `get-issue` as `get_issue`, and a list can give either name.
(validate-candidate! target candidate)Validate a complete staged access configuration before any owner is written.
Validate a complete staged access configuration before any owner is written.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |