refactor: migrate role handling from tiers to roles module
- Removed the deprecated tiers.ts file and migrated all related functionality to roles/index.js. - Updated tests and tools to reflect the new role structure, replacing references to "dev", "qa", and "architect" with "developer", "tester", and "architect". - Adjusted workflow configurations and state management to accommodate the new role naming conventions. - Enhanced project registration and health check tools to support dynamic role handling. - Updated task creation, update, and completion processes to align with the new role definitions. - Improved documentation and comments to clarify role responsibilities and usage.
This commit is contained in:
@@ -13,26 +13,6 @@ import {
|
||||
type Role,
|
||||
} from "../workflow.js";
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Types
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* @deprecated Use string labels from workflow config instead.
|
||||
* Kept for backward compatibility.
|
||||
*/
|
||||
export type QueueLabel = "To Improve" | "To Test" | "To Do";
|
||||
|
||||
/**
|
||||
* @deprecated Use getQueuePriority() instead.
|
||||
* Kept for backward compatibility.
|
||||
*/
|
||||
export const QUEUE_PRIORITY: Record<string, number> = {
|
||||
"To Improve": 3,
|
||||
"To Test": 2,
|
||||
"To Do": 1,
|
||||
};
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Workflow-driven helpers
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user