You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
restore the CoPaw standard-to-runtime bridge helpers used by the worker workspace
project Manager-pushed skills into .copaw/workspaces/default/skills and keep projected skill.json entries enabled
refresh the runtime skill projection whenever pulled skill files change, so hiclaw apply worker --zip updates are visible without restarting the worker
preserve current main Matrix identity resolution, template defaults, and user-owned agent configuration while applying controller-owned overlays
non-bridge CoPaw suite compared against current upstream/main: both produce 119 passed and the same 27 unrelated Matrix/worker-health failures in this local dependency environment
git diff --check
Rebase note
Rebased onto current main (6f0c7da). The bridge conflict was resolved by retaining the newer AGENTTEAMS_* / HICLAW_* Matrix user-ID fallback while preserving this PR's template-create and controller-overlay model.
CI note
The refreshed matrix has 18 passing checks and 2 skips. Its only failure is
the OpenClaw/OpenClaw SHARD_A test-03 acknowledgement assertion: the reply
was empty, but the task directory was created and the Worker completed the
task; subsequent tests, including test-06, passed. This does not exercise
the CoPaw bridge changed here.
@shiyiyue1102 Hi! This PR addresses #712. Just rebased onto current main (was conflicting) — CI is now green (18/18). Restores CoPaw bridge helpers for workspace → runtime workspace materialization; projects skills/ into .copaw/workspaces/default/skills via symlink and refreshes skill.json on every Manager-pushed skill update. Could you take a look when convenient?
Refreshing CoPaw runtime skill projection has real value, but this PR currently mixes several unrelated behavioral changes: a large bridge refactor, Manager heartbeat timing, disabling tool and file guards by default, the skill projection itself, and a stacked multi-worker test commit. It also conflicts with main. Please split out the skill-projection fix into a clean branch with focused tests. Security guard defaults and heartbeat cadence need separate design justification and separate review; they should not ride along with this bug fix.
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.copaw/workspaces/default/skillsand keep projectedskill.jsonentries enabledhiclaw apply worker --zipupdates are visible without restarting the workermainMatrix identity resolution, template defaults, and user-owned agent configuration while applying controller-owned overlaysFixes #712.
Verification
PYTHONPATH=copaw/src python3 -m pytest -q copaw/tests/test_bridge.py(32 passed)upstream/main: both produce 119 passed and the same 27 unrelated Matrix/worker-health failures in this local dependency environmentgit diff --checkRebase note
Rebased onto current
main(6f0c7da). The bridge conflict was resolved by retaining the newerAGENTTEAMS_*/HICLAW_*Matrix user-ID fallback while preserving this PR's template-create and controller-overlay model.CI note
The refreshed matrix has 18 passing checks and 2 skips. Its only failure is
the OpenClaw/OpenClaw SHARD_A
test-03acknowledgement assertion: the replywas empty, but the task directory was created and the Worker completed the
task; subsequent tests, including
test-06, passed. This does not exercisethe CoPaw bridge changed here.
Temporary dependency
78e9385), whose full CI passed all 10 integration matrices.d7a9fdebpassed every build and all 10 integration matrices.