@danielblomma/cortex-mcp 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +5 -0
  3. package/bin/cli/arguments.mjs +60 -0
  4. package/bin/cli/context-passthrough.mjs +129 -0
  5. package/bin/cli/daemon.mjs +157 -0
  6. package/bin/cli/enterprise.mjs +516 -0
  7. package/bin/cli/help.mjs +88 -0
  8. package/bin/cli/hooks.mjs +199 -0
  9. package/bin/cli/mcp-command.mjs +87 -0
  10. package/bin/cli/paths.mjs +14 -0
  11. package/bin/cli/process.mjs +49 -0
  12. package/bin/cli/project-commands.mjs +237 -0
  13. package/bin/cli/project-runtime.mjs +34 -0
  14. package/bin/cli/query-command.mjs +18 -0
  15. package/bin/cli/router.mjs +66 -0
  16. package/bin/cli/run-command.mjs +44 -0
  17. package/bin/cli/scaffold-ownership.mjs +936 -0
  18. package/bin/cli/scaffold.mjs +687 -0
  19. package/bin/cli/stage-command.mjs +9 -0
  20. package/bin/cli/telemetry-command.mjs +18 -0
  21. package/bin/cli/trusted-runtime.mjs +18 -0
  22. package/bin/cortex.mjs +6 -1834
  23. package/mcp-registry-submission.json +1 -1
  24. package/package.json +3 -2
  25. package/scaffold/ownership/baseline-v2.4.1.json +22 -0
  26. package/scaffold/ownership/current.json +4 -0
  27. package/scaffold/ownership/v1.json +456 -0
  28. package/scaffold/scripts/ingest-parsers.mjs +1 -387
  29. package/scaffold/scripts/ingest-worker.mjs +4 -1
  30. package/scaffold/scripts/ingest.mjs +5 -3899
  31. package/scaffold/scripts/lib/ingest/arguments.mjs +78 -0
  32. package/scaffold/scripts/lib/ingest/chunks.mjs +212 -0
  33. package/scaffold/scripts/lib/ingest/config.mjs +120 -0
  34. package/scaffold/scripts/lib/ingest/constants.mjs +222 -0
  35. package/scaffold/scripts/lib/ingest/files.mjs +387 -0
  36. package/scaffold/scripts/lib/ingest/incremental-state.mjs +131 -0
  37. package/scaffold/scripts/lib/ingest/io.mjs +78 -0
  38. package/scaffold/scripts/lib/ingest/main.mjs +76 -0
  39. package/scaffold/scripts/lib/ingest/parser-composition.mjs +140 -0
  40. package/scaffold/scripts/lib/ingest/parser-registry.mjs +387 -0
  41. package/scaffold/scripts/lib/ingest/pipeline-stages.mjs +1625 -0
  42. package/scaffold/scripts/lib/ingest/projects.mjs +272 -0
  43. package/scaffold/scripts/lib/ingest/relations.mjs +860 -0
  44. package/scaffold/scripts/lib/ingest/runtime-paths.mjs +11 -0
  45. package/scaffold/scripts/lib/ingest/workers.mjs +264 -0
@@ -56,7 +56,7 @@
56
56
  "Multi-language support (JS/TS today, Python/Go planned)"
57
57
  ],
58
58
  "requirements": {
59
- "node": ">=18",
59
+ "node": ">=20.9.0",
60
60
  "git": "required for change tracking",
61
61
  "disk": "~50MB per project"
62
62
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielblomma/cortex-mcp",
3
3
  "mcpName": "io.github.DanielBlomma/cortex",
4
- "version": "2.4.1",
4
+ "version": "2.4.2",
5
5
  "description": "Local, repo-scoped context platform for coding assistants. Semantic search, graph relationships, and architectural rule context.",
6
6
  "type": "module",
7
7
  "author": "Daniel Blomma",
@@ -43,6 +43,7 @@
43
43
  "scaffold/AGENTS.md",
44
44
  "scaffold/CLAUDE.md",
45
45
  "scaffold/docs",
46
+ "scaffold/ownership",
46
47
  "scaffold/scripts/*.mjs",
47
48
  "scaffold/scripts/*.sh",
48
49
  "scaffold/scripts/lib",
@@ -67,7 +68,7 @@
67
68
  "scripts": {
68
69
  "prepack": "npm --prefix scaffold/mcp run build",
69
70
  "pretest": "test -d scaffold/scripts/parsers/node_modules || npm --prefix scaffold/scripts/parsers install --no-fund --no-update-notifier --silent",
70
- "test": "node tests/context-regressions.test.mjs && node --test tests/ingest-units.test.mjs tests/ingest-parallel.test.mjs tests/ingest-worker-crash.test.mjs tests/javascript-parser.test.mjs tests/markdown-parser.test.mjs tests/sql-parser.test.mjs tests/config-parser.test.mjs tests/resources-parser.test.mjs tests/vbnet-parser.test.mjs tests/cpp-parser.test.mjs tests/dashboard.test.mjs tests/init-config.test.mjs tests/init-agents.test.mjs tests/multi-level.test.mjs tests/no-legacy-paths.test.mjs tests/tree-sitter-error-reporting.test.mjs tests/tree-sitter-body-cap.test.mjs tests/tree-sitter-exported.test.mjs tests/tree-sitter-robustness.test.mjs tests/bootstrapbench-run.test.mjs tests/bootstrapbench-stats.test.mjs tests/bootstrapbench-aggregate.test.mjs tests/bootstrapbench-cleanup.test.mjs tests/bootstrapbench-query-packs.test.mjs tests/query-cli-shim.test.mjs tests/enterprise-cli-security.test.mjs tests/session-bootstrap.test.mjs tests/plugin-skills.test.mjs tests/plugin-manifests.test.mjs",
71
+ "test": "node tests/context-regressions.test.mjs && node --test tests/cli-contract.test.mjs tests/ingest-units.test.mjs tests/ingest-characterization.test.mjs tests/ingest-parallel.test.mjs tests/ingest-worker-crash.test.mjs tests/ingest-memory-trace.test.mjs tests/javascript-parser.test.mjs tests/markdown-parser.test.mjs tests/sql-parser.test.mjs tests/config-parser.test.mjs tests/resources-parser.test.mjs tests/vbnet-parser.test.mjs tests/cpp-parser.test.mjs tests/dashboard.test.mjs tests/init-config.test.mjs tests/init-agents.test.mjs tests/scaffold-migration.test.mjs tests/scaffold-ownership.test.mjs tests/multi-level.test.mjs tests/no-legacy-paths.test.mjs tests/tree-sitter-error-reporting.test.mjs tests/tree-sitter-body-cap.test.mjs tests/tree-sitter-exported.test.mjs tests/tree-sitter-robustness.test.mjs tests/bootstrapbench-run.test.mjs tests/bootstrapbench-stats.test.mjs tests/bootstrapbench-aggregate.test.mjs tests/bootstrapbench-cleanup.test.mjs tests/bootstrapbench-query-packs.test.mjs tests/query-cli-shim.test.mjs tests/enterprise-cli-security.test.mjs tests/session-bootstrap.test.mjs tests/plugin-skills.test.mjs tests/plugin-manifests.test.mjs",
71
72
  "release:sync-version": "node scripts/sync-release-version.mjs",
72
73
  "release:check-version-sync": "node scripts/sync-release-version.mjs --check",
73
74
  "audit:dependencies": "npm audit --package-lock-only --audit-level=low --prefix frontend && npm audit --package-lock-only --audit-level=low --prefix scaffold/mcp && npm audit --package-lock-only --audit-level=low --prefix scaffold/scripts/parsers && npm audit --package-lock-only --audit-level=low --prefix scripts/parsers",
@@ -0,0 +1,22 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "baselineId": "v2.4.1",
4
+ "sourceCommit": "5ae3b00948bad26af2e5eaea60ce0b52567db352",
5
+ "files": [
6
+ {
7
+ "target": ".context/scripts/ingest-parsers.mjs",
8
+ "sha256": "e971886462c23cd832474729928207985d4fc8e3c60dcf5cf9a0e5f3f8ce5591",
9
+ "legacyTarget": "scripts/ingest-parsers.mjs"
10
+ },
11
+ {
12
+ "target": ".context/scripts/ingest-worker.mjs",
13
+ "sha256": "5240b2339b152908dba06d349c2190ecca1881b5be4808cf8021f63fb9557aba",
14
+ "legacyTarget": "scripts/ingest-worker.mjs"
15
+ },
16
+ {
17
+ "target": ".context/scripts/ingest.mjs",
18
+ "sha256": "359f213f868e280212c44972a9fc8af58edb6cba28bc3c767d0ec288b52ee6e6",
19
+ "legacyTarget": "scripts/ingest.mjs"
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "manifestVersion": 1
4
+ }
@@ -0,0 +1,456 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "manifestVersion": 1,
4
+ "managedRoots": [
5
+ {
6
+ "source": "mcp",
7
+ "target": ".context/mcp",
8
+ "optionalPrefixes": [
9
+ "dist"
10
+ ],
11
+ "files": [
12
+ "build.mjs",
13
+ "dist/.cortex-build-hash",
14
+ "dist/cli/enterprise-setup.js",
15
+ "dist/cli/govern.js",
16
+ "dist/cli/query.js",
17
+ "dist/cli/run.js",
18
+ "dist/cli/stage.js",
19
+ "dist/cli/telemetry-test.js",
20
+ "dist/cli/ungoverned-detector.js",
21
+ "dist/contextEntities.js",
22
+ "dist/core/audit/query.js",
23
+ "dist/core/audit/writer.js",
24
+ "dist/core/config.js",
25
+ "dist/core/enterprise-host-identity.js",
26
+ "dist/core/enterprise-identity.js",
27
+ "dist/core/enterprise-rotation.js",
28
+ "dist/core/govern-paths.js",
29
+ "dist/core/index.js",
30
+ "dist/core/license.js",
31
+ "dist/core/policy/enforce.js",
32
+ "dist/core/policy/injection.js",
33
+ "dist/core/policy/store.js",
34
+ "dist/core/rbac/check.js",
35
+ "dist/core/secure-endpoint.js",
36
+ "dist/core/telemetry/collector.js",
37
+ "dist/core/telemetry/state-dir.js",
38
+ "dist/core/validators/builtins.js",
39
+ "dist/core/validators/config.js",
40
+ "dist/core/validators/engine.js",
41
+ "dist/core/validators/evaluators/code_comments.js",
42
+ "dist/core/validators/evaluators/regex.js",
43
+ "dist/core/workflow/artifact-io.js",
44
+ "dist/core/workflow/capabilities.js",
45
+ "dist/core/workflow/default-workflows.js",
46
+ "dist/core/workflow/enforcement.js",
47
+ "dist/core/workflow/envelope.js",
48
+ "dist/core/workflow/index.js",
49
+ "dist/core/workflow/mcp-tools.js",
50
+ "dist/core/workflow/resolution.js",
51
+ "dist/core/workflow/run-lifecycle.js",
52
+ "dist/core/workflow/schemas.js",
53
+ "dist/core/workflow/synced-capability-registry.js",
54
+ "dist/core/workflow/synced-registry.js",
55
+ "dist/daemon/capability-sync-checker.js",
56
+ "dist/daemon/client.js",
57
+ "dist/daemon/egress-proxy.js",
58
+ "dist/daemon/global-host-events.js",
59
+ "dist/daemon/heartbeat-pusher.js",
60
+ "dist/daemon/heartbeat-tracker.js",
61
+ "dist/daemon/host-events-pusher.js",
62
+ "dist/daemon/main.js",
63
+ "dist/daemon/paths.js",
64
+ "dist/daemon/project-service-registry.js",
65
+ "dist/daemon/protocol.js",
66
+ "dist/daemon/server.js",
67
+ "dist/daemon/skill-sync-checker.js",
68
+ "dist/daemon/sync-checker.js",
69
+ "dist/daemon/ungoverned-scanner.js",
70
+ "dist/daemon/workflow-sync-checker.js",
71
+ "dist/defaults.js",
72
+ "dist/embed.js",
73
+ "dist/embedScheduler.js",
74
+ "dist/embeddings.js",
75
+ "dist/enterprise/audit/push.js",
76
+ "dist/enterprise/index.js",
77
+ "dist/enterprise/model/deploy.js",
78
+ "dist/enterprise/policy/sync.js",
79
+ "dist/enterprise/privacy/boundary.js",
80
+ "dist/enterprise/reviews/changed-files.js",
81
+ "dist/enterprise/reviews/pattern-context.js",
82
+ "dist/enterprise/reviews/policy-selection.js",
83
+ "dist/enterprise/reviews/push.js",
84
+ "dist/enterprise/reviews/trust-state.js",
85
+ "dist/enterprise/telemetry/sync.js",
86
+ "dist/enterprise/tools/enterprise.js",
87
+ "dist/enterprise/tools/harness.js",
88
+ "dist/enterprise/tools/walk.js",
89
+ "dist/enterprise/violations/push.js",
90
+ "dist/enterprise/workflow/push.js",
91
+ "dist/enterprise/workflow/state.js",
92
+ "dist/frontmatter.js",
93
+ "dist/graph.js",
94
+ "dist/graphCsv.js",
95
+ "dist/graphMetrics.js",
96
+ "dist/hooks/permission-request.js",
97
+ "dist/hooks/post-tool-use.js",
98
+ "dist/hooks/pre-compact.js",
99
+ "dist/hooks/pre-tool-use.js",
100
+ "dist/hooks/session-end.js",
101
+ "dist/hooks/session-start.js",
102
+ "dist/hooks/shared.js",
103
+ "dist/hooks/stop.js",
104
+ "dist/hooks/user-prompt-submit.js",
105
+ "dist/impactPresentation.js",
106
+ "dist/impactRanking.js",
107
+ "dist/impactResponse.js",
108
+ "dist/impactResults.js",
109
+ "dist/impactSeed.js",
110
+ "dist/impactTraversal.js",
111
+ "dist/jsonl.js",
112
+ "dist/loadGraph.js",
113
+ "dist/lruCache.js",
114
+ "dist/paths.js",
115
+ "dist/patternEvidence.js",
116
+ "dist/plugin.js",
117
+ "dist/presets.js",
118
+ "dist/relatedResponse.js",
119
+ "dist/relatedTraversal.js",
120
+ "dist/rules.js",
121
+ "dist/search.js",
122
+ "dist/searchCore.js",
123
+ "dist/searchResults.js",
124
+ "dist/server.js",
125
+ "dist/types.js",
126
+ "package-lock.json",
127
+ "package.json",
128
+ "src/cli/enterprise-setup.ts",
129
+ "src/cli/govern.ts",
130
+ "src/cli/query.ts",
131
+ "src/cli/run.ts",
132
+ "src/cli/stage.ts",
133
+ "src/cli/telemetry-test.ts",
134
+ "src/cli/ungoverned-detector.ts",
135
+ "src/contextEntities.ts",
136
+ "src/core/audit/query.ts",
137
+ "src/core/audit/writer.ts",
138
+ "src/core/config.ts",
139
+ "src/core/enterprise-host-identity.ts",
140
+ "src/core/enterprise-identity.ts",
141
+ "src/core/enterprise-rotation.ts",
142
+ "src/core/govern-paths.ts",
143
+ "src/core/index.ts",
144
+ "src/core/license.ts",
145
+ "src/core/policy/enforce.ts",
146
+ "src/core/policy/injection.ts",
147
+ "src/core/policy/store.ts",
148
+ "src/core/rbac/check.ts",
149
+ "src/core/secure-endpoint.ts",
150
+ "src/core/telemetry/collector.ts",
151
+ "src/core/telemetry/state-dir.ts",
152
+ "src/core/validators/builtins.ts",
153
+ "src/core/validators/config.ts",
154
+ "src/core/validators/engine.ts",
155
+ "src/core/validators/evaluators/code_comments.ts",
156
+ "src/core/validators/evaluators/regex.ts",
157
+ "src/core/workflow/artifact-io.ts",
158
+ "src/core/workflow/capabilities.ts",
159
+ "src/core/workflow/default-workflows.ts",
160
+ "src/core/workflow/enforcement.ts",
161
+ "src/core/workflow/envelope.ts",
162
+ "src/core/workflow/index.ts",
163
+ "src/core/workflow/mcp-tools.ts",
164
+ "src/core/workflow/resolution.ts",
165
+ "src/core/workflow/run-lifecycle.ts",
166
+ "src/core/workflow/schemas.ts",
167
+ "src/core/workflow/synced-capability-registry.ts",
168
+ "src/core/workflow/synced-registry.ts",
169
+ "src/daemon/capability-sync-checker.ts",
170
+ "src/daemon/client.ts",
171
+ "src/daemon/egress-proxy.ts",
172
+ "src/daemon/global-host-events.ts",
173
+ "src/daemon/heartbeat-pusher.ts",
174
+ "src/daemon/heartbeat-tracker.ts",
175
+ "src/daemon/host-events-pusher.ts",
176
+ "src/daemon/main.ts",
177
+ "src/daemon/paths.ts",
178
+ "src/daemon/project-service-registry.ts",
179
+ "src/daemon/protocol.ts",
180
+ "src/daemon/server.ts",
181
+ "src/daemon/skill-sync-checker.ts",
182
+ "src/daemon/sync-checker.ts",
183
+ "src/daemon/ungoverned-scanner.ts",
184
+ "src/daemon/workflow-sync-checker.ts",
185
+ "src/defaults.ts",
186
+ "src/embed.ts",
187
+ "src/embedScheduler.ts",
188
+ "src/embeddings.ts",
189
+ "src/enterprise/audit/push.ts",
190
+ "src/enterprise/index.ts",
191
+ "src/enterprise/model/deploy.ts",
192
+ "src/enterprise/policy/sync.ts",
193
+ "src/enterprise/privacy/boundary.ts",
194
+ "src/enterprise/reviews/changed-files.ts",
195
+ "src/enterprise/reviews/pattern-context.ts",
196
+ "src/enterprise/reviews/policy-selection.ts",
197
+ "src/enterprise/reviews/push.ts",
198
+ "src/enterprise/reviews/trust-state.ts",
199
+ "src/enterprise/telemetry/sync.ts",
200
+ "src/enterprise/tools/enterprise.ts",
201
+ "src/enterprise/tools/harness.ts",
202
+ "src/enterprise/tools/walk.ts",
203
+ "src/enterprise/violations/push.ts",
204
+ "src/enterprise/workflow/push.ts",
205
+ "src/enterprise/workflow/state.ts",
206
+ "src/frontmatter.ts",
207
+ "src/graph.ts",
208
+ "src/graphCsv.ts",
209
+ "src/graphMetrics.ts",
210
+ "src/hooks/permission-request.ts",
211
+ "src/hooks/post-tool-use.ts",
212
+ "src/hooks/pre-compact.ts",
213
+ "src/hooks/pre-tool-use.ts",
214
+ "src/hooks/session-end.ts",
215
+ "src/hooks/session-start.ts",
216
+ "src/hooks/shared.ts",
217
+ "src/hooks/stop.ts",
218
+ "src/hooks/user-prompt-submit.ts",
219
+ "src/impactPresentation.ts",
220
+ "src/impactRanking.ts",
221
+ "src/impactResponse.ts",
222
+ "src/impactResults.ts",
223
+ "src/impactSeed.ts",
224
+ "src/impactTraversal.ts",
225
+ "src/jsonl.ts",
226
+ "src/loadGraph.ts",
227
+ "src/lruCache.ts",
228
+ "src/paths.ts",
229
+ "src/patternEvidence.ts",
230
+ "src/plugin.ts",
231
+ "src/presets.ts",
232
+ "src/relatedResponse.ts",
233
+ "src/relatedTraversal.ts",
234
+ "src/rules.ts",
235
+ "src/search.ts",
236
+ "src/searchCore.ts",
237
+ "src/searchResults.ts",
238
+ "src/server.ts",
239
+ "src/types.ts",
240
+ "tests/changed-files.test.mjs",
241
+ "tests/copilot-shim.test.mjs",
242
+ "tests/daemon-client.test.mjs",
243
+ "tests/egress-proxy.test.mjs",
244
+ "tests/embed-entities.test.mjs",
245
+ "tests/embed-scheduler.test.mjs",
246
+ "tests/embedding-jsonl.test.mjs",
247
+ "tests/enterprise-config.test.mjs",
248
+ "tests/enterprise-identity-sync.test.mjs",
249
+ "tests/enterprise-pattern-context.test.mjs",
250
+ "tests/enterprise-review-trust.test.mjs",
251
+ "tests/enterprise-setup.test.mjs",
252
+ "tests/fixtures/org-skillz-contract.json",
253
+ "tests/fixtures/review-trust-contract.json",
254
+ "tests/global-host-events.test.mjs",
255
+ "tests/govern-install.test.mjs",
256
+ "tests/govern-repair.test.mjs",
257
+ "tests/govern-status.test.mjs",
258
+ "tests/govern.test.mjs",
259
+ "tests/graph-bulk-load.test.mjs",
260
+ "tests/graph-csv.test.mjs",
261
+ "tests/heartbeat-pusher.test.mjs",
262
+ "tests/heartbeat-tracker.test.mjs",
263
+ "tests/host-events-pusher.test.mjs",
264
+ "tests/license.test.mjs",
265
+ "tests/lru-cache.test.mjs",
266
+ "tests/paths.test.mjs",
267
+ "tests/pattern-evidence.test.mjs",
268
+ "tests/policy-check.test.mjs",
269
+ "tests/project-service-registry.test.mjs",
270
+ "tests/query-cli.test.mjs",
271
+ "tests/repo-name.test.mjs",
272
+ "tests/review-policy-selection.test.mjs",
273
+ "tests/review-trust-contract.test.mjs",
274
+ "tests/review-validator-source.test.mjs",
275
+ "tests/run.test.mjs",
276
+ "tests/search-graph-score.test.mjs",
277
+ "tests/secure-enterprise-endpoint.test.mjs",
278
+ "tests/server.test.mjs",
279
+ "tests/skill-sync-checker.test.mjs",
280
+ "tests/sync-checker.test.mjs",
281
+ "tests/telemetry-collector.test.mjs",
282
+ "tests/ungoverned-detector.test.mjs",
283
+ "tests/ungoverned-scanner.test.mjs",
284
+ "tests/vector-index.test.mjs",
285
+ "tests/workflow-cli.test.mjs",
286
+ "tests/workflow-enforcement.test.mjs",
287
+ "tests/workflow-envelope.test.mjs",
288
+ "tests/workflow-mcp-tools.test.mjs",
289
+ "tests/workflow-synced-capabilities.test.mjs",
290
+ "tests/workflow-synced-registry.test.mjs",
291
+ "tests/workflow-validators-override.test.mjs",
292
+ "tests/workflow.test.mjs",
293
+ "tsconfig.json"
294
+ ]
295
+ },
296
+ {
297
+ "source": "scripts",
298
+ "target": ".context/scripts",
299
+ "files": [
300
+ "bootstrap.sh",
301
+ "context.sh",
302
+ "dashboard.mjs",
303
+ "dashboard.sh",
304
+ "doctor.sh",
305
+ "embed.sh",
306
+ "ingest-parsers.mjs",
307
+ "ingest-worker.mjs",
308
+ "ingest.mjs",
309
+ "ingest.sh",
310
+ "install-git-hooks.sh",
311
+ "lib/enterprise-check.sh",
312
+ "lib/ingest/arguments.mjs",
313
+ "lib/ingest/chunks.mjs",
314
+ "lib/ingest/config.mjs",
315
+ "lib/ingest/constants.mjs",
316
+ "lib/ingest/files.mjs",
317
+ "lib/ingest/incremental-state.mjs",
318
+ "lib/ingest/io.mjs",
319
+ "lib/ingest/main.mjs",
320
+ "lib/ingest/parser-composition.mjs",
321
+ "lib/ingest/parser-registry.mjs",
322
+ "lib/ingest/pipeline-stages.mjs",
323
+ "lib/ingest/projects.mjs",
324
+ "lib/ingest/relations.mjs",
325
+ "lib/ingest/runtime-paths.mjs",
326
+ "lib/ingest/workers.mjs",
327
+ "load-kuzu.sh",
328
+ "load-ryu.sh",
329
+ "memory-compile.mjs",
330
+ "memory-compile.sh",
331
+ "memory-lint.mjs",
332
+ "memory-lint.sh",
333
+ "parsers/bash-treesitter.mjs",
334
+ "parsers/config.mjs",
335
+ "parsers/cpp-dispatch.mjs",
336
+ "parsers/cpp-treesitter.mjs",
337
+ "parsers/cpp.mjs",
338
+ "parsers/csharp.mjs",
339
+ "parsers/dotnet/CSharpParser/CSharpParser.csproj",
340
+ "parsers/dotnet/CSharpParser/Program.cs",
341
+ "parsers/dotnet/VbNetParser/Program.cs",
342
+ "parsers/dotnet/VbNetParser/VbNetParser.csproj",
343
+ "parsers/go-treesitter.mjs",
344
+ "parsers/java-treesitter.mjs",
345
+ "parsers/javascript.mjs",
346
+ "parsers/javascript/ast.mjs",
347
+ "parsers/javascript/calls.mjs",
348
+ "parsers/javascript/chunks.mjs",
349
+ "parsers/javascript/imports.mjs",
350
+ "parsers/javascript/patterns.mjs",
351
+ "parsers/javascript/scope-analysis.mjs",
352
+ "parsers/javascript/scope-builder.mjs",
353
+ "parsers/javascript/scope-resolver.mjs",
354
+ "parsers/markdown.mjs",
355
+ "parsers/package-lock.json",
356
+ "parsers/package.json",
357
+ "parsers/python-treesitter.mjs",
358
+ "parsers/resources.mjs",
359
+ "parsers/ruby-treesitter.mjs",
360
+ "parsers/rust-dispatch.mjs",
361
+ "parsers/rust-treesitter.mjs",
362
+ "parsers/rust.mjs",
363
+ "parsers/sql.mjs",
364
+ "parsers/tree-sitter/base.mjs",
365
+ "parsers/tree-sitter/queries/bash.calls.scm",
366
+ "parsers/tree-sitter/queries/bash.chunks.scm",
367
+ "parsers/tree-sitter/queries/bash.imports.scm",
368
+ "parsers/tree-sitter/queries/cpp.calls.scm",
369
+ "parsers/tree-sitter/queries/cpp.chunks.scm",
370
+ "parsers/tree-sitter/queries/cpp.imports.scm",
371
+ "parsers/tree-sitter/queries/go.calls.scm",
372
+ "parsers/tree-sitter/queries/go.chunks.scm",
373
+ "parsers/tree-sitter/queries/go.imports.scm",
374
+ "parsers/tree-sitter/queries/java.calls.scm",
375
+ "parsers/tree-sitter/queries/java.chunks.scm",
376
+ "parsers/tree-sitter/queries/java.imports.scm",
377
+ "parsers/tree-sitter/queries/python.calls.scm",
378
+ "parsers/tree-sitter/queries/python.chunks.scm",
379
+ "parsers/tree-sitter/queries/python.imports.scm",
380
+ "parsers/tree-sitter/queries/ruby.calls.scm",
381
+ "parsers/tree-sitter/queries/ruby.chunks.scm",
382
+ "parsers/tree-sitter/queries/ruby.imports.scm",
383
+ "parsers/tree-sitter/queries/rust.calls.scm",
384
+ "parsers/tree-sitter/queries/rust.chunks.scm",
385
+ "parsers/tree-sitter/queries/rust.imports.scm",
386
+ "parsers/vb6.mjs",
387
+ "parsers/vbnet.mjs",
388
+ "refresh.sh",
389
+ "status.sh",
390
+ "update-context.sh",
391
+ "watch.sh"
392
+ ]
393
+ },
394
+ {
395
+ "source": ".githooks",
396
+ "target": ".githooks",
397
+ "files": [
398
+ "_cortex-update-runner.sh",
399
+ "post-checkout",
400
+ "post-commit",
401
+ "post-merge",
402
+ "post-rewrite"
403
+ ]
404
+ },
405
+ {
406
+ "source": "docs",
407
+ "target": "docs",
408
+ "files": [
409
+ {
410
+ "source": "architecture.md",
411
+ "target": "cortex-architecture.md"
412
+ }
413
+ ]
414
+ }
415
+ ],
416
+ "legacyRoots": [
417
+ {
418
+ "sourceManagedRoot": ".context/scripts",
419
+ "target": "scripts"
420
+ }
421
+ ],
422
+ "preStateBaselines": [
423
+ "v2.4.1"
424
+ ],
425
+ "protectedFiles": [
426
+ ".context/config.yaml",
427
+ ".context/enterprise.yaml",
428
+ ".context/enterprise.yml",
429
+ ".context/ontology.cypher",
430
+ ".context/rules.yaml",
431
+ "AGENTS.md",
432
+ "CLAUDE.md"
433
+ ],
434
+ "preservedFiles": [
435
+ {
436
+ "source": ".context/config.yaml",
437
+ "target": ".context/config.yaml"
438
+ },
439
+ {
440
+ "source": ".context/ontology.cypher",
441
+ "target": ".context/ontology.cypher"
442
+ },
443
+ {
444
+ "source": ".context/rules.yaml",
445
+ "target": ".context/rules.yaml"
446
+ },
447
+ {
448
+ "source": "AGENTS.md",
449
+ "target": "AGENTS.md"
450
+ },
451
+ {
452
+ "source": "CLAUDE.md",
453
+ "target": "CLAUDE.md"
454
+ }
455
+ ]
456
+ }