Skip to content

Commit e417bbf

Browse files
committed
Merge origin/main into fix/mcp-frontend-recovery
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2 parents bf30a1a + a5b248f commit e417bbf

176 files changed

Lines changed: 22861 additions & 5364 deletions

File tree

Some content is hidden

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

‎.claude-plugin/marketplace.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "codebase-memory",
3+
"description": "The codebase-memory-mcp code knowledge graph server, as a Claude Code plugin.",
4+
"owner": {
5+
"name": "DeusData",
6+
"url": "https://github.com/DeusData"
7+
},
8+
"plugins": [
9+
{
10+
"name": "codebase-memory",
11+
"source": "./plugin",
12+
"description": "Codebase knowledge graph for AI agents: sub-ms queries, 99% fewer tokens."
13+
}
14+
]
15+
}

‎.github/dependabot.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
groups:
8+
# init and analyze must run the same CodeQL Action version within a job, and
9+
# upload-sarif is kept in step with them, so one PR bumps all three.
10+
codeql-action:
11+
patterns:
12+
- "github/codeql-action*"

‎.github/workflows/_build.yml‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
goarch: arm64
4242
cc: gcc
4343
cxx: g++
44-
- os: macos-14
44+
# The macOS minimum (14.0) is pinned in Makefile.cbm, not inherited
45+
# from this runner's SDK, so both darwin binaries still start on macOS 14.
46+
- os: macos-15
4547
goos: darwin
4648
goarch: arm64
4749
cc: cc
@@ -64,7 +66,8 @@ jobs:
6466

6567
- name: Install deps (Ubuntu)
6668
if: startsWith(matrix.os, 'ubuntu')
67-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
69+
timeout-minutes: 10
70+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
6871

6972
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
7073
with:
@@ -117,7 +120,7 @@ jobs:
117120
steps:
118121
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
119122

120-
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
123+
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
121124
with:
122125
msystem: CLANG64
123126
path-type: inherit
@@ -179,7 +182,7 @@ jobs:
179182
steps:
180183
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
181184

182-
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
185+
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
183186
with:
184187
msystem: CLANGARM64
185188
path-type: inherit
@@ -248,7 +251,8 @@ jobs:
248251
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
249252

250253
- name: Install deps
251-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
254+
timeout-minutes: 10
255+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
252256

253257
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
254258
with:

‎.github/workflows/_lint.yml‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ jobs:
3737
run: bash scripts/check-no-test-skips.sh
3838

3939
- name: Install build deps
40-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev cmake
40+
timeout-minutes: 10
41+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev cmake
4142

4243
- name: Install LLVM 20
44+
timeout-minutes: 10
4345
run: |
4446
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
4547
echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main" | sudo tee /etc/apt/sources.list.d/llvm-20.list
46-
sudo apt-get update
47-
sudo apt-get install -y clang-format-20
48+
APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update
49+
sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang-format-20
4850
4951
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
5052
id: cppcheck-cache
@@ -81,14 +83,16 @@ jobs:
8183
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8284

8385
- name: Install build deps
84-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
86+
timeout-minutes: 10
87+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
8588

8689
- name: Install LLVM 21 (pinned analyzer toolchain)
90+
timeout-minutes: 10
8791
run: |
8892
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
8993
echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main" | sudo tee /etc/apt/sources.list.d/llvm-21.list
90-
sudo apt-get update
91-
sudo apt-get install -y clang-tidy-21
94+
APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update
95+
sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang-tidy-21
9296
9397
- name: Memory-analyzer gate
9498
run: scripts/ci/lint-mem.sh clang-tidy-21

‎.github/workflows/_memwaste.yml‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3939
- name: Install deps
40-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 clang llvm
40+
timeout-minutes: 10
41+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 clang llvm
4142
- name: Event lane on this repository
4243
run: |
4344
# `cmd | tee` reports TEE's status: without this a failing lane
@@ -66,7 +67,8 @@ jobs:
6667
steps:
6768
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6869
- name: Install deps
69-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 clang llvm
70+
timeout-minutes: 10
71+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 clang llvm
7072
- name: CPU scaling lane (src/ at 2x against 4x)
7173
# Report-only: the script exits 1 when it flags a super-linear function.
7274
continue-on-error: true
@@ -93,7 +95,8 @@ jobs:
9395
steps:
9496
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9597
- name: Install deps
96-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 clang llvm
98+
timeout-minutes: 10
99+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 clang llvm
97100
- name: Access lane on this repository
98101
run: |
99102
# `cmd | tee` reports TEE's status: without this a failing lane
@@ -115,7 +118,7 @@ jobs:
115118

116119
event-macos:
117120
if: ${{ inputs.mode == 'full' }}
118-
runs-on: macos-14
121+
runs-on: macos-15
119122
timeout-minutes: 60
120123
steps:
121124
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -146,7 +149,7 @@ jobs:
146149
timeout-minutes: 90
147150
steps:
148151
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
149-
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
152+
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
150153
with:
151154
msystem: CLANG64
152155
path-type: inherit

‎.github/workflows/_smoke.yml‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
CORE_UNIX='[
3434
{"os":"ubuntu-latest","goos":"linux","goarch":"amd64"},
3535
{"os":"ubuntu-24.04-arm","goos":"linux","goarch":"arm64"},
36-
{"os":"macos-14","goos":"darwin","goarch":"arm64"},
36+
{"os":"macos-15","goos":"darwin","goarch":"arm64"},
3737
{"os":"macos-15-intel","goos":"darwin","goarch":"amd64"}
3838
]'
3939
# Broad legs reuse existing goos/goarch artifacts on additional OS
@@ -47,9 +47,10 @@ jobs:
4747
# (ubuntu-22.04 / 22.04-arm). So the dynamic broad legs stay on
4848
# forward-compatible OSes only (macOS); running the dynamic binary on
4949
# ubuntu-22.04 would fail Phase 1 (glibc too old), not a real regression.
50-
BROAD_UNIX='[
51-
{"os":"macos-15","goos":"darwin","goarch":"arm64"}
52-
]'
50+
# Empty since the move off macos-14 (retired 2026-11-02): the darwin-arm64
51+
# artifact is now built AND smoked on macos-15, the core leg, which was
52+
# this broad leg.
53+
BROAD_UNIX='[]'
5354
CORE_WIN='[{"os":"windows-latest","arch":"amd64"}]'
5455
# windows-11-arm now runs the NATIVE arm64 binary (build-windows-arm64),
5556
# not the x86_64 binary under emulation — we smoke the artifact we ship.
@@ -143,8 +144,9 @@ jobs:
143144
144145
- name: ClamAV scan (Linux)
145146
if: startsWith(matrix.os, 'ubuntu')
147+
timeout-minutes: 10
146148
run: |
147-
sudo apt-get update -qq && sudo apt-get install -y -qq clamav > /dev/null 2>&1
149+
APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update -qq && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y -qq clamav > /dev/null 2>&1
148150
# apt auto-starts the clamav-freshclam daemon, which holds a lock on
149151
# freshclam's log/db; stop it so the manual freshclam below can run
150152
# (else: "Failed to lock the log file ... Resource temporarily unavailable").
@@ -190,7 +192,7 @@ jobs:
190192
go-version-file: pkg/go/go.mod
191193
cache: false
192194

193-
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
195+
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
194196
with:
195197
msystem: ${{ matrix.arch == 'arm64' && 'CLANGARM64' || 'CLANG64' }}
196198
path-type: inherit

‎.github/workflows/_soak.yml‎

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
goarch: arm64
4545
cc: gcc
4646
cxx: g++
47-
- os: macos-14
47+
- os: macos-15
4848
goos: darwin
4949
goarch: arm64
5050
cc: cc
@@ -66,7 +66,8 @@ jobs:
6666
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6767
- name: Install deps (Linux)
6868
if: startsWith(matrix.os, 'ubuntu')
69-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 git
69+
timeout-minutes: 10
70+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 git
7071
- name: Build
7172
if: ${{ !inputs.use_release_artifacts }}
7273
run: scripts/build.sh ${{ inputs.version && format('--version {0}', inputs.version) || '' }} CC=${{ matrix.cc }} CXX=${{ matrix.cxx }}
@@ -118,7 +119,7 @@ jobs:
118119
steps:
119120
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
120121

121-
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
122+
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
122123
with:
123124
msystem: CLANG64
124125
path-type: inherit
@@ -196,7 +197,7 @@ jobs:
196197
steps:
197198
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
198199

199-
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
200+
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
200201
with:
201202
msystem: CLANGARM64
202203
path-type: inherit
@@ -283,7 +284,8 @@ jobs:
283284
steps:
284285
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
285286
- name: Install soak dependencies
286-
run: sudo apt-get update && sudo apt-get install -y python3 git
287+
timeout-minutes: 10
288+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y python3 git
287289
- name: Download selected portable release container
288290
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
289291
with:
@@ -335,7 +337,7 @@ jobs:
335337
goarch: arm64
336338
cc: gcc
337339
cxx: g++
338-
- os: macos-14
340+
- os: macos-15
339341
goos: darwin
340342
goarch: arm64
341343
cc: cc
@@ -356,7 +358,8 @@ jobs:
356358
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
357359
- name: Install deps (Linux)
358360
if: startsWith(matrix.os, 'ubuntu')
359-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 git
361+
timeout-minutes: 10
362+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 git
360363
- name: Build (ASan)
361364
run: |
362365
SANITIZE="-fsanitize=address,undefined -fno-omit-frame-pointer"
@@ -386,7 +389,7 @@ jobs:
386389
steps:
387390
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
388391

389-
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
392+
- uses: msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
390393
with:
391394
msystem: CLANG64
392395
path-type: inherit

0 commit comments

Comments
 (0)