Skip to content

fix(openclaw): sync agent instructions into workspace#306

Open
GatewayJ wants to merge 1 commit into
OpenCSGs:mainfrom
GatewayJ:fix/openclaw-instructions-sync
Open

fix(openclaw): sync agent instructions into workspace#306
GatewayJ wants to merge 1 commit into
OpenCSGs:mainfrom
GatewayJ:fix/openclaw-instructions-sync

Conversation

@GatewayJ

@GatewayJ GatewayJ commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Sync OpenClaw sandbox agent instructions into the runtime workspace AGENTS.md during provision and runtime config reconcile.
  • Carry Instructions through sandbox gateway agent refs and provisioning requests.
  • Add regression coverage for initial provision and saved-instruction refresh.

Root Cause

OpenClaw agents stored profile instructions in CSGClaw state, but the OpenClaw runtime reads workspace AGENTS.md. The Codex runtime had a refresh path for this, while OpenClaw did not.

Validation

  • GOCACHE=/tmp/gocache go test ./...

@GatewayJ GatewayJ requested a review from RussellLuo July 8, 2026 09:44
@GatewayJ GatewayJ marked this pull request as ready for review July 8, 2026 09:44
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.

1 participant