-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcortex.toml
More file actions
93 lines (85 loc) · 1.94 KB
/
cortex.toml
File metadata and controls
93 lines (85 loc) · 1.94 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
# Cortex bootstrap configuration for the Cortex repo itself.
#
# Consumed by `cortex-bootstrap` (spec 09). Lets the bootstrap walker
# treat Cortex like any other Hive repo when running
# `cortex-bootstrap .` from the repo root.
[cortex]
id = "Cortex"
[cortex.exclude]
paths = [
"target/",
"node_modules/",
"gui/node_modules/",
"gui/dist/",
"dist/",
"tmp/",
".cargo/",
".git/",
".cortex/",
]
extensions = [
"lock",
"log",
"pack",
"png",
"jpg",
"jpeg",
"gif",
"ico",
"pdf",
"exe",
"dll",
"so",
"dylib",
"wasm",
"zip",
"gz",
"tgz",
"zst",
]
[cortex.chunking]
code_strategy = "auto"
doc_strategy = "section"
[cortex.git]
include_commits = true
include_prs = false
[cortex.decisions]
promote_patterns = [
".rulebook/decisions/*.md",
".rulebook/decisions/**/*.md",
"docs/decisions/*.md",
"docs/decisions/**/*.md",
"ADR-*.md",
]
[cortex.laws]
promote_patterns = [
".rulebook/laws/*.yaml",
".rulebook/laws/*.yml",
".claude/rules/*.md",
# Phase11k §3.1 — AGENTS override / shared rule files declare
# `LAW-CORTEX-*` policies inline; promoting them as Law makes the
# bootstrap walker emit one `law.imported` envelope per matched
# heading (see `extract_pattern` below).
"AGENTS.override.md",
"AGENTS.md",
]
# Phase11k §3.2 — when set, the Law-classified file's body is scanned
# for `## ` headings whose first token matches this pattern. Each
# match becomes its own `law.imported` envelope with `law_id` =
# the matched token, instead of one giant single-law envelope.
extract_pattern = "^LAW-[A-Z0-9-]+$"
[cortex.analyses]
promote_patterns = [
"docs/analysis/*.md",
"docs/analysis/**/*.md",
"docs/analyses/*.md",
"docs/analyses/**/*.md",
]
[cortex.memories]
import_files = [
"CLAUDE.md",
"AGENTS.md",
"AGENTS.override.md",
".rulebook/memory/**/*.md",
".rulebook/PLANS.md",
]