{
  "id": "marcus-Q004",
  "character": "marcus",
  "quest_id": "Q004",
  "series_id": "marcus-main",
  "series_position": 4,
  "messages": [
    {
      "stage": "intro",
      "trigger": "quest_activated",
      "body": "Sarah's deploy thing is interesting. If the script said it ran fine but the files didn't change, something is blocking the write. I'd look at ownership before I touch the script."
    },
    {
      "stage": "hint_1",
      "trigger": "player_requested_help",
      "body": "ls -la on the web root. If those files are owned by root and the deploy runs as www-data, that's your problem."
    },
    {
      "stage": "hint_2",
      "trigger": "player_requested_help_again",
      "body": "chown. And use -R unless you enjoy doing it twice."
    },
    {
      "stage": "hint_3",
      "trigger": "player_requested_help_again",
      "body": "chown -R www-data:www-data /var/www/axiomworks. Then you can trigger the deploy service to confirm it takes."
    },
    {
      "stage": "complete-clean",
      "trigger": "world_flag:hermes_deploy_healthy",
      "body": "Good. Someone ran that deploy as root at some point. Worth figuring out who has sudo on hermes and whether they should."
    },
    {
      "stage": "complete-partial",
      "trigger": "world_flag:hermes_deploy_partial",
      "body": "Ownership is fixed on the directory but I'm not sure the files inside are correct. Sarah might still hit issues on the next deploy."
    }
  ]
}
