{
  "item_contract_id": "item_contract.attention_focus_manager_001_verify_source_json",
  "version": "v1",
  "status": "ACTIVE",
  "item_id": "attention_focus_manager_001_verify_source_json",
  "item_type": "validation",
  "source": {
    "source_doc_id": "attention_focus_manager",
    "source_phase_id": "phase-03",
    "source_category_id": "attention_focus_manager",
    "source_bucket": "",
    "source_category_contract_path": "/home/yeff/public_html/devon/canon/execution/categories/attention_focus_manager.contract.json",
    "source_path": "/home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json",
    "source_hash_sha256": "1bc5391f09bd9ff9723a53d37e7048de46ccf36eaf5f41db9d2019b352d3b7f8"
  },
  "execution": {
    "order": 1,
    "title": "Verify DH source JSON for attention_focus_manager",
    "objective": "Confirm that the DH JSON source for attention_focus_manager is present and valid before execution contracts depend on it.",
    "command_mode": "manual_copy",
    "command": "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS",
    "script_path": "",
    "environment": "canon",
    "working_directory": "/home/yeff/public_html/devon",
    "expected_change": "No runtime mutation. This contract verifies canonical execution structure.",
    "requires_contract_before_patch": true,
    "next_on_pass": "continue_category_contract_sequence",
    "next_on_fail": "block_category_contract_promotion"
  },
  "dependency": {
    "depends_on": [],
    "dependency_type": "none",
    "unlock_condition": "category contract exists",
    "blocks": []
  },
  "evidence": {
    "evidence_required": true,
    "evidence_type": "json_value",
    "evidence_command": "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS",
    "expected_evidence": "PASS",
    "evidence_path": "/home/yeff/public_html/devon/canon/execution/categories/attention_focus_manager.contract.json",
    "status_source": "observable_json_and_filesystem_validation",
    "accepted_values": [
      "PASS"
    ]
  },
  "output_capture": {
    "capture_stdout": true,
    "capture_stderr": true,
    "max_output_size_bytes": 20000,
    "redact_secrets": true,
    "store_output_as_evidence": true,
    "stdout_excerpt": "",
    "stderr_excerpt": "",
    "output_hash": ""
  },
  "validation": {
    "validation_command": "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS",
    "expected_result": "PASS",
    "blocking_if_fail": true,
    "validation_timeout_seconds": 30,
    "validation_status": "MISSING"
  },
  "acceptance": {
    "acceptance_criteria": [
      "PASS",
      "result is derived from canonical contract files",
      "result is not derived from visual layout"
    ],
    "done_definition": "Item reaches PASS only when its command and validation command return PASS.",
    "promotion_condition": "contract_progress_status must become PASS after state resolution"
  },
  "monitoring": {
    "scan_enabled": true,
    "scan_interval_seconds": 300,
    "pre_checks": [
      "python3 -m json.tool /home/yeff/public_html/devon/canon/execution/categories/attention_focus_manager.contract.json >/dev/null && echo PASS"
    ],
    "post_checks": [
      "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS"
    ],
    "watch_services": [],
    "watch_ports": [],
    "watch_containers": [],
    "watch_resources": [
      "canon_execution_contract_integrity"
    ],
    "impact_window_seconds": 0,
    "expected_delta": "No runtime delta. Only contract state should change.",
    "unexpected_delta_blocking": true
  },
  "refresh": {
    "refresh_on_execution": true,
    "refresh_on_validation": true,
    "manual_refresh_allowed": true,
    "impact_refresh_required": true,
    "checks_to_run_after_execution": [
      "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS",
      "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS"
    ],
    "refresh_priority": "high"
  },
  "progress": {
    "progress_mode": "contracted_checks",
    "checkpoints": [
      {
        "percent": 50,
        "condition": "contract file exists and is JSON-valid",
        "evidence_command": "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS",
        "evidence_type": "json_value"
      },
      {
        "percent": 100,
        "condition": "contracted validation returns PASS",
        "evidence_command": "python3 -m json.tool /home/yeff/public_html/devon/docs/json/phase-03/attention_focus_manager.json >/dev/null && echo PASS",
        "evidence_type": "json_value"
      }
    ],
    "current_percent": 0,
    "missing_to_100": [
      {
        "missing_id": "attention_focus_manager_001_verify_source_json_not_resolved",
        "description": "Item contract exists but has not yet been resolved by a category state scan.",
        "required_evidence": "PASS",
        "blocking": true,
        "next_action": "run_category_state_resolution"
      }
    ]
  },
  "risk": {
    "risk_level": "LOW",
    "can_affect_network": false,
    "can_affect_ssh": false,
    "can_affect_containers": false,
    "can_interrupt_service": false,
    "requires_backup": false,
    "requires_approval": false,
    "safe_to_retry": true
  },
  "recovery": {
    "rollback_available": true,
    "rollback_type": "restore_previous_contract_backup",
    "rollback_command": "restore from _backup snapshot created before this patch",
    "rollback_evidence": "backup path exists under /home/yeff/public_html/devon/_backup",
    "recovery_task_id": "recover_attention_focus_manager_contract_state",
    "fallback_state": "category contract remains DRAFT or MISSING"
  },
  "artifacts": {
    "created_files": [
      "/home/yeff/public_html/devon/canon/execution/items/attention_focus_manager_001_verify_source_json.contract.json"
    ],
    "modified_files": [
      "/home/yeff/public_html/devon/canon/execution/categories/attention_focus_manager.contract.json",
      "/home/yeff/public_html/devon/canon/execution/master_execution_contract.json"
    ],
    "created_directories": [
      "/home/yeff/public_html/devon/canon/execution/items"
    ],
    "created_services": [],
    "created_containers": [],
    "created_ports": [],
    "created_logs": [],
    "created_backups": [],
    "generated_reports": []
  },
  "schedule": {
    "planned_start": "",
    "planned_finish": "",
    "estimated_duration_minutes": 5,
    "execution_day": 0,
    "execution_batch": "attention_focus_manager_contract_foundation",
    "milestone_id": "execution_contract_expansion",
    "sprint_id": "",
    "day_plan_id": "",
    "critical_path": true,
    "started_at": "",
    "executed_at": "",
    "validated_at": "",
    "completed_at": "",
    "failed_at": "",
    "blocked_at": "",
    "actual_duration_minutes": 0,
    "delay_reason": "",
    "schedule_status": "MISSING"
  },
  "status_model": {
    "execution_status": "MISSING",
    "observed_status": "MISSING",
    "validation_status": "MISSING",
    "final_status": "MISSING",
    "contract_progress_status": "MISSING"
  }
}
