Skip to content

fix(copaw): refresh runtime skill projection#981

Open
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/issue-712-copaw-skill-runtime-sync
Open

fix(copaw): refresh runtime skill projection#981
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/issue-712-copaw-skill-runtime-sync

Conversation

@RerankerGuo

Copy link
Copy Markdown

Summary

  • restore CoPaw standard-to-runtime bridge helpers used by the worker workspace
  • project Manager-pushed skills into .copaw/workspaces/default/skills via symlink and keep skill.json enabled
  • refresh the workspace skill projection whenever pulled skill files change, so hiclaw apply worker --zip updates are visible without restarting the worker

Fixes #712.

Verification

  • python3 -m py_compile copaw/src/copaw_worker/bridge.py copaw/src/copaw_worker/worker.py
  • PYTHONPATH=/tmp/agentteams-pytest:copaw/src python3 -m pytest copaw/tests/test_bridge.py copaw/tests/test_sync.py (45 passed)
  • git diff --check

Notes

  • copaw/tests/test_worker_health.py still fails on current upstream/main because it expects unrelated Worker health APIs that are not present (check_model_service, _notify_matrix, build_worker_liveness, etc.); this PR does not touch that subsystem.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📊 CI Metrics Report

Summary

Metric Current Baseline Change
LLM Calls 127 81 +46 ↑ +56.8%
Input Tokens 3423602 2803871 +619731 ↑ +22.1%
Output Tokens 36292 16791 +19501 ↑ +116.1%
Total Tokens 3459894 2820662 +639232 ↑ +22.7%

By Role

Role Metric Current Baseline Change
🧠 Manager LLM Calls 79 68 +11 ↑ +16.2%
Input Tokens 2266308 2502214 -235906 ↓ -9.4%
Output Tokens 16641 13725 +2916 ↑ +21.2%
Total Tokens 2282949 2515939 -232990 ↓ -9.3%
🔧 Workers LLM Calls 48 13 +35 ↑ +269.2%
Input Tokens 1157294 301657 +855637 ↑ +283.6%
Output Tokens 19651 3066 +16585 ↑ +540.9%
Total Tokens 1176945 304723 +872222 ↑ +286.2%

Per-Test Breakdown

Test Mgr Calls Wkr Calls Δ Calls Mgr In Wkr In Mgr Out Wkr Out Δ Tokens Trend
02-create-worker 6 0 -6 ↓ -50.0% 165235 0 914 0 -192473 ↓ -53.7% ✅ improved
03-assign-task 10 5 0 — 0% 263967 112220 1818 818 -94833 ↓ -20.0% — unchanged
04-human-intervene 18 14 +19 ↑ +146.2% 392732 282242 2307 1344 +245627 ↑ +56.7% ⚠️ regressed
05-heartbeat 5 3 +1 ↑ +14.3% 136047 74965 1248 470 -62522 ↓ -22.7% ⚠️ regressed
06-multi-worker 40 26 +32 ↑ +94.1% 1308327 687867 10354 17019 +743433 ↑ +58.1% ⚠️ regressed

Trends

1 test(s) improved (fewer LLM calls)
⚠️ 3 test(s) regressed (more LLM calls)


Generated by HiClaw CI on 2026-07-02 21:52:42 UTC


📦 Download debug logs & test artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] copaw worker: active_skills/ updates from apply --zip don't propagate to workspaces/default/skills/, breaking skill hot-reload

1 participant