refactor: standardize level names across all roles (#195 phase 1)
Rename levels to use consistent industry-standard terminology: - dev: medior → mid - qa: reviewer → mid, tester → junior, add senior level - architect: opus → senior, sonnet → junior Add backward-compatible migration for projects.json and openclaw.json config via level aliases in selectors and projects parser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
19
index.ts
19
index.ts
@@ -26,31 +26,32 @@ const plugin = {
|
||||
properties: {
|
||||
models: {
|
||||
type: "object",
|
||||
description: "Model mapping per role and tier",
|
||||
description: "Model mapping per role and level",
|
||||
properties: {
|
||||
dev: {
|
||||
type: "object",
|
||||
description: "Developer tier models",
|
||||
description: "Developer level models",
|
||||
properties: {
|
||||
junior: { type: "string" },
|
||||
medior: { type: "string" },
|
||||
mid: { type: "string" },
|
||||
senior: { type: "string" },
|
||||
},
|
||||
},
|
||||
qa: {
|
||||
type: "object",
|
||||
description: "QA tier models",
|
||||
description: "QA level models",
|
||||
properties: {
|
||||
reviewer: { type: "string" },
|
||||
tester: { type: "string" },
|
||||
junior: { type: "string" },
|
||||
mid: { type: "string" },
|
||||
senior: { type: "string" },
|
||||
},
|
||||
},
|
||||
architect: {
|
||||
type: "object",
|
||||
description: "Architect tier models",
|
||||
description: "Architect level models",
|
||||
properties: {
|
||||
opus: { type: "string" },
|
||||
sonnet: { type: "string" },
|
||||
junior: { type: "string" },
|
||||
senior: { type: "string" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user