{
  "id": "goals_manager",
  "label": "Goals Manager Canonical",
  "phase": "phase-03",
  "category": "cognitive_flow",
  "status": "ACTIVE_DH_MIRROR",
  "purpose": "Define how DEVON-DEV preserves the operational objective of a task from request intake through interpretation, focus control, planning, impact analysis, execution preparation and completion review.",
  "function": "Maintain goal_id, current objective, completion criteria, allowed scope, blocked scope, status and dependencies so DEVON-DEV cannot substitute a nearby technical solution for the actual requested outcome.",
  "goal_contract": {
    "requires_goal_id": true,
    "requires_current_objective": true,
    "requires_completion_criteria": true,
    "requires_allowed_scope": true,
    "requires_blocked_scope": true,
    "requires_status": true,
    "requires_dependencies": true,
    "blocks_goal_drift": true,
    "blocks_wrong_problem_solution": true,
    "requires_fsm_completion_acceptance": true,
    "decision_authority": "NONE_FSM_DECIDES"
  },
  "technology_requirements": [
    {
      "technology": "Goals Manager",
      "required_for": "Track task objective, completion criteria, allowed scope, blocked scope, status and dependencies across DEVON-DEV interpretation, planning, focus control, execution preparation and completion review.",
      "required_by_phase": "phase-03",
      "required_by_category": "goals_manager",
      "required_by_buckets": [
        "Prerequisites",
        "Installation",
        "Configuration",
        "Validation",
        "Observable Evidence",
        "Failure Modes & Recovery",
        "Completion & Promotion"
      ],
      "expected_version": "MISSING until goal-state schema, completion criteria checks and FSM completion handoff exist",
      "validation_command": "MISSING until goal_id, objective, scope, blocked scope, dependencies, status and completion checks are observable",
      "evidence_path": "/home/yeff/public_html/devon/canon/execution/state/dh_sources/goals_manager_canonical.json",
      "status_source": "Documentation Hub + future Learning Core goal records + Prompt Governance Registry + Execution Ledger",
      "blocking_if_missing": true,
      "failure_impact": "Without Goals Manager, DEVON-DEV can produce technically coherent work that misses the user objective, exits scope, or marks progress without satisfying completion criteria."
    }
  ],
  "depends_on": [
    "cfc",
    "requirements_scope_engine",
    "prompt_governance",
    "prompt_instruction_assembly",
    "planning_engine",
    "impact_analysis_engine",
    "attention_focus_manager",
    "knowledge_conflict_resolver",
    "evidence_store",
    "fsm_absolute_decision",
    "decision_rule_registry",
    "architecture_source_registry"
  ],
  "used_by": [
    "planning_engine",
    "impact_analysis_engine",
    "attention_focus_manager",
    "modelops_llmops",
    "benchmark_evaluation_harness",
    "observability_core",
    "self_monitoring",
    "execution_ledger"
  ]
}
