Expand description
agents laboratories — CLI-side dispatch for attach/detach/list of
laboratory ids on an agent target (a tag or an instance hierarchy).
Modules§
- attach
agents laboratories attach— acquire the target’s lock(s), insert the(target, laboratory_id)row, release. Errors if the laboratory is already attached to the target.- detach
agents laboratories detach— acquire the target’s lock(s), delete the(target, laboratory_id)row, release. Errors if the laboratory was not attached to the target.- list
agents laboratories list— stream the laboratory ids attached to an agent target. Read-only: no locks. Resolves the target to its DB key directly (tag → tag rows; instance → AIH rows; ref → error) and streams{ "id": "<id>" }per attached laboratory.