src.modes.enricher.enricher_mode module#

Complete Enricher Mode for Marcus Phase 2.

Enriches existing boards with metadata, structure, and organization.

class src.modes.enricher.enricher_mode.EnricherMode[source]#

Bases: object

Complete Enricher Mode for organizing and enriching existing boards.

__init__()[source]#
Return type:

None

async initialize(saved_state)[source]#

Initialize mode with saved state.

Parameters:

saved_state (Dict[str, Any]) – Previously saved state to restore

Return type:

None

async get_state()[source]#

Get current mode state for saving.

Returns:

Current state dictionary

Return type:

Dict[str, Any]

async get_status()[source]#

Get current mode status.

Returns:

Status information including current enrichment and strategies

Return type:

Dict[str, Any]

async analyze_board_for_enrichment(tasks)[source]#

Analyze board and suggest enrichment opportunities.

Parameters:

tasks (List[Task]) – Current tasks on the board

Returns:

Analysis results with enrichment suggestions

Return type:

Dict[str, Any]

async enrich_board_tasks(tasks, enrichment_options=None)[source]#

Apply enrichments to board tasks.

Parameters:
Returns:

Results of enrichment process

Return type:

Dict[str, Any]

async organize_board(tasks, strategy_name, organization_options=None)[source]#

Organize board using specified strategy.

Parameters:
  • tasks (List[Task]) – Tasks to organize

  • strategy_name (str) – Name of organization strategy to use

  • organization_options (Optional[Dict[str, Any]]) – Additional organization options

Returns:

Results of organization process

Return type:

Dict[str, Any]

async get_enrichment_preview(tasks, task_ids=None)[source]#

Preview enrichments without applying them.

Parameters:
  • tasks (List[Task]) – All tasks on the board

  • task_ids (Optional[List[str]]) – Specific task IDs to preview (None for all)

Returns:

Preview of what enrichments would be applied

Return type:

Dict[str, Any]