{
  "front_door": "What should happen, and when?",
  "generated_at": "2026-10-05T22:24:14Z",
  "schedule": {
    "action_type": "camera_person_alert",
    "agentguard": {
      "advanced": "ALLOW/ASK/DENY enforcement, mission contract, approvals, data boundaries, kill switch, and quarantine.",
      "always_ask": [
        "purchase",
        "payment",
        "booking",
        "send_to_new_person",
        "public_post",
        "submit_form",
        "delete_important_data",
        "share_sensitive_data",
        "major_schedule_change",
        "door_unlock",
        "lock_or_close_device",
        "physical_device_change",
        "camera_identity_recognition",
        "irrigation_run_without_trust_contract",
        "significant_hvac_change"
      ],
      "basic": "Monitoring only: activity, tools, failures, work history, unusual behavior, and mission drift are recorded.",
      "default_mode": "advisory",
      "execution_rule": "owner_private_allowed",
      "monitoring": [
        "activity",
        "tool use",
        "evidence",
        "failure",
        "retry",
        "outcome"
      ],
      "route": "scheduled_action",
      "safety_boundary": null,
      "stop_conditions": [
        "missing approval",
        "scope drift",
        "new recipient",
        "public posting",
        "sensitive data",
        "revoked connector",
        "failed verification"
      ]
    },
    "capabilities": [
      {
        "approval_rule": "govern execution trigger",
        "available": true,
        "domain": "scheduler",
        "id": "trigger.parse",
        "inputs": [
          "when language",
          "job goal"
        ],
        "name": "Parse time, event, and condition triggers",
        "outputs": [
          "trigger contract"
        ],
        "providers": [
          "sample_adapter",
          "local_runtime"
        ],
        "risk": "medium"
      },
      {
        "approval_rule": "schedule intent; govern execution",
        "available": true,
        "domain": "scheduler",
        "id": "schedule.create",
        "inputs": [
          "goal",
          "time or recurrence"
        ],
        "name": "Schedule future work",
        "outputs": [
          "queued dry-run"
        ],
        "providers": [
          "sample_adapter",
          "local_runtime"
        ],
        "risk": "medium"
      },
      {
        "approval_rule": "presence-only; no raw tracking trail",
        "available": true,
        "domain": "environment",
        "id": "presence.read",
        "inputs": [
          "device presence",
          "manual mode"
        ],
        "name": "Read home/away presence",
        "outputs": [
          "home, away, unknown"
        ],
        "providers": [
          "iOS",
          "Android",
          "Home Assistant",
          "sample_adapter"
        ],
        "risk": "medium",
        "verification_methods": [
          "provider status",
          "event receipt",
          "AgentGuard evidence record"
        ]
      },
      {
        "approval_rule": "event metadata only; identity recognition requires approval",
        "available": true,
        "domain": "camera",
        "id": "camera.person_detected",
        "inputs": [
          "camera event"
        ],
        "name": "Detect person from camera event",
        "outputs": [
          "person detected metadata"
        ],
        "providers": [
          "Ring",
          "Nest",
          "UniFi Protect",
          "Reolink",
          "sample_adapter"
        ],
        "risk": "high",
        "verification_methods": [
          "provider status",
          "event receipt",
          "AgentGuard evidence record"
        ]
      },
      {
        "approval_rule": "owner notification allowed in approved jobs",
        "available": true,
        "domain": "notification",
        "id": "notify.mobile",
        "inputs": [
          "message",
          "priority"
        ],
        "name": "Notify phone or watch",
        "outputs": [
          "delivered, failed"
        ],
        "providers": [
          "iOS Push",
          "Android Push",
          "Pushover",
          "sample_adapter"
        ],
        "risk": "medium",
        "verification_methods": [
          "provider status",
          "event receipt",
          "AgentGuard evidence record"
        ]
      },
      {
        "approval_rule": "only approved household devices; quiet hours apply",
        "available": true,
        "domain": "notification",
        "id": "notify.voice",
        "inputs": [
          "message",
          "room or device"
        ],
        "name": "Notify approved voice assistant",
        "outputs": [
          "announcement queued"
        ],
        "providers": [
          "Alexa",
          "Google Home",
          "Home Assistant",
          "sample_adapter"
        ],
        "risk": "medium",
        "verification_methods": [
          "provider status",
          "event receipt",
          "AgentGuard evidence record"
        ]
      },
      {
        "approval_rule": "required for consequential actions",
        "available": true,
        "domain": "approval",
        "id": "notify.approval",
        "inputs": [
          "prepared action"
        ],
        "name": "Ask for human approval",
        "outputs": [
          "approve, change, stop"
        ],
        "providers": [
          "sample_adapter",
          "local_runtime"
        ],
        "risk": "high"
      },
      {
        "approval_rule": "record evidence",
        "available": true,
        "domain": "verification",
        "id": "outcome.verify",
        "inputs": [
          "expected",
          "observed"
        ],
        "name": "Verify outcome",
        "outputs": [
          "achieved, not achieved, inconclusive"
        ],
        "providers": [
          "sample_adapter",
          "local_runtime"
        ],
        "risk": "medium"
      },
      {
        "approval_rule": "stay inside permissions",
        "available": true,
        "domain": "recovery",
        "id": "recover.replan",
        "inputs": [
          "checkpoint",
          "failure"
        ],
        "name": "Recover from blockers",
        "outputs": [
          "safe retry plan"
        ],
        "providers": [
          "sample_adapter",
          "local_runtime"
        ],
        "risk": "medium"
      }
    ],
    "dry_run": {
      "evidence": [
        "schedule.created",
        "agentguard.policy.checked",
        "dry_run.recorded"
      ],
      "external_side_effect": false,
      "mode": "dry_run_only",
      "would_execute": "at_scheduled_time",
      "would_prepare": {
        "identity_recognition": "disabled until explicit approval",
        "notify": [
          "mobile push to owner",
          "approved Alexa announcement"
        ],
        "raw_media_policy": "metadata only; no raw video stored by SafeAI demo",
        "sample_message": "Person detected at front yard while you are away.",
        "trigger": "front camera person_detected while household occupancy is away",
        "type": "camera_alert_dry_run"
      }
    },
    "execution_mode": "LOCAL_SERVER",
    "fallback_plan": [
      {
        "rule": "Use the approved camera_person_alert connector if configured and healthy.",
        "step": "preferred_api"
      },
      {
        "rule": "Use an approved alternate adapter with the same authority boundary.",
        "step": "alternative_provider"
      },
      {
        "rule": "Use browser-assisted preparation only when the source and purpose are allowed.",
        "step": "web_or_browser"
      },
      {
        "rule": "Ask for reconnection or clarification, then resume from checkpoint.",
        "step": "ask_user"
      }
    ],
    "goal": "When I'm away and my camera detects a person, notify me through my phone and Alexa",
    "id": "sched-when-i-m-away-and-my-camera-detects-a-person-notify-me-through-m",
    "job_type": "long_lived_job",
    "life_context_used": {
      "collections": {
        "decisions": 1,
        "events": 3,
        "items": 5,
        "jobs": 3,
        "obligations": 5,
        "permissions": 5,
        "persons": 4
      },
      "graph_sha256": "b50eac7951d0ecd16525e7ceb4ebfa2b4778a4d5a375bf09674e48f11b66fd5b"
    },
    "model_mode": "RULES_ONLY",
    "outcome": {
      "actions": [
        "prepare",
        "policy_check",
        "record_evidence"
      ],
      "actual_outcome": "dry_run_pending",
      "expected_outcome": "Owner is notified only for meaningful away/person events; raw media and identity recognition stay out unless approved.",
      "follow_up": "approve, modify, pause, or keep watching",
      "goal": "When I'm away and my camera detects a person, notify me through my phone and Alexa",
      "plan": "Prepare and govern camera_person_alert.",
      "verification": "not_executed_in_local_demo"
    },
    "owner": "person-faz",
    "plan": [
      {
        "agentguard": "ALLOW",
        "id": "understand",
        "title": "Understand what should happen and when."
      },
      {
        "agentguard": "ALLOW",
        "id": "prepare",
        "title": "Prepare the content, application, reminder, or recurring job with sample/local data."
      },
      {
        "agentguard": "ALLOW",
        "id": "environment",
        "title": "Evaluate presence, camera event metadata, quiet hours, and notification channels."
      },
      {
        "agentguard": "ALLOW",
        "id": "privacy",
        "title": "Keep raw media and identity recognition out unless explicitly authorized."
      },
      {
        "agentguard": "ALLOW",
        "id": "preflight",
        "title": "Check recipients, destination, data sensitivity, claims, and scope."
      },
      {
        "agentguard": "ALLOW",
        "id": "execute",
        "title": "Execute the private owner-scoped reminder or local recurring job."
      },
      {
        "agentguard": "ALLOW",
        "id": "verify",
        "title": "Record whether the intended outcome actually happened."
      }
    ],
    "proactivity_level": "2",
    "status": "running_dry_run_ready",
    "success_criteria": [
      "Presence and camera event metadata are evaluated together.",
      "Owner notification can be sent, but identity recognition and evidence capture remain explicit opt-in.",
      "The trigger is represented as a reviewable contract.",
      "AgentGuard logs every preparation, decision, approval, failure, and verification step.",
      "The user can pause, revoke, or change the job without losing history."
    ],
    "trigger": {
      "condition": null,
      "event": "approved camera emits person_detected while household presence is away",
      "next_run": "when trigger becomes true",
      "recurrence": "one_time",
      "source_language": "when i'm away and my camera detects a person, notify me through my phone and alexa",
      "timezone": "local",
      "type": "EVENT"
    }
  },
  "schema": "safecadence.safeai.scheduled-accomplishment.v1",
  "source": "local sample data only"
}