feat(memory): agent-memory MCP server — 19 tools, sandboxed filesystem memory for AI agents #158
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: sec-core-source-code-build | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - 'release/agent-sec-core/**' | |
| paths: | |
| - 'src/agent-sec-core/**' | |
| - 'scripts/build-all.sh' | |
| - '.github/workflows/sec-core-source-code-build.yaml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: Ubuntu 22.04 | |
| runner: ubuntu-22.04 | |
| container: '' | |
| - name: Alinux4 | |
| runner: ubuntu-22.04 | |
| container: alibaba-cloud-linux-4-registry.cn-hangzhou.cr.aliyuncs.com/alinux4/alinux4:latest | |
| name: Source Build (${{ matrix.name }}) | |
| runs-on: ${{ matrix.runner }} | |
| container: ${{ matrix.container || '' }} | |
| steps: | |
| - name: Configure mirrors and install base tools (Alinux4) | |
| if: matrix.container != '' | |
| run: | | |
| sed -i -e "s/cloud.aliyuncs/aliyun/g" /etc/yum.repos.d/*.repo | |
| dnf install -y tar git sudo | |
| # Fix sudo PAM in container: replace with permissive config | |
| cat > /etc/pam.d/sudo <<'EOF' | |
| #%PAM-1.0 | |
| auth sufficient pam_rootok.so | |
| account sufficient pam_permit.so | |
| session sufficient pam_permit.so | |
| EOF | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@1.93.0 | |
| with: | |
| components: clippy, rustfmt, rust-src | |
| - name: Build and install | |
| run: ./scripts/build-all.sh --component sec-core | |
| - name: Verify CLI | |
| run: | | |
| agent-sec-cli --version | |
| agent-sec-cli --help | |
| - name: Verify sandbox | |
| run: linux-sandbox --help | |
| - name: Verify deployment | |
| run: | | |
| echo "=== Skills ===" | |
| ls ~/.copilot-shell/skills/ | |
| echo "=== Cosh Extension ===" | |
| ls ~/.copilot-shell/extensions/agent-sec-core/ | |
| ls ~/.copilot-shell/extensions/agent-sec-core/hooks/ | |
| echo "=== OpenClaw Plugin ===" | |
| ls ~/.local/lib/anolisa/sec-core/openclaw-plugin/ | |
| ls ~/.local/lib/anolisa/sec-core/openclaw-plugin/dist/ | |
| ls ~/.local/lib/anolisa/sec-core/openclaw-plugin/scripts/ | |
| echo "=== Hermes Plugin ===" | |
| ls ~/.local/lib/anolisa/sec-core/hermes-plugin/src/ | |
| ls ~/.local/lib/anolisa/sec-core/hermes-plugin/src/plugin.yaml | |
| ls ~/.local/lib/anolisa/sec-core/hermes-plugin/scripts/deploy.sh | |
| echo "=== CLI venv ===" | |
| ls ~/.local/lib/anolisa/sec-core/venv/bin/agent-sec-cli | |
| - name: Run E2E tests | |
| run: make -C src/agent-sec-core test-e2e-source-build |