Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a134ba5
refactor(cli): avoid build-output path ambiguity
rabii-chaarani Jul 23, 2026
e7681ca
feat(api): ensure all clients share one graph operation path
rabii-chaarani Jul 23, 2026
b4ec6e2
refactor(api): centralize transport-neutral execution policy
rabii-chaarani Jul 23, 2026
aa696e9
docs(okf): define the path to a production wiki
rabii-chaarani Jul 24, 2026
648c4ba
refactor(adapters): separate CLI and MCP transports
rabii-chaarani Jul 24, 2026
f7169aa
refactor(api): centralize MCP client installation
rabii-chaarani Jul 24, 2026
309a165
refactor(api): keep MCP adapters transport-only
rabii-chaarani Jul 24, 2026
7b55793
refactor(api): enforce facade-only adapter access
rabii-chaarani Jul 24, 2026
54215a8
Centralize API boundaries behind the facade
rabii-chaarani Jul 24, 2026
dbf693b
fix(ci): make lbug static builds resolve OpenSSL
rabii-chaarani Jul 30, 2026
9fd96cd
fix(ci): pin Linux lbug archive to the lockfile version
rabii-chaarani Jul 30, 2026
32946c5
docs(okf): plan the wiki as a bounded subsystem
rabii-chaarani Jul 30, 2026
fde8fd1
docs(okf): restore the original system actor
rabii-chaarani Jul 30, 2026
f5dd87c
docs(okf): fix the wiki MCP display name
rabii-chaarani Jul 30, 2026
e6c18da
fix(ci): pin the Windows lbug archive
rabii-chaarani Jul 30, 2026
a4d88be
docs(okf): define the public wiki MCP catalog
rabii-chaarani Jul 30, 2026
697c2da
docs(okf): plan controlled MCP authoring
rabii-chaarani Jul 30, 2026
23d186e
docs(okf): adopt the k-wiki storage paths
rabii-chaarani Jul 30, 2026
c9c1978
fix(ci): export native Windows lbug paths
rabii-chaarani Jul 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"hooks": {
"PostToolUse": [
{
"hooks": [
{
"command": "\"/Users/rabii/Projects/Repositories/scryer/target/release/bundle/macos/scryer.app/Contents/MacOS/scryer-mcp\" hook",
"timeout": 10,
"type": "command"
}
],
"matcher": "Read"
},
{
"hooks": [
{
"command": "\"/Users/rabii/Projects/Repositories/scryer/target/release/bundle/macos/scryer.app/Contents/MacOS/scryer-mcp\" hook",
"timeout": 10,
"type": "command"
}
],
"matcher": "Edit|Write|NotebookEdit"
}
],
"SessionStart": [
{
"hooks": [
{
"command": "\"/Users/rabii/Projects/Repositories/scryer/target/release/bundle/macos/scryer.app/Contents/MacOS/scryer-mcp\" hook",
"timeout": 10,
"type": "command"
}
]
}
],
"Stop": [
{
"hooks": [
{
"command": "\"/Users/rabii/Projects/Repositories/scryer/target/release/bundle/macos/scryer.app/Contents/MacOS/scryer-mcp\" hook",
"timeout": 15,
"type": "command"
}
]
}
]
},
"statusLine": {
"command": "\"/Users/rabii/Projects/Repositories/scryer/target/release/bundle/macos/scryer.app/Contents/MacOS/scryer-mcp\" statusline",
"type": "command"
}
}
90 changes: 74 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
include:
- os: ubuntu-latest
rustflags: ""
prebuilt_lbug: false
lbug_archive: ""
prebuilt_lbug: true
lbug_archive: liblbug-static-linux-x86_64-compat.tar.gz
test_args: ""
- os: macos-latest
rustflags: ""
Expand All @@ -51,14 +51,27 @@ jobs:
test_args: ""
- os: windows-2022
rustflags: ""
prebuilt_lbug: false
lbug_archive: ""
prebuilt_lbug: true
lbug_archive: liblbug-static-windows-x86_64.zip
test_args: "--release"
steps:
- name: Check out repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
- name: Prepare OpenSSL static libraries
if: runner.os == 'Windows'
shell: pwsh
run: |
$triplet = 'x64-windows-static'
vcpkg install "openssl:$triplet"
$vcpkgRoot = if ($env:VCPKG_INSTALLATION_ROOT) { $env:VCPKG_INSTALLATION_ROOT } else { 'C:\vcpkg' }
$libDir = Join-Path $vcpkgRoot "installed\$triplet\lib"
$linkDir = Join-Path $env:RUNNER_TEMP 'lbug-openssl'
New-Item -ItemType Directory -Force -Path $linkDir | Out-Null
Copy-Item (Join-Path $libDir 'libssl.lib') (Join-Path $linkDir 'ssl.lib')
Copy-Item (Join-Path $libDir 'libcrypto.lib') (Join-Path $linkDir 'crypto.lib')
"LIB=$linkDir;$env:LIB" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Prepare prebuilt liblbug
if: ${{ matrix.prebuilt_lbug }}
shell: bash
Expand All @@ -71,12 +84,28 @@ jobs:
curl --retry 5 --retry-all-errors --connect-timeout 20 -fSL \
"https://github.com/LadybugDB/ladybug/releases/download/v${lbug_version}/${archive}" \
-o "$RUNNER_TEMP/$archive"
tar xzf "$RUNNER_TEMP/$archive" -C "$lib_dir"
test -f "$lib_dir/liblbug.a"
case "$archive" in
*.tar.gz)
tar xzf "$RUNNER_TEMP/$archive" -C "$lib_dir"
test -f "$lib_dir/liblbug.a"
;;
*.zip)
unzip -o "$RUNNER_TEMP/$archive" -d "$lib_dir"
test -f "$lib_dir/lbug.lib"
;;
*)
echo "Unsupported liblbug archive: $archive" >&2
exit 1
;;
esac
test -f "$lib_dir/lbug.h"
lib_dir_env="$lib_dir"
if [ "${RUNNER_OS:-}" = "Windows" ]; then
lib_dir_env="$(cygpath -m "$lib_dir")"
fi
{
echo "LBUG_LIBRARY_DIR=$lib_dir"
echo "LBUG_INCLUDE_DIR=$lib_dir"
echo "LBUG_LIBRARY_DIR=$lib_dir_env"
echo "LBUG_INCLUDE_DIR=$lib_dir_env"
} >> "$GITHUB_ENV"
- name: Run tests
env:
Expand Down Expand Up @@ -132,8 +161,8 @@ jobs:
- os: ubuntu-latest
binary: codebase-graph
archive: codebase-graph-linux-x86_64.tar.gz
prebuilt_lbug: false
lbug_archive: ""
prebuilt_lbug: true
lbug_archive: liblbug-static-linux-x86_64-compat.tar.gz
rustflags: ""
- os: macos-latest
binary: codebase-graph
Expand All @@ -150,14 +179,27 @@ jobs:
- os: windows-2022
binary: codebase-graph.exe
archive: codebase-graph-windows-x86_64.tar.gz
prebuilt_lbug: false
lbug_archive: ""
prebuilt_lbug: true
lbug_archive: liblbug-static-windows-x86_64.zip
rustflags: ""
steps:
- name: Check out repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
- name: Prepare OpenSSL static libraries
if: runner.os == 'Windows'
shell: pwsh
run: |
$triplet = 'x64-windows-static'
vcpkg install "openssl:$triplet"
$vcpkgRoot = if ($env:VCPKG_INSTALLATION_ROOT) { $env:VCPKG_INSTALLATION_ROOT } else { 'C:\vcpkg' }
$libDir = Join-Path $vcpkgRoot "installed\$triplet\lib"
$linkDir = Join-Path $env:RUNNER_TEMP 'lbug-openssl'
New-Item -ItemType Directory -Force -Path $linkDir | Out-Null
Copy-Item (Join-Path $libDir 'libssl.lib') (Join-Path $linkDir 'ssl.lib')
Copy-Item (Join-Path $libDir 'libcrypto.lib') (Join-Path $linkDir 'crypto.lib')
"LIB=$linkDir;$env:LIB" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Prepare prebuilt liblbug
if: ${{ matrix.prebuilt_lbug }}
shell: bash
Expand All @@ -170,12 +212,28 @@ jobs:
curl --retry 5 --retry-all-errors --connect-timeout 20 -fSL \
"https://github.com/LadybugDB/ladybug/releases/download/v${lbug_version}/${archive}" \
-o "$RUNNER_TEMP/$archive"
tar xzf "$RUNNER_TEMP/$archive" -C "$lib_dir"
test -f "$lib_dir/liblbug.a"
case "$archive" in
*.tar.gz)
tar xzf "$RUNNER_TEMP/$archive" -C "$lib_dir"
test -f "$lib_dir/liblbug.a"
;;
*.zip)
unzip -o "$RUNNER_TEMP/$archive" -d "$lib_dir"
test -f "$lib_dir/lbug.lib"
;;
*)
echo "Unsupported liblbug archive: $archive" >&2
exit 1
;;
esac
test -f "$lib_dir/lbug.h"
lib_dir_env="$lib_dir"
if [ "${RUNNER_OS:-}" = "Windows" ]; then
lib_dir_env="$(cygpath -m "$lib_dir")"
fi
{
echo "LBUG_LIBRARY_DIR=$lib_dir"
echo "LBUG_INCLUDE_DIR=$lib_dir"
echo "LBUG_LIBRARY_DIR=$lib_dir_env"
echo "LBUG_INCLUDE_DIR=$lib_dir_env"
} >> "$GITHUB_ENV"
- name: Build Rust production binary
env:
Expand Down
Loading