45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
# .ontoref/config.ncl — ontoref configuration for {{ project_name }}
|
|
# Place this file at <project_root>/.ontoref/config.ncl
|
|
|
|
{
|
|
nickel_import_paths = [
|
|
".",
|
|
".ontoref",
|
|
".ontoref/ontology",
|
|
".ontoref/ontology/schemas",
|
|
".ontoref/adrs",
|
|
".ontoref/reflection/schemas",
|
|
".ontoref/reflection/requirements",
|
|
# Legacy root-level paths for projects that have not applied migration 0023:
|
|
".ontology",
|
|
"ontology/schemas",
|
|
"adrs",
|
|
"reflection/schemas",
|
|
"reflection/requirements",
|
|
],
|
|
|
|
log = {
|
|
level = "info",
|
|
path = ".ontoref/logs",
|
|
rotation = "daily",
|
|
compress = false,
|
|
archive = ".ontoref/logs/archive",
|
|
max_files = 7,
|
|
},
|
|
|
|
mode_run = {
|
|
rules = [
|
|
{ when = { mode_id = "validate-ontology" }, allow = true, reason = "validation always allowed" },
|
|
{ when = { actor = "agent" }, allow = true, reason = "agent actor always allowed" },
|
|
{ when = { actor = "ci" }, allow = true, reason = "ci actor always allowed" },
|
|
],
|
|
},
|
|
|
|
nats_events = {
|
|
enabled = false,
|
|
url = "nats://localhost:4222",
|
|
emit = [],
|
|
subscribe = [],
|
|
handlers_dir = ".ontoref/reflection/handlers",
|
|
},
|
|
{{ ui_section }}}
|