Skip to content

Fix(migration): repair CSGClaw agent participants#184

Merged
RussellLuo merged 1 commit into
OpenCSGs:mainfrom
xxx7xxxx:dev
Jun 9, 2026
Merged

Fix(migration): repair CSGClaw agent participants#184
RussellLuo merged 1 commit into
OpenCSGs:mainfrom
xxx7xxxx:dev

Conversation

@xxx7xxxx

@xxx7xxxx xxx7xxxx commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Check your own machine:

jq '.participants[] | {id, agent_id, channel_user_ref}' ~/.csgclaw/im/participants.json
jq '.channels.csgclaw.participant_id' ~/.csgclaw/agents/<agent-name>/.picoclaw/config.json

If that shows id: "u-xxx" but config says "xxx", that is the break.

Summary:

  • Repair participant store migration for legacy CSGClaw worker agents by converting old u-* participant IDs to stripped participant IDs while preserving agent_id and channel_user_ref.
  • Persist the repair on store load so both fresh bots.json imports and already-written stale participants.json files are fixed.

@xxx7xxxx xxx7xxxx requested a review from RussellLuo June 9, 2026 02:31
@RussellLuo RussellLuo merged commit da0d4cc into OpenCSGs:main Jun 9, 2026
1 check failed
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.

2 participants