Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions engine/regime-to-cc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ export function convertRegime(regimeDir) {
} catch { /* ignore parse errors in templates */ }
}

// Build CC agents from whichever source has data
const sourceAgents = oclawAgents.length > 0 ? oclawAgents : tableAgents;
// v5.1: IDENTITY.md canonical role mapping is the source of truth.
// openclaw.json.template remains only as a legacy fallback for regimes that
// haven't been rewritten yet (should be zero after the L-stage PR).
const sourceAgents = tableAgents.length > 0 ? tableAgents : oclawAgents;
const ccAgents = {};

for (const agent of sourceAgents) {
Expand Down
Loading