Skip to content

Commit 078e9e2

Browse files
authored
Merge branch 'main' into fix/json-escape
2 parents fdcafbb + 34efbc0 commit 078e9e2

85 files changed

Lines changed: 2041549 additions & 401 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/issue-labeler.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Config for github/issue-labeler (.github/workflows/issue-labeler.yml).
2+
# Non-versioned format: one regex per label, matched against title + body.
3+
# Additive only — these never remove a maintainer's manual label.
4+
5+
"windows": '(?i)\b(windows|win\s?1[01]|powershell|\.ps1|mapped drive|smb share|unc path)\b'
6+
7+
"stability/performance": '(?i)(out of memory|\boom\b|memory leak|segfault|sigsegv|sigbus|crash(es|ed|ing)?|core dumped|\bhang(s|ing)?\b|deadlock|freezes?|time(s)?\s?out|timeout|never finishes|cgroup)'
8+
9+
"parsing/quality": '(?i)(trace_path|query_graph|search_graph|calls? edge|missing (edges|nodes)|false positive|zero edges|0 edges|module node|not indexed|extraction|wrong (node|label))'
10+
11+
"editor/integration": '(?i)(cursor|vscode|vs code|opencode|codex|claude code|gemini cli|antigravity|mcp client|\.mcp\.json|installer)'
12+
13+
"ux/behavior": '(?i)(web ui|\bui\b|dashboard|3d graph|visuali[sz]ation|watcher|project name|frontend)'
14+
15+
"cypher": '(?i)\bcypher\b'
16+
17+
"language-request": '(?i)(language support|hybrid lsp|new language support|support for \w+ language)'

‎.github/label-actions.yml‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Config for dessant/label-actions (.github/workflows/label-actions.yml).
2+
# Each top-level key is a label; when that label is added to an issue, the
3+
# listed actions run. See https://github.com/dessant/label-actions
4+
5+
# When a maintainer marks an issue as a duplicate.
6+
duplicate:
7+
comment: >
8+
Thanks for raising this! It looks like a duplicate of an existing issue —
9+
the canonical one is linked above. Continuing the discussion there keeps
10+
everything in one place. We leave this open for visibility; a maintainer
11+
will close it once it's fully covered.
12+
# We intentionally do NOT auto-close duplicates (we prefer linking).
13+
# To auto-close instead, uncomment the two lines below:
14+
# close: true
15+
# close-reason: not planned
16+
17+
# When a maintainer marks an issue as waiting on the reporter.
18+
# (The stale workflow then warns at 21 days and closes at 35.)
19+
awaiting-reporter:
20+
comment: >
21+
Thanks for the report! To move this forward we need a bit more so we can
22+
reproduce it ourselves:
23+
24+
25+
- the `codebase-memory-mcp --version` you're on
26+
27+
- the exact steps or command you ran
28+
29+
- a **public** repo (or a small dummy snippet) that shows the problem —
30+
please don't paste proprietary code
31+
32+
33+
Once that's here we'll pick it straight back up. Heads-up: issues left
34+
`awaiting-reporter` are automatically closed after a few weeks of silence,
35+
but a comment reopens the door anytime.

‎.github/workflows/_build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
steps:
125125
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
126126

127-
- uses: msys2/setup-msys2@e9898307ac31d1a803454791be09ab9973336e1c # v2
127+
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
128128
with:
129129
msystem: CLANG64
130130
path-type: inherit

‎.github/workflows/_smoke.yml‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
steps:
108108
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
109109

110-
- uses: msys2/setup-msys2@e9898307ac31d1a803454791be09ab9973336e1c # v2
110+
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
111111
with:
112112
msystem: CLANG64
113113
path-type: inherit
@@ -202,21 +202,32 @@ jobs:
202202
scripts/security-install.sh ./codebase-memory-mcp
203203
scripts/security-network.sh ./codebase-memory-mcp
204204
205-
# ── Glama directory check image (non-gating) ──────────────────────
205+
# ── Packaging check (non-gating) ──────────────────────────────────
206206
# Builds pkg/glama/Dockerfile — the image Glama builds to score the
207207
# server — and runs an MCP initialize + tools/list handshake to confirm the
208208
# containerized stdio server still starts and introspects. Guards the Glama
209209
# listing integration against drift (Dockerfile breakage, release-asset
210210
# renames, introspection regressions).
211211
#
212+
# Also tests the brew tap/install flow.
213+
#
212214
# continue-on-error: a broken *directory* image must never block a release —
213215
# the shipped product binaries are unaffected. The red X is the signal to fix
214-
# the Glama integration, not a release gate.
215-
smoke-glama-image:
216+
# the integration, not a release gate.
217+
smoke-packages:
216218
runs-on: ubuntu-latest
217219
timeout-minutes: 10
218220
continue-on-error: true
219221
steps:
220222
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
221223
- name: Build Glama image and verify MCP introspection
222224
run: bash pkg/glama/verify.sh
225+
- name: Test homebrew installation
226+
env:
227+
HOMEBREW_NO_AUTO_UPDATE: 1
228+
run: |
229+
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
230+
brew tap deusdata/codebase-memory-mcp "$GITHUB_WORKSPACE"
231+
brew trust deusdata/codebase-memory-mcp
232+
brew install codebase-memory-mcp
233+
codebase-memory-mcp --version

‎.github/workflows/_soak.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
timeout-minutes: 30
7171
steps:
7272
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
73-
- uses: msys2/setup-msys2@e9898307ac31d1a803454791be09ab9973336e1c # v2
73+
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
7474
with:
7575
msystem: CLANG64
7676
path-type: inherit
@@ -153,7 +153,7 @@ jobs:
153153
timeout-minutes: 45
154154
steps:
155155
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
156-
- uses: msys2/setup-msys2@e9898307ac31d1a803454791be09ab9973336e1c # v2
156+
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
157157
with:
158158
msystem: CLANG64
159159
path-type: inherit

‎.github/workflows/_test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
steps:
5151
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
5252

53-
- uses: msys2/setup-msys2@e9898307ac31d1a803454791be09ab9973336e1c # v2
53+
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
5454
with:
5555
msystem: CLANG64
5656
path-type: inherit

‎.github/workflows/codeql.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
branches: [main]
88

99
permissions:
10-
security-events: write
1110
contents: read
1211

1312
concurrency:
@@ -17,6 +16,12 @@ concurrency:
1716
jobs:
1817
analyze:
1918
runs-on: ubuntu-latest
19+
# CodeQL needs security-events: write to upload results; scoped to this job so
20+
# the workflow's top-level token stays read-only (Scorecard TokenPermissions).
21+
permissions:
22+
security-events: write
23+
actions: read
24+
contents: read
2025
steps:
2126
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2227

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Issue area labeler
2+
3+
# Adds area labels to new/edited issues based on keyword regexes in
4+
# .github/issue-labeler.yml. Additive only (sync-labels off): it never
5+
# removes a label a maintainer set by hand. Base bug/enhancement labels
6+
# already come from the issue forms.
7+
8+
on:
9+
issues:
10+
types: [opened, edited]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
triage:
17+
runs-on: ubuntu-latest
18+
permissions:
19+
issues: write
20+
steps:
21+
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
22+
with:
23+
configuration-path: .github/issue-labeler.yml
24+
enable-versioned-regex: 0
25+
include-title: 1
26+
include-body: 1
27+
sync-labels: 0
28+
repo-token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Label actions
2+
3+
# Posts a templated comment when a maintainer adds certain labels.
4+
# Behavior is configured in .github/label-actions.yml. Issues only.
5+
6+
on:
7+
issues:
8+
types: [labeled, unlabeled]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
action:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
steps:
19+
- uses: dessant/label-actions@65225c179d3b2502f6eda7b3d15101a3f412366b # v5.0.3
20+
with:
21+
process-only: issues

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
git tag -f "$VERSION" "$GITHUB_SHA"
169169
git push origin "$VERSION" --force
170170
171-
- uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v2
171+
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v2
172172
with:
173173
tag_name: ${{ inputs.version }}
174174
draft: true

0 commit comments

Comments
 (0)