mind-cli 0.11.0

A manager for agent tooling (skills, agents, rules, tools) that melds arbitrary git repos and links items into your agent directories.
[source]
description = "Worked example of a curated super-source: a repo that ships its own items AND registers a chain of other sources (see README.md)."
prefix = "team"

# The nested sources below are LOCAL paths to the sibling example repos in this
# tree (../explicit, ../namespacing, ../tooling, ../starter), not remote `owner/repo` specs.
# That keeps this example self-contained and safe to read or copy: melding it
# never reaches a network remote. A real super-source lists remote specs
# (`owner/repo`, `git@host:owner/repo`, a URL) in exactly the same positions.
#
# A bare [discover].sources list (no [[items]] and no [discover] kind globs) is
# NOT authoritative, so convention scanning stays on and this repo's own skills/
# items still ship alongside the curated chain.
#
# The table-array form ([[discover.sources]]) is required here because one entry
# carries nested [[discover.sources.hooks]]; the inline-array form cannot express
# that. Both forms are otherwise equivalent for plain entries.

# Plain entry: registered and left available, its items not auto-offered.
[[discover.sources]]
source = "../explicit"

# Prefix plus install = true: every item of this source is offered for install
# when the super-source is melded, namespaced to `rev:` (like meld --namespace).
[[discover.sources]]
source = "../namespacing"
namespace = "rev"
install = true

# install-items: offer only the named items of this source; its other items stay
# registered and available (DSC-62/63). `skill:scan` is a real item ../tooling
# offers. install-items and install = true are mutually exclusive (DSC-64).
[[discover.sources]]
source = "../tooling"
install-items = ["skill:scan"]

# Adopt an un-onboarded source: ../starter ships no mind.toml of its own, so the
# roots and hooks below are applied as if it had declared them itself
# (DSC-59/60/61). roots and hooks are fallback-only: if the source ever gains a
# mind.toml, that file takes over and they are ignored (a warning is emitted).
# The pin directive (follow-branch here) is NOT gated: it is authoritative and
# overrides the source's own [source] pin whether or not it ships a mind.toml
# (DSC-65). The roots value below is illustrative of the shape, not tied to
# ../starter's actual layout.
[[discover.sources]]
source = "../starter"
follow-branch = "main"             # authoritative pin for the nested source (DSC-65)
roots = ["packages/agents"]        # fallback scan root, applied only if no mind.toml (DSC-50/60)

[[discover.sources.hooks]]         # build hook, same shape as [[hooks]] (HOOK-50)
run = "make build"
name = "build adopted tooling"
event = "install"