{
  "schema_id": "ui_item_evidence_binding_schema",
  "created_at": "2026-07-08T18:03:21.271263Z",
  "status": "PASS",
  "source_plan": "/home/yeff/public_html/devon/canon/execution/state/ui_item_auto_baixa_completion_plan_latest.json",
  "source_backlog": "/home/yeff/public_html/devon/canon/execution/state/ui_item_auto_baixa_backlog_latest.json",
  "purpose": "Define the canonical fields required for every UI item/category to auto-baixar from real YEFF AI server evidence during installation.",
  "policy": {
    "source_of_truth": "YEFFAI",
    "waresites_role": "UI_PULL_RUNTIME_ONLY",
    "remote_yeffai_mutation": "NO",
    "installation_command_executed": "NO",
    "schema_creation_scope": "LOCAL_CANON_ONLY",
    "no_step_number_alone": "YES",
    "do_not_install_until_all_items_bound": "YES"
  },
  "required_fields_per_item": {
    "item_id": "canonical UI/category/item id",
    "human_name": "human-readable name shown to operator",
    "phase_or_group": "UI group/category source when available",
    "evidence_source_type": "one of: YEFFAI_FILE, YEFFAI_COMMAND_READONLY, YEFFAI_SERVICE_STATUS, YEFFAI_PACKAGE_STATUS, YEFFAI_HTTP_CHECK, YEFFAI_DIRECTORY_CHECK, YEFFAI_CONFIG_CHECK, YEFFAI_LOG_CHECK, YEFFAI_SECURITY_BASELINE, YEFFAI_RUNTIME_STATE",
    "yeffai_evidence_path_or_command": "absolute remote file path or read-only command to prove state",
    "evidence_owner_contract": "contract/job responsible for producing or refreshing the evidence",
    "runtime_field": "field exposed by runtime_status.php",
    "ui_render_target": "UI card/category row where status appears",
    "baixa_rule_PASS": "condition that turns UI item PASS",
    "baixa_rule_FAIL": "condition that turns UI item FAIL",
    "baixa_rule_MISSING": "condition that keeps UI item MISSING",
    "last_evidence_timestamp": "timestamp of last read from YEFF AI",
    "last_evidence_hash": "hash of evidence payload when applicable",
    "remote_mutation_allowed": "must be NO for mapping/audit phases"
  },
  "default_baixa_rule": {
    "PASS": "evidence exists, matches expected item contract, and read-only verification returns expected positive state",
    "FAIL": "evidence exists but contradicts the item contract, indicates insecure state, or reports execution error",
    "MISSING": "evidence source is absent, unreadable, not yet contracted, or not exposed in runtime/UI"
  },
  "next_required_action": "PATCH_BUILD_UI_ITEM_EVIDENCE_BINDING_QUEUE_FROM_SCHEMA"
}
