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
[]
= "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: melded and left available, its items not auto-offered.
[[]]
= "../explicit"
# Imposes a namespace prefix on the nested source (like meld --as).
[[]]
= "../namespacing"
= "rev"
# Recommended: offered for install when this super-source is melded.
[[]]
= "../tooling"
= true
# Adopt an un-onboarded source: ../starter ships no mind.toml of its own, so the
# follow-branch, roots, and hooks below are applied as if it had declared them
# itself (DSC-59/60/61). If it ever gains a mind.toml, that file takes over and
# these fields are ignored (a warning is emitted). The values below are
# illustrative of the shape, not tied to ../starter's actual layout.
[[]]
= "../starter"
= "main" # track this branch on sync (DSC-41)
= ["packages/agents"] # scan under this subdir, not the repo root (DSC-50)
[[]] # build hook, same shape as [[hooks]] (HOOK-50)
= "make build"
= "build adopted tooling"
= "install"