{
  "id": "attention_focus_manager",
  "label": "Attention / Focus Manager Canonical",
  "phase": "phase-03",
  "category": "cognitive_flow",
  "status": "ACTIVE_DH_MIRROR",
  "purpose": "Define how DEVON-DEV keeps the active task, project, file set, risk profile and context window focused while interpretation, planning, impact analysis and prompt assembly are running.",
  "function": "Control active cognitive focus so DEVON-DEV does not mix tasks, switch projects, import irrelevant lateral context, exceed prompt capacity or follow attractive but unauthorized side paths.",
  "focus_contract": {
    "tracks_active_task": true,
    "tracks_active_project": true,
    "tracks_active_files": true,
    "tracks_active_risk": true,
    "tracks_active_context": true,
    "blocks_scope_drift": true,
    "blocks_task_mixing": true,
    "blocks_wrong_project_switch": true,
    "blocks_irrelevant_lateral_context": true,
    "blocks_prompt_saturation": true,
    "decision_authority": "NONE_FSM_DECIDES"
  },
  "technology_requirements": [
    {
      "technology": "Attention / Focus Manager",
      "required_for": "Maintain active DEVON-DEV task focus across interpretation, prompt assembly, planning, impact analysis, execution preparation and monitoring.",
      "required_by_phase": "phase-03",
      "required_by_category": "attention_focus_manager",
      "required_by_buckets": [
        "Prerequisites",
        "Installation",
        "Configuration",
        "Validation",
        "Observable Evidence",
        "Failure Modes & Recovery",
        "Completion & Promotion"
      ],
      "expected_version": "MISSING until focus-state schema, context budget rules and task-boundary checks exist",
      "validation_command": "MISSING until active task, project, file, risk, context and prompt-budget checks are observable",
      "evidence_path": "/home/yeff/public_html/devon/canon/execution/state/dh_sources/attention_focus_manager_canonical.json",
      "status_source": "Documentation Hub + future Learning Core focus records + Prompt Governance Registry + Execution Ledger",
      "blocking_if_missing": true,
      "failure_impact": "Without Attention / Focus Manager, DEVON-DEV can solve the wrong task, mix project context, overload prompts, or let unrelated evidence distort the active execution thread."
    }
  ],
  "depends_on": [
    "cfc",
    "prompt_governance",
    "prompt_instruction_assembly",
    "planning_engine",
    "impact_analysis_engine",
    "knowledge_conflict_resolver",
    "evidence_store",
    "goals_manager",
    "fsm_absolute_decision",
    "decision_rule_registry",
    "architecture_source_registry"
  ],
  "used_by": [
    "goals_manager",
    "modelops_llmops",
    "benchmark_evaluation_harness",
    "observability_core",
    "self_monitoring",
    "execution_ledger"
  ]
}
