src.modes.enricher.board_organizer module#

Board Organizer for Marcus Phase 2 Enricher Mode.

Organizes chaotic boards into logical structures with multiple strategies.

class src.modes.enricher.board_organizer.OrganizationStrategy[source]#

Bases: object

Strategy for organizing a board.

name: str#
description: str#
confidence: float#
structure: Dict[str, Any]#
reasoning: str#
__init__(name, description, confidence, structure, reasoning)#
Parameters:
Return type:

None

class src.modes.enricher.board_organizer.PhasedStructure[source]#

Bases: object

Board organized by development phases.

phases: Dict[str, List[Task]]#
phase_order: List[str]#
cross_phase_dependencies: List[Tuple[str, str]]#
__init__(phases, phase_order, cross_phase_dependencies)#
Parameters:
Return type:

None

class src.modes.enricher.board_organizer.ComponentStructure[source]#

Bases: object

Board organized by system components.

components: Dict[str, List[Task]]#
integration_tasks: List[Task]#
shared_tasks: List[Task]#
__init__(components, integration_tasks, shared_tasks)#
Parameters:
Return type:

None

class src.modes.enricher.board_organizer.LabelingPlan[source]#

Bases: object

Plan for consistent labeling.

label_hierarchy: Dict[str, List[str]]#
task_label_assignments: Dict[str, List[str]]#
cleanup_suggestions: List[str]#
__init__(label_hierarchy, task_label_assignments, cleanup_suggestions)#
Parameters:
Return type:

None

class src.modes.enricher.board_organizer.BoardOrganizer[source]#

Bases: object

Organizes boards into logical structures.

__init__()[source]#
Return type:

None

development_phases: Dict[str, Dict[str, Any]]#
async analyze_organization_options(tasks)[source]#

Suggest organization strategies for the board.

Parameters:

tasks (List[Task]) – List of tasks to analyze.

Returns:

List of possible organization strategies with confidence scores.

Return type:

List[OrganizationStrategy]

async organize_by_phase(tasks)[source]#

Organize tasks into development phases.

Parameters:

tasks (List[Task]) – Tasks to organize.

Returns:

Phased structure with tasks organized by development phases.

Return type:

PhasedStructure

async organize_by_component(tasks)[source]#

Organize tasks by system components.

Parameters:

tasks (List[Task]) – Tasks to organize.

Returns:

Component structure with tasks organized by components.

Return type:

ComponentStructure

async create_labels_and_groups(strategy)[source]#

Create consistent labeling plan.

Parameters:

strategy (OrganizationStrategy) – Organization strategy to implement.

Returns:

Labeling plan with hierarchy and assignments.

Return type:

LabelingPlan