Repository navigation
Expand file tree
/
Copy pathgrund.toml
More file actions
170 lines (138 loc) · 3.92 KB
/
Copy pathgrund.toml
File metadata and controls
170 lines (138 loc) · 3.92 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
grund_config_version = 1
project_name = "root"
project_description = "Repository for shared GraalVM reachability metadata, tests, and release infrastructure"
[workspace]
members = ["forge", "real-use-tests"]
include_root = true
[reference]
marker = "§"
trigger = "$$"
strict = true
require_grounding = false
inline_style = "citation-with-note" # citation-with-note | citation-only
inline_note_suggested_lines = 1
inline_note_max_lines = 3
inline_note_max_columns = 100
warn_on_suggested = false
[id]
format = "{kind}-{slug}" # placeholders: {kind} required; use {number}, {slug}, or both
section_separator = "."
section_heading_levels = "strict" # strict | warn | loose
number_pattern = "\\d+"
slug_pattern = "[a-z0-9][a-z0-9-]*"
[[kinds]]
kind = "GRUND"
file = "docs/grund.md"
title = "Why: repository motivation"
[[kinds]]
kind = "GOAL"
file = "docs/goals.md"
title = "Where: repository direction and outcomes"
[[kinds]]
kind = "PRCPL"
file = "docs/principles.md"
title = "Cross-cutting principles for how the repository works"
[[kinds]]
kind = "FS"
folder = "docs/functional-spec"
title = "Repository functional behavior and contributor-facing requirements"
[[kinds]]
kind = "AR"
folder = "docs/architecture"
title = "Repository architecture and build infrastructure"
[[kinds]]
kind = "SKILL"
folder = "skills"
citable = false
title = "Agent review and automation skills"
[[kinds]]
kind = "workflow"
folder = ".github/workflows"
citable = false
title = "CI and release workflows: the gate on GitHub"
[[kinds]]
kind = "action"
folder = ".github/actions"
citable = false
title = "Composite actions the workflows reuse"
[[kinds]]
kind = "ephor"
folder = ".ephor"
citable = false
title = "Maintainer agent queues: the ephor state machine, scripts and instructions"
# Places that are listed, not walked: content that ships verbatim or is generated.
[[kinds]]
kind = "metadata"
folder = "metadata"
citable = false
scan = false
title = "The shipped reachability metadata, verbatim"
[[kinds]]
kind = "tests"
folder = "tests"
citable = false
scan = false
title = "Per-library test projects that justify the metadata"
[[kinds]]
kind = "tck-build-logic"
folder = "tests/tck-build-logic"
citable = false
title = "The TCK harness build logic the test projects run on"
[[kinds]]
kind = "stats"
folder = "stats"
citable = false
scan = false
title = "Generated library statistics"
[[kinds]]
kind = "asset"
folder = "docs/assets"
citable = false
scan = false
title = "README images, shipped verbatim"
# The homeless kind: every citation site outside every home above.
[[kinds]]
kind = "code"
citable = false
title = "Build files and repository scripts outside a kind home"
[scan]
include = ["AGENTS.md", "README.md", "COVERAGE.md", "docs", "skills", ".github/workflows", ".github/actions", ".ephor", "build.gradle"]
exclude = ["target", "node_modules", ".git", "dist", "build", ".venv", ".gradle", "out", "forge/.venv", "forge/**/__pycache__"]
extensions = ["md", "html", "yml", "yaml", "gradle", "sh", "js"]
comment_prefixes = ["//", "#", "/*", "*", "<!--"]
docstring_python = false
respect_gitignore = true
[output]
format = "text" # text | json
color = "auto" # auto | always | never
relative_paths = true
[fmt.cross_refs]
enabled = false
anchor_format = "github" # github | gitlab | mkdocs | pandoc | none
[citations]
default = "may"
[citations.GOAL]
must = ["GRUND"]
[citations.PRCPL]
must = ["GOAL"]
[citations.FS]
should = ["GOAL|FS"]
[citations.AR]
must = ["FS|GOAL"]
[citations.SKILL]
must = ["FS"]
should = ["AR"]
[citations.workflow]
should = ["FS|AR"]
[citations.action]
should = ["FS|AR"]
[citations.ephor]
must = ["FS"]
should = ["AR"]
# No [citations.tck-build-logic] rule: a file here sits in two homes, `tests`
# and `tck-build-logic`, and grund reads a nested home as ambiguity rather than
# most-specific-wins, so these files classify as `code`. The rule below governs
# them; restore this one when grund resolves the nesting.
[citations.code]
must = ["FS"]
should = ["AR"]