1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[]
= "Worked example of a curated super-source: a repo that ships its own items AND registers a chain of other sources (see README.md)."
= "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.
[[]]
= "../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).
[[]]
= "../namespacing"
= "rev"
= 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).
[[]]
= "../tooling"
= ["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.
[[]]
= "../starter"
= "main" # authoritative pin for the nested source (DSC-65)
= ["packages/agents"] # fallback scan root, applied only if no mind.toml (DSC-50/60)
[[]] # build hook, same shape as [[hooks]] (HOOK-50)
= "make build"
= "build adopted tooling"
= "install"