Skip to main content

Module tool_names

Module tool_names 

Source
Expand description

The tool name of an artifact inside one staged session.

A capsule declares artifacts by full name, <scope>/<name>, and a model is offered each by its tool name, the bare part: the tool it calls, its <runtime dir>/tools/<name>/ directory and every key the session dispatches on. Staging refuses two artifacts that would share a tool name, then renames the request once ([localize_artifact_names]) so the rest of the session works in tool names alone. What leaves the session — the store, the lock, trace identity, manage.* and roost requests — goes back to the full name through the map that rename returns.

Functions§

check_unique_tool_names
Refuses the first two declared names that share a tool name.
spawn_target
The capabilities.spawn.allow entry a delegate-task call or a plan’s capsule step names by its bare part. A name no entry has is returned as given, so mur-roost’s referee refuses it in its own words; the manifest parser keeps the bare parts of the entries unique.