From cb07132bd2d4654503b8ecf731ec764b9ea4c4f9 Mon Sep 17 00:00:00 2001 From: moli0118 Date: Fri, 26 Jun 2026 17:44:24 +0800 Subject: [PATCH] fix(sec-core): fix makefile and ci paths --- .github/workflows/sec-core-rpmbuild.yaml | 7 ++++--- src/agent-sec-core/Makefile | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sec-core-rpmbuild.yaml b/.github/workflows/sec-core-rpmbuild.yaml index 2e50e9e16..e74e73511 100644 --- a/.github/workflows/sec-core-rpmbuild.yaml +++ b/.github/workflows/sec-core-rpmbuild.yaml @@ -97,9 +97,10 @@ jobs: ls /usr/bin/agent-sec-daemon echo "=== Verify codex plugin ===" ls /opt/agent-sec/codex-plugin/ - ls /opt/agent-sec/codex-plugin/hooks/ - ls /opt/agent-sec/codex-plugin/hooks/code_scanner_hook.py - ls /opt/agent-sec/codex-plugin/hooks/skill_ledger_hook.py + ls /opt/agent-sec/codex-plugin/hooks-plugin/hooks/ + ls /opt/agent-sec/codex-plugin/hooks-plugin/hooks/code_scanner_hook.py + ls /opt/agent-sec/codex-plugin/hooks-plugin/hooks/skill_ledger_hook.py + ls /opt/agent-sec/codex-plugin/hooks-plugin/.codex-plugin/plugin.json ls /opt/agent-sec/codex-plugin/install.sh ls /opt/agent-sec/codex-plugin/.agents/plugins/marketplace.json echo "=== Verify skills ===" diff --git a/src/agent-sec-core/Makefile b/src/agent-sec-core/Makefile index eeb98287d..ac1851ec2 100644 --- a/src/agent-sec-core/Makefile +++ b/src/agent-sec-core/Makefile @@ -198,7 +198,7 @@ build-hermes-plugin: ## Stage hermes-plugin Python sources to BUILD_DIR .PHONY: stage-codex-plugin stage-codex-plugin: ## Stage codex-plugin hooks and install script to BUILD_DIR install -d -m 0755 $(BUILD_DIR)/codex-plugin - cp -rp codex-plugin/hooks-plugin/. $(BUILD_DIR)/codex-plugin/ + cp -rp codex-plugin/hooks-plugin $(BUILD_DIR)/codex-plugin/ cp -p codex-plugin/install.sh $(BUILD_DIR)/codex-plugin/ cp -rp codex-plugin/.agents $(BUILD_DIR)/codex-plugin/